/* Fonts are served from this site (SIL Open Font License, see fonts/OFL-*.txt). Each file is a variable font covering all the weights below. */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/baloo2-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/baloo2-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/nunito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/nunito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Storybook: a cream paper page, headings on wooden signboards, thick outlined shapes, flat 6px shadows. One look, no dark theme. */
:root {
  --paper: #fff8f0; --ink: #2b2d42; --muted: #5f6273; --sky: #4ea8de; --coral: #ef476f; --sun: #ffd166; --leaf: #06d6a0; --leaf-ink: #067a55;
  --grape: #9b5de5; --wood: #8a5a2b; --wood-dark: #5a3b1e; --wood-light: #a0693a; --line: #3a2a2e; --night: #1d3557; --dawn: #bde0fe; --gold: #e6c25a; --tint: #eef2ff; --white: #ffffff;
  --display: "Baloo 2", "Segoe UI", Verdana, sans-serif; --body: "Nunito", "Segoe UI", Verdana, sans-serif;
  --shadow: 0 6px 0 rgba(58,42,46,.14); --r: 22px; --col: 1100px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: #14598a; font-weight: 700; }
.wrap { max-width: var(--col); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
section { padding-block: 56px; }

/* signboards */
.sign { display: inline-block; font-family: var(--display); font-weight: 800; color: #fff4e5; background: linear-gradient(var(--wood-light), var(--wood)); border: 3px solid var(--wood-dark); border-radius: 12px; padding: 8px 22px; box-shadow: 0 5px 0 var(--wood-dark), var(--shadow); text-shadow: 0 2px 0 rgba(58,42,46,.35); letter-spacing: .01em; position: relative; }
.sign::before, .sign::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--wood-dark); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.sign::before { left: 8px; } .sign::after { right: 8px; }
h2.sign { font-size: 32px; padding: 10px 34px; margin-bottom: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 26px; border-radius: 999px; border: 3px solid var(--line); background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; text-decoration: none; box-shadow: 0 6px 0 var(--line); transition: transform .08s ease, box-shadow .08s ease; }
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--line); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--line); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* pictures in cards */
.pic { border: 3px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.pic img { width: 100%; }

/* header */
header { background: var(--paper); border-bottom: 3px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 14px; }
.logo { font-size: 24px; padding: 6px 26px; text-decoration: none; }
.links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.links a { color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; min-height: 48px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; }
.links a:hover { border-bottom-color: var(--sky); }
.nav .btn { font-size: 18px; min-height: 48px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 64px 24px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 60px); font-weight: 800; margin-bottom: 18px; }
.hero p.lead { font-size: 20px; max-width: 34em; margin-bottom: 26px; }
.hero .small { color: var(--muted); font-size: 16px; margin-top: 12px; }
.hero .pic { transform: rotate(2.5deg); }
.hero .pic:hover { transform: rotate(0); transition: transform .3s ease; }

/* three things */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 3px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.card b { font-family: var(--display); font-size: 24px; font-weight: 800; display: block; margin-bottom: 6px; }
.card.play b { color: var(--coral); } .card.practice b { color: #1b6ea3; } .card.reports b { color: var(--grape); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { min-width: 0; }
.step .pic { margin-bottom: 14px; }
.step h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.step h3::before { counter-increment: step; content: counter(step); flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--sun); border: 3px solid var(--line); display: grid; place-items: center; font-size: 20px; box-shadow: 0 3px 0 var(--line); }

/* grown-ups panel */
.panel { background: var(--dawn); border: 3px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
.panel p { max-width: 42em; margin-bottom: 14px; }
.panel a { font-size: 20px; }

/* who it is for */
.who { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; max-width: var(--col); }
.who li { display: flex; gap: 12px; align-items: flex-start; }
.who li::before { content: ""; flex: none; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; background: var(--leaf); border: 3px solid var(--line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%232b2d42' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 70%; background-repeat: no-repeat; background-position: center; }

/* the wilds */
.wilds { background: var(--night); color: #fff4e5; border-top: 4px solid var(--line); border-bottom: 4px solid var(--line); }
.wilds .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.wilds h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; color: var(--sun); }
.wilds p { font-size: 19px; max-width: 32em; }

/* call to action */
.cta .card { text-align: center; padding: 40px 28px; }
.cta p { max-width: 36em; margin: 0 auto 24px; }

footer { background: var(--night); color: #fff4e5; padding-block: 36px; font-size: 16px; }
footer .wrap { display: grid; gap: 10px; }
footer a { color: var(--dawn); margin-right: 18px; }
footer .legal { color: #bfc8dc; }

@media (max-width: 820px) {
  section { padding-block: 40px; }
  h2.sign { font-size: 26px; padding: 8px 26px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 16px; }
  .hero .pic { transform: none; }
  .three, .steps { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .wilds .wrap { grid-template-columns: 1fr; }
  .links { gap: 14px; }
  .links a { font-size: 17px; }
  body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .hero .pic { transition: none; } }

/* inner pages */
.page-head { padding-block: 56px 8px; }
.page-head h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 800; margin-bottom: 18px; }
.page-head p { font-size: 20px; max-width: 38em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.flip .pic { order: -1; }
.split p + p { margin-top: 14px; }
.list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; max-width: 46em; }
.list li { background: var(--white); border: 3px solid var(--line); border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow); }
.list li b { font-family: var(--display); font-size: 21px; font-weight: 800; }
.prose { max-width: 46em; }
.prose p + p { margin-top: 14px; }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cards2 .card p + p { margin-top: 10px; }
.pics2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.qa { display: grid; gap: 16px; }
.qa .card b { font-size: 22px; }
.group { margin-bottom: 36px; }
.form-embed { display: block; width: 100%; max-width: 640px; height: 853px; border: 0; border-radius: var(--r); background: #fff; }
.form-fallback { max-width: 640px; margin: 12px 0 0; font-size: 16px; }
.next { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: n; }
.next li { display: flex; gap: 14px; align-items: center; }
.next li::before { counter-increment: n; content: counter(n); flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--sun); border: 3px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; box-shadow: 0 3px 0 var(--line); }
.privacy-line { color: var(--muted); font-size: 16px; max-width: 46em; }
[id] { scroll-margin-top: 90px; }
@media (max-width: 820px) {
  .page-head { padding-block: 36px 0; }
  .split, .cards2, .pics2 { grid-template-columns: 1fr; gap: 22px; }
  .split.flip .pic { order: 0; }
}

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
/* skip link, footer links, cropped report pictures, phone header */
.skip { position: absolute; left: 12px; top: -80px; z-index: 10; background: var(--sun); color: var(--ink); border: 3px solid var(--line); border-radius: 999px; padding: 10px 20px; text-decoration: none; }
.skip:focus { top: 12px; }
footer a { display: inline-flex; align-items: center; min-height: 48px; }
footer a:focus-visible { outline-color: var(--sun); }
.wilds a:focus-visible { outline-color: var(--sun); }
.pic.crop img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.pics2 .pic { align-self: start; }
.hero .pic, .split .pic, .wilds .pic { min-width: 0; }
@media (max-width: 820px) {
  header { position: static; }
  .nav { gap: 10px 16px; padding-block: 12px; }
  .links { width: 100%; margin-left: 0; justify-content: space-between; gap: 8px; }
  .links a { font-size: 18px; }
  .nav .btn { margin-left: auto; }
  .hero h1 { font-size: 38px; }
  .btn { max-width: 100%; text-align: center; }
  .panel { padding: 22px; }
  .cta .card { padding: 28px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
