/* the00x.com · the front page (owner 2026-10-19, preview approved «pagina perfetta»).
   Layout: one long dark ground, content in a 1200px column; glass only where an object sits on the
   price line (hero card, header, the lesson). Colours are the app's "Graphite Liquid Glass" tokens
   (frontend/src/styles/tokens.css, approved 2026-10-11), restated for a dark-only page. Fonts are
   self-hosted (IBM Plex, @fontsource 5.1.0, latin, OFL: fonts/OFL.txt). No inline style anywhere:
   the CSP is style-src 'self'. */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --ground: #030405;
  --ground-2: #07090c;
  --ground-3: #101318;
  --text: #f2f5fb;
  --text-2: #c0cad9;
  --text-3: #95a2b7;
  --text-4: #7a8698;
  --accent: #b2c9ff;
  --accent-dim: #7e9dcc;
  --accent-soft: rgba(178, 201, 255, 0.1);
  --accent-line: rgba(178, 201, 255, 0.32);
  --pos: #97d8b6;
  --pos-soft: rgba(151, 216, 182, 0.12);
  --pos-line: rgba(151, 216, 182, 0.4);
  --neg: #f295a3;
  --neg-soft: rgba(242, 149, 163, 0.12);
  --neg-line: rgba(242, 149, 163, 0.4);
  --warn: #e9c492;
  --up: #84d9ad;
  --down: #d05a6c;
  --line: rgba(213, 222, 235, 0.11);
  --line-2: rgba(213, 222, 235, 0.16);
  --line-3: rgba(213, 222, 235, 0.24);
  --raised: rgba(213, 222, 235, 0.035);
  --well: rgba(0, 0, 0, 0.28);
  --glass-fill: rgba(18, 21, 26, 0.86);
  --glass-hero: rgba(16, 19, 24, 0.62);
  --glass-sheen: linear-gradient(135deg, rgba(235, 242, 255, 0.085) 0%, rgba(235, 242, 255, 0.012) 42%, rgba(184, 201, 244, 0.04) 100%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --chrome-fill: rgba(12, 14, 18, 0.72);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  --primary-fill: linear-gradient(180deg, #eef2f8 0%, #d6dde8 100%);
  --primary-fill-hover: linear-gradient(180deg, #f8fafd 0%, #e1e7f0 100%);
  --primary-ink: #05070a;
  --chart-line: rgba(192, 202, 217, 0.5);
  --chart-grid: rgba(255, 255, 255, 0.05);

  --font: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --fs-label: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-body: 1rem;
  --fs-lede: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --fs-display: clamp(2.6rem, 1rem + 4vw, 4.5rem);

  --max: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --sec: clamp(76px, 9vw, 128px);
  --r-panel: 20px;
  --r-tile: 14px;
  --r-control: 12px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); overflow-x: clip; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ground);
}
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(178, 201, 255, 0.28); }
svg { display: block; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * 40px);
  margin-inline: auto;
  padding-left: max(var(--gutter-l), min(40px, 4vw));
  padding-right: max(var(--gutter-r), min(40px, 4vw));
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px;
  background: var(--text); color: var(--primary-ink); font-weight: 500;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.label {
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent-dim); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-control); border: 1px solid var(--line-3);
  background: rgba(213, 222, 235, 0.03); color: var(--text); font-weight: 500; font-size: 0.9375rem;
  cursor: pointer; transition: background 0.25s, border-color 0.25s, transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: rgba(213, 222, 235, 0.07); border-color: rgba(213, 222, 235, 0.36); }
.btn:active { transform: scale(0.98); }
.btn-primary {
  border: 0; background: var(--primary-fill); color: var(--primary-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 30px -12px rgba(178, 201, 255, 0.45);
}
.btn-primary:hover { background: var(--primary-fill-hover); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); border-radius: 10px; }

