/* =========================================================
   SNAPOUT — Blue Edition · "cinematic precision"
   Obsidian, charcoal, ice blue, periwinkle, restrained silver.
   ========================================================= */
:root {
  --bg: #07080c;
  --bg-2: #0b0d13;
  --charcoal: #13161e;
  --panel: rgba(15, 17, 24, .72);
  --panel-2: rgba(20, 23, 32, .78);
  --panel-solid: #11131a;
  --line: rgba(200, 214, 240, .09);
  --line-2: rgba(200, 214, 240, .17);
  --line-3: rgba(200, 214, 240, .3);
  --text: #f3f5fa;
  --muted: #aab1c2;
  --dim: #7f879a;
  --ice: #cfe6ff;
  --ice-2: #9dcbff;
  --peri: #8fa6ff;
  --peri-2: #6478e6;
  --deep: #2b47b8;
  --silver: #c6ccd8;
  --ok: #6fe0a6;
  --red: #ff7a7a;
  --grad: linear-gradient(100deg, #9dcbff 0%, #ffffff 42%, #c3cdff 62%, #8fa6ff 100%);
  --display: "Unbounded", "Inter Tight", system-ui, sans-serif;
  --body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-ui: .2s;
  --t-in: .65s;
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1240px;
  --nav-h: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
::selection { background: rgba(143, 166, 255, .45); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p, ul, ol, dl { margin: 0; }
:focus-visible { outline: 2px solid var(--ice-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 10001; padding: 10px 16px; border-radius: 10px; background: var(--ice); color: #0b1020; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--wrap), 100% - 48px - env(safe-area-inset-left) - env(safe-area-inset-right)); margin-inline: auto; }
.grad { background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 14s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }
main, .footer, .nav, .ticker { position: relative; z-index: 3; }
main, .footer { overflow-x: clip; }

/* ---------- atmosphere ---------- */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#bg-gl, #bg-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
#bg-fx { z-index: 2; }
.bg-grid { position: absolute; inset: 0; z-index: 1; opacity: .9;
  background-image: linear-gradient(rgba(190, 210, 245, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(190, 210, 245, .05) 1px, transparent 1px), linear-gradient(rgba(190, 210, 245, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(190, 210, 245, .035) 1px, transparent 1px);
  background-size: 360px 360px, 360px 360px, 72px 72px, 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 20%, #000 20%, transparent 80%); mask-image: radial-gradient(120% 90% at 50% 20%, #000 20%, transparent 80%); }
.grain { position: absolute; inset: 0; z-index: 3; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- scroll progress ---------- */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #4663d8, #9dcbff, #ffffff); box-shadow: 0 0 12px rgba(157, 203, 255, .6); }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ice-2); }
.eyebrow span { display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line-2); color: #fff; background: rgba(143, 166, 255, .1); letter-spacing: .1em; }
.eyebrow--center { justify-content: center; }
.h2 { font: 700 clamp(34px, 5.1vw, 74px)/1.02 var(--display); letter-spacing: -.035em; margin-top: 22px; }
.sec-sub { color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); max-width: 540px; margin-top: 20px; }
.section { padding: clamp(84px, 10vw, 140px) 0; }
.sec-head { margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sec-head--split .sec-sub { margin: 0 0 8px; max-width: 420px; }
.sec-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------- reveal system (only when JS is running; content is never hidden without it) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--t-in) var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js [data-reveal="scale"] { transform: scale(.96) translateY(22px); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js [data-stagger].in > *:nth-child(1) { transition-delay: .0s; } .js [data-stagger].in > *:nth-child(2) { transition-delay: .07s; } .js [data-stagger].in > *:nth-child(3) { transition-delay: .14s; } .js [data-stagger].in > *:nth-child(4) { transition-delay: .21s; } .js [data-stagger].in > *:nth-child(5) { transition-delay: .28s; } .js [data-stagger].in > *:nth-child(6) { transition-delay: .35s; } .js [data-stagger].in > *:nth-child(7) { transition-delay: .42s; } .js [data-stagger].in > *:nth-child(8) { transition-delay: .49s; } .js [data-stagger].in > *:nth-child(9) { transition-delay: .56s; } .js [data-stagger].in > *:nth-child(10) { transition-delay: .63s; } .js [data-stagger].in > *:nth-child(11) { transition-delay: .7s; }

/* ---------- buttons ---------- */
.btn { --bh: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--bh); padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; isolation: isolate; overflow: hidden; transition: transform var(--t-ui) var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s, color .3s; }
.btn > * { pointer-events: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .08s; }
.btn-sm { --bh: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 16px; }
.btn-xl { --bh: 68px; padding: 0 40px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-glow { color: #0a1024; background: linear-gradient(120deg, #eaf3ff, #c9dfff 40%, #b4c6ff 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 12px 36px -10px rgba(90, 130, 255, .6), 0 0 0 0 rgba(157, 203, 255, 0); }
.btn-glow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%); transform: translateX(-130%); transition: transform .7s var(--ease); }
.btn-glow:hover::before { transform: translateX(130%); }
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) inset, 0 18px 50px -12px rgba(90, 130, 255, .8), 0 0 40px -12px rgba(157, 203, 255, .8); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); }
.btn-ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(207, 230, 255, .14) 50%, transparent 65%); transform: translateX(-130%); transition: transform .7s var(--ease); }
.btn-ghost:hover::before { transform: translateX(130%); }
.btn-ghost:hover { border-color: rgba(207, 230, 255, .5); background: rgba(143, 166, 255, .08); box-shadow: 0 10px 30px -14px rgba(143, 166, 255, .6); }
.btn-ico { width: 30px; height: 30px; margin-right: -14px; border-radius: 50%; display: grid; place-items: center; background: #0b1226; color: #d6e6ff; transition: transform var(--t-ui) var(--ease); }
.btn-ico svg { width: 12px; height: 12px; margin-left: 1px; }
.btn:hover .btn-ico { transform: translateX(3px); }
.btn-arrow { display: inline-block; transition: transform var(--t-ui) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-ghost:hover .btn-arrow:only-of-type { transform: translateX(4px); }
.hero-actions .btn-ghost:hover .btn-arrow { transform: translateY(3px); }
.btn.is-busy { opacity: .75; pointer-events: none; }

/* text links: precise animated underline */
.u-link, .legal a, .faq-list a, .sb-fine a, .foot-col a { position: relative; }
.legal a, .faq-list a, .sb-fine a { color: var(--ice-2); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease), color .2s; }
.legal a:hover, .faq-list a:hover, .sb-fine a:hover { background-size: 0 1px; background-position: 100% 100%; color: #fff; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1240px, calc(100% - 28px - env(safe-area-inset-left) - env(safe-area-inset-right))); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 9px 9px 16px; border-radius: 18px; border: 1px solid transparent; transition: background .45s, border-color .45s, box-shadow .45s, top .45s var(--ease), padding .45s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent, rgba(207, 230, 255, .35), transparent); height: 1px; top: -1px; opacity: 0; transition: opacity .45s; }
.nav.scrolled { top: 8px; background: rgba(10, 12, 18, .72); border-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 20px 60px -24px rgba(0, 0, 0, .9); }
.nav.scrolled::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 12px rgba(143, 166, 255, .45)); }
.brand-name { font: 700 17px/1 var(--display); letter-spacing: -.02em; }
.brand-name i, .pass-logo i { font-style: normal; color: var(--ice-2); }
.nav-links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.nav-links a { position: relative; z-index: 1; padding: 8px 16px; font-size: 14px; color: var(--muted); transition: color .25s; font-weight: 500; border-radius: 999px; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(135deg, rgba(143, 166, 255, .3), rgba(207, 230, 255, .14)); box-shadow: 0 0 0 1px rgba(207, 230, 255, .28) inset; opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: rgba(7, 8, 12, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; padding: calc(80px + env(safe-area-inset-top)) calc(28px + env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) calc(28px + env(safe-area-inset-left)); gap: 6px; opacity: 0; pointer-events: none; transition: opacity .35s; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mm-links { display: flex; flex-direction: column; gap: 4px; }
.mm-links a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; font: 700 34px/1.2 var(--display); letter-spacing: -.03em; transform: translateY(16px); opacity: 0; transition: transform .55s var(--ease), opacity .55s; border-bottom: 1px solid var(--line); }
.mm-links a small { font: 500 11px var(--mono); color: var(--ice-2); letter-spacing: .2em; }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.menu-open .mm-links a { transform: none; opacity: 1; }
.menu-open .mm-links a:nth-child(2) { transition-delay: .04s; } .menu-open .mm-links a:nth-child(3) { transition-delay: .08s; } .menu-open .mm-links a:nth-child(4) { transition-delay: .12s; } .menu-open .mm-links a:nth-child(5) { transition-delay: .16s; } .menu-open .mm-links a:nth-child(6) { transition-delay: .2s; }
.mm-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; transform: translateY(16px); opacity: 0; transition: transform .55s var(--ease) .24s, opacity .55s .24s; }
.menu-open .mm-cta { transform: none; opacity: 1; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 56px) 0 72px; }
.hero-frame { position: absolute; inset: 86px 22px 22px; pointer-events: none; }
.hf-corner { position: absolute; width: 18px; height: 18px; border: 1px solid rgba(207, 230, 255, .28); }
.hf-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; } .hf-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; } .hf-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; } .hf-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hf-tag { position: absolute; top: 2px; font: 500 10px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.hf-tag--l { left: 28px; } .hf-tag--r { right: 28px; font-variant-numeric: tabular-nums; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.chip-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(14, 16, 24, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; color: var(--muted); transition: border-color .3s, box-shadow .3s; }
.chip-badge:hover { border-color: rgba(207, 230, 255, .5); box-shadow: 0 0 30px -10px rgba(157, 203, 255, .6); }
.chip-badge b { color: #fff; font-weight: 600; }
.chip-badge .sep { width: 1px; height: 14px; background: var(--line-2); }
.chip-badge svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.chip-badge:hover svg { transform: translateX(3px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ice-2); box-shadow: 0 0 0 0 rgba(157, 203, 255, .7); animation: pulse 3s infinite; }
@keyframes pulse { 60% { box-shadow: 0 0 0 9px rgba(157, 203, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(157, 203, 255, 0); } }

/* entrance sequence */
.js .hero-in { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(.55s + var(--i, 0) * .09s); }
.js .loaded .hero-in { opacity: 1; transform: none; }
.hero-title { font: 800 clamp(44px, 6.4vw, 104px)/.96 var(--display); letter-spacing: -.045em; margin-top: 26px; }
.hero-title .line { display: block; overflow: hidden; padding: .06em .1em .1em 0; margin: -.06em 0 -.1em 0; }
.hero-title .word { display: inline-block; transition: transform 1s var(--ease), opacity .6s; }
.js .hero-title .word { transform: translateY(112%); opacity: .4; }
.js .loaded .hero-title .word { transform: none; opacity: 1; }
.js .loaded .hero-title .line:nth-child(1) .word:nth-child(1) { transition-delay: .08s; }
.js .loaded .hero-title .line:nth-child(1) .word:nth-child(2) { transition-delay: .16s; }
.js .loaded .hero-title .line:nth-child(2) .word { transition-delay: .26s; }
.js .loaded .hero-title .line:nth-child(3) .word:nth-child(1) { transition-delay: .38s; }
.js .loaded .hero-title .line:nth-child(3) .word:nth-child(2) { transition-delay: .44s; }
.js .loaded .hero-title .line:nth-child(3) .word:nth-child(3) { transition-delay: .5s; }
/* "system": light travelling across the word */
.word-light { background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%), linear-gradient(100deg, #a9d2ff 0%, #e8f1ff 45%, #b9c6ff 100%); background-size: 260% 100%, 100% 100%; background-position: 180% 0, 0 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wordLight 8s var(--ease-io) 2.4s infinite; }
@keyframes wordLight { 0% { background-position: 180% 0, 0 0; } 30% { background-position: -80% 0, 0 0; } 100% { background-position: -80% 0, 0 0; } }
/* "noise": fragments, then resolves to a crisp word with a thin cancel line */
.line-quiet { color: rgba(243, 245, 250, .76); }
.word-noise { position: relative; white-space: nowrap; }
.word-noise .nz { display: inline-block; transition: transform .7s var(--ease), opacity .5s, filter .6s; transition-delay: calc(var(--k, 0) * .06s); }
.js .word-noise:not(.resolved) .nz { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0)) skewX(var(--sk, 0)); opacity: .55; filter: blur(1.5px); }
.word-noise::after { content: ""; position: absolute; left: -1%; right: 0; top: 54%; height: .05em; border-radius: 99px; background: linear-gradient(90deg, #9dcbff, #c3cdff); box-shadow: 0 0 14px rgba(157, 203, 255, .6); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.word-noise.done::after { transform: scaleX(1); }
.hero-sub { margin-top: 28px; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); }
.hero-sub b { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-fine { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero-fine span { display: block; color: var(--dim); font-size: 12px; }
.hero-stats { display: flex; margin: 38px 0 0; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-stats div { flex: 1; padding-right: 14px; }
.hero-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats dt { font: 700 clamp(24px, 2.4vw, 34px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-stats small { font-size: .5em; color: var(--ice-2); margin-left: 3px; }
.hero-stats dd { margin: 6px 0 0; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

.hero-visual { position: relative; }
.hero-stage { position: relative; padding: 52px 18px 54px; }
.orbit-anchor { position: absolute; inset: 52px 18px 54px; pointer-events: none; }
[data-parallax] { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .25s var(--ease); will-change: transform; }
.term { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, rgba(24, 27, 37, .88), rgba(9, 10, 15, .94)); border: 1px solid rgba(200, 214, 240, .14); box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 50px 110px -34px rgba(8, 18, 60, .85), 0 0 0 1px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.term::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(207, 230, 255, .65), transparent); z-index: 3; }
.term-reflect { position: absolute; top: -30%; bottom: -30%; width: 34%; left: 0; background: linear-gradient(100deg, transparent 0%, rgba(207, 230, 255, .07) 45%, rgba(255, 255, 255, .1) 50%, rgba(207, 230, 255, .07) 55%, transparent 100%); transform: translateX(-160%) skewX(-12deg); animation: reflect 16s var(--ease-io) 3s infinite; pointer-events: none; z-index: 2; mix-blend-mode: screen; }
@keyframes reflect { 0% { transform: translateX(-160%) skewX(-12deg); } 22% { transform: translateX(460%) skewX(-12deg); } 100% { transform: translateX(460%) skewX(-12deg); } }
.term-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 12px var(--mono); color: var(--muted); }
.dots { display: flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(200, 214, 240, .14); } .dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:last-child { background: #28c840; }
.term-pair b { color: #fff; font-weight: 500; }
.term-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--ice); letter-spacing: .12em; font-size: 10px; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(207, 230, 255, .22); background: rgba(207, 230, 255, .06); }
.term-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ice-2); box-shadow: 0 0 8px var(--ice-2); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.term-body { position: relative; padding-bottom: 40px; }
.term-chart { display: block; width: 100%; height: clamp(250px, 27vw, 370px); }
.term-phase { position: absolute; left: 14px; bottom: 8px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 10px; background: rgba(8, 10, 16, .78); border: 1px solid var(--line-2); font: 500 11px var(--mono); color: var(--muted); pointer-events: none; }
.term-phase span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #cfe6ff, #9fb2ff); color: #0b1020; font-weight: 700; }
.term-phase em { font-style: normal; color: var(--ice); }
.term-foot { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.term-foot span { padding: 13px 18px; display: flex; flex-direction: column; gap: 4px; }
.term-foot span + span { border-left: 1px solid var(--line); }
.term-foot em { font: normal 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.term-foot b { font: 600 14px var(--mono); transition: color .3s; min-height: 18px; }
.term-foot .ok { color: var(--ok); } .term-foot .hl { color: var(--ice); }
.term-foot b.flash { animation: footFlash .6s var(--ease); }
@keyframes footFlash { 0% { color: #fff; text-shadow: 0 0 12px rgba(207, 230, 255, .9); } }
.term-controls { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); background: rgba(8, 10, 16, .35); }
.tc-btn { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ice); transition: background var(--t-ui), border-color var(--t-ui), transform var(--t-ui) var(--ease); }
.tc-btn:hover { background: rgba(207, 230, 255, .08); border-color: rgba(207, 230, 255, .45); }
.tc-btn:active { transform: scale(.94); }
.tc-btn svg { width: 14px; height: 14px; }
.tc-btn .ico-play { display: none; }
.tc-btn.is-paused .ico-play { display: block; } .tc-btn.is-paused .ico-pause { display: none; }
.tc-track { flex: 1; height: 2px; border-radius: 2px; background: rgba(200, 214, 240, .12); overflow: hidden; }
.tc-track i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--k, 0)); background: linear-gradient(90deg, #6478e6, #cfe6ff); }
.tc-note { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }

.callout { position: absolute; z-index: 4; pointer-events: none; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 14px; background: rgba(12, 14, 21, .86); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .06) inset; font-size: 13px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; translate: 0 8px; transition: opacity .5s var(--ease), translate .6s var(--ease), border-color .4s, box-shadow .4s, transform .25s var(--ease); }
.callout.shown { opacity: .62; translate: 0 0; }
.callout.is-on { opacity: 1; border-color: rgba(207, 230, 255, .45); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(207, 230, 255, .12), 0 0 36px -12px rgba(157, 203, 255, .6); }
.callout b { display: block; font-weight: 600; line-height: 1.25; }
.callout small { color: var(--muted); font-size: 12px; }
.co-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; flex: none; }
.co-ico svg { width: 15px; height: 15px; }
.co-ico--ok { background: rgba(111, 224, 166, .14); color: var(--ok); }
.co-ico--ice { background: rgba(207, 230, 255, .14); color: var(--ice); }
.co-ico--peri { background: rgba(143, 166, 255, .16); color: var(--peri); font-family: var(--display); }
.co-ico--white { background: rgba(255, 255, 255, .1); color: #fff; }
.co-1 { top: 4px; left: 0; }
.co-2 { right: 10px; top: 0; }
.co-3 { left: 10px; bottom: 0; }
.co-4 { right: 0; bottom: 6px; }
.scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 10px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--dim); opacity: 0; transition: opacity 1s 2.2s; }
.loaded .scroll-hint { opacity: 1; }
.scroll-hint i { width: 1px; height: 40px; background: linear-gradient(var(--ice-2), transparent); animation: drip 2.6s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-height: 960px) { .scroll-hint { display: none; } }

/* ---------- ticker ---------- */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(8, 10, 16, .5); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; align-items: center; gap: 34px; width: max-content; padding: 14px 0; animation: marquee 32s linear infinite; }
.ticker span { font: 500 12px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker i { font-style: normal; color: var(--ice-2); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- signal · noise becomes process ---------- */
.signal { position: relative; padding: clamp(100px, 14vw, 190px) 0 clamp(70px, 9vw, 130px); }
.signal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.signal-text { margin-top: 30px; font: 600 clamp(24px, 2.7vw, 40px)/1.18 var(--display); letter-spacing: -.03em; }
.signal-text .w { color: rgba(243, 245, 250, .16); transition: color .45s, text-shadow .45s; }
.signal-text .w.on { color: #f3f5fa; }
.signal-text .w.hot.on { color: var(--ice); text-shadow: 0 0 18px rgba(157, 203, 255, .45); }
.signal-art { position: relative; }
.signal-labels { display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); padding: 0 4px 10px; }
.signal-labels .sl-process { color: var(--ice-2); }
.signal-labels span { transition: opacity .3s; }
.signal-svg { width: 100%; height: auto; aspect-ratio: 800 / 420; overflow: visible; }
.sig-grid line { stroke: rgba(190, 210, 245, .08); stroke-width: 1; }
.sig-ghost { fill: none; stroke: rgba(143, 166, 255, .22); stroke-width: 1.2; }
.sig-line { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(157, 203, 255, .45)); }
.sig-nodes circle { fill: #0b0d13; stroke: var(--ice); stroke-width: 1.5; }
.sig-nodes circle.core { fill: var(--ice); stroke: none; }
.sig-nodes text { font: 500 13px var(--mono); fill: var(--ice); letter-spacing: .12em; }
.signal-steps { list-style: none; padding: 14px 0 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.signal-steps li { display: flex; flex-direction: column; gap: 6px; font: 600 12px/1.2 var(--body); color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); transition: color .4s, border-color .4s; }
.signal-steps li small { font: 500 10px var(--mono); letter-spacing: .18em; color: var(--dim); }
.signal-steps li.on { color: #fff; border-color: rgba(207, 230, 255, .5); }
.signal-steps li.on small { color: var(--ice-2); }

/* ---------- method ---------- */
.method-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 84px); align-items: stretch; }
.method-stage { position: relative; }
.method-sticky { position: sticky; top: 92px; }
.mchart { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, rgba(24, 27, 37, .86), rgba(9, 10, 15, .94)); border: 1px solid rgba(200, 214, 240, .14); box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 50px 110px -40px rgba(8, 18, 60, .8); }
.mchart::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(207, 230, 255, .6), transparent); }
.mchart-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 12px var(--mono); color: var(--muted); }
.mchart-pair b { color: #fff; font-weight: 500; }
.mchart-tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.mdots { position: relative; list-style: none; margin: 12px 14px 0; padding: 4px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.mdots li { position: relative; z-index: 1; }
.mdots button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px 7px; border-radius: 9px; font: 500 10px/1 var(--mono); color: var(--dim); letter-spacing: .02em; transition: color var(--t-ui); }
.mdots button b { font: 700 13px/1 var(--display); color: var(--muted); letter-spacing: -.02em; transition: color var(--t-ui); }
.mdots button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdots button:hover { color: var(--text); } .mdots button:hover b { color: #fff; }
.mdots button[aria-current="true"] { color: #0b1020; } .mdots button[aria-current="true"] b { color: #0b1020; }
.mdots-glider { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 6); transform: translateX(calc(var(--i, 0) * 100%)); border-radius: 9px; background: linear-gradient(120deg, #eaf3ff, #b9c9ff); box-shadow: 0 8px 24px -10px rgba(157, 203, 255, .8); transition: transform .5s var(--ease); z-index: 0; }
.mchart-body { position: relative; }
.mchart-canvas { display: block; width: 100%; height: clamp(250px, 29vw, 400px); }
.mchart-checks { position: absolute; right: 74px; top: 14px; display: grid; gap: 6px; pointer-events: none; justify-items: end; }
.mchart-checks span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border-radius: 8px; background: rgba(8, 10, 16, .82); border: 1px solid var(--line-2); font: 500 11px var(--mono); color: var(--muted); opacity: 0; transform: translateX(8px); transition: opacity .4s var(--ease), transform .5s var(--ease), border-color .4s, color .4s; }
.mchart-checks span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: rgba(111, 224, 166, .15); border: 1px solid rgba(111, 224, 166, .45); flex: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fe0a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-size: 10px; background-position: center; background-repeat: no-repeat; }
.mchart-checks.on span { opacity: 1; transform: none; color: #fff; border-color: rgba(111, 224, 166, .35); }
.mchart-checks.on span:nth-child(1) { transition-delay: .05s; } .mchart-checks.on span:nth-child(2) { transition-delay: .17s; } .mchart-checks.on span:nth-child(3) { transition-delay: .29s; } .mchart-checks.on span:nth-child(4) { transition-delay: .41s; } .mchart-checks.on span:nth-child(5) { transition-delay: .53s; } .mchart-checks.on span:nth-child(6) { transition-delay: .65s; }
.mchart-journal { position: absolute; right: 14px; bottom: 14px; width: min(300px, calc(100% - 28px)); padding: 12px 14px; border-radius: 12px; background: rgba(8, 10, 16, .9); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.mchart-journal.on { opacity: 1; transform: none; }
.mj-head { display: flex; justify-content: space-between; gap: 10px; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); }
.mj-head b { color: var(--ok); }
.mchart-journal ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.mchart-journal li { display: flex; justify-content: space-between; gap: 12px; font: 500 11px var(--mono); color: var(--muted); opacity: 0; transform: translateX(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.mchart-journal li b { color: var(--ice); font-weight: 500; text-align: right; }
.mchart-journal.on li { opacity: 1; transform: none; }
.mchart-journal.on li:nth-child(1) { transition-delay: .1s; } .mchart-journal.on li:nth-child(2) { transition-delay: .18s; } .mchart-journal.on li:nth-child(3) { transition-delay: .26s; } .mchart-journal.on li:nth-child(4) { transition-delay: .34s; } .mchart-journal.on li:nth-child(5) { transition-delay: .42s; } .mchart-journal.on li:nth-child(6) { transition-delay: .5s; }
.mchart-foot { padding: 12px 18px 14px; border-top: 1px solid var(--line); font: 500 12px var(--mono); color: var(--muted); min-height: 44px; }
.mchart-foot span { display: block; transition: opacity .3s; }
.mchart-foot span.swap { animation: footSwap .45s var(--ease); }
@keyframes footSwap { from { opacity: 0; transform: translateY(4px); } }

.steps { list-style: none; margin: 0; padding: 8px 0 0; display: grid; }
.step { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 22px; min-height: 50vh; align-items: start; padding: 24px 0; scroll-margin-top: 110px; }
.step:last-child { min-height: 40vh; }
.step-rail { position: relative; display: block; width: 30px; height: 100%; }
.step-node { position: absolute; left: 50%; top: 8px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 1.5px solid rgba(207, 230, 255, .35); background: var(--bg); transition: border-color .4s, box-shadow .4s, background .4s; z-index: 1; }
.step-node::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ice); opacity: 0; transform: scale(.4); transition: opacity .35s, transform .45s var(--ease); }
.step-line { position: absolute; left: 50%; top: 24px; bottom: -26px; width: 1px; margin-left: -.5px; background: var(--line-2); }
.step-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ice-2), var(--peri)); transform: scaleY(var(--f, 0)); transform-origin: top; transition: transform .7s var(--ease); }
.step:last-child .step-line { display: none; }
.step-body { opacity: .42; transition: opacity .45s var(--ease), transform .5s var(--ease); transform: translateX(0); }
.step.is-on .step-body { opacity: 1; }
.step.is-on .step-node { border-color: var(--ice); box-shadow: 0 0 0 5px rgba(157, 203, 255, .14), 0 0 20px rgba(157, 203, 255, .5); }
.step.is-on .step-node::after, .step.done .step-node::after { opacity: 1; transform: none; }
.step.done .step-node { border-color: rgba(207, 230, 255, .6); }
.step-n { font: 500 12px var(--mono); letter-spacing: .22em; color: var(--ice-2); }
.step h3 { font: 700 clamp(26px, 2.4vw, 36px)/1.08 var(--display); letter-spacing: -.03em; margin-top: 10px; }
.step p { color: var(--muted); margin-top: 14px; font-size: clamp(15px, 1.1vw, 17px); max-width: 520px; }
.step-facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.step-facts li { font: 500 11px var(--mono); letter-spacing: .06em; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); color: var(--muted); transition: border-color .3s, color .3s, background .3s; }
.step.is-on .step-facts li { color: var(--ice); border-color: rgba(207, 230, 255, .3); background: rgba(207, 230, 255, .05); }
.method-end { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: clamp(30px, 4vw, 60px); padding-top: clamp(30px, 4vw, 50px); border-top: 1px solid var(--line); }
.method-end p { font: 700 clamp(26px, 2.8vw, 42px)/1.08 var(--display); letter-spacing: -.03em; }

