/* ==========================================================================
   Numera — numerapp.xyz
   Tokens mirror Packages/DesignSystem (NumeraColor, NumeraType, Spacing,
   Radius, RegionPalette). Never improvise a colour or radius here either.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------
   Apple devices get the real thing via `ui-rounded` (SF Rounded) and never
   download a byte. Everyone else falls through to self-hosted Nunito, a
   variable font that covers 400–900 in one 39 KB file.                     */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens ------------------------------------------------------------- */

:root {
  color-scheme: light dark;

  /* NumeraColor — light */
  --canvas: #faf7f2;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --ink: #1c1b2e;
  --ink-2: #5b5876;
  --ink-3: #8e8aa8;
  --violet: #5a4fe0;
  --violet-soft: #eceafd;
  --coral: #ff7a59;
  --mint: #2fbf8f;
  --amber: #ffb020;
  --sky: #4da3ff;
  --hairline: rgb(28 27 46 / 0.08);
  --wash-a: #e9e5fb;
  --wash-b: #eaf5e5;

  /* NumeraGradient */
  --grad-violet: linear-gradient(135deg, #6a5ff0, #4b40c8);
  --grad-flame: linear-gradient(180deg, #ffb020, #ff7a59);

  /* Spacing (4pt grid) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;

  /* Radius */
  --r-chip: 12px; --r-card: 20px; --r-sheet: 24px; --r-hero: 28px;

  /* Shadow */
  --sh-soft: 0 2px 8px rgb(28 27 46 / 0.07);
  --sh-lift: 0 8px 24px rgb(28 27 46 / 0.12);
  --sh-deep: 0 24px 64px rgb(28 27 46 / 0.16);

  --font-display: ui-rounded, 'Nunito', 'Segoe UI Variable Display', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --page: 1140px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --canvas: #131221;
    --surface: #1d1b2e;
    --surface-raised: #26243a;
    --ink: #f2eff9;
    --ink-2: #a9a5c4;
    --ink-3: #6e6a8a;
    --violet: #7c72f2;
    --violet-soft: #2a2750;
    --coral: #ff8e70;
    --mint: #43d6a5;
    --amber: #ffc24d;
    --sky: #6bb4ff;
    --hairline: rgb(242 239 249 / 0.10);
    --wash-a: #221f3c;
    --wash-b: #16211c;
    --sh-soft: 0 2px 8px rgb(0 0 0 / 0.35);
    --sh-lift: 0 8px 24px rgb(0 0 0 / 0.45);
    --sh-deep: 0 24px 64px rgb(0 0 0 / 0.55);
  }
}

:root[data-theme='dark'] {
  --canvas: #131221;
  --surface: #1d1b2e;
  --surface-raised: #26243a;
  --ink: #f2eff9;
  --ink-2: #a9a5c4;
  --ink-3: #6e6a8a;
  --violet: #7c72f2;
  --violet-soft: #2a2750;
  --coral: #ff8e70;
  --mint: #43d6a5;
  --amber: #ffc24d;
  --sky: #6bb4ff;
  --hairline: rgb(242 239 249 / 0.10);
  --wash-a: #221f3c;
  --wash-b: #16211c;
  --sh-soft: 0 2px 8px rgb(0 0 0 / 0.35);
  --sh-lift: 0 8px 24px rgb(0 0 0 / 0.45);
  --sh-deep: 0 24px 64px rgb(0 0 0 / 0.55);
}

/* --- Reset -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, canvas { display: block; max-width: 100%; }
/* Every screenshot carries width/height attributes so the browser can reserve
   space — without this they'd also honour the 1348px height literally. */
img { height: auto; }
/* The UA's [hidden] rule loses to any class that sets display; the demo and
   the waitlist both toggle `hidden` on flex/grid elements. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.wrap { width: min(100% - 40px, var(--page)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }

/* --- Reusable ----------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--s3);
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}

.section-head { max-width: 720px; margin-bottom: var(--s8); }
.section-head h2 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: var(--s4); }
.center { margin-inline: auto; text-align: center; }
.center .lede { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-violet); color: #fff; box-shadow: 0 6px 20px rgb(90 79 224 / 0.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgb(90 79 224 / 0.42); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--hairline); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--sh-soft);
}

/* --- Nav ---------------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-stuck { border-bottom-color: var(--hairline); }
.nav .wrap { display: flex; align-items: center; gap: var(--s5); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 21px; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: var(--s5); margin-left: auto; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 10px 20px; font-size: 15px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--hairline); cursor: pointer; flex: none;
  transition: background 0.2s, transform 0.2s;
}
.theme-toggle:hover { background: var(--violet-soft); transform: rotate(-12deg); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* --- Numi --------------------------------------------------------------- */

.numi { position: relative; flex: none; border-radius: 50%; background: var(--grad-violet); }
.numi::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgb(255 255 255 / 0.30), transparent 62%);
}
.numi .eye {
  position: absolute; top: 38%; width: 22%; aspect-ratio: 1;
  background: #fff; border-radius: 50%;
  transform-origin: center;
  animation: numi-blink 4.4s infinite;
}
.numi .eye::after {
  content: ''; position: absolute; left: 28%; top: 40%; width: 44%; height: 44%;
  border-radius: 50%; background: rgb(28 27 46 / 0.85);
}
.numi .eye.l { left: 22%; }
.numi .eye.r { right: 22%; }
@keyframes numi-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%, 97% { transform: scaleY(0.1); }
}
.numi.float { animation: numi-float 3.4s ease-in-out infinite; }
@keyframes numi-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5%; } }