/* ---------- glass ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass-sheen), var(--glass-fill);
  border: 1px solid var(--line);
  box-shadow: var(--glass-edge), var(--shadow);
  border-radius: var(--r-panel);
}
.glass.lit::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(178, 201, 255, 0.075), transparent 60%);
  opacity: var(--lit, 0); transition: opacity 0.4s;
}
.glass.lit:hover { --lit: 1; }

/* ---------- header ---------- */
.top {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.top.scrolled {
  background: var(--chrome-fill);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border-bottom-color: var(--line);
}
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; color: var(--text); }
.brand svg { width: 64px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-3); font-size: var(--fs-sm); transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: rgba(213, 222, 235, 0.05); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-cta .signin { padding: 8px 12px; color: var(--text-2); font-size: var(--fs-sm); border-radius: 8px; }
.top-cta .signin:hover { color: var(--text); }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) { .top-cta .signin { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding-top: calc(72px + clamp(48px, 9vw, 120px)); padding-bottom: clamp(72px, 9vw, 128px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 720px at 8% -12%, rgba(178, 201, 255, 0.075), transparent 62%),
    radial-gradient(900px 600px at 92% 40%, rgba(150, 160, 176, 0.05), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(213, 222, 235, 0.07) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
#heroLine { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: min(78%, 560px); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-copy { min-width: 0; display: grid; gap: 28px; justify-items: start; }
.hero h1 {
  font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500;
  background: linear-gradient(180deg, #ffffff 0%, #dfe6f1 55%, #aeb9ca 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .w > span { display: inline-block; background: linear-gradient(180deg, #ffffff 0%, #dfe6f1 55%, #aeb9ca 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: var(--fs-lede); color: var(--text-2); max-width: 34em; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: var(--fs-sm); }
.facts svg { color: var(--accent); }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-card-wrap { max-width: 520px; width: 100%; }
}

/* coach card (hero) */
.hero-card-wrap { perspective: 1400px; min-width: 0; }
.coach {
  background: var(--glass-sheen), var(--glass-hero);
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
  padding: 18px; display: grid; gap: 14px; transform-style: preserve-3d; will-change: transform;
}
.coach-head { display: flex; align-items: center; gap: 12px; }
.coach-ava {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(235, 242, 255, 0.12), rgba(235, 242, 255, 0.03)); border: 1px solid var(--line-2);
  color: var(--text);
}
.coach-ava svg { width: 18px; height: 18px; }
.coach-who { display: grid; line-height: 1.25; min-width: 0; }
.coach-who b { font-weight: 500; font-size: 0.9375rem; }
.coach-who span { font-size: var(--fs-label); color: var(--text-3); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 0 rgba(151, 216, 182, 0.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(151, 216, 182, 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(151, 216, 182, 0); } }
.mini { border-radius: var(--r-tile); background: var(--well); border: 1px solid var(--line); padding: 10px 10px 6px; }
.mini-top { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px 6px; }
.mini-top b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--text-2); letter-spacing: 0.02em; }
.mini-top span { font-family: var(--mono); font-size: 11px; color: var(--text-4); }
#miniChart { width: 100%; height: auto; aspect-ratio: 360 / 150; }
.msgs { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 118px; }
.msgs > * { flex: none; }
.bubble.me { align-self: flex-end; }
.bubble { padding: 11px 14px; border-radius: 14px 14px 14px 4px; background: rgba(213, 222, 235, 0.06); border: 1px solid var(--line); font-size: 0.90625rem; color: var(--text); line-height: 1.5; max-width: 94%; }
.bubble.me { justify-self: end; border-radius: 14px 14px 4px 14px; background: rgba(178, 201, 255, 0.1); border-color: var(--accent-line); color: var(--text); }
.caret { display: inline-block; width: 7px; height: 1.05em; vertical-align: -0.15em; margin-left: 2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: transparent; cursor: default; }
.coach-foot { display: flex; align-items: center; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line); padding-top: 12px; }
.bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(213, 222, 235, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: 62%; border-radius: inherit; background: linear-gradient(90deg, #dfe8ff, #b2c9ff); transform-origin: left; }
.pts { font-family: var(--mono); font-size: 12px; color: var(--accent); white-space: nowrap; }
.coach-foot .label { font-size: 11px; white-space: nowrap; }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(213, 222, 235, 0.02), transparent); overflow: hidden; }
.ticker-track { display: flex; width: max-content; gap: 0; padding-block: 18px; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: 0.9375rem; color: var(--text-3); white-space: nowrap; }
.ticker-track span::after { content: ""; width: 5px; height: 5px; background: var(--line-3); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.035em; }
.sec-head p { color: var(--text-2); font-size: var(--fs-lede); max-width: 36em; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* method */
.steps-wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.steps-rail { position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--line); }
.steps-rail i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent-dim), var(--accent)); transform-origin: left; transform: scaleX(var(--p, 1)); }
.step { position: relative; display: grid; gap: 14px; align-content: start; padding-top: 0; }
.step-n {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--glass-sheen), #0c0f13; border: 1px solid var(--line-2); box-shadow: var(--glass-edge);
  font-family: var(--mono); font-size: 14px; color: var(--accent);
}
.step h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 10px; }
.step p { color: var(--text-2); max-width: 30em; }
.step .label { color: var(--text-4); }
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-left: 0; }
  .steps-rail { left: 30px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps-rail i { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .step { grid-template-columns: 60px minmax(0, 1fr); column-gap: 20px; }
  .step-n { grid-row: span 3; }
  .step h3 { margin-top: 0; }
}

/* lesson (pinned) */
.lesson-sec { padding-block: var(--sec) 0; }
.lesson-pin { padding-block: 24px; }
.lesson { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.lesson-chart { padding: 16px 16px 10px; display: grid; gap: 8px; min-width: 0; }
.lesson-chart-top { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding: 2px 4px 4px; }
.sym { display: inline-flex; align-items: baseline; gap: 10px; }
.sym b { font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: 0.02em; }
.sym span { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 8px; }
#lessonChart { width: 100%; height: auto; overflow: visible; }
.lesson-side { padding: 22px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.dots { display: flex; gap: 6px; }
.dots i { height: 4px; flex: 1; border-radius: 999px; background: rgba(213, 222, 235, 0.1); overflow: hidden; position: relative; }
.dots i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--f, 0)); transform-origin: left; transition: transform 0.4s var(--ease); }
.lmsgs { display: grid; }
.lmsg { grid-area: 1 / 1; display: grid; align-content: start; gap: 12px; opacity: 0; transform: translateY(14px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); pointer-events: none; }
.lmsg.on { opacity: 1; transform: none; pointer-events: auto; }
.lmsg h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.lmsg p { color: var(--text-2); font-size: 0.96875rem; }
.lmsg .who { display: flex; align-items: center; gap: 8px; }
.quiz { display: grid; gap: 8px; }
.quiz button {
  text-align: left; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--raised);
  cursor: pointer; font-size: 0.90625rem; color: var(--text); transition: border-color 0.2s, background 0.2s;
  display: flex; align-items: center; gap: 10px;
}
.quiz button:hover { border-color: var(--line-3); background: rgba(213, 222, 235, 0.06); }
.quiz button .k { font-family: var(--mono); font-size: 11px; color: var(--text-3); width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 5px; display: grid; place-items: center; flex: none; }
.quiz button.right { border-color: var(--pos-line); background: var(--pos-soft); }
.quiz button.wrong { border-color: var(--neg-line); background: var(--neg-soft); }
.quiz-fb { font-size: var(--fs-sm); color: var(--text-2); min-height: 1.5em; }
.lesson-note { margin-top: 14px; font-size: 12px; color: var(--text-4); }
@media (max-width: 900px) {
  .lesson { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lesson-side { padding: 16px 18px; gap: 12px; }
  .lmsg h3 { font-size: 1.125rem; }
  .lmsg p { font-size: 0.875rem; }
  .lesson-sec .sec-head { margin-bottom: 8px; }
}
html.static .lmsgs { gap: 22px; }
html.static .lmsg { grid-area: auto; opacity: 1; transform: none; }
.quiz-solo { margin-top: 12px; padding: 18px; display: none; }
@media (max-width: 900px) { .quiz-solo { display: block; } }

/* tracks */
.tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.track { padding: 26px; display: grid; gap: 16px; align-content: start; min-height: 100%; border-radius: var(--r-panel); }
.track-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lvl { font-size: 12px; color: var(--text-2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.lvl[data-l="1"] { border-color: rgba(151, 216, 182, 0.3); color: var(--pos); }
.lvl[data-l="2"] { border-color: rgba(178, 201, 255, 0.3); color: var(--accent); }
.lvl[data-l="3"] { border-color: rgba(233, 196, 146, 0.3); color: var(--warn); }
.track h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.track > p { color: var(--text-2); font-size: 0.96875rem; }
.track ul { display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.track li { display: flex; gap: 10px; align-items: baseline; color: var(--text-2); font-size: 0.9375rem; }
.track li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 1px; background: var(--accent-dim); transform: translateY(-2px) rotate(45deg); }
.track .glyph { width: 44px; height: 44px; color: var(--text-3); }
@media (max-width: 980px) { .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tracks { grid-template-columns: minmax(0, 1fr); } .track { padding: 22px; } }

/* AI bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cell { padding: 24px; display: grid; gap: 16px; align-content: start; min-width: 0; overflow: hidden; }
.cell h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
.cell > p { color: var(--text-2); font-size: 0.9375rem; max-width: 36em; }
.c-ask { grid-column: span 4; }
.c-check { grid-column: span 2; }
.c-quiz { grid-column: span 3; }
.c-review { grid-column: span 3; }
@media (max-width: 980px) { .c-ask, .c-check, .c-quiz, .c-review { grid-column: span 6; } }
.demo { border-radius: var(--r-tile); background: var(--well); border: 1px solid var(--line); padding: 14px; display: grid; gap: 10px; min-width: 0; }
.ask-demo { min-height: 196px; align-content: start; }
.shot { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #0a0c10; }
.shot svg { width: 100%; height: auto; aspect-ratio: 300 / 150; }
.scan { position: absolute; top: 0; bottom: 0; width: 60px; left: -60px; background: linear-gradient(90deg, transparent, rgba(178, 201, 255, 0.22), transparent); border-right: 1px solid rgba(178, 201, 255, 0.6); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(213, 222, 235, 0.06); border: 1px solid var(--line-2); color: var(--text-2); }
.tags span.q { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); }
.qz-q { font-size: 0.9375rem; color: var(--text); }
.qz-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.qz-opts span { min-width: 54px; text-align: center; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 14px; color: var(--text-2); transition: all 0.35s; }
.qz-opts span.ok { border-color: var(--pos-line); background: var(--pos-soft); color: var(--pos); }
.qz-why { font-size: 13px; color: var(--text-3); }
.qz-why b { color: var(--accent); font-weight: 500; font-family: var(--mono); }
.rv-row { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-2); padding: 8px 2px; border-bottom: 1px dashed var(--line); }
.rv-row:last-child { border-bottom: 0; }
.rv-row .ic { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.rv-row .ic.y { background: var(--pos-soft); color: var(--pos); }
.rv-row .ic.n { background: var(--neg-soft); color: var(--neg); }
.rv-row em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--text-3); white-space: nowrap; }
.rv-tip { font-size: 13px; color: var(--text-2); padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.rv-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--text-3); padding-bottom: 4px; }

/* progress */
.prog { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.prog .sec-head { margin-bottom: 0; }
.prog-ui { padding: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.ring { position: relative; width: 168px; height: 168px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; }
.ring-c b { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.02em; }
.ring-c span { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.prog-stats { display: grid; gap: 14px; min-width: 0; }
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { border-radius: 12px; background: var(--raised); border: 1px solid var(--line); padding: 12px 14px; display: grid; gap: 2px; }
.stat b { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; }
.stat > span { font-size: 12px; color: var(--text-3); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 78px; }
.week i { display: block; border-radius: 5px 5px 2px 2px; background: rgba(213, 222, 235, 0.14); transform-origin: bottom; }
.week i.today { background: linear-gradient(180deg, #dfe8ff, #b2c9ff); }
.week i:nth-child(1) { height: 40%; }
.week i:nth-child(2) { height: 65%; }
.week i:nth-child(3) { height: 30%; }
.week i:nth-child(4) { height: 80%; }
.week i:nth-child(5) { height: 55%; }
.week i:nth-child(6) { height: 22%; }
.week i:nth-child(7) { height: 92%; }
.week-l { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; text-align: center; font-family: var(--mono); font-size: 10.5px; color: var(--text-4); }
.tiers { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.tier { display: grid; gap: 8px; justify-items: center; font-size: 12px; color: var(--text-3); }
.tier i { width: 100%; height: 4px; border-radius: 999px; background: rgba(213, 222, 235, 0.1); }
.tier.done i { background: var(--text-3); }
.tier.now i { background: linear-gradient(90deg, #dfe8ff, #b2c9ff); }
.tier.now { color: var(--text); }
@media (max-width: 900px) { .prog { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .prog-ui { grid-template-columns: minmax(0, 1fr); justify-items: center; } .prog-stats { width: 100%; } .ring { width: 150px; height: 150px; } }

/* faq */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--raised); transition: border-color 0.25s, background 0.25s; }
.faq details[open] { border-color: var(--line-2); background: rgba(213, 222, 235, 0.05); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-size: 1.0625rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { margin-left: auto; width: 28px; height: 28px; flex: none; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 0.35s var(--ease); }
.faq details[open] .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 22px; color: var(--text-2); max-width: 44em; }

/* final */
.final { position: relative; overflow: clip; text-align: center; padding-block: clamp(110px, 14vw, 200px); }
#finalX { position: absolute; left: 50%; top: 50%; width: min(520px, 88vw); height: auto; transform: translate(-50%, -50%); color: rgba(213, 222, 235, 0.045); pointer-events: none; }
.final-in { position: relative; display: grid; gap: 26px; justify-items: center; }
.final h2 { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.75rem); line-height: 1; letter-spacing: -0.045em; max-width: 12em; }
.final p { color: var(--text-2); font-size: var(--fs-lede); max-width: 32em; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 56px 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.5fr)); gap: 32px; }
.foot-brand { display: grid; gap: 14px; align-content: start; color: var(--text-3); font-size: var(--fs-sm); max-width: 30em; }
.foot-brand svg { width: 56px; color: var(--text); }
.foot h4 { margin: 0 0 12px; font-weight: 500; font-size: var(--fs-sm); color: var(--text); }
.foot ul { display: grid; gap: 8px; }
.foot ul a { color: var(--text-3); font-size: var(--fs-sm); }
.foot ul a:hover { color: var(--text); }
.risk { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 12.5px; color: var(--text-4); line-height: 1.6; }
.risk b { color: var(--text-3); font-weight: 500; }
@media (max-width: 720px) { .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- intro (brand: the X forms from the centre, approved "center1") ---------- */
.intro {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 44%, #0d1013, #050709 38%, #020304 74%);
  transition: opacity 360ms cubic-bezier(0.2, 0.65, 0.3, 1);
}
.intro.out { opacity: 0; pointer-events: none; }
.intro svg { width: clamp(128px, 12vw, 192px); height: auto; color: #f2f5fb; overflow: visible; }
.intro rect { transform-box: fill-box; transform-origin: center; animation: cell 360ms var(--ease) both; animation-delay: calc(var(--ring) * 200ms); }
@keyframes cell { from { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.28); } }
.intro-skip {
  position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: transparent; border: 1px solid var(--line-2); color: var(--text-3); font-size: 13px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
}
.intro-skip:hover { color: var(--text); border-color: var(--line-3); }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .live i, .caret { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* 404 page */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.nf .brand svg { width: 72px; height: auto; }
.nf h1 { font-size: var(--fs-h2); letter-spacing: -0.035em; line-height: 1.05; }
.nf p { color: var(--text-2); }
