@font-face { font-family: Fredoka; src: url(fonts/Fredoka.ttf) format("truetype"); font-weight: 300 700; font-display: swap; }

:root {
  --sky: #7fd0f5;
  --sky-light: #c9eeff;
  --grass: #7ccb5a;
  --grass-dark: #5fae45;
  --cream: #fff6e6;
  --paper: #fffdf8;
  --ink: #4a2e1c;
  --muted: #7a5a45;
  --yellow: #ffd43b;
  --red: #e8505b;
  --red-dark: #c23744;
  --line: rgba(74, 46, 28, 0.14);
  --radius: 26px;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .btn, .eyebrow, summary { font-family: Fredoka, system-ui, sans-serif; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }

/* Nav */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav img { height: 56px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-family: Fredoka, sans-serif; font-weight: 500; font-size: 17px; }
.nav ul a { text-decoration: none; color: var(--ink); opacity: 0.8; }
.nav ul a:hover { opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 18px; text-decoration: none;
  background: var(--paper); border: 3px solid var(--ink); color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn.primary { background: var(--red); color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-light) 100%);
  padding: 130px 0 0;
}
.hero .wrap > *, .split > *, .steps > * { min-width: 0; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-art { align-self: end; }
.hero-art img { width: 100%; max-width: 520px; margin-left: auto; filter: drop-shadow(0 18px 24px rgba(74, 46, 28, 0.18)); }
.hero-copy { padding-bottom: 72px; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-dark); margin: 0 0 12px; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; font-weight: 700; margin: 0 0 20px; max-width: 12ch; }
.lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 38ch; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.ground { height: 56px; background: var(--grass); border-top: 10px solid var(--grass-dark); position: relative; }

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 700; margin: 0 0 14px; }
.section-lede { color: var(--muted); max-width: 54ch; margin: 0 0 44px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.card { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 6px 0 var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--ink); font-family: Fredoka, sans-serif; font-weight: 700; margin-bottom: 16px;
}
.card h3 { font-size: 23px; margin: 0 0 6px; font-weight: 600; }
.card p { color: var(--muted); margin: 0; font-size: 16.5px; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); border: 3px solid var(--ink); }
.caption { font-size: 14px; color: var(--muted); margin-top: 10px; }

.animals-band { background: var(--paper); border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.animals { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 8px 0 28px; }
.animals figure { margin: 0; text-align: center; font-family: Fredoka, sans-serif; font-weight: 500; }
.animals img { width: 100%; max-width: 150px; margin: 0 auto 6px; background: var(--sky-light); border-radius: 50%; border: 3px solid var(--ink); padding: 10px; }

.silly { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.silly li { padding-left: 34px; position: relative; }
.silly li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 22px; border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); }

.faq > * { max-width: 820px; }
.faq details { border-bottom: 2px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 21px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

footer { background: var(--grass); border-top: 10px solid var(--grass-dark); padding: 40px 0 56px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
footer img { height: 36px; width: auto; margin-bottom: 10px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-family: Fredoka, sans-serif; font-weight: 500; }
footer nav a { text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
.credits { max-width: 560px; }

/* Legal pages */
.legal { padding: 130px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); max-width: none; }
.legal h2 { font-size: 26px; margin: 38px 0 8px; }
.legal p, .legal li { font-size: 17px; }
.legal .updated { color: var(--muted); font-size: 15px; }
.page-top { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-light) 100%); height: 84px; position: absolute; inset: 0 0 auto 0; }

@media (max-width: 860px) {
  .nav ul { display: none; }
  .hero .wrap, .steps, .split { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-art img { margin: 0 auto; max-width: 360px; }
  .animals { grid-template-columns: repeat(3, 1fr); }
}
