/* StoryStakes product page (v20). Ocean theme, Lexend + Inter (self-hosted). Also used by privacy.html and support.html. */
@font-face { font-family: 'Inter'; src: url('fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('fonts/lexend.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f4f9fc; --bg-2: #e6f1f7; --bg-3: #d2e4ef; --surface: #fff;
  --ink: #143047; --ink-2: #3c5a70; --muted: #5e7a8c; --line: #d6e6ef;
  --primary: #0e6e8c; --primary-600: #0a5670; --primary-700: #08445a; --primary-50: #dff3f8; --primary-100: #c3e7f0;
  --accent: #e09a2b; --accent-50: #fff3dc; --accent-ink: #7a4e0a; --done: #1a7a6a; --star: #f0b429;
  --lv1: #dceaf6; --lv2: #d8efe8; --lv3: #f7edd8; --lv4: #f8e4dc; --lv5: #e8e4f4; --lv6: #dff3f1; --lv7: #fbe4ef; --lv8: #eef0d9; --lv9: #fdf0c8;
  --sh-1: 0 1px 2px rgba(20,48,71,.06), 0 1px 3px rgba(20,48,71,.06);
  --sh-2: 0 10px 30px rgba(20,48,71,.10), 0 2px 6px rgba(20,48,71,.06);
  --sh-3: 0 30px 70px rgba(10,40,60,.28), 0 8px 20px rgba(10,40,60,.12);
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Lexend', 'Inter', system-ui, sans-serif;
  --r: 20px; --maxw: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-600); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; margin: 0; color: var(--ink); }
h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 650; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.25em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 820px; }
.muted { color: var(--muted); } .small { font-size: 14px; }