/* ---------- curriculum ---------- */
.cur { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.cur-side { position: sticky; top: 96px; align-self: start; min-width: 0; }
.cur-panels { min-width: 0; }
.cur-tabs { position: relative; display: flex; flex-direction: column; gap: 6px; }
.cur-glider { position: absolute; left: 0; right: 0; top: var(--y, 0px); height: var(--h, 0px); border-radius: 16px; background: linear-gradient(120deg, rgba(143, 166, 255, .2), rgba(207, 230, 255, .06)); box-shadow: inset 0 0 0 1px rgba(207, 230, 255, .35), 0 20px 50px -24px rgba(90, 120, 255, .8); transition: top .5s var(--ease), height .5s var(--ease), opacity .3s; pointer-events: none; opacity: 0; }
.cur-glider.ready { opacity: 1; }
.cur-tab { position: relative; z-index: 1; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(13, 15, 22, .5); text-align: left; transition: border-color .3s, background .3s; }
.cur-tab:hover { border-color: var(--line-2); background: rgba(13, 15, 22, .7); }
.cur-tab .n { font: 500 12px var(--mono); color: var(--dim); transition: color .3s; }
.cur-tab .t { font: 600 15px/1.25 var(--display); letter-spacing: -.02em; }
.cur-tab .c { display: inline-flex; align-items: center; gap: 8px; font: 500 11px var(--mono); color: var(--dim); white-space: nowrap; }
.cur-tab .c i { font-style: normal; display: inline-block; transition: transform .3s var(--ease), color .3s; }
.cur-tab:hover .c i { transform: translateX(3px); color: var(--ice); }
.cur-tab[aria-selected="true"] { border-color: transparent; }
.cur-tab[aria-selected="true"] .n { color: var(--ice-2); }
.cur-tab[aria-selected="true"] .c i { color: var(--ice); }
.cur-panels { position: relative; display: grid; }
.cur-panel { grid-area: 1 / 1; position: relative; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); padding: clamp(24px, 3vw, 40px); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s .45s; }
.cur-panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .08s, transform .6s var(--ease) .08s, visibility 0s; }
.cp-num { position: absolute; right: 10px; top: -30px; font: 800 clamp(140px, 18vw, 240px)/1 var(--display); letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1px rgba(207, 230, 255, .1); pointer-events: none; user-select: none; }
.cp-tag { display: flex; flex-wrap: wrap; gap: 8px 14px; font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ice-2); }
.cp-tag span { color: var(--dim); }
.cur-panel h3 { font: 700 clamp(28px, 3vw, 44px)/1.05 var(--display); letter-spacing: -.035em; margin-top: 14px; position: relative; }
.cp-blurb { color: var(--muted); margin-top: 14px; max-width: 560px; position: relative; }
.lessons { position: relative; list-style: none; margin: 28px 0 0; padding: 0 0 0 30px; display: grid; gap: 6px; }
.lessons::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); }
.lessons::after { content: ""; position: absolute; left: 7px; top: 14px; height: calc((100% - 28px) * var(--k, 0)); width: 1px; background: linear-gradient(var(--ice-2), var(--peri)); transition: height .5s var(--ease); }
.lesson { position: relative; }
.lesson::before { content: ""; position: absolute; left: -27px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid rgba(207, 230, 255, .35); transition: background .3s, border-color .3s, box-shadow .3s; }
.lesson.is-sel::before, .lesson.passed::before { background: var(--ice); border-color: var(--ice); }
.lesson.is-sel::before { box-shadow: 0 0 0 4px rgba(157, 203, 255, .15); }
.lesson-btn { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); text-align: left; transition: border-color .25s, background .25s; }
.lesson-btn:hover { border-color: rgba(207, 230, 255, .3); background: rgba(143, 166, 255, .07); }
.lesson-btn small { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--ice-2); }
.lesson-btn b { font-weight: 600; font-size: 15px; }
.lesson-btn .lm { display: inline-flex; align-items: center; gap: 8px; font: 500 11px var(--mono); color: var(--dim); letter-spacing: .06em; white-space: nowrap; }
.lesson-btn .lm i { font-style: normal; transition: transform .3s var(--ease); }
.lesson-btn:hover .lm i { transform: translateX(3px); }
.lesson.is-sel .lesson-btn { border-color: rgba(207, 230, 255, .42); background: linear-gradient(120deg, rgba(143, 166, 255, .14), rgba(207, 230, 255, .04)); }
.lesson.is-sel .lesson-btn .lm i { transform: rotate(90deg); }
.lesson-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.lesson.is-sel .lesson-more { grid-template-rows: 1fr; }
.lesson-more > div { overflow: hidden; }
.lesson-more p { padding: 12px 18px 6px 82px; color: var(--muted); font-size: 15px; }
.lesson-more .lmeta { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 18px 12px 82px; }
.lesson-more .lmeta span { font: 500 10.5px var(--mono); letter-spacing: .08em; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--ice); background: rgba(207, 230, 255, .05); }