/* --- Hero --------------------------------------------------------------- */

.hero { position: relative; padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 8%, var(--wash-a), transparent 70%),
    radial-gradient(52% 48% at 8% 68%, var(--wash-b), transparent 72%);
  filter: blur(10px);
}
#drift { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.75; }

.hero-grid {
  display: grid; gap: clamp(40px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(36px, 4.9vw, 58px); font-weight: 900; margin-bottom: var(--s5); letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--violet); display: block; }
.hero .lede { font-size: clamp(17px, 2.1vw, 21px); margin-bottom: var(--s6); }

.pill-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; font-family: var(--font-display);
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--ink-2);
  box-shadow: var(--sh-soft);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; }

/* --- Waitlist form ------------------------------------------------------ */

.wl { max-width: 500px; }
.wl-row { display: flex; gap: var(--s2); }
.wl input[type='email'] {
  flex: 1; min-width: 0; padding: 15px 20px; border-radius: 999px;
  background: var(--surface); border: 2px solid var(--hairline); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wl input[type='email']::placeholder { color: var(--ink-3); }
.wl input[type='email']:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.wl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-note { margin-top: var(--s3); font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.wl-msg { margin-top: var(--s3); font-size: 15px; font-weight: 600; min-height: 22px; }
.wl-msg[data-state='error'] { color: var(--coral); }
.wl-msg[data-state='ok'] { color: var(--mint); }
.wl.is-done .wl-row { display: none; }
.wl-done { display: none; align-items: flex-start; gap: var(--s4); padding: var(--s5); border-radius: var(--r-card); background: var(--violet-soft); }
.wl.is-done .wl-done { display: flex; animation: pop 0.5s var(--ease); }
.wl-done h3 { font-size: 19px; margin-bottom: 4px; }
.wl-done p { font-size: 15px; color: var(--ink-2); }
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .wl-row { flex-direction: column; } .wl .btn { width: 100%; } }

/* --- Phone -------------------------------------------------------------- */

.phone-stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.phone-glow {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: var(--glow, var(--violet)); filter: blur(90px); opacity: 0.30;
  transition: background 0.9s var(--ease);
}
.phone {
  position: relative; width: min(300px, 74vw); aspect-ratio: 1206 / 2622;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #3a3752, #17162a 42%, #2e2c45);
  box-shadow: var(--sh-deep), 0 0 0 1px rgb(255 255 255 / 0.06) inset;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--canvas); }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease); }
