@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dmsans-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dmsans-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dmsans-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fredoka';
  src: url('fonts/fredoka-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fredoka';
  src: url('fonts/fredoka-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --wd-bg: #fbf5e3;
  --wd-heading: #75552f;
  --wd-body: #8f452d;
  --wd-ink: #4f3824;
  --wd-primary: #b8563a;
  --wd-secondary: #e3dfda;
  --wd-hairline: rgba(117, 85, 47, 0.24);
  --wd-paper: #eff4e6;
  --wd-sky: #e6f1f0;
  --wd-card: #fffaf0;
  --wd-display: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --wd-text: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1080px;
  --gutter: 22px;
  --section-y: 84px;
  --r-frame: 36px;
}

body {
  overflow-x: hidden;
  background: var(--wd-bg);
  color: var(--wd-ink);
  font-family: var(--wd-text);
  font-size: 17px;
}

h1,
h2,
h3 {
  color: var(--wd-heading);
  font-family: var(--wd-display);
  font-weight: 600;
  letter-spacing: 0;
}

h1 { font-size: 3.4rem; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.2rem; }

.narrow { max-width: 660px; }
.section-title { margin-bottom: 48px; }

.lede {
  color: var(--wd-body);
  font-size: 1.16rem;
  line-height: 1.6;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--wd-primary);
  font-family: var(--wd-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fineprint {
  color: var(--wd-heading);
  font-size: 0.83rem;
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--wd-hairline);
  background: rgba(251, 245, 227, 0.94);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand { display: inline-flex; }
.brand-logo { width: 190px; height: auto; }

.btn {
  display: inline-block;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--wd-ink);
  color: var(--wd-bg);
  font-family: var(--wd-display);
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { background: #3d2b1b; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.95rem; }

.hero {
  display: grid;
  min-height: min(680px, calc(100svh - 105px));
  align-items: center;
  padding-block: 48px 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero h1 { margin-bottom: 18px; }
.hero .lede { max-width: 34ch; margin-bottom: 26px; }
.hero-art { position: relative; display: flex; justify-content: center; }

.float-duck {
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 142px;
  filter: drop-shadow(0 10px 18px rgba(79, 56, 36, 0.28));
  animation: bob 3.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

.phone {
  width: min(278px, 78vw);
  overflow: hidden;
  border: 9px solid var(--wd-ink);
  border-radius: var(--r-frame);
  background: var(--wd-ink);
  box-shadow: 0 26px 54px rgba(79, 56, 36, 0.24), 0 3px 0 rgba(255, 255, 255, 0.3) inset;
}

.phone img { width: 100%; height: auto; }
.phone-sm { width: min(238px, 62vw); border-width: 8px; border-radius: 30px; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.center-badges { justify-content: center; }

.badge {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 18px 9px 15px;
  border-radius: 8px;
  font-family: var(--wd-text);
  line-height: 1.15;
  text-decoration: none;
}

.badge span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
}
.badge small { font-size: 0.7rem; font-weight: 400; opacity: 0.82; }

.badge-play {
  background: var(--wd-ink);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.badge-play:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(79, 56, 36, 0.3); }

.badge-soon {
  border: 1px dashed var(--wd-hairline);
  background: transparent;
  color: var(--wd-heading);
  cursor: default;
}

.band-paper {
  border-block: 1px solid var(--wd-hairline);
  background: var(--wd-paper);
}

.band-paper h2 { margin-bottom: 18px; }

.features { display: grid; gap: 78px; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.feature-flip .feature-art { order: 2; }
.feature-art { display: flex; justify-content: center; }

.feature-copy h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.feature-copy p { color: var(--wd-body); line-height: 1.65; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust li {
  padding: 22px;
  border: 1px solid var(--wd-hairline);
  border-radius: 8px;
  background: var(--wd-card);
}

.trust strong {
  display: block;
  margin-bottom: 6px;
  color: var(--wd-heading);
  font-family: var(--wd-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.trust span { color: var(--wd-body); font-size: 0.95rem; line-height: 1.55; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  list-style: none;
}

.steps li { text-align: center; }

.steps img {
  width: 128px;
  height: 128px;
  margin: 0 auto 18px;
  object-fit: contain;
  image-rendering: pixelated;
}

.steps img.step-mailbox { image-rendering: auto; }

.steps h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.step-n {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: #93472f;
  color: #fff;
  font-size: 0.95rem;
}

.steps p { max-width: 30ch; margin-inline: auto; color: var(--wd-body); font-size: 0.97rem; }

.cta {
  border-top: 1px solid var(--wd-hairline);
  background: var(--wd-sky);
}

.cta-duck { width: 158px; margin: 0 auto 18px; image-rendering: pixelated; }
.cta h2 { margin-bottom: 12px; }
.cta .lede { margin-bottom: 26px; }

.site-footer {
  padding-block: 44px 26px;
  background: var(--wd-ink);
  color: var(--wd-secondary);
}

.site-footer .fineprint { color: rgba(227, 223, 218, 0.82); }

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(227, 223, 218, 0.16);
}

.footer-brand { max-width: 300px; }

.footer-logo {
  display: block;
  width: 220px;
  height: auto;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 4px;
}

.footer-links a {
  color: #fffaf0;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--wd-bg);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
}

.policy-main {
  min-height: 70vh;
  padding-block: 70px 84px;
  background: var(--wd-sky);
}

.policy-wrap { max-width: 780px; }
.policy-wrap > .lede { max-width: 62ch; margin-bottom: 34px; }

.policy-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--wd-hairline);
  border-radius: 18px;
  background: var(--wd-bg);
  box-shadow: 0 10px 28px rgba(49, 34, 22, 0.08);
}

.policy-card + .policy-card { margin-top: 22px; }
.policy-card h2 { margin-bottom: 16px; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.policy-card p + p { margin-top: 14px; }

.policy-steps {
  display: grid;
  gap: 12px;
  padding-left: 1.4rem;
}

.policy-steps li { padding-left: 6px; }

.policy-note {
  padding: 14px 16px;
  border-left: 4px solid var(--wd-primary);
  background: rgba(147, 71, 47, 0.07);
}

.not-found-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
}

.not-found {
  max-width: 560px;
  text-align: center;
}

.not-found img { width: 160px; margin: 0 auto 20px; image-rendering: pixelated; }
.not-found h1 { margin-bottom: 12px; }
.not-found p { margin-bottom: 24px; color: var(--wd-body); }

@media (max-width: 860px) {
  :root { --section-y: 62px; }

  h1 { font-size: 2.65rem; }
  h2 { font-size: 2rem; }

  .hero {
    min-height: auto;
    padding-block: 40px 56px;
  }

  .hero-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .badges { justify-content: center; }
  .hero-art { margin-top: 4px; }
  .float-duck { left: calc(50% - 178px); bottom: -14px; width: 112px; }

  .feature { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .feature-flip .feature-art { order: 0; }
  .feature-copy p { max-width: 46ch; margin-inline: auto; }
  .trust { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 520px) {
  :root { --gutter: 18px; --section-y: 54px; }

  body { font-size: 16px; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.75rem; }

  .header-inner { padding-block: 8px; }
  .brand-logo { width: 160px; }
  .btn { min-height: 42px; padding: 9px 14px; }

  .hero { padding-block: 28px 38px; }
  .hero-inner { gap: 20px; }
  .hero h1 { margin-bottom: 14px; }
  .hero .lede { margin-bottom: 20px; font-size: 1rem; line-height: 1.5; }
  .eyebrow { margin-bottom: 9px; }
  .badges { gap: 8px; margin-bottom: 13px; }
  .badge { width: 100%; min-height: 50px; }

  .hero-art .phone {
    width: min(100%, 340px);
    height: 150px;
    border-width: 6px;
    border-radius: 20px;
  }

  .hero-art .phone img {
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
  }

  .float-duck { left: 2px; bottom: -13px; width: 88px; }
  .section-title { margin-bottom: 34px; }
  .features { gap: 58px; }
  .feature-copy h3 { font-size: 1.25rem; }
  .phone-sm { width: min(220px, 64vw); height: auto; }
  .footer-inner { flex-direction: column; }
  .policy-main { padding-block: 42px 56px; }
  .policy-card { border-radius: 14px; }
}

@media (max-width: 360px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.55rem; }

  .hero { padding-block: 20px 28px; }
  .hero .lede { font-size: 0.94rem; line-height: 1.45; }
  .hero-copy .badge-soon { display: none; }
  .hero-art .phone { height: 108px; }
  .float-duck { width: 70px; }
  .fineprint { font-size: 0.76rem; }
}
