@font-face { font-family: "Fredoka"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Fredoka-Regular.ttf") format("truetype"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Fredoka-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Fredoka-Bold.ttf") format("truetype"); }
:root {
  --navy: #0a1850;
  --night: #0a1850;
  --cream: #fff6e0;
  --ink: #1d1b2f;
  --muted: #4a4766;
  --orange: #ff8a00;
  --accent: #ff8a00;
  --yellow: #ffd23f;
  --sun: #ffe59a;
  --green: #35c27c;
  --sky: #8fd8f5;
  --sky-soft: #d4f1fc;
  --mint: #d9f5e5;
  --pink: #ff8fab;
  --line: #e9dfc6;
  --card: #ffffff;
  --font: "Fredoka", ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(10, 24, 80, .07) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 400 18px/1.55 var(--font);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: #3346b8; }
a:focus-visible, summary:focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* header + footer (every page) */
header.site { background: var(--navy); color: #fff; border-bottom: 5px solid var(--orange); position: relative; z-index: 5; }
header.site .bar { max-width: 1120px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
header.site .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 24px; }
header.site .brand img { height: 40px; width: auto; }
header.site nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
header.site nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 6px 2px; white-space: nowrap; }
header.site nav a.nav-get { padding: 6px 16px; background: var(--orange); color: var(--navy); border: 3px solid #fff; border-radius: 999px; }
header.site nav a.nav-get:hover { background: var(--yellow); color: var(--navy); }
header.site nav a:hover { color: var(--yellow); }
header.site nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--orange); }
footer.site { background: var(--navy); color: #d9dcf2; text-align: center; font-size: 16px; padding: 32px 20px 44px; }
footer.site a { color: #fff; }
footer.site p { margin: 6px 0; }

/* legal + support pages */
main { max-width: 880px; margin: 0 auto; padding: 24px 16px 48px; }
main.doc { background: var(--card); border: 3px solid var(--navy); box-shadow: 6px 6px 0 var(--navy); border-radius: 24px; margin-top: 28px; margin-bottom: 36px; padding: 24px 22px 40px; }
main.home { max-width: none; padding: 0; }
h1, h2, h3 { font-family: var(--font); color: var(--navy); }
h1 { font-size: 34px; line-height: 1.15; margin: 8px 0 16px; }
h2 { font-size: 25px; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 20px; margin: 24px 0 6px; }
p, li { overflow-wrap: anywhere; }
ul { padding-left: 22px; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; min-width: 420px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #fbf4e4; }
code { background: #f3ecdb; padding: 1px 5px; border-radius: 4px; font-size: 0.92em; }

/* home: layout helpers */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.band { position: relative; padding: 64px 0 72px; margin-top: 14px; }
.band h2 { font-size: clamp(28px, 4.6vw, 42px); line-height: 1.12; margin: 0 0 8px; max-width: 820px; }
.kicker { display: inline-block; margin: 0 0 14px; padding: 4px 14px; background: var(--navy); color: var(--yellow); border-radius: 999px; font-weight: 600; font-size: 17px; transform: rotate(-1.5deg); }
.band-navy .kicker { background: var(--yellow); color: var(--navy); }
.band-orange .kicker { background: #fff; color: var(--navy); }
.band[id] { scroll-margin-top: 80px; }
.band .section-lead { font-size: 20px; max-width: 640px; margin: 0 0 30px; }
.band .kicker + .cats, .band .kicker + .benefits, .band .kicker + .steps { margin-top: 16px; }
.scallop { position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: radial-gradient(circle at 16px 14px, var(--band) 15px, transparent 16px) 0 0 / 32px 14px repeat-x; pointer-events: none; }
.band-cream { --band: var(--cream); background: var(--cream) radial-gradient(rgba(10, 24, 80, .07) 1.5px, transparent 1.6px) 0 0 / 22px 22px; }
.band-navy { --band: var(--navy); background: var(--navy); color: #eef0ff; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-sun { --band: var(--sun); background: var(--sun); }
.band-sky { --band: var(--sky-soft); background: var(--sky-soft); }
.band-mint { --band: var(--mint); background: var(--mint); }
.band-orange { --band: var(--orange); background: var(--orange); }

/* hero */
.hero { position: relative; padding: 36px 0 44px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; background: var(--yellow); border: 3px solid var(--navy); border-radius: 999px; font-weight: 600; font-size: 16px; color: var(--navy); transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--navy); }
.hero h1 { font-size: clamp(40px, 7.5vw, 68px); line-height: 1; margin: 0 0 18px; letter-spacing: -.5px; }
.h1-sub { display: block; margin-top: 14px; font-size: clamp(21px, 3vw, 28px); line-height: 1.2; font-weight: 600; color: var(--orange); letter-spacing: 0; text-shadow: 1px 1px 0 var(--navy); }
.lead { font-size: 20px; max-width: 560px; margin: 0 0 22px; }
.fine { font-size: 15px; color: var(--muted); margin: 12px 0 0; }

/* store buttons */
.stores { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.store { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 230px; padding: 14px 28px 16px 68px; background: var(--orange); color: var(--navy); text-decoration: none; border: 4px solid var(--navy); border-radius: 24px; box-shadow: 6px 6px 0 var(--navy); line-height: 1.1; transition: transform .15s, box-shadow .15s; animation: nudge 2.8s ease-in-out infinite; }
.store::before { content: "⬇"; position: absolute; left: 16px; top: 50%; margin-top: -21px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); border-radius: 50%; font-size: 22px; font-weight: 700; }
.store small { font-size: 14px; font-weight: 600; }
.store b { font-size: 28px; font-weight: 700; }
a.store:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 9px 9px 0 var(--navy); animation-play-state: paused; }
a.store:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--navy); }
.store:nth-child(2) { animation-delay: -1.4s; background: var(--yellow); }
.store--pending { cursor: default; }
.band-orange .store { background: var(--yellow); box-shadow: 6px 6px 0 var(--navy); }
.band-orange .store:nth-child(2) { background: #fff; }

/* hero art */
.hero-stage { position: relative; min-height: 400px; display: grid; place-items: center; }
.blob { position: absolute; width: min(430px, 92%); aspect-ratio: 1; background: var(--sky); border: 4px solid var(--navy); border-radius: 46% 54% 58% 42% / 50% 42% 58% 50%; animation: blob 9s ease-in-out infinite; }
.phone { position: relative; background: var(--navy); border-radius: 40px; padding: 10px; width: 250px; box-shadow: 8px 8px 0 rgba(10, 24, 80, .25); }
.phone .notch { position: absolute; top: 14px; left: 50%; width: 70px; height: 16px; margin-left: -35px; background: var(--navy); border-radius: 10px; z-index: 2; }
.screen { position: relative; height: 470px; border-radius: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; padding: 34px 12px 16px; text-align: center; color: var(--navy); }
.s-yellow { background: var(--yellow); }
.phone--hero .screen { justify-content: flex-start; padding-top: 52px; }
.s-cream { background: var(--cream); }
.s-green { background: #9fe3bd; }
.s-pink { background: #ffc2d1; }
.big-letter { font-size: 76px; font-weight: 700; line-height: 1; }
.big-emoji { font-size: 110px; line-height: 1.1; animation: pop 3s ease-in-out infinite; }
.word { font-size: 24px; font-weight: 700; }
.next { margin-top: 14px; padding: 8px 20px; background: #fff; border: 3px solid var(--navy); border-radius: 999px; font-weight: 600; font-size: 16px; }
.pachu-hero { position: absolute; left: -4px; bottom: -6px; width: clamp(130px, 24vw, 200px); height: auto; filter: drop-shadow(4px 5px 0 rgba(10, 24, 80, .25)); animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; z-index: 2; }
.float { position: absolute; display: grid; place-items: center; width: 62px; height: 62px; background: #fff; border: 3px solid var(--navy); border-radius: 18px; box-shadow: 4px 4px 0 var(--navy); font-size: 30px; font-weight: 700; color: var(--navy); animation: float 5s ease-in-out infinite; z-index: 3; }
.f1 { top: 6%; left: 8%; --r: -10deg; background: var(--pink); }
.f2 { top: 14%; right: 4%; --r: 8deg; animation-delay: -1.2s; }
.f3 { top: 52%; right: 0; --r: -6deg; animation-delay: -2.4s; background: var(--yellow); }
.f4 { bottom: 12%; right: 12%; --r: 10deg; animation-delay: -3.1s; background: var(--green); }
.f5 { top: 40%; left: 0; --r: 7deg; animation-delay: -.7s; background: var(--orange); }

/* trust */
.trust { padding: 26px 0 30px; }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: 0 auto; padding: 0 20px; }
.trust-list li { padding: 8px 18px; background: var(--cream); color: var(--navy); border: 3px solid var(--navy); border-radius: 999px; font-weight: 600; box-shadow: 3px 3px 0 var(--orange); }
.trust-list li:nth-child(even) { transform: rotate(1.2deg); }
.trust-list li:nth-child(odd) { transform: rotate(-1.2deg); }

/* what they learn */
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 20px 10px 16px; border: 3px solid var(--navy); border-radius: 26px; box-shadow: 5px 5px 0 var(--navy); color: var(--navy); text-align: center; transform: rotate(var(--tilt)); transition: transform .2s; }
.cat:hover { transform: rotate(0) scale(1.05); }
.cat .emoji { font-size: 56px; line-height: 1.1; }
.cat strong { font-size: 22px; }
.cat span:last-child { font-size: 15px; font-weight: 400; }
.cat.pink { background: #ffc2d1; } .cat.yellow { background: var(--yellow); } .cat.orange { background: #ffb55c; }
.cat.green { background: #9fe3bd; } .cat.sky { background: var(--sky); }

/* benefits */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 3px solid var(--navy); border-radius: 22px; padding: 18px 20px; box-shadow: 5px 5px 0 var(--navy); }
.benefit h3 { margin: 2px 0 4px; font-size: 21px; line-height: 1.2; }
.benefit p { margin: 0; }
.b-icon { flex: none; width: 56px; height: 56px; display: grid; place-items: center; font-size: 28px; border: 3px solid var(--navy); border-radius: 50%; transform: rotate(-6deg); }
.benefit.c0 .b-icon { background: var(--pink); } .benefit.c1 .b-icon { background: var(--yellow); } .benefit.c2 .b-icon { background: var(--green); }

/* skills */
.skills { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: skill; }
.skill { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 3px solid var(--navy); border-radius: 22px; }
.skill:nth-child(odd) { transform: rotate(-.6deg); } .skill:nth-child(even) { transform: rotate(.6deg); }
.skill h3 { margin: 2px 0 2px; font-size: 21px; line-height: 1.2; }
.skill p { margin: 0; }
.s-icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; font-size: 28px; background: var(--mint); border: 3px solid var(--navy); border-radius: 16px; box-shadow: 3px 3px 0 var(--green); }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.steps h3 { margin: 22px 0 4px; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.steps p { margin: 0; max-width: 290px; }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--orange); color: #fff; border: 3px solid var(--navy); border-radius: 50%; font-size: 20px; }
.phone--small { width: 210px; }
.phone--small .screen { height: 340px; padding-top: 30px; }
.phone--small .big-letter { font-size: 54px; }
.phone--small .big-emoji { font-size: 78px; }
.phone--small .word { font-size: 19px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; width: 100%; }
.tiles span { display: flex; flex-direction: column; align-items: center; font-size: 34px; line-height: 1.2; padding: 12px 4px 8px; background: #fff; border: 3px solid var(--navy); border-radius: 18px; }
.tiles span:nth-child(2) { background: var(--yellow); } .tiles span:nth-child(3) { background: #ffb55c; } .tiles span:nth-child(4) { background: var(--sky); }
.tiles b { font-size: 14px; font-weight: 600; }
.hand { position: absolute; right: 34px; bottom: 26px; font-size: 54px; animation: swipe 2.4s ease-in-out infinite; }
.ask { font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.choices { display: flex; flex-direction: column; gap: 10px; }
.choices span { width: 112px; height: 62px; display: grid; place-items: center; background: #fff; border: 3px solid var(--navy); border-radius: 18px; font-size: 38px; }
.choices .right { background: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 138, 0, .85); animation: ring 1.6s ease-in-out infinite; }

/* safe */
.safe-grid { display: grid; gap: 34px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 44px; font-size: 19px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--green); color: var(--navy); font-weight: 700; border: 3px solid #fff; border-radius: 50%; }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.pill { display: inline-block; padding: 10px 22px; background: var(--yellow); color: var(--navy); font-weight: 600; text-decoration: none; border: 3px solid #fff; border-radius: 999px; transition: transform .15s; }
.pill.alt { background: transparent; color: #fff; }
.pill:hover { transform: translateY(-3px) rotate(-1deg); }
.parent-card { background: var(--cream); color: var(--ink); padding: 24px 24px 18px; border: 3px solid #fff; border-radius: 28px; box-shadow: 7px 7px 0 var(--orange); transform: rotate(1.2deg); }
.parent-card h3 { margin: 0 0 8px; font-size: 24px; color: var(--navy); }
.parent-card p { margin: 0 0 8px; }
.parent-card ul { margin: 0; padding-left: 22px; }
.parent-card li { margin-bottom: 6px; }

/* FAQ */
.faq { max-width: 820px; }
.faq .kicker { margin-bottom: 22px; }
.faq-item { background: #fff; border: 3px solid var(--navy); border-radius: 20px; margin-bottom: 14px; box-shadow: 4px 4px 0 var(--navy); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 600; font-size: 19px; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; margin-top: -16px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--navy); border-radius: 50%; font-weight: 700; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { content: "–"; transform: rotate(180deg); background: var(--orange); }
.faq-item p { margin: 0; padding: 0 20px 18px; }

/* final call to action */
.cta { padding-bottom: 80px; }
.cta h2 { color: var(--navy); }
.cta-grid { display: grid; gap: 22px; align-items: center; justify-items: center; text-align: center; }
.cta .section-lead { margin-left: auto; margin-right: auto; margin-bottom: 24px; }
.cta .stores { justify-content: center; }
.pachu-cta { width: 190px; height: auto; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; filter: drop-shadow(4px 5px 0 rgba(10, 24, 80, .25)); }

/* sticky download bar, phones only */
.mobile-get { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; background: var(--orange); color: var(--navy); font-weight: 700; font-size: 19px; text-decoration: none; border: 3px solid var(--navy); border-radius: 999px; box-shadow: 4px 4px 0 var(--navy); }
.mobile-get span { display: grid; place-items: center; width: 30px; height: 30px; background: var(--navy); color: var(--yellow); border-radius: 50%; font-size: 16px; }
body:has(.mobile-get) footer.site { padding-bottom: 110px; }
/* Where the browser supports it, the bar slides in only after the hero's own
   buttons have scrolled away; elsewhere it simply stays visible. */
@supports (animation-timeline: scroll()) {
  .mobile-get { animation: bar-in linear both; animation-timeline: scroll(root); animation-range: 560px 720px; }
}
@keyframes bar-in { from { transform: translateY(160%); visibility: hidden; } to { transform: none; visibility: visible; } }

/* motion */
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) * -1)); } }
@keyframes blob { 0%, 100% { border-radius: 46% 54% 58% 42% / 50% 42% 58% 50%; } 50% { border-radius: 56% 44% 42% 58% / 44% 56% 44% 56%; } }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12) rotate(-4deg); } }
@keyframes swipe { 0%, 100% { transform: translateY(40px); opacity: 0; } 25% { opacity: 1; } 75% { transform: translateY(-110px); opacity: 1; } 90% { opacity: 0; } }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 138, 0, .85); } 50% { box-shadow: 0 0 0 11px rgba(255, 138, 0, .25); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .7s both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; } .hero-copy > :nth-child(6) { animation-delay: .4s; }
.hero-stage .phone { animation: rise .8s .2s both; }
.store:focus-visible, .pill:focus-visible { outline: 4px solid var(--orange); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* phones */
@media (max-width: 639px) {
  .hero { padding: 24px 0 36px; }
  .hero-stage .phone--hero { width: 210px; }
  .phone--hero .screen { height: 360px; padding-top: 40px; }
  .phone--hero .big-letter { font-size: 56px; }
  .phone--hero .big-emoji { font-size: 84px; }
  .phone--hero .word { font-size: 20px; }
  .float { width: 50px; height: 50px; font-size: 24px; }
  .band { padding: 52px 0 56px; }
  header.site .bar { padding-bottom: 6px; }
  header.site nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 6px; scrollbar-width: none; }
  header.site nav a.nav-get { display: none; }
}

/* wider screens */
@media (min-width: 640px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .skills { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 900px) {
  header.site:has(.nav-get) { position: sticky; top: 0; }
  .mobile-get { display: none; }
  body:has(.mobile-get) footer.site { padding-bottom: 44px; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .hero-stage { min-height: 600px; }
  .phone--hero { width: 270px; }
  .pachu-hero { left: -64px; }
  .phone--hero .screen { height: 520px; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .safe-grid { grid-template-columns: 1.1fr .9fr; }
  .cta-grid { grid-template-columns: auto 1fr; text-align: left; justify-items: start; gap: 40px; }
  .cta .stores { justify-content: flex-start; }
  .cta .section-lead { margin-left: 0; }
  .pachu-cta { width: 240px; }
}