.phone-screen img.is-live { opacity: 1; }
.phone-notch {
  position: absolute; top: 9px; left: 50%; translate: -50% 0; z-index: 3;
  width: 31%; height: 26px; border-radius: 999px; background: #17162a;
}
.phone-caption {
  margin-top: var(--s5); text-align: center; font-family: var(--font-display);
  font-weight: 700; font-size: 15px; color: var(--ink-2);
  min-height: 24px; transition: opacity 0.35s;
}

/* --- Stats -------------------------------------------------------------- */

.stats { border-block: 1px solid var(--hairline); padding-block: clamp(36px, 5vw, 56px); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); text-align: center; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s4); } }
.stat .n { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 5vw, 52px); line-height: 1; letter-spacing: -0.03em; }
.stat .n.violet { color: var(--violet); }
.stat .k { margin-top: var(--s2); font-size: 14.5px; color: var(--ink-2); }

/* --- Problem cards ------------------------------------------------------ */

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.tcard { padding: var(--s6); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--sh-soft); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--sh-lift); }
.tcard .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: var(--s4); font-size: 22px; }
.tcard h3 { font-size: 20px; margin-bottom: var(--s2); }
.tcard p { font-size: 16px; color: var(--ink-2); }

/* --- How it works ------------------------------------------------------- */

.steps { display: grid; gap: clamp(56px, 8vw, 104px); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.step:nth-child(even) .step-media { order: -1; }
@media (max-width: 900px) { .step, .step:nth-child(even) { grid-template-columns: 1fr; } .step:nth-child(even) .step-media { order: 0; } }
.step-n {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--violet-soft); color: var(--violet);
  font-family: var(--font-display); font-weight: 900; font-size: 18px; margin-bottom: var(--s4);
}
.step h3 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: var(--s4); }
.step p { color: var(--ink-2); max-width: 46ch; }
.step-quote { margin-top: var(--s5); padding-left: var(--s4); border-left: 3px solid var(--violet); font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.step-media { display: grid; place-items: center; }
/* The bezel is drawn as a thick border so the screenshot reads as a device
   without needing a wrapper element around every shot. */
.shot {
  width: min(286px, 74vw); height: 580px; object-fit: cover; object-position: top center;
  border: 9px solid #16152a; border-radius: 44px; background: var(--canvas);
  box-shadow: var(--sh-lift);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.shot:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--sh-deep); }
@media (max-width: 900px) { .shot { height: 500px; } }

/* --- Feature grid ------------------------------------------------------- */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feat { padding: var(--s5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--hairline); transition: transform 0.28s var(--ease), border-color 0.28s; }
.feat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--violet) 40%, transparent); }
.feat .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--s3); background: var(--violet-soft); }
.feat h3 { font-size: 17.5px; margin-bottom: 6px; }
.feat p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* --- Interactive demo --------------------------------------------------- */