/* buttons + badge */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--primary); color: #fff; font: 600 16px/1 var(--ui); text-decoration: none; cursor: pointer; box-shadow: 0 6px 16px rgba(14,110,140,.28); transition: background .15s, transform .15s; }
.btn:hover { background: var(--primary-600); color: #fff; transform: translateY(-1px); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; flex: none; transition: transform .15s; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge img { height: 44px; width: auto; }
.store-badge-lg img { height: 54px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: '→'; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244,249,252,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(20,48,71,.06); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 9px; box-shadow: var(--sh-1); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; font-size: 22px; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 14px; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: 36px 0 56px;
  background: radial-gradient(1200px 600px at 85% -10%, #cfeaf3 0%, rgba(207,234,243,0) 60%), radial-gradient(800px 500px at -10% 110%, #fdecd0 0%, rgba(253,236,208,0) 60%); }
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.hero-icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: var(--sh-2); }
.eyebrow { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--primary); font: 600 13px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(44px, 9vw, 76px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 18px; }
.hero h1 .amp { color: var(--accent); font-weight: 600; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.lede em { font-style: normal; font-weight: 600; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-bottom: 26px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ic { color: var(--done); stroke-width: 2.4; }
.hero-art { position: relative; min-height: 380px; max-width: 620px; width: 100%; margin: 0 auto; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob-a { width: 72%; aspect-ratio: 1; right: 0; top: 2%; background: linear-gradient(140deg, #0e6e8c, #2aa7b8); opacity: .16; }
.blob-b { width: 34%; aspect-ratio: 1; left: 2%; bottom: 0; background: var(--accent); opacity: .16; }
.device { position: relative; background: #13212c; box-shadow: var(--sh-3); overflow: hidden; }
.device img { width: 100%; background: #fff; }
.ipad { border-radius: 30px; padding: 12px; }
.ipad img { border-radius: 19px; aspect-ratio: 800 / 1048; object-fit: cover; object-position: top; }
.iphone { border-radius: 40px; padding: 9px; }
.iphone img { border-radius: 32px; aspect-ratio: 420 / 855; object-fit: cover; object-position: top; }
.hero-art .ipad { width: 74%; margin-left: auto; margin-right: 4%; transform: rotate(2deg); }
.hero-art .iphone { position: absolute; width: 33%; left: 2%; bottom: -6%; transform: rotate(-4deg); }
.float-card { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--surface); border-radius: 14px; box-shadow: var(--sh-2); font: 600 15px/1 var(--ui); color: var(--ink); animation: bob 5s ease-in-out infinite; }
.fc-1 { top: 8%; left: 0; }
.fc-1 .fc-word { font-family: var(--display); font-size: 20px; color: var(--done); background: #e3f4ef; padding: 4px 8px; border-radius: 8px; }
.fc-1 .fc-tick { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--done); color: #fff; }
.fc-1 .fc-tick .ic { stroke-width: 3; width: 16px; height: 16px; }
.fc-2 { right: 0; bottom: 10%; animation-delay: -2.5s; color: var(--accent-ink); }
.fc-2 .ic { color: var(--accent); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (min-width: 960px) {
  .hero { padding: 64px 0 96px; }
  .hero-in { grid-template-columns: 1.02fr 1fr; gap: 56px; }
  .hero-art { min-height: 540px; }
}

/* stats */
.stats { background: var(--primary-700); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding-top: 22px; padding-bottom: 22px; }
.stats-in div { text-align: center; padding: 10px 6px; }
.stats strong { display: block; font: 700 clamp(24px, 3.4vw, 34px)/1.1 var(--display); color: #fff; }
.stats span { color: #bfe2ec; font-size: 15px; }
@media (min-width: 720px) { .stats-in { grid-template-columns: repeat(4, 1fr); } .stats-in div + div { border-left: 1px solid rgba(255,255,255,.14); } }

/* sections */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.kicker { color: var(--primary); font: 700 13px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.section-lede { color: var(--ink-2); font-size: 18px; max-width: 640px; margin-top: 14px; }
#how h2, #how .section-lede, #how .kicker, .gallery .wrap:first-child, #features > .wrap > h2, #features .kicker, #faq .kicker, #faq h2 { text-align: center; margin-left: auto; margin-right: auto; }
#how h2, #features h2 { max-width: 760px; }

/* steps */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
.step { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--sh-1); }
.phone-mini { border-radius: 22px; padding: 5px; background: #13212c; box-shadow: var(--sh-2); }
.phone-mini img { border-radius: 18px; aspect-ratio: 420 / 855; object-fit: cover; object-position: top; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-50); color: var(--accent-ink); font: 700 16px/1 var(--display); margin-bottom: 10px; }
.step h3 { display: flex; align-items: center; gap: 9px; font-size: 21px; margin-bottom: 8px; }
.step h3 .ic { color: var(--primary); }
.step p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .step { grid-template-columns: 1fr; padding: 28px 26px 30px; align-items: start; }
  .phone-mini { width: 62%; margin: 0 auto 10px; }
}

/* gallery */
.gallery { padding: 72px 0 64px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); overflow: hidden; }
.gallery .section-lede { margin-left: auto; margin-right: auto; }
.marquee { margin-top: 40px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { list-style: none; margin: 0; padding: 10px 20px 18px; display: flex; gap: 18px; width: max-content; animation: drift 90s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee:focus .marquee-track { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.story-card { position: relative; width: 200px; flex: none; background: var(--surface); border-radius: 18px; padding: 8px 8px 14px; box-shadow: var(--sh-2); }
.story-card img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.story-card .lv { position: absolute; top: 16px; left: 16px; font: 600 12px/1 var(--ui); padding: 6px 9px; border-radius: 999px; color: var(--ink); box-shadow: var(--sh-1); }
.story-t { display: block; font: 600 15px/1.3 var(--display); padding: 10px 6px 0; color: var(--ink); }
.lv1 { background: var(--lv1); } .lv2 { background: var(--lv2); } .lv3 { background: var(--lv3); } .lv4 { background: var(--lv4); } .lv5 { background: var(--lv5); } .lv6 { background: var(--lv6); } .lv7 { background: var(--lv7); } .lv8 { background: var(--lv8); } .lv9 { background: var(--lv9); }
.levels { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.level-pill { padding: 9px 15px; border-radius: 999px; font-size: 15px; color: var(--ink-2); }
.level-pill b { color: var(--ink); margin-right: 4px; }
.level-pill small { font-size: 13px; color: var(--ink-2); opacity: .8; }
.levels-note { text-align: center; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
@media (min-width: 960px) { .story-card { width: 236px; } }

/* features */
.features { display: grid; gap: 18px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.f-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-50); color: var(--primary); margin-bottom: 16px; font-size: 22px; }
.feature:nth-child(3n+2) .f-ic { background: var(--accent-50); color: var(--accent-ink); }
.feature:nth-child(3n) .f-ic { background: #e3f4ef; color: var(--done); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.avatar-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; }
.avatar-row img { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh-2); border: 3px solid #fff; animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--d) * -.45s); }
@media (min-width: 720px) { .avatar-row img { width: 72px; height: 72px; } }

/* parents */
.parents { overflow: hidden; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.parents-in { display: grid; gap: 48px; align-items: center; }
.parents-art { max-width: 460px; width: 100%; margin: 0 auto; position: relative; }
.parents-art::before { content: ''; position: absolute; inset: 8% -8% -6% 8%; border-radius: 40px; background: linear-gradient(140deg, var(--primary-50), var(--accent-50)); }
.ipad-flat { transform: rotate(-2deg); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.checks .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--primary-50); color: var(--primary); }
.checks b { color: var(--ink); }
@media (min-width: 960px) { .parents-in { grid-template-columns: .9fr 1.1fr; gap: 72px; } }

/* faq */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 600 17px/1.4 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }

/* about */
.about { background: linear-gradient(180deg, var(--bg) 0%, #fff7ea 100%); }
.about-in { display: grid; gap: 36px; align-items: center; max-width: 980px; }
.about-art { width: 220px; border-radius: 28px; box-shadow: var(--sh-2); transform: rotate(-3deg); border: 6px solid #fff; margin: 0 auto; }
.about h2 { margin-bottom: 18px; }
.about p { color: var(--ink-2); font-size: 18px; }
.sig { font-family: var(--display); font-weight: 600; color: var(--ink) !important; }
@media (min-width: 820px) { .about-in { grid-template-columns: 300px 1fr; gap: 64px; } .about-art { width: 100%; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--primary-700), var(--primary) 60%, #1a8ea6); color: #fff; padding: 56px 0; }
.cta-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.cta-in img:first-child { border-radius: 20px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 6px; }
.cta-band p { color: #cbe9f1; margin: 0; font-size: 18px; }
@media (min-width: 860px) { .cta-in { flex-direction: row; text-align: left; } .cta-in > div { flex: 1; } }

/* contact */
.contact-in { display: grid; gap: 36px; }
.mail-line { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; margin-top: 22px; }
.mail-line .ic { color: var(--primary); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px; box-shadow: var(--sh-2); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--ui); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(14,110,140,.15); }
.field .bad { border-color: #b4432f; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { width: 100%; }
.form-note { margin: 14px 0 6px; font-weight: 500; min-height: 1.6em; }
.form-note.ok { color: var(--done); }
.form-note.err { color: #b4432f; }
@media (min-width: 900px) { .contact-in { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } .contact-form { padding: 34px 32px; } .contact-form .btn { width: auto; } }

/* footer */
.foot { background: #0b2a3a; color: #b9d3df; padding: 52px 0 28px; font-size: 15px; }
.foot a { color: #e5f3f8; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .brand { color: #fff; }
.foot .brand img { box-shadow: none; }
.foot-in { display: grid; gap: 28px; align-items: start; }
.foot-brand p { margin: 10px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.foot-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8fb0bf; }
.foot-legal p { margin: 0 0 6px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; } }

/* ---- v27 (1.3.7): levels, Discover, collect ---- */
.levels-sec, .discover, .collect { overflow: hidden; }
.split { display: grid; gap: 44px; align-items: center; }
.split-art { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.split-art::before { content: ''; position: absolute; inset: 10% -16% -4% -16%; border-radius: 50%; background: radial-gradient(closest-side, var(--primary-100), transparent); z-index: 0; }
.split-art .device { z-index: 1; }
.iphone-flat { transform: rotate(-2deg); }
.split-rev .iphone-flat { transform: rotate(2deg); }
.split-copy .checks { margin-top: 24px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 340px 1fr; gap: 80px; }
  .split-rev { grid-template-columns: 1fr 340px; }
  .split-art { max-width: 320px; }
}
.levels-sec { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.levels-sec .levels { margin-top: 56px; }
.tabbar-demo { display: flex; gap: 6px; margin: 26px 0 4px; padding: 6px; background: var(--bg-2); border-radius: 16px; max-width: 400px; }
.tb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 6px 4px; border-radius: 11px; font-size: 12.5px; line-height: 1.25; color: var(--ink-2); text-align: center; }
.tb b { font: 600 13.5px/1.2 var(--display); color: var(--ink); }
.tb-read { font: 600 14px/1.2 var(--display); color: var(--ink); flex: .8; }
.tb-on { background: var(--primary); color: #d8f0f6; box-shadow: var(--sh-1); }
.tb-on b { color: #fff; }
@media (max-width: 420px) { .tb { font-size: 11px; min-height: 48px; } .tb b { font-size: 12px; } .tb-read { font-size: 12.5px; } }

.discover { background: linear-gradient(180deg, var(--bg) 0%, #eef7f1 100%); }
.fact-grid { list-style: none; margin: 56px auto 0; padding: 0 20px; max-width: var(--maxw); display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 620px) { .fact-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .fact-grid { grid-template-columns: repeat(6, 1fr); } }
.fact-card { position: relative; background: var(--surface); border-radius: 16px; padding: 8px 8px 12px; box-shadow: var(--sh-2); }
.fact-card img { border-radius: 11px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.fact-card .lv { position: absolute; top: 14px; left: 14px; font: 600 11.5px/1 var(--ui); padding: 5px 8px; border-radius: 999px; color: var(--ink); }
.fact-card .story-t { font-size: 14px; padding: 8px 4px 0; }
@media (max-width: 619px) { .fact-card:nth-child(n+7) { display: none; } }

.collect h2, .collect .kicker, .collect .section-lede { text-align: center; margin-left: auto; margin-right: auto; }
.trio { display: grid; gap: 34px; margin: 52px auto 0; max-width: 980px; grid-template-columns: 1fr; justify-items: center; }
@media (min-width: 720px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
@media (max-width: 719px) {
  .trio { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 40px -20px 0; padding: 4px 20px 16px; justify-items: initial; scrollbar-width: none; }
  .trio::-webkit-scrollbar { display: none; }
  .trio-item { flex: none; width: 62vw; max-width: 250px; scroll-snap-align: center; }
  .trio-item .device { transform: none !important; }
}
.trio-item { margin: 0; width: 100%; max-width: 280px; text-align: center; }
.trio-item:nth-child(1) .device { transform: rotate(-2deg); }
.trio-item:nth-child(3) .device { transform: rotate(2deg); }
.trio-item figcaption { margin-top: 18px; color: var(--ink-2); font-size: 15.5px; }
.trio-item figcaption b { display: block; font: 600 18px/1.3 var(--display); color: var(--ink); }

.parents-art { padding-bottom: 8%; }
.parents-phone { position: absolute; width: 38%; right: -6%; bottom: 0; transform: rotate(3deg); border-radius: 30px; padding: 7px; }
.parents-phone img { border-radius: 24px; }

/* narrow phones */
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .step { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; }
  .float-card { font-size: 13px; padding: 8px 11px; }
  .fc-1 .fc-word { font-size: 16px; }
  .hero-art { min-height: 320px; }
}

/* ---- legal pages (privacy.html, support.html) ---- */
.legal-main { max-width: 800px; margin: 0 auto; padding: 40px 20px 72px; }
.legal-main h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 700; margin: 6px 0 8px; }
.legal-main h2 { font-size: 21px; font-weight: 600; margin: 26px 0 8px; }
.legal-main section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 24px 16px; margin: 16px 0; box-shadow: var(--sh-1); }
.legal-main ul { padding-left: 22px; } .legal-main li { margin: 5px 0; }
.legal-main .muted { font-size: 15px; }
.back-home { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-bottom: 10px; }
.back-home::before { content: '←'; }
.legal-foot .foot-in { grid-template-columns: 1fr; }
@media (min-width: 860px) { .legal-foot .foot-in { grid-template-columns: 1fr auto; } }