/* ---------- features · learning hub ---------- */
.hubgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s; }
.tile::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(207, 230, 255, .35), transparent); z-index: 2; }
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tile--hub { grid-column: span 7; grid-row: span 2; }
.tile--unlock, .tile--chat { grid-column: span 5; }
.tile--path { grid-column: span 8; }
.tile--safe { grid-column: span 4; }
.tile--pay { grid-column: span 12; flex-direction: row; align-items: center; }
.tile--pay .tile-vis { flex: 1.4; min-height: 150px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; } .tile--pay .tile-copy { flex: 1; padding: 28px; }
.tile-vis { position: relative; min-height: 220px; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.tile--hub .tile-vis { flex: 1; display: flex; align-items: stretch; }
.tile-copy { padding: 0 28px 28px; }
.tile-n { font: 500 11px var(--mono); color: var(--ice-2); letter-spacing: .16em; }
.tile-copy h3 { font: 700 21px/1.15 var(--display); letter-spacing: -.025em; margin-top: 8px; }
.tile-copy p { color: var(--muted); font-size: 15px; margin-top: 8px; }
/* spotlight border (shared) */
[data-spot] { --mx: 50%; --my: 50%; }
[data-spot]::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 3; padding: 1px; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(207, 230, 255, .75), rgba(143, 166, 255, .2) 45%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
[data-spot]:hover::after { opacity: 1; }

/* dashboard */
.dash { width: 100%; display: flex; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(8, 10, 16, .78); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); min-height: 330px; }
.dash-main { display: flex; flex-direction: column; }
.dash-panes { flex: 1; }
.dash-pane { display: flex; flex-direction: column; }
.dash-spark { margin-top: auto; padding-top: 14px; flex: 1; display: flex; flex-direction: column; min-height: 110px; }
.dash-spark-head { display: flex; justify-content: space-between; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.dash-spark-head b { color: var(--ice); font-weight: 500; }
.dash-spark svg { width: 100%; height: 64px; flex: 1; min-height: 64px; overflow: visible; display: block; }
.dash-spark .sp-area { fill: url(#sp-fill); }
.dash-spark .sp-line { fill: none; stroke: #9fb2ff; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.8s var(--ease) .3s; filter: drop-shadow(0 0 5px rgba(157, 203, 255, .5)); }
.in .sp-line { stroke-dashoffset: 0; }
.dash-spark .sp-dot { fill: #fff; }
.dash-spark-days { display: flex; justify-content: space-between; font: 500 9.5px var(--mono); letter-spacing: .1em; color: var(--dim); margin-top: 6px; }
.dash-side { width: 50px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; }
.dash-side i { width: 20px; height: 20px; border-radius: 6px; background: rgba(207, 230, 255, .08); }
.dash-side i.on { background: linear-gradient(135deg, #9fb2ff, #cfe6ff); box-shadow: 0 0 14px rgba(157, 203, 255, .5); }
.dash-main { flex: 1; padding: 16px 18px 18px; min-width: 0; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-tabs { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.dash-tabs button { position: relative; z-index: 1; padding: 6px 12px; font: 500 12px var(--body); color: var(--muted); border-radius: 8px; transition: color var(--t-ui); }
.dash-tabs button.on { color: #0b1020; }
.dash-glider { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); transform: translateX(calc(var(--i, 0) * 100%)); border-radius: 8px; background: linear-gradient(120deg, #eaf3ff, #b9c9ff); transition: transform .45s var(--ease); }
.dash-demo { font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; }
.dash-panes { position: relative; display: grid; margin-top: 14px; }
.dash-pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .35s var(--ease), transform .4s var(--ease), visibility 0s .35s; }
.dash-pane.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease) .05s, transform .45s var(--ease) .05s, visibility 0s; }
.dash-hello { font: 600 15px var(--display); letter-spacing: -.01em; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.dstat { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); min-width: 0; }
.dstat b { display: block; font: 700 18px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dstat small { display: block; font-size: 10.5px; color: var(--dim); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ring { width: 40px; height: 40px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring-track { stroke: rgba(207, 230, 255, .1); }
.ring-bar { stroke: url(#lg-brand); stroke: #9fb2ff; stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: 125.66; transition: stroke-dashoffset 1.3s var(--ease) .2s; }
.in .ring-bar, .ring.in .ring-bar { stroke-dashoffset: calc(125.66 * (1 - var(--p, 0))); }
.dash-rows, .dash-list { display: grid; gap: 6px; margin-top: 12px; font-size: 12.5px; }
.dash-rows span, .dash-list span { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 9px; background: rgba(255, 255, 255, .025); border: 1px solid transparent; transition: background .4s, border-color .4s; }
.dash-rows i, .dash-list i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; transition: background .4s, box-shadow .4s; }
.dash-rows .active i, .dash-list .active i { background: var(--ice-2); box-shadow: 0 0 8px var(--ice-2); }
.dash-rows .next i, .dash-list .next i { background: rgba(207, 230, 255, .25); }
.dash-rows .active, .dash-list .active { border-color: rgba(207, 230, 255, .25); background: rgba(143, 166, 255, .08); }
.dash-rows em, .dash-list em { margin-left: auto; font-style: normal; color: var(--dim); font-size: 11px; white-space: nowrap; }
.dash-rows .done em, .dash-list .done em { color: var(--ok); }
.dash-journal { display: grid; gap: 6px; }
.dj-row { display: flex; justify-content: space-between; padding: 9px 11px; border-radius: 9px; background: rgba(255, 255, 255, .025); font-size: 12.5px; }
.dj-row b { font-family: var(--mono); font-weight: 500; } .dj-row .ok { color: var(--ok); } .dj-row .red { color: var(--red); }
.dj-note { font-size: 11px; color: var(--dim); padding: 4px 2px 0; }

/* unlock */
.tile--unlock .tile-vis { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.unlock { position: relative; width: 140px; height: 140px; flex: none; }
.unlock-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.unlock circle { fill: none; stroke-width: 5; }
.u-track { stroke: rgba(207, 230, 255, .1); }
.u-bar { stroke: #9fb2ff; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: calc(326.73 * (1 - var(--u, 0))); filter: drop-shadow(0 0 6px rgba(157, 203, 255, .6)); transition: stroke .3s; }
.unlock.done .u-bar { stroke: var(--ok); filter: drop-shadow(0 0 6px rgba(111, 224, 166, .6)); }
.u-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.u-center b { font: 700 26px var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.u-center small { font: 500 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 90px; margin-top: 4px; }
.ucheck { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 190px; }
.ucheck li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dim); transition: color .4s; }
.ucheck li i { width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .35s, border-color .35s; position: relative; }
.ucheck li i::after { content: ""; width: 5px; height: 9px; border: solid #0b1020; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); margin-top: -2px; }
.ucheck li.on { color: #fff; }
.ucheck li.on i { background: var(--ok); border-color: var(--ok); }
.ucheck li.on i::after { transform: rotate(45deg) scale(1); }

/* chat demo */
.chat { width: 100%; max-width: 360px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(8, 10, 16, .78); overflow: hidden; }
.chat-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.chat-head > div { min-width: 0; flex: 1; }
.chat-head small { display: block; color: var(--dim); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-demo { font: 500 9px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ice-2); padding: 4px 7px; border: 1px solid rgba(207, 230, 255, .25); border-radius: 6px; white-space: nowrap; }
.chat-av { position: relative; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 800 14px var(--display); background: linear-gradient(135deg, #2f54c8, #9fb2ff); flex: none; }
.chat-av i { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); border: 2px solid #0b0d13; }
.chat-feed { height: 156px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.msg { max-width: 86%; padding: 8px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.4; animation: msgIn .5s var(--ease); }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, #3457d2, #6478e6); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: rgba(207, 230, 255, .08); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.typing { display: flex; gap: 4px; padding: 11px 12px; }
.msg.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ice); animation: blink 1s infinite; } .msg.typing i:nth-child(2) { animation-delay: .2s; } .msg.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }

/* course path */
.tile--path .tile-vis { display: block; padding: 24px 24px 18px; min-height: 0; }
.path-mods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; font: 500 10px var(--mono); letter-spacing: .06em; color: var(--dim); text-transform: uppercase; }
.path-mods span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 8px; border-bottom: 1px solid var(--line); transition: color .4s, border-color .4s; }
.path-mods span.on { color: var(--ice); border-color: rgba(207, 230, 255, .5); }
.path-svg { width: 100%; height: 120px; overflow: visible; margin-top: 10px; }
.path-base { fill: none; stroke: rgba(207, 230, 255, .14); stroke-width: 1.5; }
.path-draw { fill: none; stroke: url(#sig-grad); stroke: #9fb2ff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; filter: drop-shadow(0 0 6px rgba(157, 203, 255, .5)); transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.in .path-draw { stroke-dashoffset: 0; }
.path-ticks circle { fill: var(--bg-2); stroke: rgba(207, 230, 255, .4); stroke-width: 1; transition: fill .3s, stroke .3s; }
.path-ticks circle.on { fill: var(--ice); stroke: var(--ice); }
.path-ticks circle.cp { stroke: var(--peri); r: 4; }
.path-marker { fill: #fff; filter: drop-shadow(0 0 8px rgba(207, 230, 255, .9)); }
.path-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font: 500 11px var(--mono); letter-spacing: .1em; color: var(--dim); }
.path-meta b { color: var(--ice); font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* radar */
.radar { position: relative; width: 150px; height: 150px; border-radius: 50%; }
.radar i { position: absolute; border-radius: 50%; }
.radar .r1 { inset: 0; border: 1px solid rgba(207, 230, 255, .18); } .radar .r2 { inset: 22%; border: 1px solid rgba(207, 230, 255, .14); } .radar .r3 { inset: 42%; border: 1px solid rgba(207, 230, 255, .1); }
.radar .sweep { inset: 0; background: conic-gradient(from 0deg, transparent 0 72%, rgba(157, 203, 255, .45) 99%, #fff 100%); animation: spinR 6s linear infinite; -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%); mask: radial-gradient(circle, #000 69%, transparent 70%); opacity: .8; }
@keyframes spinR { to { transform: rotate(360deg); } }
.radar .blip { width: 6px; height: 6px; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 3s infinite; }
.radar .b1 { top: 22%; left: 64%; } .radar .b2 { top: 70%; left: 24%; animation-delay: -1s; } .radar .b3 { top: 40%; left: 16%; animation-delay: -2s; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.shield { position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #3457d2, #0f1a44); box-shadow: 0 0 36px rgba(143, 166, 255, .6); color: #fff; }
.shield svg { width: 60%; height: 60%; }
.safe-chips { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 0 12px; }
.safe-chips span { font: 500 10px var(--mono); padding: 5px 9px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(8, 10, 16, .7); color: var(--ice); }

/* pay lanes */
.pay-lanes { width: 100%; min-width: 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lane { overflow: hidden; min-width: 0; width: 100%; }
.lane-track { display: flex; gap: 12px; width: max-content; animation: marquee 30s linear infinite; }
.lane .pl { display: inline-flex; align-items: center; justify-content: center; height: 52px; min-width: 116px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.lane .pl img { height: 22px; width: auto; display: block; }
.lane .pl--sq img { height: 32px; border-radius: 4px; }
.pay-badge { display: inline-flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 100%; text-align: center; margin-top: 16px; font: 500 11.5px/1.4 var(--mono); color: var(--ice); padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); }
.pay-badge svg { width: 14px; height: 14px; flex: none; }

/* ---------- how ---------- */
.how-row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-beam { position: absolute; top: 38px; left: 16%; right: 16%; height: 2px; width: 68%; overflow: visible; }
.how-base { stroke: var(--line-2); stroke-width: 1; }
.how-draw { stroke: url(#sig-grad); stroke: #9fb2ff; stroke-width: 1.5; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.in .how-draw { stroke-dashoffset: 0; }
.how-step { text-align: center; padding: 0 16px; display: flex; flex-direction: column; align-items: center; }
.how-node { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(160deg, #1a2238, #0c0e14); border: 1px solid rgba(207, 230, 255, .3); box-shadow: 0 0 0 8px var(--bg), 0 20px 50px -14px rgba(52, 87, 210, .8); color: var(--ice); position: relative; z-index: 1; transition: transform .4s var(--ease), border-color .3s; }
.how-step:hover .how-node { transform: translateY(-4px); border-color: rgba(207, 230, 255, .6); }
.how-node svg { width: 28px; height: 28px; }
.how-step small { margin-top: 26px; font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.how-step h3 { font: 700 22px/1.15 var(--display); letter-spacing: -.025em; margin-top: 10px; }
.how-step p { color: var(--muted); margin-top: 10px; max-width: 300px; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: stretch; }
.pass-stage { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; align-items: center; }
.pass-wrap { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; --flip: 0deg; --ang: 0deg; perspective: 1400px; width: min(520px, 100%); }
.pass { position: relative; width: 100%; aspect-ratio: 1.586; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip))); transition: transform .9s var(--ease); outline: none; cursor: pointer; border-radius: 24px; }
.pass:focus-visible { outline: 2px solid var(--ice-2); outline-offset: 8px; }
.pass-wrap.active .pass { transition: transform .18s linear; }
.pass-wrap.flipping .pass { transition: transform .95s var(--ease); }
.pass-face { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: linear-gradient(135deg, #1b1f2a 0%, #0c0e15 46%, #181c26 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .6), 0 40px 80px -30px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(90, 120, 255, .5); }
.pass-back { transform: rotateY(180deg); }
.pass-metal { position: absolute; inset: 0; opacity: .9; background: repeating-linear-gradient(100deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at var(--gx) var(--gy), rgba(255, 255, 255, .08), transparent 60%); }
.pass-foil { position: absolute; inset: -30%; mix-blend-mode: screen; opacity: .5; transition: opacity .4s; background: conic-gradient(from var(--ang), #bfe3ff 0deg, #7f93ff 55deg, #d9c7ff 100deg, #ffffff 135deg, #9ad5ff 190deg, #6f7fe8 245deg, #e6d6ff 300deg, #bfe3ff 360deg); -webkit-mask: radial-gradient(40% 60% at var(--gx) var(--gy), #000 0%, rgba(0, 0, 0, .55) 40%, transparent 72%); mask: radial-gradient(40% 60% at var(--gx) var(--gy), #000 0%, rgba(0, 0, 0, .55) 40%, transparent 72%); filter: saturate(1.35) blur(4px); }
.pass-wrap.active .pass-foil { opacity: .75; }
.pass-streak { position: absolute; inset: -40% -20%; pointer-events: none; mix-blend-mode: screen; opacity: .55; background: linear-gradient(115deg, transparent 0%, transparent calc(var(--gx) - 18%), rgba(207, 230, 255, .10) calc(var(--gx) - 7%), rgba(255, 255, 255, .34) calc(var(--gx) - 1%), rgba(207, 230, 255, .10) calc(var(--gx) + 6%), transparent calc(var(--gx) + 16%), transparent 100%); transition: opacity .4s; }
.pass-wrap.active .pass-streak { opacity: .8; }
.pass-glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .26), rgba(255, 255, 255, .05) 28%, transparent 60%); mix-blend-mode: soft-light; pointer-events: none; }
.pass-etch { position: absolute; inset: 14px; border-radius: 14px; pointer-events: none; border: 1px solid rgba(207, 230, 255, .1); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .03); }
.pass-etch::before { content: ""; position: absolute; right: 8%; bottom: 20%; width: 42%; height: 46%; background-image: radial-gradient(circle, rgba(207, 230, 255, .22) 0 .8px, transparent 1.2px); background-size: 6px 6px; -webkit-mask: radial-gradient(60% 60% at 60% 50%, #000, transparent 72%); mask: radial-gradient(60% 60% at 60% 50%, #000, transparent 72%); }
.pass-etch::after { content: ""; position: absolute; left: 6%; top: 38%; width: 30%; height: 1px; background: linear-gradient(90deg, rgba(207, 230, 255, .3), transparent); box-shadow: 0 10px 0 0 rgba(207, 230, 255, .12), 0 20px 0 0 rgba(207, 230, 255, .06); }
.pass-emblem { position: absolute; right: 9.5%; top: 42%; width: 15%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(207, 230, 255, .22); pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(207, 230, 255, .18), transparent 60%); }
.pass-emblem i { position: absolute; border-radius: 50%; border: 1px solid rgba(207, 230, 255, .16); }
.pass-emblem i:nth-child(1) { inset: 18%; } .pass-emblem i:nth-child(2) { inset: 36%; border-style: dashed; } .pass-emblem i:nth-child(3) { inset: 46%; background: rgba(207, 230, 255, .35); border: 0; }
.pass-micro { position: absolute; left: 0; right: 0; bottom: 7px; padding: 0 22px; font: 500 7px var(--mono); letter-spacing: .26em; color: rgba(207, 230, 255, .32); white-space: nowrap; overflow: hidden; pointer-events: none; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
.pass-content { position: relative; z-index: 2; height: 100%; padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; color: #dde3ee; text-shadow: 0 1px 0 rgba(255, 255, 255, .14), 0 -1px 0 rgba(0, 0, 0, .7); }
.pass-top { display: flex; justify-content: space-between; align-items: center; }
.pass-logo { font: 800 clamp(20px, 2.2vw, 28px)/1 var(--display); letter-spacing: -.03em; color: #eef2f8; }
.pass-chip { width: 48px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #e9eef7, #98a3b8 48%, #e3e9f3); box-shadow: 0 2px 6px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.pass-chip i { position: absolute; background: rgba(0, 0, 0, .22); }
.pass-chip i:nth-child(1) { left: 33%; top: 0; bottom: 0; width: 1px; } .pass-chip i:nth-child(2) { left: 66%; top: 0; bottom: 0; width: 1px; } .pass-chip i:nth-child(3) { top: 50%; left: 0; right: 0; height: 1px; }
.pass-mid { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.pass-kicker { font: 500 10px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: rgba(207, 230, 255, .7); }
.pass-title { font: 700 clamp(22px, 2.8vw, 36px)/1.02 var(--display); letter-spacing: -.035em; color: #f1f4fa; }
.pass-bot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; margin-bottom: 6px; font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(221, 227, 238, .72); }
.pass-serial { letter-spacing: .22em; color: #eef2f8; font-variant-numeric: tabular-nums; }
.pass-strip { height: 44px; margin: -4px calc(-1 * clamp(20px, 2.6vw, 30px)) 20px; background: linear-gradient(#05060a, #0b0d13 50%, #05060a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.pass-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font: 500 11.5px var(--mono); letter-spacing: .08em; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pass-row span { color: rgba(221, 227, 238, .62); text-transform: uppercase; font-size: 10px; letter-spacing: .16em; }
.pass-row b { font-weight: 500; color: #eef2f8; text-align: right; }
.pass-barcode { margin-top: auto; height: 36px; background: repeating-linear-gradient(90deg, #e6ebf5 0 2px, transparent 2px 4px, #e6ebf5 4px 5px, transparent 5px 9px, #e6ebf5 9px 12px, transparent 12px 14px); opacity: .7; border-radius: 3px; }
.pass-fine { margin-top: 8px; font: 500 9px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(221, 227, 238, .55); }
.pass-shadow { width: 70%; height: 30px; margin: 40px auto 0; border-radius: 50%; background: radial-gradient(rgba(90, 120, 255, .45), transparent 70%); filter: blur(10px); transform: scaleX(var(--sh, 1)); transition: transform .4s var(--ease); }
.pass-hint { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: min(520px, 100%); margin-top: 6px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.pass-hint-text { display: inline-flex; align-items: center; gap: 8px; }
.hint-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice-2); box-shadow: 0 0 8px var(--ice-2); }
.pass-flip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line-2); font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ice); transition: border-color var(--t-ui), background var(--t-ui); }
.pass-flip:hover { border-color: rgba(207, 230, 255, .5); background: rgba(207, 230, 255, .06); }
.pass-flip svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.pass-flip:hover svg { transform: rotate(180deg); }
.incl { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; width: min(520px, 100%); }
.incl li { position: relative; padding-left: 32px; color: var(--muted); font-size: 15px; }
.incl li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, #3457d2, #9fb2ff); box-shadow: 0 0 12px rgba(157, 203, 255, .45); }
.incl li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.plan-switch { --n: 3; --i: 0; position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 32px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(13, 15, 22, .7); max-width: 100%; }
.plan-switch button { position: relative; z-index: 1; padding: 11px 22px; font-weight: 600; font-size: 14px; color: var(--muted); transition: color var(--t-ui); border-radius: 999px; white-space: nowrap; }
.plan-switch button.on { color: #0b1020; }
.plan-switch button[hidden] { display: none; }
.plan-glider { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / var(--n)); transform: translateX(calc(var(--i) * 100%)); border-radius: 999px; background: linear-gradient(120deg, #eaf3ff, #b9c9ff); box-shadow: 0 0 30px -6px rgba(157, 203, 255, .7); transition: transform .5s var(--ease), width .3s; }
.plans { position: relative; margin-top: 18px; display: grid; }
.plan { grid-area: 1 / 1; position: relative; padding: 30px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(24, 28, 40, .78), rgba(12, 13, 19, .9)); opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s; overflow: hidden; }
.plan::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(207, 230, 255, .4), transparent); }
.plan.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .45s var(--ease) .08s, transform .55s var(--ease) .08s, visibility 0s; }
.plan--full { box-shadow: 0 40px 100px -40px rgba(52, 87, 210, .8); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-tag { font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ice-2); }
.plan-pop { font: 600 11px var(--mono); letter-spacing: .1em; padding: 5px 10px; border-radius: 99px; background: rgba(157, 203, 255, .12); color: var(--ice); border: 1px solid rgba(157, 203, 255, .3); }
.klarna-mark { font-weight: 800; padding: 4px 10px; border-radius: 8px; background: #ffb3c7; color: #17120f; font-size: 13px; }
.plan-price { display: flex; align-items: baseline; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.plan-price b { font: 800 clamp(48px, 5.4vw, 76px)/1 var(--display); letter-spacing: -.05em; background: linear-gradient(180deg, #fff, #c9dbff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan > p { color: var(--muted); margin: 14px 0 24px; }
.plan .fine { font-size: 12.5px; color: var(--dim); margin: 16px 0 0; }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pay-row--logos { align-items: center; gap: 8px; }
.pay-row--logos img { height: 30px; width: auto; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); box-sizing: border-box; }
.pay-row--logos img.sq { padding: 4px 8px; }
.interac-logo { height: 38px; width: auto; display: block; }
.plan--interac { box-shadow: 0 40px 100px -40px rgba(253, 185, 19, .3); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; font-size: 13px; color: var(--muted); }
.trust span { display: inline-flex; gap: 8px; align-items: center; }
.trust svg { width: 15px; height: 15px; color: var(--ice-2); flex: none; }
.legal { margin-top: 16px; font-size: 12px; color: var(--dim); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.faq-head { position: sticky; top: 110px; align-self: start; margin: 0; }
.faq-head .btn { margin-top: 28px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 18px; border: 1px solid var(--line); background: rgba(13, 15, 22, .55); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-list details:hover { border-color: var(--line-2); }
.faq-list details[open] { border-color: rgba(207, 230, 255, .35); background: linear-gradient(160deg, rgba(27, 43, 95, .26), rgba(13, 15, 22, .65)); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 24px; font: 600 clamp(15px, 1.25vw, 18px)/1.3 var(--display); letter-spacing: -.015em; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background .3s, border-color .3s; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary i { transform: rotate(180deg); background: linear-gradient(135deg, #3457d2, #9fb2ff); border-color: transparent; }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details > div { padding: 0 24px; color: var(--muted); overflow: hidden; }
.faq-list details > div > p { padding-bottom: 22px; }

/* ---------- talk ---------- */
.talk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.talk-title { font: 800 clamp(64px, 10vw, 150px)/.9 var(--display); letter-spacing: -.06em; margin-top: 22px; }
.talk-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.talk-meta span { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); font: 500 12px var(--mono); color: var(--ice); background: rgba(143, 166, 255, .07); }
.talk-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.talk-points li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.talk-points li::before { content: "✦"; color: var(--ice-2); font-size: 12px; }
.talk-card { position: relative; padding: clamp(24px, 3vw, 38px); border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(22, 26, 36, .8), rgba(9, 10, 15, .92)); box-shadow: 0 50px 120px -50px rgba(52, 87, 210, .7); display: grid; gap: 14px; overflow: hidden; }
.talk-card::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(207, 230, 255, .5), transparent); }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 24px 16px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(8, 10, 16, .6); color: var(--text); font: 400 15px var(--body); outline: none; resize: vertical; transition: border-color .25s, box-shadow .25s; color-scheme: dark; }
.field textarea { min-height: 110px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--dim); pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s, top .25s var(--ease); }
.field input:focus, .field textarea:focus { border-color: rgba(157, 203, 255, .7); box-shadow: 0 0 0 4px rgba(143, 166, 255, .16), 0 0 30px -8px rgba(157, 203, 255, .5); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field--static label { top: 8px; font-size: 11px; color: var(--ice-2); letter-spacing: .04em; }
.field.err input, .field.err textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 122, 122, .12); }
.field-err { display: block; min-height: 0; max-height: 0; overflow: hidden; font-size: 12px; color: var(--red); padding: 0 4px; transition: max-height .3s var(--ease), padding .3s; }
.field.err .field-err { max-height: 40px; padding: 6px 4px 0; }
.seg-label { font-size: 12px; color: var(--ice-2); margin-top: 4px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 11px 6px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.seg span:hover { border-color: rgba(207, 230, 255, .4); }
.seg input:checked + span { color: #0b1020; background: linear-gradient(120deg, #eaf3ff, #b9c9ff); border-color: transparent; box-shadow: 0 0 24px -6px rgba(157, 203, 255, .7); }
.seg input:focus-visible + span { outline: 2px solid var(--ice-2); outline-offset: 2px; }
.talk-note { font-size: 12.5px; color: var(--dim); text-align: center; transition: color .3s; }
.talk-note.err { color: var(--red); }
.talk-done { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 30px; background: linear-gradient(160deg, #121a2e, #07080c); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.talk-card.sent .talk-done { opacity: 1; pointer-events: auto; }
.talk-check svg { width: 80px; height: 80px; fill: none; stroke: var(--ice); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(157, 203, 255, .7)); }
.talk-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; } .talk-check path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.talk-card.sent .talk-check circle { animation: dash .8s var(--ease) forwards; } .talk-card.sent .talk-check path { animation: dash .5s var(--ease) .6s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.talk-done h3 { font: 700 28px var(--display); letter-spacing: -.03em; }
.talk-done p { color: var(--muted); }

/* ---------- final ---------- */
.final { position: relative; padding: clamp(110px, 15vw, 220px) 0; text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 130vw); aspect-ratio: 2.2; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(52, 87, 210, .32), rgba(52, 87, 210, .08) 55%, transparent 72%); z-index: -1; }
.final-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(207, 230, 255, .06) calc(50% - 1px), rgba(207, 230, 255, .06) 50%, transparent 50%), linear-gradient(transparent calc(50% - 1px), rgba(207, 230, 255, .06) calc(50% - 1px), rgba(207, 230, 255, .06) 50%, transparent 50%); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final-title { font: 800 clamp(36px, 6vw, 96px)/1 var(--display); letter-spacing: -.05em; }
.final .sec-sub { margin: 0 auto; }
.final-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.final-fine { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 80px; padding-bottom: env(safe-area-inset-bottom); overflow: hidden; background: linear-gradient(180deg, transparent, rgba(14, 24, 58, .28)); }
.foot-main { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; }
.foot-brand p { color: var(--muted); margin-top: 18px; max-width: 320px; font-size: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.foot-col a { color: var(--muted); font-size: 14px; transition: color .25s; width: fit-content; background-image: linear-gradient(var(--ice), var(--ice)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease), color .25s; padding-bottom: 1px; }
.foot-col a:hover { color: #fff; background-size: 100% 1px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.to-top { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .25s, border-color .25s, transform var(--t-ui) var(--ease); }
.to-top:hover { background: rgba(143, 166, 255, .16); border-color: var(--ice-2); transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; }
.disc { margin-top: 20px; font-size: 12px; color: var(--dim); max-width: 980px; }
.disc b { color: var(--muted); }
.wordmark { --wx: 50%; --wy: 50%; position: relative; margin-top: 40px; font: 800 clamp(56px, 15.2vw, 250px)/.8 var(--display); letter-spacing: -.06em; text-align: center; user-select: none; white-space: nowrap; }
.wm-outline { display: block; color: transparent; -webkit-text-stroke: 1px rgba(207, 230, 255, .16); }
.wm-fill { position: absolute; inset: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-mask: radial-gradient(260px circle at var(--wx) var(--wy), #000 20%, transparent 70%); mask: radial-gradient(260px circle at var(--wx) var(--wy), #000 20%, transparent 70%); opacity: 0; transition: opacity .5s; }
.wordmark:hover .wm-fill { opacity: 1; }

/* floating back-to-top with progress ring */
.float-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; background: rgba(10, 12, 18, .8); border: 1px solid var(--line-2); display: grid; place-items: center; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s var(--ease), transform .35s var(--ease), background .2s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.float-top.show { opacity: 1; transform: none; pointer-events: auto; }
.float-top:hover { background: rgba(143, 166, 255, .18); }
.float-top svg:first-child { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.float-top circle { fill: none; stroke-width: 1.5; }
.ft-track { stroke: transparent; }
.ft-bar { stroke: var(--ice-2); stroke-dasharray: 100.53; stroke-dashoffset: calc(100.53 * (1 - var(--p, 0))); }
.ft-arrow { width: 16px; height: 16px; position: relative; transition: transform var(--t-ui) var(--ease); }
.float-top:hover .ft-arrow { transform: translateY(-2px); }

/* ---------- account modal, toast, Interac popup (used by blue-store.js) ---------- */
.sb-modal { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 20px; background: rgba(4, 5, 9, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.sb-modal.open { opacity: 1; pointer-events: auto; }
.sb-card { position: relative; width: min(440px, 100%); display: grid; gap: 14px; padding: 34px 28px 26px; border-radius: var(--r); background: var(--panel-solid); border: 1px solid var(--line-2); box-shadow: 0 30px 90px -20px rgba(74, 123, 224, .4), inset 0 1px 0 rgba(255, 255, 255, .06); transform: translateY(14px) scale(.98); transition: transform .4s var(--ease); }
.sb-modal.open .sb-card { transform: none; }
.sb-card h3 { font: 600 24px var(--display); letter-spacing: -.01em; }
.sb-sub, .sb-fine { color: var(--muted); font-size: 14px; line-height: 1.5; }
.sb-fine { font-size: 12.5px; }
.sb-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; color: var(--muted); font-size: 22px; line-height: 1; background: transparent; border: 0; cursor: pointer; }
.sb-x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.sb-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.sb-tabs button { height: 36px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: 600 14px var(--body); cursor: pointer; transition: background .25s, color .25s; }
.sb-tabs button.on { background: linear-gradient(120deg, #eaf3ff, #b9c9ff); color: #0b1020; }
.sb-err { min-height: 18px; color: var(--red); font-size: 13.5px; }
.sb-toast { position: fixed; left: 50%; bottom: 28px; z-index: 9500; transform: translate(-50%, 20px); opacity: 0; padding: 13px 20px; border-radius: 14px; background: var(--panel-solid); border: 1px solid var(--line-2); color: var(--text); font-size: 14.5px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.sb-toast.show { opacity: 1; transform: translate(-50%, 0); }
.sb-toast.err { border-color: rgba(255, 122, 122, .5); color: #ffd1d1; }
.itx-card { width: min(480px, 100%); gap: 12px; max-height: calc(100svh - 40px); overflow-y: auto; }
.itx-steps { display: grid; gap: 10px; margin: 2px 0 4px; padding: 0; list-style: none; counter-reset: itx; }
.itx-steps li { counter-increment: itx; position: relative; padding: 12px 14px 12px 46px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 14px; line-height: 1.5; color: var(--muted); }
.itx-steps li::before { content: counter(itx); position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--mono); color: #0b1020; background: linear-gradient(120deg, #eaf3ff, #b9c9ff); }
.itx-steps b { color: var(--text); }
.itx-copy { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 8px 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); }
.itx-copy code { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 600 14px var(--mono); color: var(--text); }
.itx-copy button { flex: none; font: 600 12px var(--body); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; }
.itx-copy button:hover { border-color: var(--ice); }
.itx-copy button.done { color: var(--ok); border-color: rgba(111, 224, 166, .45); }
.itx-note { padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; background: rgba(253, 185, 19, .08); border: 1px solid rgba(253, 185, 19, .3); color: #f3dca0; }
.itx-done { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 6px 0; }
.itx-done .itx-ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(111, 224, 166, .12); color: var(--ok); }
.itx-done .itx-ok svg { width: 28px; height: 28px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .hero-title { font-size: clamp(42px, 6.2vw, 92px); }
  .mdots button span { display: none; }
  .mdots button { padding: 8px 2px 7px; }
  .method-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile--hub { grid-column: span 12; grid-row: auto; }
  .tile--unlock, .tile--chat { grid-column: span 6; }
  .tile--path { grid-column: span 7; } .tile--safe { grid-column: span 5; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 44px); align-items: start; }
  .hero-grid, .pricing-grid, .faq-grid, .talk-grid, .signal-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; margin: 10px auto 0; width: 100%; }
  .hero-stage { padding: 52px 12px 54px; } .orbit-anchor { inset: 52px 12px 54px; }
  .hero-frame { display: none; }
  .cur { grid-template-columns: 1fr; }
  .cur-side { position: relative; top: 0; }
  .cur-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; gap: 8px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .cur-tabs::-webkit-scrollbar { display: none; }
  .cur-tab { flex: 0 0 240px; grid-template-columns: 34px minmax(0, 1fr); scroll-snap-align: start; }
  .cur-tab .c { display: none; }
  .cur-glider { top: 2px; bottom: 8px; height: auto; left: var(--x, 0px); right: auto; width: var(--w, 0px); transition: left .5s var(--ease), width .5s var(--ease), opacity .3s; }
  .pass-stage, .faq-head { position: relative; top: 0; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .signal-art { order: -1; }
}
@media (max-width: 900px) {
  .section { padding: clamp(80px, 12vw, 120px) 0; }
  .method-grid { display: block; }
  .method-stage { position: sticky; top: 64px; z-index: 5; margin-bottom: 12px; }
  .method-sticky { position: static; }
  .mchart { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); background: linear-gradient(160deg, rgba(24, 27, 37, .97), rgba(9, 10, 15, .98)); }
  .mchart-head { padding: 10px 14px; }
  .mchart-canvas { height: clamp(170px, 40vw, 260px); }
  .mdots { margin: 8px 10px 0; }
  .mdots button span { display: none; }
  .mdots button { padding: 7px 2px; min-height: 40px; }
  /* overlays become compact strips under the chart instead of covering it */
  .mchart-checks { position: static; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px; padding: 0 10px; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), padding .3s; }
  .mchart-checks.on { max-height: 120px; padding: 0 10px 8px; }
  .mchart-checks span { font-size: 9.5px; padding: 3px 7px 3px 4px; transform: none; }
  .mchart-journal { position: static; width: auto; margin: 0 10px; max-height: 0; overflow: hidden; padding: 0 12px; border-width: 0; opacity: 1; transform: none; transition: max-height .45s var(--ease), padding .3s, margin .3s, border-width 0s .3s; }
  .mchart-journal.on { max-height: 220px; padding: 10px 12px; margin: 0 10px 10px; border-width: 1px; }
  .mchart-journal li, .mj-head { font-size: 10px; }
  .mchart-foot { padding: 9px 14px 11px; font-size: 11px; min-height: 0; }
  .steps { padding-top: 6px; }
  .step { min-height: 0; padding: 22px 0; gap: 16px; }
  .step:last-child { min-height: 0; }
  .step-body { opacity: .7; }
  .step-line { bottom: -22px; }
  .tile--path { grid-column: span 12; } .tile--safe { grid-column: span 12; }
  .tile--pay { flex-direction: column; align-items: stretch; }
  .tile--pay .tile-copy { padding: 0 28px 28px; }
  .how-row { grid-template-columns: 1fr; gap: 44px; } .how-beam { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 60px; }
  .hero-title { font-size: clamp(40px, 12vw, 56px); margin-top: 22px; }
  .chip-badge .sep, .chip-badge > span:not(.pulse) { display: none; }
  .nav-cta .btn-glow { display: none; }
  .hero-stage { padding: 50px 0 54px; } .orbit-anchor { inset: 50px 0 54px; }
  .callout { padding: 9px 12px 9px 9px; font-size: 12px; gap: 9px; }
  .callout small { font-size: 11px; }
  .co-ico { width: 28px; height: 28px; }
  .co-1 { top: 0; left: 0; } .co-2 { right: 0; top: 0; } .co-3 { left: 0; bottom: 0; } .co-4 { right: 0; bottom: 0; }
  .term-chart { height: clamp(220px, 60vw, 300px); }
  .term-head { gap: 10px; padding: 12px 14px; } .dots { display: none; } .term-pair { white-space: nowrap; }
  .term-tag { font-size: 9px; padding: 4px 7px; letter-spacing: .08em; white-space: nowrap; }
  .dash-demo { display: none; }
  .term-foot { grid-template-columns: repeat(2, 1fr); }
  .term-foot span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); } .term-foot span:nth-child(4) { border-top: 1px solid var(--line); }
  .term-foot span { padding: 11px 14px; }
  .tc-note { display: none; }
  .term-phase { font-size: 10px; left: 10px; bottom: 8px; }
  .hero-stats { flex-wrap: wrap; row-gap: 16px; } .hero-stats div { flex: 0 0 50%; } .hero-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .signal-text { font-size: clamp(22px, 6vw, 30px); }
  .signal-steps { grid-template-columns: repeat(3, 1fr); }
  .tile--unlock, .tile--chat { grid-column: span 12; }
  .tile-copy { padding: 0 22px 24px; }
  .dash-side { display: none; }
  .dash-stats { grid-template-columns: 1fr 1fr; } .dash-stats .dstat:last-child { grid-column: 1 / -1; }
  .path-mods { grid-template-columns: repeat(3, 1fr); }
  .seg { grid-template-columns: 1fr; }
  .lesson-btn { grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; }
  .lesson-btn .lm { display: none; }
  .lesson-more p, .lesson-more .lmeta { padding-left: 14px; }
  .cp-num { font-size: 120px; top: -14px; right: -4px; }
  .plan { padding: 24px 20px; }
  .plan-switch button { padding: 11px 14px; font-size: 13px; }
  .pass-hint { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pass-bot { font-size: 8.5px; letter-spacing: .1em; gap: 8px; } .pass-bot span { white-space: nowrap; }
  .dash-spark-head { font-size: 9px; letter-spacing: .08em; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .float-top { right: 14px; bottom: 14px; }
  .method-stage { top: 58px; }
  .mchart-head { padding: 12px 14px; } .mchart-tag { display: none; }
  .mdots { margin: 10px 10px 0; }
  .step h3 { font-size: 24px; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 38px; }
  .btn-lg { --bh: 52px; padding: 0 22px; font-size: 15px; }
  .hero-actions { gap: 8px; }
  .term-controls { padding: 8px 10px; gap: 8px; }
  .callout b { font-size: 12px; } .callout small { display: none; }
}
@media (max-height: 560px) and (max-width: 1080px) { .mobile-menu { justify-content: flex-start; padding-top: calc(84px + env(safe-area-inset-top)); } .mm-links a { font-size: 26px; } }

/* ---------- touch devices ---------- */
@media (hover: none), (pointer: coarse) {
  input, select, textarea { font-size: 16px !important; }
  .foot-col { gap: 2px; } .foot-col a { padding: 9px 0; }
  .burger { width: 44px; height: 44px; } .burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
  .tile:hover, .cur-tab:hover, .btn:hover, .how-step:hover .how-node { transform: none; }
  .sb-x { width: 44px; height: 44px; }
  .term-reflect { display: none; }
  [data-spot]::after { display: none; }
  /* Paint one upright face at a time on touch screens. The foil and lettering
     can otherwise show through the reverse side during an iPhone 3D flip. */
  .pass-wrap { perspective: none; }
  .pass { transform: none; transform-style: flat; }
  .pass-back { transform: none; }
  .pass[aria-pressed="false"] > .pass-back,
  .pass[aria-pressed="true"] > .pass-front { display: none; }
  .pass-wrap.flipping .pass-face { animation: pass-turn-in .32s var(--ease); }
  .pass-flip { padding: 12px 14px; }
  .tc-btn { width: 38px; height: 38px; }
  .mdots button { min-height: 44px; }
}

@keyframes pass-turn-in { from { transform: scaleX(.08); } to { transform: scaleX(1); } }

/* ---------- reduced motion: full design, static states, simple fades ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] > *, .js .hero-in, .js .hero-title .word { opacity: 1 !important; transform: none !important; }
  .js .word-noise:not(.resolved) .nz { transform: none; opacity: 1; filter: none; }
  .word-noise::after { transform: scaleX(1); }
  .word-light { background-position: -80% 0, 0 0; }
  .term-reflect, .scroll-hint i, .pulse, .radar .sweep { display: none; }
  .ticker-track { animation: none; }
  .lane-track { animation: none; }
  .callout { opacity: .62; translate: 0 0; }
  .callout.is-on { opacity: 1; }
  .in .ring-bar { transition: none; }
  .pass-wrap.flipping .pass-face { animation: none; }
  .loaded .scroll-hint { opacity: 1; }
}