.demo-shell {
  position: relative; border-radius: var(--r-hero); overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mint) 14%, var(--surface)), var(--surface));
  border: 1px solid var(--hairline); box-shadow: var(--sh-lift);
  padding: clamp(28px, 5vw, 56px);
  min-height: 460px; display: grid; align-content: center;
}
.demo-bar { display: flex; gap: 7px; justify-content: center; margin-bottom: var(--s7); }
.demo-bar i { width: 44px; height: 5px; border-radius: 999px; background: var(--hairline); transition: background 0.4s; }
.demo-bar i.on { background: var(--violet); }
.demo-stage { display: grid; place-items: center; gap: var(--s5); text-align: center; }
.demo-prompt { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.6vw, 24px); color: var(--ink-2); min-height: 1.2em; }
.demo-canvas { position: relative; width: 100%; max-width: 430px; height: 126px; }
.demo-dot {
  position: absolute; width: 26px; height: 26px; border-radius: 50%;
  transition: transform 0.75s var(--ease), opacity 0.4s;
  will-change: transform;
}
.demo-eq { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; opacity: 0; transition: opacity 0.5s; }
.demo-eq.on { opacity: 1; }
.demo-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 96px)); gap: var(--s3); justify-content: center; }
@media (max-width: 520px) { .demo-choices { grid-template-columns: repeat(2, 1fr); width: 100%; } }
.choice {
  padding: 18px 8px; border-radius: var(--r-chip); cursor: pointer;
  background: var(--surface); border: 2px solid var(--hairline);
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s, opacity 0.3s;
}
.choice:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--violet); }
.choice:disabled { cursor: default; }
.choice.right { background: color-mix(in srgb, var(--mint) 18%, var(--surface)); border-color: var(--mint); color: var(--mint); animation: pop 0.4s var(--ease); }
.choice.warm { border-color: var(--amber); color: var(--amber); animation: nudge 0.42s; }
.choice.dim { opacity: 0.28; }
@keyframes nudge { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.demo-feedback { font-family: var(--font-display); font-weight: 800; font-size: 18px; min-height: 1.5em; transition: opacity 0.3s; }
.demo-feedback.right { color: var(--mint); }
.demo-feedback.warm { color: var(--amber); }
.demo-foot { margin-top: var(--s6); text-align: center; font-size: 14.5px; color: var(--ink-3); }
.demo-replay { background: none; border: 0; color: var(--violet); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* --- Journey map -------------------------------------------------------- */

.journey { position: relative; }
.journey-track { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); }
.region {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s4); border-radius: var(--r-chip);
  background: var(--surface); border: 1px solid var(--hairline);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.region:hover { transform: translateY(-3px); box-shadow: var(--sh-soft); }
.region .swatch {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 900; font-size: 13px;
  box-shadow: inset 0 -2px 6px rgb(0 0 0 / 0.14);
}
.region .t { font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1.25; }
.region .s { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }

/* --- Gallery marquee ---------------------------------------------------- */

.marquee { position: relative; overflow: hidden; padding-block: var(--s4); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: var(--s5); width: max-content; animation: slide 56s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee img {
  width: 216px; height: 420px; object-fit: cover; object-position: top center;
  border: 7px solid #16152a; border-radius: 32px; box-shadow: var(--sh-soft); flex: none;
}

/* --- FAQ ---------------------------------------------------------------- */

.faq { max-width: 800px; margin-inline: auto; display: grid; gap: var(--s3); }
.faq details { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; transition: border-color 0.25s; }
.faq details[open] { border-color: color-mix(in srgb, var(--violet) 40%, transparent); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s5);
  font-family: var(--font-display); font-weight: 800; font-size: 17.5px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--violet); transition: transform 0.3s var(--ease); flex: none; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 var(--s5) var(--s5); color: var(--ink-2); font-size: 16px; }
.faq .a p + p { margin-top: var(--s3); }
.faq .a a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --- CTA band ----------------------------------------------------------- */

