:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4eee2;
  color: #171717;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  background-color: #f4eee2;
  background-image: radial-gradient(#d7cec0 0.8px, transparent 0.8px);
  background-size: 18px 18px;
}

.card {
  position: relative;
  width: min(100% - 1.5rem, 31rem);
  margin: 1rem auto;
  padding: clamp(1.5rem, 6vw, 2.5rem);
  overflow: hidden;
  border: 2px solid #171717;
  border-radius: 2rem;
  background: #fffaf0;
  box-shadow: 8px 8px 0 #171717;
}

.card::after {
  content: "✦";
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: #ff6542;
  font-size: 1.75rem;
  transform: rotate(12deg);
}

.hero {
  text-align: center;
}

.duck {
  display: inline-block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.duck--hero {
  width: 8.5rem;
  height: 8.5rem;
  margin: -0.5rem auto 0.65rem;
  filter: drop-shadow(4px 4px 0 #171717);
  transform: rotate(-4deg);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #3155d9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 11vw, 4rem);
  font-weight: 850;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.intro {
  max-width: 25rem;
  margin: 1.25rem auto 2.25rem;
  color: #5b554d;
  font-size: 1rem;
  line-height: 1.55;
}

.duck--inline {
  display: block;
  width: 4.75rem;
  height: auto;
  margin: 0.5rem auto -0.65rem;
  transform: rotate(2deg);
}

footer {
  margin-top: 0.5rem;
  color: #867e73;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 380px) {
  .card {
    padding-inline: 1.25rem;
    box-shadow: 5px 5px 0 #171717;
  }
}
