/* =========================================================
   SadhanaPath marketing site
   Tokens follow the app's "Modern Achievement" design system
   (DESIGN.md): primary #0058be, blue #3B82F6, indigo #6366F1,
   gold #F59E0B, Plus Jakarta Sans.
   ========================================================= */

:root {
  --primary: #0058be;
  --blue: #3b82f6;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --gold: #f59e0b;
  --green: #10b981;
  --red: #ef4444;

  --ink: #0b1630;
  --ink-2: #26324d;
  --text: #424754;
  --muted: #6b7385;
  --line: #e3e7ef;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --soft: #eef3fb;
  --night: #070d1f;
  --night-2: #0e1733;

  --grad: linear-gradient(135deg, #2170e4 0%, #6366f1 100%);
  --grad-warm: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(11, 22, 48, .06), 0 2px 8px rgba(11, 22, 48, .04);
  --shadow: 0 10px 30px -10px rgba(11, 22, 48, .18), 0 4px 10px -4px rgba(11, 22, 48, .06);
  --shadow-lg: 0 40px 80px -24px rgba(11, 22, 48, .28), 0 12px 24px -12px rgba(11, 22, 48, .12);
  --glow: 0 10px 30px -8px rgba(59, 130, 246, .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --nav-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.punc { margin-left: -.09em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(99, 102, 241, .22); }
:focus-visible { outline: 3px solid rgba(59, 130, 246, .6); outline-offset: 3px; border-radius: 8px; }

@view-transition { navigation: auto; }

.i { width: 1.15em; height: 1.15em; flex: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 760px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: #93c5fd; }
.h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.035em; }
.h2 .serif { font-size: 1.08em; }
.h3 { font-size: 26px; font-weight: 800; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text); margin-top: 18px; line-height: 1.65; }
.link { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--surface);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  isolation: isolate; overflow: hidden;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn--primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 36px -10px rgba(79, 70, 229, .6); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: rgba(11, 22, 48, .06); }
.btn--ghost:hover .i { transform: none; }
.btn--soft { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.btn--soft:hover { box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.btn--soft .i { width: 14px; height: 14px; color: var(--primary); fill: currentColor; }
.btn--dark { background: var(--ink); color: #fff; margin-top: 32px; }
.btn--dark:hover { background: var(--ink-2); box-shadow: var(--shadow); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 16px 40px -12px rgba(0,0,0,.4); }
.btn--outline-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  background: var(--soft); color: var(--primary); letter-spacing: .01em;
}
.tag--live { background: #ecfdf5; color: #047857; }
.tag--green { background: #ecfdf5; color: #047857; }
.tag--red { background: rgba(239, 68, 68, .14); color: #fca5a5; letter-spacing: .1em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.ticks { display: grid; gap: 10px; margin-top: 20px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.ticks li::before {
  content: ''; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230058be' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks--lg li { font-size: 16px; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  transition: transform .45s var(--ease), background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(247, 249, 251, .78); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 rgba(11, 22, 48, .06); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: var(--shadow-sm); transition: transform .5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand--light { color: #fff; }
.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__links a { position: relative; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: rgba(11, 22, 48, .05); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.nav__toggle .i { width: 22px; height: 22px; }
.mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .mobile-menu {
    display: grid; gap: 4px; position: absolute; top: var(--nav-h); left: 12px; right: 12px;
    padding: 12px; border-radius: var(--r-lg); background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg); transform-origin: top center;
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease);
  }
  .mobile-menu a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-weight: 600; color: var(--ink); }
  .mobile-menu a:not(.btn):hover { background: var(--soft); }
  .mobile-menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
  .mobile-menu__cta .btn { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line); }
  .mobile-menu__cta .btn--primary { box-shadow: var(--glow); }
  .nav.is-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: rgba(247, 249, 251, .95); }
}

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 70ms + .1s); }
.js [data-split].is-in .w > span { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 96px; overflow: hidden; overflow: clip; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; animation: drift 18s ease-in-out infinite alternate; }
.blob--a { width: 520px; height: 520px; background: #93c5fd; top: -140px; right: -80px; }
.blob--b { width: 420px; height: 420px; background: #c7d2fe; bottom: -120px; left: -120px; animation-delay: -6s; }
.blob--c { width: 280px; height: 280px; background: #fde68a; top: 40%; right: 30%; opacity: .35; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 20px) scale(.95); } }
.grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(11,22,48,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,22,48,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.8); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 700; color: var(--ink-2); backdrop-filter: blur(8px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } }
.hero__title { font-size: clamp(46px, 7.4vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 24px 0 0; }
.hero__title .serif { font-size: 1.1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero__lead { font-size: clamp(17px, 1.7vw, 20px); max-width: 540px; margin-top: 24px; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__actions.center { justify-content: center; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.avatars { display: flex; }
.avatars span, .t-card figcaption > span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 80% 62%), hsl(calc(var(--h) + 40) 75% 50%));
  border: 2.5px solid var(--bg);
}
.avatars span + span { margin-left: -10px; }
.stars { display: flex; align-items: center; gap: 2px; color: var(--gold); }
.stars .i { width: 15px; height: 15px; fill: currentColor; }
.stars b { color: var(--ink); margin-left: 6px; font-size: 14px; }
.hero__proof small { font-size: 14px; color: var(--muted); }
.hero__proof small b { color: var(--ink); }

/* demo card */
.hero__demo { position: relative; perspective: 1200px; }
.quiz-card {
  position: relative; background: rgba(255,255,255,.92); border-radius: var(--r-xl); padding: 28px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.8);
  backdrop-filter: blur(18px); transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.quiz-card__top { display: flex; justify-content: space-between; align-items: center; }
.quiz-card__count { font-weight: 700; color: var(--muted); font-size: 14px; }
.quiz-card__bar { height: 6px; border-radius: 6px; background: var(--soft); margin: 16px 0 20px; overflow: hidden; overflow: clip; }
.quiz-card__bar span { display: block; height: 100%; width: 33%; background: var(--grad); border-radius: inherit; transition: width .6s var(--ease); }
.quiz-card__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.quiz-card__q { font-size: 21px; font-weight: 700; margin: 8px 0 18px; line-height: 1.35; min-height: 2.7em; }
.quiz-card__opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 13px 14px; border-radius: 14px; background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; color: var(--ink-2);
  transition: box-shadow .2s, background .2s, transform .2s var(--ease);
  animation: optIn .5s var(--ease) both; animation-delay: calc(var(--k) * 60ms);
}
@keyframes optIn { from { opacity: 0; transform: translateY(10px); } }
.opt__k { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); color: var(--primary); font-size: 13px; font-weight: 800; flex: none; transition: background .2s, color .2s; }
.opt:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--blue); transform: translateX(3px); }
.opt:disabled { cursor: default; }
.opt.is-right { background: #ecfdf5; box-shadow: inset 0 0 0 2px var(--green); color: #065f46; animation: pop .5s var(--spring); }
.opt.is-right .opt__k { background: var(--green); color: #fff; }
.opt.is-wrong { background: #fef2f2; box-shadow: inset 0 0 0 2px var(--red); color: #991b1b; animation: shake .45s; }
.opt.is-wrong .opt__k { background: var(--red); color: #fff; }
.opt.is-dim { opacity: .5; }
@keyframes pop { 40% { transform: scale(1.03); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.quiz-card__feedback { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--soft); animation: optIn .5s var(--ease); }
.quiz-card__feedback.is-right { background: #ecfdf5; }
.quiz-card__feedback.is-wrong { background: #fff7ed; }
.fb__head { display: flex; align-items: center; gap: 8px; }
.fb__icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green); }
.is-wrong .fb__icon { background: var(--gold); }
.fb__icon .i { width: 14px; height: 14px; stroke-width: 3; }
.fb__title { color: var(--ink); }
.fb__text { font-size: 14px; margin-top: 6px; }
.fb__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.fb__video { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--primary); }
.fb__video .i { width: 12px; height: 12px; fill: currentColor; }
.xp-pop {
  position: absolute; right: 28px; top: 70px; padding: 6px 12px; border-radius: 999px; pointer-events: none;
  background: var(--grad-warm); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 10px 24px -8px rgba(245,158,11,.7);
  opacity: 0; transform: translateY(10px) scale(.6);
}
.xp-pop.is-on { animation: xp 1.4s var(--ease) forwards; }
@keyframes xp { 0% { opacity: 0; transform: translateY(10px) scale(.6); } 20% { opacity: 1; transform: translateY(-6px) scale(1.1); } 70% { opacity: 1; transform: translateY(-16px) scale(1); } 100% { opacity: 0; transform: translateY(-40px) scale(.9); } }
.confetti { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); pointer-events: none; z-index: 5; }

.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-chip b { color: var(--ink); }
.float-chip .i { width: 18px; height: 18px; }
.chip--streak { top: -24px; left: -32px; }
.chip--streak .i { color: #f97316; fill: #fdba74; }
.chip--acc { bottom: -22px; left: 36px; animation-delay: -2s; }
.chip--acc .i { color: var(--green); }
.chip--xp { top: -24px; right: 32px; animation-delay: -4s; }
.chip--xp .i { color: var(--gold); fill: #fde68a; }
.float-chip.bump { animation: bump .6s var(--spring); }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes bump { 40% { scale: 1.15; } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(11,22,48,.25); z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink-2); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee-band { padding: 28px 0; background: var(--surface); border-block: 1px solid var(--line); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink-2); white-space: nowrap; }
.marquee__track .i { color: var(--primary); width: 22px; height: 22px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- problem ---------- */
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.problem__card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.problem__card h3 { font-size: 19px; margin: 18px 0 8px; }
.problem__card p { font-size: 15px; }
.problem__x { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fef2f2; color: var(--red); }

/* ---------- science (dark) ---------- */
.science { background: radial-gradient(1000px 600px at 15% 0%, #1e3a8a 0%, transparent 60%), radial-gradient(900px 600px at 100% 100%, #3730a3 0%, transparent 55%), var(--night); color: #c7d0e4; overflow: hidden; overflow: clip; }
.science .h2, .science h3 { color: #fff; }
.science .lead { color: #aeb9d3; }
.sci-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sci-card {
  position: relative; padding: 32px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); backdrop-filter: blur(10px);
}
.sci-card--wide { grid-column: 1 / -1; }
.sci-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.sci-card__head > div:first-child { max-width: 560px; }
.sci-card__side { display: grid; justify-items: end; }
.sci-card h3 { font-size: 24px; margin: 10px 0 10px; }
.sci-num { font-family: var(--serif); font-style: italic; font-size: 26px; color: #93c5fd; }
.cite { font-size: 12.5px; color: #8391b0; margin-top: 18px; line-height: 1.5; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); position: relative; }
.seg button { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #aeb9d3; transition: color .3s, background .3s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.seg--sm { margin-top: 20px; }
.seg--sm button { font-size: 13px; padding: 7px 12px; }

.curve { position: relative; margin-top: 28px; }
.curve svg { width: 100%; height: auto; overflow: visible; }
.curve__grid line { stroke: rgba(255,255,255,.08); stroke-dasharray: 3 5; }
.curve__grid text { fill: #6b7a9c; font-size: 9px; font-family: var(--font); }
.curve__line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 12px rgba(96,165,250,.45)); }
.curve__ghost { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; stroke-dasharray: 5 6; }
.curve__fill { transition: opacity .6s; }
.curve__marks circle { fill: #fff; stroke: #60a5fa; stroke-width: 3; }
.curve__marks text { fill: #dbeafe; font-size: 9px; font-weight: 700; font-family: var(--font); text-anchor: middle; }
.curve__marks g { opacity: 0; transform-box: fill-box; transform-origin: center; animation: markIn .5s var(--spring) forwards; }
@keyframes markIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.curve__axis { display: flex; justify-content: space-between; font-size: 12px; color: #6b7a9c; margin-top: 8px; padding-left: 36px; }
.curve__readout { text-align: right; margin-top: 16px; padding: 12px 16px; border-radius: 16px; background: rgba(7,13,31,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.curve__readout span { display: block; font-size: 12px; color: #8391b0; }
.curve__readout b { font-size: 34px; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.bars { display: grid; gap: 18px; margin-top: 26px; }
.bar__track { height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); overflow: hidden; overflow: clip; }
.bar__fill { height: 100%; width: 0; border-radius: 12px; background: linear-gradient(90deg, #3b82f6, #818cf8); transition: width 1.1s var(--ease); box-shadow: 0 0 24px rgba(99,102,241,.45); }
.bar__fill--muted { background: linear-gradient(90deg, #475569, #64748b); box-shadow: none; }
.bar__meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; }
.bar__meta b { color: #fff; font-variant-numeric: tabular-nums; }
.bars__note { margin-top: 18px; font-weight: 600; color: #dbeafe; min-height: 1.6em; }

.principles { display: grid; gap: 18px; margin-top: 22px; }
.principles li { display: flex; gap: 14px; }
.principles li > span { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(96,165,250,.14); color: #93c5fd; }
.principles b { color: #fff; }
.principles p { font-size: 14.5px; margin-top: 2px; }

/* ---------- how / story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); max-width: 480px; }
.step.is-active { opacity: 1; }
.step__num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); box-shadow: var(--glow); margin-bottom: 20px; }
.step h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.step p { margin-top: 14px; font-size: 17px; }
.story__stage { position: sticky; top: calc(var(--nav-h) + 24px); height: calc(100vh - var(--nav-h) - 48px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.story__dots { display: flex; gap: 8px; }
.story__dots span { width: 8px; height: 8px; border-radius: 8px; background: var(--line); transition: width .4s var(--ease), background .4s; }
.story__dots span.is-active { width: 28px; background: var(--primary); }

.phone {
  position: relative; width: 300px; height: 610px; max-height: 100%; aspect-ratio: 300 / 610;
  border-radius: 48px; padding: 12px; background: #0b1220;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3550, 0 0 0 10px rgba(255,255,255,.6), 0 0 120px -20px rgba(99,102,241,.5);
}
.phone__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #0b1220; transform: translateX(-50%); z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; overflow: clip; background: var(--bg); }
.screen { position: absolute; inset: 0; padding: 60px 18px 18px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.screen.is-active { opacity: 1; transform: none; }
.screen .i { width: 18px; height: 18px; }
.s-head { display: flex; justify-content: space-between; align-items: center; }
.s-head small { display: block; font-size: 12px; color: var(--muted); }
.s-head b { font-size: 19px; color: var(--ink); }
.s-streak { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #ea580c; background: #fff7ed; padding: 6px 10px; border-radius: 12px; }
.s-streak .i { fill: #fdba74; }
.s-badge { font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); padding: 6px 10px; border-radius: 10px; }
.s-goal { position: relative; align-self: center; width: 150px; height: 150px; margin: 4px 0; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--soft); stroke-width: 12; }
.ring .ring__val { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.screen.is-active .ring__val { stroke-dashoffset: calc(314 * (1 - var(--p))); }
.s-goal__txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.s-goal__txt b { font-size: 30px; color: var(--ink); letter-spacing: -.03em; }
.s-goal__txt small { font-size: 13px; color: var(--muted); font-weight: 600; }
.s-goal__txt span { font-size: 12px; color: var(--muted); }
.s-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.s-card b { display: block; font-size: 14px; color: var(--ink); }
.s-card small { font-size: 12px; color: var(--muted); }
.s-card > .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--soft); color: var(--primary); }
.s-card--blue { background: var(--grad); }
.s-card--blue b, .s-card--blue small { color: #fff; }
.s-card--blue > .i { background: rgba(255,255,255,.2); color: #fff; }
.s-card--green > .i { background: #ecfdf5; color: var(--green); }
.s-week { display: flex; align-items: flex-end; gap: 8px; height: 64px; padding: 10px 12px 0; margin-top: auto; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.s-week span { flex: 1; height: 0; border-radius: 6px 6px 0 0; background: #dbe7fb; transition: height .9s var(--ease); }
.s-week span.is-today { background: var(--blue); }
.screen.is-active .s-week span { height: calc(var(--h) * 100%); }
.s-quizhead { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; color: var(--ink); }
.s-timer { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); }
.s-timer .i { width: 15px; height: 15px; }
.s-progress { height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.s-progress span { display: block; height: 100%; background: var(--grad); }
.s-q { font-weight: 700; color: var(--ink); font-size: 16px; margin: 6px 0; }
.math { font-family: 'Cambria Math', 'STIX Two Math', 'Times New Roman', serif; font-style: italic; white-space: nowrap; }
.s-opt { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.s-opt.is-right { background: #ecfdf5; box-shadow: inset 0 0 0 2px var(--green); color: #065f46; }
.screen.is-active .s-opt.is-right { animation: pop .6s var(--spring) .6s both; }
.s-xp { margin-top: auto; align-self: center; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--grad-warm); color: #fff; font-weight: 800; font-size: 13px; }
.screen.is-active .s-xp { animation: optIn .6s var(--spring) .9s both; }
.s-wrong { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #fff7ed; color: #9a3412; font-weight: 700; font-size: 14px; }
.s-video { position: relative; height: 150px; border-radius: 18px; background: radial-gradient(circle at 30% 30%, #3b82f6, #1e1b4b); display: grid; place-items: center; overflow: hidden; }
.s-video::before { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); left: 30px; bottom: -20px; }
.s-video::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #fde68a; right: 60px; top: 30px; box-shadow: 0 0 20px #fde68a; animation: ball 2.4s ease-in-out infinite; }
@keyframes ball { 0%, 100% { transform: translateY(70px); } 50% { transform: translateY(0); } }
.s-video__play { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--primary); box-shadow: 0 0 0 10px rgba(255,255,255,.18); }
.s-video__play .i { fill: currentColor; margin-left: 3px; }
.s-video__time { position: absolute; bottom: 10px; right: 10px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.45); padding: 3px 8px; border-radius: 8px; }
.s-sub { color: var(--ink); font-size: 15px; }
.s-text { font-size: 13.5px; }
.s-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-stats div { padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.s-stats b { display: block; font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.s-stats small { font-size: 12px; color: var(--muted); }
.s-line { width: 100%; height: 90px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); overflow: visible; }
.s-line path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; }
.screen.is-active .s-line path { transition: stroke-dashoffset 1.6s var(--ease) .2s; stroke-dashoffset: 0; }
.s-subj { display: grid; grid-template-columns: 70px 1fr 26px; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.s-subj i { height: 8px; border-radius: 8px; background: var(--soft); position: relative; overflow: hidden; }
.s-subj i::after { content: ''; position: absolute; inset: 0; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.2s var(--ease) .3s; }
.screen.is-active .s-subj i::after { width: calc(var(--w) * 100%); }
.s-subj b { color: var(--ink); text-align: right; }

/* ---------- games bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); gap: 20px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; padding: 24px; border-radius: var(--r-xl); background: var(--surface); overflow: hidden; overflow: clip;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(99,102,241,.09), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.tile:hover::before { opacity: 1; }
.tile--match { grid-column: span 2; grid-row: span 2; }
.tile--label, .tile--swipe { grid-column: span 2; }
.tile--seq, .tile--words { grid-column: span 2; }
.tile__head { display: flex; align-items: flex-start; gap: 14px; }
.tile__head h3 { font-size: 18px; }
.tile__head p { font-size: 14px; color: var(--muted); }
.tile__head .tag { margin-left: auto; }
.tile__icon { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--primary); }

.match { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin: auto 0; padding-top: 28px; }
.match__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.match__lines path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.match__col { display: grid; gap: 12px; align-content: center; }
.match__col button {
  position: relative; z-index: 1; padding: 16px; border-radius: 16px; text-align: left; font-weight: 700; color: var(--ink-2); font-size: 15px;
  background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background .2s, transform .25s var(--ease);
}
.match__col button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--blue); transform: translateY(-2px); }
.match__col button.is-picked { background: var(--soft); box-shadow: inset 0 0 0 2px var(--primary); color: var(--primary); }
.match__col button.is-done { background: #ecfdf5; box-shadow: inset 0 0 0 2px var(--green); color: #065f46; cursor: default; }
.match__col button.is-bad { animation: shake .45s; box-shadow: inset 0 0 0 2px var(--red); }
.match__done { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-weight: 800; color: #047857; padding: 12px 16px; border-radius: 14px; background: #ecfdf5; animation: optIn .5s var(--spring); }
.match__done .link { margin-left: auto; color: #047857; }

.label-demo { position: relative; margin: auto auto 0; width: 100%; max-width: 360px; padding-top: 12px; }
.label-demo svg { width: 70%; margin: 0 auto; overflow: visible; }
.leaf { fill: #bbf7d0; stroke: #16a34a; stroke-width: 2; }
.vein { fill: none; stroke: #16a34a; stroke-width: 1.5; stroke-linecap: round; opacity: .7; }
.lbl { position: absolute; padding: 5px 10px; border-radius: 10px; font-size: 13px; font-weight: 700; background: #fff; color: var(--ink); box-shadow: var(--shadow); white-space: nowrap; transition: transform 1s var(--spring), opacity .4s; }
.lbl::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px #fff; }
.lbl--1 { left: 40%; top: 42%; transform: translate(-140px, 60px) rotate(-6deg); }
.lbl--1::after { right: -14px; top: 50%; margin-top: -4px; }
.lbl--2 { left: 62%; top: 4%; transform: translate(120px, 80px) rotate(5deg); }
.lbl--2::after { left: -14px; bottom: -6px; }
.lbl--3 { left: 18%; top: 72%; transform: translate(-80px, -120px) rotate(4deg); }
.lbl--3::after { right: -12px; top: -4px; }
.tile.is-in .lbl { transform: none; transition-delay: calc(var(--n, 0) * .2s + .4s); }
.lbl--2 { --n: 1; } .lbl--3 { --n: 2; }

.swipe-demo { position: relative; height: 150px; margin-top: auto; }
.sw { position: absolute; left: 50%; top: 50%; width: min(300px, 90%); padding: 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-weight: 700; color: var(--ink); text-align: center; translate: -50% -50%; }
.sw--1 { animation: swipeR 6s var(--ease) infinite; z-index: 3; }
.sw--2 { rotate: -3deg; scale: .96; translate: -50% calc(-50% + 8px); z-index: 2; animation: swipeL 6s var(--ease) infinite; }
.sw--3 { rotate: 3deg; scale: .92; translate: -50% calc(-50% + 16px); z-index: 1; animation: lift 6s var(--ease) infinite; }
@keyframes swipeR { 0%, 25% { transform: none; opacity: 1; } 40% { transform: translateX(160px) rotate(16deg); opacity: 0; box-shadow: 0 0 0 3px var(--green); } 41%, 85% { opacity: 0; transform: none; } 100% { opacity: 1; } }
@keyframes swipeL { 0%, 40% { transform: none; rotate: -3deg; scale: .96; } 50%, 62% { rotate: 0deg; scale: 1; transform: translateY(-8px); } 77% { transform: translateX(-160px) rotate(-16deg); opacity: 0; } 78%, 92% { opacity: 0; transform: none; } 100% { opacity: 1; } }
@keyframes lift { 0%, 70% { opacity: 1; } 80%, 100% { scale: 1; rotate: 0deg; transform: translateY(-16px); } }

.seq-demo { position: relative; height: 196px; margin-top: auto; counter-reset: s; }
.seq-demo li {
  position: absolute; left: 0; right: 0; height: 40px; display: flex; align-items: center; gap: 12px;
  padding: 0 14px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; color: var(--ink-2); font-size: 14px;
  top: calc(var(--o) * 48px); transition: top .9s var(--spring), background .4s, box-shadow .4s;
}
.seq-demo.is-sorted li { box-shadow: inset 0 0 0 1.5px #a7f3d0; background: #f0fdf4; }
.seq-demo li::before { content: '⋮⋮'; color: var(--muted); letter-spacing: -2px; font-size: 13px; }

.ws-demo { margin: auto auto 0; padding-top: 20px; width: 100%; max-width: 440px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.ws-demo span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; background: var(--bg); font-weight: 700; font-size: 13px; color: var(--ink-2); transition: background .3s, color .3s, transform .3s var(--spring); }
.ws-demo span.is-hit { background: var(--grad); color: #fff; transform: scale(1.06); }

/* ---------- live + voice ---------- */
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-panel { position: relative; padding: 36px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow: hidden; overflow: clip; display: flex; flex-direction: column; }
.feature-panel .h3 { margin: 16px 0 10px; }
.feature-panel > .tag { align-self: flex-start; }
.feature-panel--dark { background: radial-gradient(500px 300px at 100% 0%, rgba(99,102,241,.35), transparent 60%), var(--night-2); color: #aeb9d3; }
.feature-panel--dark .h3 { color: #fff; }
.board { margin-top: 28px; padding: 16px; border-radius: 22px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.board__code { display: flex; justify-content: space-between; font-size: 13px; padding: 0 4px 12px; }
.board__code b { color: #fff; letter-spacing: .12em; }
.board__rows { position: relative; height: calc(5 * 56px); }
.brow {
  position: absolute; left: 0; right: 0; height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 12px;
  border-radius: 14px; background: rgba(255,255,255,.06); color: #dbe3f5; font-weight: 600; font-size: 14px;
  transition: transform .8s var(--spring), background .4s;
}
.brow__rank { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.08); }
.brow:nth-child(n) .brow__rank { transition: background .4s; }
.brow.is-1 { background: linear-gradient(90deg, rgba(245,158,11,.25), rgba(245,158,11,.05)); }
.brow.is-1 .brow__rank { background: var(--gold); color: #fff; }
.brow__av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: hsl(var(--h) 70% 55%); }
.brow__score { margin-left: auto; font-variant-numeric: tabular-nums; color: #fff; font-weight: 800; }
.brow__plus { font-size: 12px; color: #6ee7b7; font-weight: 800; opacity: 0; }
.brow__plus.is-on { animation: plus 1s var(--ease); }
@keyframes plus { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }

.voice { margin-top: 28px; padding: 24px; border-radius: 22px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 18px; justify-items: center; text-align: center; flex: 1; align-content: center; }
.voice__mic { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: var(--glow); }
.voice__mic .i { width: 28px; height: 28px; position: relative; z-index: 1; }
.voice__mic span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--indigo); opacity: 0; }
.voice.is-on .voice__mic span { animation: ring 2s var(--ease) infinite; }
.voice.is-on .voice__mic span + span { animation-delay: 1s; }
@keyframes ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.voice__wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.voice__wave i { width: 4px; height: 8px; border-radius: 4px; background: linear-gradient(var(--blue), var(--indigo)); }
.voice.is-on .voice__wave i { animation: wave 1s ease-in-out infinite; animation-delay: calc(var(--k) * -73ms); }
@keyframes wave { 0%, 100% { height: 8px; } 50% { height: calc(10px + var(--a) * 34px); } }
.voice__text { min-height: 4.8em; max-width: 440px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.voice__text::after { content: '|'; color: var(--primary); animation: blink 1s steps(1) infinite; margin-left: 1px; }
.voice__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.voice__points span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: all .4s var(--spring); }
.voice__points span.is-hit { background: #ecfdf5; color: #047857; box-shadow: inset 0 0 0 1.5px #6ee7b7; transform: scale(1.05); }
.voice__points span.is-hit::before { content: '✓'; }

/* ---------- stats ---------- */
.stats { padding: 80px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.stat b { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { font-weight: 600; color: var(--muted); font-size: 15px; }

/* ---------- teachers teaser ---------- */
.teach { background: linear-gradient(180deg, var(--bg), #eaf1fd); }
.teach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dash { padding: 24px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); }
.dash__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash__top b { color: var(--ink); }
.dash__heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 20px; }
.dash__heat i { aspect-ratio: 1; border-radius: 6px; background: hsl(var(--c) 75% 55% / var(--a)); transform: scale(0); transition: transform .5s var(--spring); transition-delay: calc(var(--k) * 8ms); }
.is-in .dash__heat i { transform: none; }
.dash__legend { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.dash__legend i { flex: 1; height: 6px; border-radius: 6px; background: linear-gradient(90deg, hsl(0 75% 60%), hsl(40 85% 55%), hsl(150 60% 45%)); }
.dash__alert { display: flex; gap: 12px; align-items: center; margin-top: 20px; padding: 14px; border-radius: 16px; background: #fff7ed; animation: bob 5s ease-in-out infinite; }
.dash__alert > .i { width: 36px; height: 36px; padding: 9px; border-radius: 11px; background: var(--gold); color: #fff; }
.dash__alert b { display: block; color: var(--ink); font-size: 14px; }
.dash__alert small { color: var(--muted); font-size: 13px; }

/* ---------- testimonials ---------- */
.t-marquee { display: grid; gap: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.t-row { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.t-row--rev { animation-direction: reverse; animation-duration: 70s; }
.t-marquee:hover .t-row { animation-play-state: paused; }
.t-card { width: 360px; margin: 0; padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.t-card blockquote { margin: 0; color: var(--ink-2); font-size: 15.5px; font-weight: 500; line-height: 1.6; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-card figcaption > span { border: 0; }
.t-card b { display: block; color: var(--ink); font-size: 14px; }
.t-card small { color: var(--muted); font-size: 13px; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__grid > div:first-child { position: sticky; top: calc(var(--nav-h) + 32px); }
.accordion { display: grid; gap: 12px; }
.acc { border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.acc.is-open { box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(59,130,246,.35); }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 20px 22px; font-weight: 700; color: var(--ink); font-size: 16.5px; }
.acc__q .i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--soft); color: var(--primary); transition: transform .4s var(--ease), background .3s, color .3s; }
.acc.is-open .acc__q .i { transform: rotate(135deg); background: var(--primary); color: #fff; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 22px 22px; }
.acc.is-open .acc__a { grid-template-rows: 1fr; }

/* ---------- final cta ---------- */
.cta { padding: 40px 0 120px; }
.cta__box { position: relative; overflow: hidden; overflow: clip; padding: 96px 32px; border-radius: 40px; text-align: center; color: #dbe7ff; background: radial-gradient(700px 400px at 50% 120%, #6366f1, transparent 70%), linear-gradient(135deg, #0b3a8a, #1e1b4b); box-shadow: var(--shadow-lg); }
.cta__copy { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta .h2 { color: #fff; }
.cta p { margin-top: 16px; font-size: 18px; }
.orbits { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: spin 40s linear infinite; }
.orbit--1 { width: 600px; height: 600px; }
.orbit--2 { width: 860px; height: 860px; animation-duration: 60s; animation-direction: reverse; }
.orbit--3 { width: 1120px; height: 1120px; animation-duration: 90s; }
.orbit span { position: absolute; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); animation: spin 40s linear infinite reverse; }
.orbit--2 span, .orbit--2 span .i { animation-duration: 60s; animation-direction: normal; }
.orbit--3 span { animation-duration: 90s; }
.orbit span:nth-child(1) { top: -23px; left: calc(50% - 23px); }
.orbit span:nth-child(2) { bottom: -23px; left: calc(50% - 23px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.footer { background: var(--night); color: #8391b0; padding: 80px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 16px; max-width: 320px; font-size: 15px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer__grid > div:not(.footer__brand) { display: grid; gap: 10px; align-content: start; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: rgba(255,255,255,.06); color: #c7d0e4; transition: background .3s, transform .3s var(--spring); }
.socials a:hover { background: var(--primary); transform: translateY(-3px); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.footer__base .made { display: inline-flex; align-items: center; gap: 6px; }
.footer__base .i { color: #f87171; fill: currentColor; width: 14px; }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { position: relative; padding: calc(var(--nav-h) + 96px) 0 96px; overflow: hidden; overflow: clip; text-align: center; }
.page-hero .hero__title { font-size: clamp(42px, 6.4vw, 78px); margin-top: 20px; }
.page-hero .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.page-hero .hero__actions { justify-content: center; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 32px; border-radius: var(--r-xl); background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(99,102,241,.09), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 20px; margin: 18px 0 8px; }
.card p { font-size: 15px; }
.card .tile__icon { width: 48px; height: 48px; }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 120px; }
.split--rev > :first-child { order: 2; }
.mock { padding: 24px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); }
.mock__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.mock__row + .mock__row { margin-top: 8px; }
.mock__row .tag { margin-left: auto; }
.mock__title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mock__title b { color: var(--ink); }
.mock__drag { animation: dragY 4s var(--ease) infinite; box-shadow: var(--shadow); background: #fff; }
@keyframes dragY { 0%, 20% { transform: none; } 45%, 70% { transform: translateY(-58px) rotate(-1.5deg); } 95%, 100% { transform: none; } }
.mini-chart { display: flex; align-items: flex-end; gap: 10px; height: 160px; margin-top: 8px; padding: 16px; border-radius: 16px; background: var(--bg); }
.mini-chart span { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--grad); height: 0; transition: height 1.1s var(--spring); transition-delay: calc(var(--k) * 80ms); }
.is-in .mini-chart span { height: calc(var(--v) * 1%); }

/* timeline (about) */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; left: 19px; top: 0; width: 2px; height: 100%; background: var(--grad); transform-origin: top; transform: scaleY(var(--tl, 0)); }
.tl-item { position: relative; padding-left: 64px; padding-bottom: 48px; }
.tl-item::before { content: ''; position: absolute; left: 10px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--blue), 0 0 0 6px var(--bg); }
.tl-item small { font-weight: 800; color: var(--primary); letter-spacing: .08em; }
.tl-item h3 { font-size: 22px; margin: 4px 0 8px; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { text-align: center; padding: 28px 20px; }
.member .ph { width: 96px; height: 96px; margin: 0 auto; border-radius: 28px; display: grid; place-items: center; font-size: 32px; font-weight: 800; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 80% 62%), hsl(calc(var(--h) + 40) 75% 50%)); transition: border-radius .5s var(--ease), transform .5s var(--spring); }
.member:hover .ph { border-radius: 50%; transform: rotate(-6deg); }
.member h3 { font-size: 18px; margin: 16px 0 2px; }
.member p { font-size: 14px; color: var(--muted); }

/* pricing */
.billing { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-weight: 700; color: var(--ink-2); }
.switch { position: relative; width: 56px; height: 32px; border-radius: 999px; background: var(--line); transition: background .3s; }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--spring); }
.switch[aria-checked="true"] { background: var(--primary); }
.switch[aria-checked="true"]::after { transform: translateX(24px); }
.save { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--pop { background: linear-gradient(180deg, #0e1f4d, #1e1b4b); color: #c7d0e4; box-shadow: var(--shadow-lg), 0 0 0 2px rgba(99,102,241,.5); }
.plan--pop h3, .plan--pop .price b { color: #fff; }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--grad-warm); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(245,158,11,.6); }
.plan h3 { font-size: 20px; }
.plan > p { font-size: 14.5px; margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0; }
.price b { font-size: 48px; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; display: inline-block; transition: transform .35s var(--ease), opacity .35s; }
.price b.is-flip { transform: translateY(-12px); opacity: 0; }
.price span { font-weight: 600; color: var(--muted); }
.plan--pop .price span { color: #8391b0; }
.plan .ticks { margin: 0 0 32px; }
.plan--pop .ticks li { color: #dbe3f5; }
.plan--pop .ticks li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; width: 100%; }
.compare { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { color: var(--ink); background: var(--bg); }
.compare tr:last-child td { border-bottom: 0; }
.compare .y { color: var(--green); font-weight: 800; }
.compare .n { color: #c0c6d4; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* contact */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.info-list { display: grid; gap: 14px; margin-top: 32px; }
.info-list > a, .info-list > div { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-weight: 600; color: var(--ink-2); transition: transform .3s var(--ease); }
.info-list > a:hover { transform: translateX(4px); }
.info-list small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.form { padding: 36px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 16px 10px; border-radius: 14px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line);
  font: inherit; color: var(--ink); transition: box-shadow .25s, background .25s; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 16px; top: 16px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s; transform-origin: left top; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(59,130,246,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-9px); font-size: 12px; color: var(--primary); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); transition: all .25s var(--ease); }
.chips input:checked + span { background: var(--soft); color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.chips input:focus-visible + span { outline: 3px solid rgba(59,130,246,.5); outline-offset: 2px; }
.form__ok { display: none; text-align: center; padding: 24px 0; }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: block; animation: optIn .6s var(--spring); }
.form__ok .ok-ring { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #ecfdf5; color: var(--green); }
.form__ok .ok-ring .i { width: 40px; height: 40px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s var(--ease) .3s forwards; }

/* login hand-off */
.handoff { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(800px 500px at 50% 0%, #dbeafe, transparent 70%), var(--bg); }
.handoff__logo { position: relative; width: 112px; height: 112px; margin: 0 auto 32px; }
.handoff__logo img { width: 100%; height: 100%; border-radius: 30px; box-shadow: var(--shadow-lg); animation: breathe 2s ease-in-out infinite; }
.handoff__logo::before { content: ''; position: absolute; inset: -14px; border-radius: 40px; border: 3px solid transparent; border-top-color: var(--blue); border-right-color: var(--indigo); animation: spin 1s linear infinite; }
@keyframes breathe { 50% { transform: scale(.94); } }
.handoff h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.handoff p { margin-top: 10px; color: var(--muted); }
.handoff .btn { margin-top: 28px; }

/* 404 */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 24px; }
.lost__num { font-size: clamp(120px, 22vw, 240px); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: bob 5s ease-in-out infinite; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 72px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__proof { justify-content: center; }
  .hero__demo { max-width: 460px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--match { grid-row: auto; }
  .tile--label, .tile--swipe, .tile--seq, .tile--words { grid-column: span 1; }
  .teach__grid, .split, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .split--rev > :first-child { order: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan--pop { order: -1; }
}

@media (max-width: 860px) {
  .section { padding: 88px 0; }
  .problem__grid, .sci-grid, .duo__grid, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .faq__grid > div:first-child { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  /* story: phone sticks to the top, steps scroll underneath */
  .story { grid-template-columns: 1fr; gap: 0; }
  .story__stage { order: -1; top: calc(var(--nav-h) - 8px); height: auto; padding: 12px 0; z-index: 2; background: linear-gradient(var(--bg) 82%, transparent); }
  .phone { width: 172px; height: 350px; border-radius: 30px; padding: 7px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3550, 0 0 0 6px rgba(255,255,255,.7); }
  .phone__screen { border-radius: 24px; }
  .phone .screen { zoom: .57; }
  .phone__notch { width: 56px; height: 16px; top: 12px; }
  .story__dots { display: none; }
  .step { min-height: 52vh; justify-content: flex-start; padding: 24px; margin-bottom: 16px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); max-width: none; }
}

@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero__actions .btn { width: 100%; }
  .hero__proof { flex-direction: column; gap: 10px; }
  .quiz-card { padding: 20px; border-radius: 24px; }
  .quiz-card__q { font-size: 18px; }
  .float-chip { font-size: 12px; padding: 8px 10px; }
  .chip--streak { left: -4px; top: -30px; }
  .chip--acc { left: -4px; bottom: -22px; }
  .chip--xp { right: -4px; top: -30px; }
  .bento { grid-template-columns: 1fr; }
  .tile--match, .tile--label, .tile--swipe, .tile--seq, .tile--words { grid-column: auto; }
  .match { gap: 20px; }
  .match__col button { padding: 10px 12px; font-size: 13.5px; min-height: 64px; line-height: 1.3; }
  .feature-panel, .sci-card, .card, .plan, .form { padding: 24px; }
  .curve__readout { text-align: left; margin-top: 0; }
  .sci-card__side { width: 100%; justify-items: start; }
  .stats__grid, .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px; }
  .t-card { width: 290px; }
  .cta__box { padding: 72px 20px; border-radius: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .scroll-cue { display: none; }
}

/* =========================================================
   Reduced motion: keep everything visible and still
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
  .marquee__track, .t-row { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
}
.curve--narrow .curve__grid text, .curve--narrow .curve__marks text { font-size: 13px; }

/* =========================================================
   Tuition-school additions: ROI, reports, AI tutors, notes,
   modes and areas, local landing pages, WhatsApp button
   ========================================================= */

/* ROI: fewer questions, full coverage */
.roi { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.roi-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.roi-card { padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.roi-card--good { box-shadow: var(--shadow), inset 0 0 0 2px rgba(59,130,246,.45); }
.roi-card h3 { font-size: 15px; letter-spacing: .02em; color: var(--muted); font-weight: 700; }
.roi-card--good h3 { color: var(--primary); }
.roi-card__big { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 16px; }
.roi-card__big b { font-size: 40px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.roi-card__big span { color: var(--muted); font-weight: 600; font-size: 14px; }
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; min-height: 120px; align-content: start; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: #cbd5e1; transform: scale(0); transition: transform .4s var(--spring); transition-delay: calc(var(--k) * 9ms); }
.dots i.u { background: var(--blue); }
.roi-card--good .dots i { background: var(--grad); }
.is-in .dots i { transform: none; }
.roi-meta { display: grid; gap: 10px; margin-top: 18px; font-size: 13.5px; }
.roi-meta div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.roi-meta span { color: var(--muted); font-weight: 600; }
.roi-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.roi-meta i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--soft); position: relative; overflow: hidden; }
.roi-meta i::after { content: ''; position: absolute; inset: 0; width: 0; border-radius: inherit; background: #94a3b8; transition: width 1.4s var(--ease) .5s; }
.roi-card--good .roi-meta i::after { background: var(--grad); }
.is-in .roi-meta i::after { width: calc(var(--w) * 100%); }
.roi-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* report card */
.report-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.report { padding: 28px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); position: relative; }
.report__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.report__head b { display: block; color: var(--ink); font-size: 17px; }
.report__head small { color: var(--muted); font-size: 13px; }
.report__stamp { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); background: var(--soft); padding: 5px 10px; border-radius: 8px; }
.report__top { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 20px 0; }
.gain { position: relative; width: 132px; height: 132px; }
.gain svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gain circle { fill: none; stroke: var(--soft); stroke-width: 11; }
.gain .gain__val { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 339; stroke-dashoffset: 339; transition: stroke-dashoffset 1.2s var(--ease); }
.gain__txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gain__txt b { font-size: 30px; font-weight: 800; color: #047857; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gain__txt small { font-size: 11px; color: var(--muted); font-weight: 600; }
.self-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; position: relative; }
.self-bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.self-bars span { width: 100%; height: 0; border-radius: 8px 8px 4px 4px; background: #dbe7fb; transition: height 1s var(--spring); transition-delay: calc(var(--k) * 70ms); position: relative; }
.self-bars div:last-child span { background: var(--grad); }
.self-bars div:last-child span::before { content: 'Personal best'; position: absolute; top: -24px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10.5px; font-weight: 800; color: #b45309; background: #fef3c7; padding: 2px 7px; border-radius: 6px; }
.self-bars em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }
.report__subjects { display: grid; gap: 8px; }
.rs { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.rs b { color: var(--ink); }
.rs__track { position: relative; height: 8px; border-radius: 8px; background: #e2e8f0; }
.rs__prev, .rs__now { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 8px; transition: width 1s var(--ease); }
.rs__prev { background: #cbd5e1; }
.rs__now { background: var(--grad); opacity: .9; }
.rs__nums { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
.rs__nums strong { color: #047857; margin-left: 6px; }
.report__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.report__stats div { padding: 12px; border-radius: 14px; background: var(--bg); }
.report__stats b { display: block; font-size: 20px; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.report__stats small { font-size: 12px; color: var(--muted); }
.report__note { display: flex; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 16px; background: #fffbeb; box-shadow: inset 0 0 0 1px #fde68a; }
.report__note .av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f59e0b, #ea580c); }
.report__note p { font-size: 14px; color: var(--ink-2); }
.report__note small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.seg--light { background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.seg--light button { color: var(--muted); }
.seg--light button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.vs-self { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding: 16px 18px; border-radius: 18px; background: #ecfdf5; color: #065f46; font-weight: 600; }
.vs-self .i { width: 28px; height: 28px; flex: none; }
[data-report] .is-swap { animation: optIn .5s var(--ease); }

/* AI tutor chat */
.tutor-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.chat { padding: 22px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); display: grid; gap: 12px; min-height: 470px; align-content: start; }
.chat__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat__top .bot { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.chat__top b { display: block; color: var(--ink); font-size: 15px; }
.chat__top small { color: var(--green); font-weight: 700; font-size: 12px; }
.msg { max-width: 86%; padding: 12px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg.is-on { opacity: 1; transform: none; }
.msg--me { justify-self: end; background: var(--primary); color: #fff; border-bottom-right-radius: 6px; }
.msg--ai { background: var(--bg); color: var(--ink-2); border-bottom-left-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.msg--ai svg { width: 100%; max-width: 260px; margin: 10px 0 4px; }
.msg--teacher { background: #fffbeb; box-shadow: inset 0 0 0 1px #fde68a; color: var(--ink-2); border-bottom-left-radius: 6px; }
.msg--teacher b, .msg--ai b { color: var(--ink); }
.msg__by { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.msg__by .i { width: 14px; height: 14px; }
.typing { display: none; gap: 4px; padding: 12px 14px; border-radius: 18px; background: var(--bg); width: max-content; }
.typing.is-on { display: inline-flex; animation: optIn .3s var(--ease); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: tdot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.tutors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tutors span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.tutors .i { color: var(--primary); }
.supervise { margin-top: 24px; padding: 18px; border-radius: 18px; background: var(--ink); color: #c7d0e4; display: flex; gap: 14px; }
.supervise .i { width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fde68a; }
.supervise b { color: #fff; display: block; }

/* notes with figures */
.notes-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.notes-page { position: relative; padding: 28px; border-radius: var(--r-xl); background: #fffdf7; box-shadow: var(--shadow-lg); background-image: linear-gradient(rgba(59,130,246,.07) 1px, transparent 1px); background-size: 100% 30px; }
.notes-page__chip { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--primary); text-transform: uppercase; }
.notes-page h3 { font-size: 22px; margin: 6px 0 4px; }
.notes-page p { font-size: 14.5px; }
.ray { width: 100%; margin: 14px 0; overflow: visible; }
.ray .axis { stroke: #94a3b8; stroke-width: 1.2; stroke-dasharray: 5 5; }
.ray .lens { fill: rgba(147,197,253,.35); stroke: var(--blue); stroke-width: 2; }
.ray .obj { stroke: var(--ink); stroke-width: 3; marker-end: url(#arrowHead); }
.ray .img { stroke: var(--red); stroke-width: 3; marker-end: url(#arrowHeadR); opacity: 0; transition: opacity .6s 2.3s; }
.ray .r { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.ray .r1 { stroke: #f59e0b; } .ray .r2 { stroke: #10b981; } .ray .r3 { stroke: #8b5cf6; }
.is-in .ray .r { transition: stroke-dashoffset 1.4s var(--ease); stroke-dashoffset: 0; }
.is-in .ray .r2 { transition-delay: .5s; } .is-in .ray .r3 { transition-delay: 1s; }
.is-in .ray .img { opacity: 1; }
.ray text { font-size: 11px; font-weight: 700; fill: var(--muted); font-family: var(--font); }
.ray .f { fill: var(--ink); }
.formula { display: inline-block; margin-top: 6px; padding: 8px 14px; border-radius: 12px; background: var(--soft); color: var(--primary); font-weight: 700; }
.notes-page__try { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink); font-size: 14px; }

/* tuition modes and areas */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { display: flex; flex-direction: column; }
.mode .tag { align-self: flex-start; margin-top: 18px; }
.mode h3 { margin-top: 10px; }
.mode ul { margin: 16px 0 24px; }
.mode .btn { margin-top: auto; align-self: flex-start; }
.areas { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.areas__box { padding: 28px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.areas__box h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.areas__box h3 .i { color: var(--primary); }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.area-chips span, .area-chips a { padding: 7px 12px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background .25s, color .25s, transform .25s var(--spring); }
.area-chips span:hover { background: var(--soft); color: var(--primary); transform: translateY(-2px); }

/* local landing pages */
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--primary); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.03em; margin: 56px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p { font-size: 17px; margin-top: 12px; }
.prose ul.dots-list { margin-top: 12px; display: grid; gap: 8px; }
.prose ul.dots-list li { position: relative; padding-left: 22px; font-size: 16.5px; }
.prose ul.dots-list li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.region { margin-top: 18px; }
.region b { display: block; color: var(--ink); font-size: 15px; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
.steps-row .card { padding: 24px; }
.steps-row .card::after { counter-increment: st; content: counter(st); position: absolute; top: 18px; right: 22px; font-family: var(--serif); font-style: italic; font-size: 40px; color: #c7d2fe; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #22c55e; color: #fff; font-weight: 800;
  box-shadow: 0 14px 30px -10px rgba(34,197,94,.7); transition: transform .35s var(--spring);
  animation: optIn .6s var(--spring) 1.5s both;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float .i { width: 24px; height: 24px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: ping 2.4s 3s infinite; }

@media (max-width: 1080px) {
  .roi, .report-wrap, .tutor-grid, .notes-grid { grid-template-columns: 1fr; gap: 40px; }
  .modes { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .steps-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .roi-cards, .areas { grid-template-columns: 1fr; }
  .report { padding: 18px; }
  .report__top { grid-template-columns: 1fr; justify-items: center; }
  .self-bars { width: 100%; }
  .rs { grid-template-columns: 74px 1fr; }
  .rs__nums { grid-column: 1 / -1; }
  .report__stats b { font-size: 17px; }
  .steps-row { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; height: 52px; padding: 0 16px 0 14px; }
  .wa-float span { display: none; }
  .wa-float { width: 52px; padding: 0; justify-content: center; }
  .chat { min-height: 520px; }
}
.footer__nap { font-style: normal; font-size: 14px; line-height: 1.7; margin-top: 14px; color: #8391b0; }
.footer__nap a { color: #c7d0e4; }
.nowrap { white-space: nowrap; }
.hero .hero__title { font-size: clamp(42px, 5.6vw, 76px); }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7385' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; cursor: pointer; }

/* Google Play badge (official artwork: keep its proportions and padding) */
.play-badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .3s var(--spring); }
.play-badge img { height: 100%; width: auto; display: block; }
.play-badge:hover { transform: translateY(-2px); }
.play-badge:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero__app { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 14px; }
.hero__app .play-badge { height: 44px; margin-left: -6px; }
.cta__app { margin-top: 20px; display: flex; justify-content: center; }
.cta__app .play-badge { height: 52px; }
.footer__app { height: 44px; margin-top: 18px; margin-left: -6px; }
.handoff__app { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.handoff__app + .handoff__actions .btn { margin-top: 16px; }
.handoff > div > .handoff__app:not(:last-child) { margin-top: 24px; padding: 0; border: 0; }
.handoff__app p { font-size: 14px; margin-bottom: 10px; }
.handoff__app .play-badge { height: 60px; }
@media (max-width: 1080px) { .hero__app { justify-content: center; } .hero__app .play-badge { margin-left: 0; } }
.handoff__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Privacy and Terms */
.page-hero--legal { padding-bottom: 40px; }
.page-hero--legal .hero__title { font-size: clamp(38px, 5vw, 60px); }
.legal .prose { max-width: 720px; }
.legal .prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal .prose ul.dots-list ul.dots-list { margin-top: 8px; }