.cta-band { position: relative; overflow: hidden; border-radius: var(--r-hero); padding: clamp(40px, 7vw, 88px); background: var(--grad-violet); color: #fff; text-align: center; }
.cta-band::before { content: ''; position: absolute; inset: -50% -10% auto -10%; height: 400px; background: radial-gradient(50% 60% at 50% 0%, rgb(255 255 255 / 0.22), transparent 70%); }
.cta-band h2 { position: relative; font-size: clamp(28px, 4.6vw, 46px); margin-bottom: var(--s4); }
.cta-band p { position: relative; color: rgb(255 255 255 / 0.86); max-width: 54ch; margin: 0 auto var(--s6); }
.cta-band .wl { position: relative; margin-inline: auto; }
.cta-band .wl input[type='email'] { background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.28); color: #fff; }
.cta-band .wl input[type='email']::placeholder { color: rgb(255 255 255 / 0.62); }
.cta-band .wl input[type='email']:focus { border-color: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.18); }
.cta-band .btn-primary { background: #fff; color: var(--violet); box-shadow: 0 6px 20px rgb(0 0 0 / 0.2); }
.cta-band .wl-note { color: rgb(255 255 255 / 0.78); justify-content: center; }
.cta-band .wl-msg { color: #fff; }
.cta-band .wl-msg[data-state='error'] { color: #ffd9cf; }
.cta-band .wl-done { background: rgb(255 255 255 / 0.16); text-align: left; }
.cta-band .wl-done p { color: rgb(255 255 255 / 0.85); margin: 0; }

/* --- Footer ------------------------------------------------------------- */

.footer { border-top: 1px solid var(--hairline); padding-block: var(--s7) var(--s6); font-size: 14.5px; color: var(--ink-2); }
.footer-grid { display: flex; flex-wrap: wrap; gap: var(--s6); justify-content: space-between; align-items: flex-start; margin-bottom: var(--s6); }
.footer nav { display: flex; flex-wrap: wrap; gap: var(--s5); }
.footer a:hover { color: var(--violet); }
.footer-legal { padding-top: var(--s5); border-top: 1px solid var(--hairline); color: var(--ink-3); font-size: 13.5px; }

/* --- Confetti ----------------------------------------------------------- */

.burst { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.burst i { position: absolute; width: 9px; height: 9px; border-radius: 2px; }

/* --- Scroll reveal ------------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d='1'] { transition-delay: 0.08s; }
.reveal[data-d='2'] { transition-delay: 0.16s; }
.reveal[data-d='3'] { transition-delay: 0.24s; }
.reveal[data-d='4'] { transition-delay: 0.32s; }
.reveal[data-d='5'] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .numi.float, .numi .eye { animation: none; }
  .phone, .shot, .tcard, .feat, .region, .btn { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* --- Content pages (curriculum / guide) --------------------------------- */

.page-hero { padding-block: clamp(48px, 7vw, 88px) var(--s7); }
.page-hero h1 { font-size: clamp(32px, 5.4vw, 56px); margin-bottom: var(--s4); }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: var(--s4); }
.crumbs a:hover { color: var(--violet); }

.unit { margin-bottom: var(--s6); border-radius: var(--r-card); border: 1px solid var(--hairline); background: var(--surface); overflow: hidden; }
.unit-head { display: flex; align-items: center; gap: var(--s4); padding: var(--s5); border-bottom: 1px solid var(--hairline); }
.unit-head .swatch { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 17px; }
.unit-head h2 { font-size: 21px; }
.unit-head .meta { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.lesson-list { list-style: none; padding: var(--s3) var(--s5) var(--s5); display: grid; gap: 2px; }
@media (min-width: 900px) { .lesson-list { grid-template-columns: 1fr 1fr; column-gap: var(--s7); } }
.lesson-list li { display: grid; grid-template-columns: 34px 1fr; gap: var(--s3); padding: 11px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.lesson-list li:last-child { border-bottom: 0; }
.lesson-list .num { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--ink-3); }
.lesson-list .lt { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.lesson-list .ld { font-size: 14.5px; color: var(--ink-2); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3.4vw, 34px); margin-top: var(--s8); margin-bottom: var(--s4); }
.prose h3 { font-size: clamp(19px, 2.4vw, 23px); margin-top: var(--s6); margin-bottom: var(--s3); }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: var(--s4); }
.prose ul, .prose ol { margin-top: var(--s4); padding-left: var(--s5); display: grid; gap: var(--s2); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin-top: var(--s5); padding: var(--s5); border-radius: var(--r-card); background: var(--violet-soft); border-left: 4px solid var(--violet); }
.prose blockquote p { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.toc { max-width: 760px; margin-top: var(--s6); padding: var(--s5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--hairline); }
.toc h2 { font-size: 15px !important; margin: 0 0 var(--s3) !important; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.toc ol { margin: 0; padding-left: var(--s5); }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--violet); }
