/* =====================================================================
   Tiltless — home page
   Theme variables come from themes.css (colour theme picked in the app).
   Every "before" state of an animation lives under html.anim, which only
   exists while landing.js runs and the visitor hasn't asked for reduced
   motion — otherwise the page is fully visible and static.
   ===================================================================== */
:root {
  --bg: #07080c; --text: #eef0f6; --dim: #a3a7b6; --muted: #6f7384; --line: rgba(255, 255, 255, .08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --serif: "Instrument Serif", Georgia, serif;
  interpolate-size: allow-keywords;
}
html[data-accent] { --bg: #07080c; }
html[data-theme="light"], html[data-theme="light"][data-accent] { --bg: #f4f5f9; --text: #0f172a; --dim: #475569; --muted: #94a3b8; --line: rgba(15, 23, 42, .1); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: rgba(var(--ac-rgb), .35); }

/* ---------- atmosphere ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora .a1 { width: 52vmax; height: 52vmax; left: -12vmax; top: -18vmax; background: radial-gradient(circle, rgba(var(--aur-1), .55), transparent 65%); }
.aurora .a2 { width: 46vmax; height: 46vmax; right: -14vmax; top: 10vmax; background: radial-gradient(circle, rgba(var(--aur-2), .45), transparent 65%); }
.aurora .a3 { width: 58vmax; height: 58vmax; left: 25vmax; top: 60vmax; background: radial-gradient(circle, rgba(var(--aur-3), .35), transparent 65%); }
html[data-theme="light"] .aurora span { opacity: .35; }
.grain { display: none; } /* film grain + vignette come from themes.css (body::after) */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 30; pointer-events: none; }
.progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent-2), var(--purple), #34d399); box-shadow: 0 0 12px rgba(var(--ac-rgb), .8); }

/* ---------- glass ---------- */
.glass, .f-card, .lp-price, details, .strip, .float, .device, .story-screen, .th-card, .dv-today > *, .scr-edge { background: var(--grain), radial-gradient(130% 120% at 0% 0%, rgba(255, 255, 255, .055), transparent 46%), linear-gradient(180deg, var(--sheen), transparent 40%), var(--glass); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(170%); backdrop-filter: blur(var(--glass-blur)) saturate(170%); border: var(--hair, 1px) solid var(--glass-border); position: relative; }
.f-card, .lp-price, .strip, .th-card, details { box-shadow: inset 0 var(--hair, 1px) 0 rgba(255, 255, 255, .08), 0 1px 1px rgba(0, 0, 0, .3), 0 14px 30px -18px rgba(0, 0, 0, .7), 0 40px 80px -56px rgba(0, 0, 0, .9); }
.f-card::after, .lp-price::after, .strip::after, .device::after, .story-screen::after, .float::after, .th-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: var(--hair, 1px); pointer-events: none; background: linear-gradient(150deg, var(--edge-hi), var(--edge-lo) 34%, var(--edge-lo) 64%, rgba(var(--ac-rgb), .42)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }

/* ---------- type ---------- */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.grad { background: linear-gradient(92deg, var(--accent-2), var(--purple) 45%, #34d399 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad.is-split { background: none; }
.grad.is-split .wi { background-image: linear-gradient(92deg, var(--accent-2), var(--purple) 45%, #34d399 95%); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 900; margin: 22px 0 22px; }
.h1 .serif { font-size: 1.08em; letter-spacing: -.02em; }
.h2 { font-size: clamp(30px, 4.2vw, 58px); letter-spacing: -.04em; line-height: 1.04; font-weight: 900; }
.h2 .serif { font-size: 1.1em; }
.h2.big { font-size: clamp(40px, 7vw, 110px); line-height: 1; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.eyebrow.center { display: block; text-align: center; }
.sub { text-align: center; color: var(--dim); margin: 14px auto 48px; max-width: 620px; font-size: 17px; }
.sub.left { text-align: left; margin: 14px 0 0; }

/* split words: each word rises out of its own mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em 0; margin: 0 -.08em -.1em 0; }
.split .wi { display: inline-block; will-change: transform; }
.anim .split .wi { transform: translate3d(0, 110%, 0); }
.anim .split.go .wi { transform: none; transition: transform 1.1s var(--ease-out) var(--d, 0ms); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .16s var(--ease-out), box-shadow .25s ease, background-color .2s ease, border-color .2s ease; }
.btn:active { transform: scale(.97); }
.btn.primary { color: var(--accent-ink); background: linear-gradient(135deg, var(--purple), var(--accent-deep)); box-shadow: 0 10px 28px -12px rgba(var(--ac-rgb), .9), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn.ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.btn.big { padding: 15px 24px; font-size: 15px; border-radius: 14px; }
@media (hover: hover) and (pointer: fine) {
  .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(var(--ac-rgb), 1), inset 0 1px 0 rgba(255, 255, 255, .26); }
  .btn.ghost:hover { border-color: rgba(var(--ac-rgb), .55); }
}

/* ---------- nav ---------- */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px); border-bottom: 1px solid transparent; transition: transform .45s var(--ease-out), background-color .3s ease, border-color .3s ease; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 68%, transparent); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent-2), var(--purple) 45%, #34d399); box-shadow: 0 0 22px rgba(var(--ac-rgb), .5); transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .logo:hover .logo-mark { transform: rotate(135deg); } }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { color: var(--dim); font-weight: 600; font-size: 14px; transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 10px; padding: 2px; }
.lang button { border: 0; background: none; color: var(--dim); font: 700 12px Inter, sans-serif; padding: 5px 9px; border-radius: 8px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.lang button.on { background: var(--purple-soft); color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: 120px clamp(16px, 5vw, 72px) 80px; max-width: 1400px; margin: 0 auto; }
.hero-copy { position: relative; z-index: 2; will-change: transform, opacity; }
.pill { display: inline-flex; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--accent-text); background: var(--purple-soft); border: 1px solid rgba(var(--ac-rgb), .3); }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--dim); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.cta-row.center { justify-content: center; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--dim); font-size: 13.5px; }
/* intro choreography (runs once, on load) */
.anim .intro { opacity: 0; transform: translate3d(0, 18px, 0); }
.anim[data-ready] .intro { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) var(--d), transform .9s var(--ease-out) var(--d); }
.anim .stage { opacity: 0; transform: translate3d(0, 60px, 0); }
.anim[data-ready] .stage { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) .25s, transform 1.4s var(--ease-out) .25s; }

/* the product, in 3D */
.stage { position: relative; perspective: 1600px; perspective-origin: 50% 20%; padding: 30px 0 60px; }
.device { border-radius: 22px; overflow: hidden; transform-origin: 50% 30%; will-change: transform; box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95), 0 40px 90px -60px rgba(var(--ac-rgb), .75); }
.dv-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.dv-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.dv-bar i:nth-child(1) { background: #f87171; } .dv-bar i:nth-child(2) { background: #fbbf24; } .dv-bar i:nth-child(3) { background: #34d399; }
.dv-bar span { margin-left: 10px; }
.dv-body { display: grid; grid-template-columns: 54px minmax(0, 1fr); }
.dv-side { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; border-right: 1px solid var(--line); }
.dv-side .dv-logo { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--accent-2), #34d399); margin-bottom: 8px; }
.dv-side i { width: 22px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--text) 14%, transparent); }
.dv-side i.on { background: var(--purple); box-shadow: 0 0 10px rgba(var(--ac-rgb), .8); }
.dv-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dv-today { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
.dv-today > * { border-radius: 14px; padding: 10px 12px; }
.dv-flame { display: flex; align-items: center; gap: 6px; font-size: 22px; }
.dv-flame b { font-size: 20px; } .dv-flame small { font-size: 10.5px; color: var(--dim); max-width: 46px; line-height: 1.1; }
.dv-miss { display: flex; flex-direction: column; gap: 3px; font-size: 10.5px; color: var(--dim); min-width: 0; }
.dv-miss b { font-size: 11.5px; color: var(--text); }
.dv-miss span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 15px; position: relative; }
.dv-miss span::before { content: ""; position: absolute; left: 0; top: 3px; width: 9px; height: 9px; border-radius: 3px; border: 1.5px solid var(--line); }
.dv-miss span.ok::before { background: #34d399; border-color: #34d399; }
.dv-ring { display: grid; place-items: center; width: 64px; }
.dv-ring b, .mini-ring b { position: relative; font-weight: 900; }
/* ring = inner disc painted over a conic track */
.dv-ring b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, var(--bg) 0 60%, transparent 61%), conic-gradient(var(--accent-2) 0 .86turn, rgba(255, 255, 255, .08) 0); }
.dv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dv-stats > div { border-radius: 12px; padding: 9px 11px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); min-width: 0; }
.dv-stats small { display: block; font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.dv-stats b { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dv-stats b.up { color: #34d399; }
.dv-chart { height: 150px; border-radius: 12px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); overflow: hidden; }
.dv-chart svg { width: 100%; height: 100%; display: block; }
.dv-line { filter: drop-shadow(0 0 8px rgba(52, 211, 153, .65)); }
.anim .dv-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim .dv-area { opacity: 0; }
.anim[data-ready] .dv-line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-out) .9s; }
.anim[data-ready] .dv-area { opacity: 1; transition: opacity 1.2s ease 1.9s; }
.dv-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.dv-cal i { height: 20px; border-radius: 5px; background: color-mix(in srgb, var(--text) 5%, transparent); border: 1px solid var(--line); }
.dv-cal i.g { background: linear-gradient(180deg, transparent, rgba(52, 211, 153, .3)); border-color: rgba(52, 211, 153, .3); }
.dv-cal i.r { background: linear-gradient(180deg, transparent, rgba(248, 113, 113, .3)); border-color: rgba(248, 113, 113, .3); }
.dv-cal i.b { border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple) inset; }

/* floating cards: depth via scroll (transform, set by JS) + a slow bob (translate) */
.float { position: absolute; border-radius: 16px; padding: 12px 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); will-change: transform; animation: bob 7s ease-in-out infinite; }
.fl-win { left: -6%; bottom: 8%; display: flex; align-items: baseline; gap: 10px; animation-duration: 6.5s; }
.fl-win span { font-weight: 900; color: #34d399; letter-spacing: .06em; text-shadow: 0 0 16px rgba(52, 211, 153, .8); }
.fl-win b { font-size: 22px; font-weight: 900; } .fl-win small { color: var(--dim); font-size: 12px; }
.fl-lvl { right: -4%; top: -2%; display: flex; align-items: center; gap: 12px; animation-duration: 8s; animation-direction: reverse; }
.fl-lvl b { display: block; } .fl-lvl small { color: var(--dim); font-size: 11.5px; }
.mini-ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent-2) 0 .9turn, rgba(255, 255, 255, .08) 0); position: relative; }
.mini-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--bg); }
.mini-ring.big { width: 64px; height: 64px; }
.mini-ring.big b { font-size: 22px; }
.fl-xp { right: 8%; bottom: 0; padding: 10px 14px; font-weight: 900; color: #34d399; text-shadow: 0 0 14px rgba(52, 211, 153, .7); animation-duration: 5.5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.scroll-cue { transition: opacity .5s var(--ease-out); }
.moved .scroll-cue { opacity: 0; pointer-events: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--accent-2), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- marquee ---------- */
.marquee { padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-track { display: flex; gap: 52px; width: max-content; animation: mq 38s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 46s; }
.mq-track span { font-size: clamp(22px, 3vw, 40px); font-weight: 900; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 35%, transparent); white-space: nowrap; }
.mq-row.rev .mq-track span { color: var(--text); -webkit-text-stroke: 0; font-family: var(--serif); font-style: italic; font-weight: 400; opacity: .8; }
.mq-row.rev .mq-track span:nth-child(odd) { color: var(--accent-2); }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- pinned sections ---------- */
.anim .statement { height: 240vh; }
.anim .story { height: 340vh; }
.pin { position: relative; }
.anim .statement .pin, .anim .story .pin, .anim .themes-show .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* statement: words light up as you scroll */
.statement .pin { display: flex; align-items: center; justify-content: center; padding: 120px clamp(16px, 6vw, 96px); }
.words { font-size: clamp(30px, 4.6vw, 70px); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; max-width: 1180px; text-align: center; }
.words .wd { transition: opacity .25s ease; }
.words .wd.hl { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -.01em; color: var(--accent-2); }

/* story: steps on the left, the screen they describe on the right */
.story-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; align-content: center; max-width: 1240px; margin: 0 auto; padding: 100px clamp(16px, 5vw, 64px) 60px; }
.story-text { position: relative; padding-left: 26px; }
.story-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.story-bar i { display: block; height: 100%; transform: scaleY(0); transform-origin: 50% 0; background: linear-gradient(var(--accent-2), #34d399); }
.steps { list-style: none; margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }
.steps li { display: flex; gap: 18px; opacity: .32; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transform: translateX(0); }
.steps li.on { opacity: 1; transform: translateX(8px); }
.steps .num { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--accent-2); min-width: 44px; }
.steps h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 4px; }
.steps p { color: var(--dim); font-size: 15.5px; max-width: 420px; }
html:not(.anim) .steps li { opacity: 1; }
.story-screen { position: relative; height: min(520px, 62vh); border-radius: 24px; overflow: hidden; box-shadow: 0 50px 120px -60px rgba(0, 0, 0, .95), 0 40px 90px -60px rgba(var(--ac-rgb), .7); }
.scr { position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translate3d(0, 26px, 0) scale(.98); transition: opacity .55s var(--ease-out), transform .8s var(--ease-out); pointer-events: none; }
.scr.on { opacity: 1; transform: none; }
.scr-head { display: flex; justify-content: space-between; align-items: center; }
.scr-head b { font-size: 18px; }
.chip { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--purple-soft); color: var(--accent-text); }
.scr-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-weight: 800; font-size: 18px; }
.pill-long { font-size: 12px; padding: 4px 10px; border-radius: 999px; color: #6ee7b7; background: rgba(52, 211, 153, .16); }
.scr-kv { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 6px 12px; align-items: baseline; font-size: 13px; color: var(--dim); }
.scr-kv b { color: var(--text); font-size: 16px; font-variant-numeric: tabular-nums; }
.scr-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.scr-tags span { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.scr-tags span.on { border-color: rgba(var(--ac-rgb), .5); color: var(--text); background: var(--purple-soft); }
.scr-shot { flex: 1; min-height: 70px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); padding: 10px; }
.scr-shot svg { width: 100%; height: 100%; }
.candles rect { fill: #34d399; rx: 2; transform-box: fill-box; transform-origin: 50% 100%; }
.candles rect.dn { fill: #f87171; }
.scr-toast { align-self: flex-start; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; background: rgba(52, 211, 153, .14); border: 1px solid rgba(52, 211, 153, .35); color: #a7f3d0; }
.scr-toast b { color: #34d399; }
.scr-toast.gold { background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .4); color: #fde68a; }
.scr-toast.gold b { color: #fbbf24; }
/* things inside the active screen arrive one after another */
.scr > * { transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.anim .scr:not(.on) > * { opacity: 0; transform: translate3d(0, 14px, 0); }
.scr.on > *:nth-child(2) { transition-delay: .08s; } .scr.on > *:nth-child(3) { transition-delay: .16s; } .scr.on > *:nth-child(4) { transition-delay: .24s; } .scr.on > *:nth-child(5) { transition-delay: .32s; } .scr.on > *:nth-child(6) { transition-delay: .42s; }
.scr-edge { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 2px; border-color: rgba(52, 211, 153, .35) !important; }
.scr-edge small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scr-edge b { font-size: 22px; } .scr-edge span { color: #34d399; font-weight: 700; }
.scr-bars { display: flex; flex-direction: column; gap: 12px; }
.scr-bars > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) 80px; gap: 12px; align-items: center; font-size: 13.5px; }
.scr-bars i { height: 9px; border-radius: 5px; background: linear-gradient(90deg, #34d399, var(--accent-2)); transform-origin: 0 50%; transform: scaleX(var(--w)); transition: transform 1s var(--ease-out) .3s; }
.scr-bars .neg i { background: linear-gradient(90deg, #f87171, #fb7185); }
.scr-bars b { text-align: right; font-variant-numeric: tabular-nums; } .scr-bars .neg b { color: #f87171; }
.anim .scr:not(.on) .scr-bars i { transform: scaleX(0); }
/* a slice of the year heatmap fills the review screen */
.scr-heat { margin-top: auto; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px; }
.scr-heat i { aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, .05); transition: opacity .5s var(--ease-out) calc(.35s + var(--i) * 5ms), transform .5s var(--ease-out) calc(.35s + var(--i) * 5ms); }
.scr-heat i.g1 { background: rgba(52, 211, 153, .3); } .scr-heat i.g2 { background: rgba(52, 211, 153, .58); } .scr-heat i.g3 { background: #34d399; box-shadow: 0 0 8px rgba(52, 211, 153, .5); } .scr-heat i.r1 { background: rgba(248, 113, 113, .5); }
.anim .scr:not(.on) .scr-heat i { opacity: 0; transform: scale(.5); }
.scr-today { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.scr-flame { font-size: 56px; line-height: 1; filter: drop-shadow(0 6px 18px rgba(251, 146, 60, .7)); animation: flick 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
.scr-lvl { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.scr-miss { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.scr-miss li { padding-left: 30px; position: relative; font-size: 15px; }
.scr-miss li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #04131a; background: #34d399; transform: scale(1); transition: transform .5s var(--ease-out) .5s; }
.scr-miss li.last::before { transition-delay: .9s; }
.anim .scr:not(.on) .scr-miss li::before { transform: scale(.4); }
.scr-miss li.ok { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(52, 211, 153, .5); }

/* ---------- sections ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 130px clamp(16px, 4vw, 40px) 30px; }
/* reveal on scroll */
.anim .rv { opacity: 0; transform: translate3d(0, 28px, 0); }
.anim .rv.in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) var(--d, 0ms), transform 1s var(--ease-out) var(--d, 0ms); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.f-card { border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.f-card.wide { grid-column: span 2; }
.f-card h3 { font-size: 17px; letter-spacing: -.01em; }
.f-card p { font-size: 13.8px; color: var(--dim); }
@media (hover: hover) and (pointer: fine) {
  .f-card { transition: box-shadow .35s ease, translate .45s var(--ease-out); }
  .f-card:hover { translate: 0 -4px; box-shadow: 0 30px 60px -36px rgba(var(--ac-rgb), .85); }
}
.ill { height: 120px; margin-bottom: 8px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); position: relative; overflow: hidden; }
.f-card:not(.live) .ill, .f-card:not(.live) .ill * { animation-play-state: paused !important; }
/* calendar */
.ill-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 14px; align-content: center; }
.ill-cal i { height: 34px; border-radius: 7px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: transform .6s var(--ease-out), opacity .6s var(--ease-out); }
.ill-cal i.g { background: linear-gradient(180deg, transparent, rgba(52, 211, 153, .4)); border-color: rgba(52, 211, 153, .35); }
.ill-cal i.r { background: linear-gradient(180deg, transparent, rgba(248, 113, 113, .4)); border-color: rgba(248, 113, 113, .35); }
.anim .f-card:not(.in) .ill-cal i { opacity: 0; transform: scale(.7); }
.ill-cal i:nth-child(n) { transition-delay: calc(var(--d, 0ms) + 300ms); }
.ill-cal i:nth-child(2) { transition-delay: 340ms; } .ill-cal i:nth-child(3) { transition-delay: 380ms; } .ill-cal i:nth-child(4) { transition-delay: 420ms; } .ill-cal i:nth-child(5) { transition-delay: 460ms; } .ill-cal i:nth-child(6) { transition-delay: 500ms; } .ill-cal i:nth-child(7) { transition-delay: 540ms; } .ill-cal i:nth-child(8) { transition-delay: 580ms; } .ill-cal i:nth-child(9) { transition-delay: 620ms; } .ill-cal i:nth-child(10) { transition-delay: 660ms; } .ill-cal i:nth-child(11) { transition-delay: 700ms; } .ill-cal i:nth-child(12) { transition-delay: 740ms; } .ill-cal i:nth-child(13) { transition-delay: 780ms; } .ill-cal i:nth-child(14) { transition-delay: 820ms; }
.ill-cal i.g:nth-child(5) { animation: glow 2.4s ease-in-out infinite; }
/* bars */
.ill-bars { display: flex; align-items: flex-end; gap: 8px; padding: 14px 16px 0; }
.ill-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #34d399, rgba(52, 211, 153, .25)); transform-origin: 50% 100%; transition: transform 1s var(--ease-out); animation: breathe 3.2s ease-in-out infinite; }
.ill-bars i.r { background: linear-gradient(180deg, #f87171, rgba(248, 113, 113, .25)); }
.ill-bars i:nth-child(2n) { animation-delay: -1.1s; } .ill-bars i:nth-child(3n) { animation-delay: -2s; }
.anim .f-card:not(.in) .ill-bars i { transform: scaleY(0); }
@keyframes breathe { 0%, 100% { scale: 1 1; } 50% { scale: 1 .9; } }
/* habit */
.ill-habit { display: grid; place-items: center; }
.ill-habit .fl { font-size: 46px; position: relative; z-index: 1; animation: flick 1.6s ease-in-out infinite; transform-origin: 50% 90%; filter: drop-shadow(0 6px 16px rgba(251, 146, 60, .7)); }
.ill-habit .ring { position: absolute; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--accent-2) 0 var(--fill, .78turn), rgba(255, 255, 255, .07) 0); -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%); mask: radial-gradient(circle, transparent 58%, #000 59%); animation: spin 9s linear infinite; }
@keyframes spin { to { rotate: 1turn; } }
@keyframes flick { 0%, 100% { transform: rotate(-3deg) scale(1); } 25% { transform: rotate(2deg) scale(1.06, .96); } 50% { transform: rotate(-1deg) scale(.97, 1.05); } 75% { transform: rotate(3deg) scale(1.04); } }
/* news */
.ill-news > div { position: absolute; inset: 0; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; animation: feed 7s linear infinite; }
.ill-news i { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .1); width: 86%; flex: none; }
.ill-news i:nth-child(2n) { width: 64%; } .ill-news i.hi { background: linear-gradient(90deg, #f87171, rgba(248, 113, 113, .3)); width: 92%; }
@keyframes feed { to { transform: translate3d(0, -50%, 0); } }
/* share card */
.ill-share { display: grid; place-items: center; perspective: 600px; }
.card3d { width: 120px; height: 84px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 25% 20%, rgba(var(--ac-rgb), .7), transparent 60%), radial-gradient(circle at 85% 90%, rgba(139, 92, 246, .6), transparent 60%), #0b0d14; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9); animation: sway 5s ease-in-out infinite; }
.card3d span { font-weight: 900; color: #34d399; letter-spacing: .08em; text-shadow: 0 0 12px rgba(52, 211, 153, .8); }
.card3d b { font-size: 20px; color: #fff; }
@keyframes sway { 0%, 100% { transform: rotateY(-18deg) rotateX(8deg); } 50% { transform: rotateY(18deg) rotateX(-4deg); } }
/* prop meters */
.ill-prop { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px 18px; }
.ill-prop > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 12px; }
.ill-prop small { font-size: 12px; color: var(--dim); }
.ill-prop i { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
.ill-prop i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #34d399, #34d399); transform-origin: 0 50%; transform: scaleX(var(--w)); transition: transform 1.2s var(--ease-out) .4s; }
.ill-prop i.goal::after { background: linear-gradient(90deg, var(--purple), #34d399); }
.anim .f-card:not(.in) .ill-prop i::after { transform: scaleX(0); }
/* candles */
.ill-candles { display: flex; align-items: stretch; gap: 8px; padding: 14px 18px; }
.ill-candles i { flex: 1; position: relative; }
.ill-candles i::before { content: ""; position: absolute; left: 50%; width: 1px; top: calc(var(--y) - 6%); height: calc(var(--h) + 12%); background: rgba(52, 211, 153, .6); }
.ill-candles i::after { content: ""; position: absolute; left: 0; right: 0; top: var(--y); height: var(--h); border-radius: 3px; background: #34d399; transform-origin: 50% 100%; transition: transform .7s var(--ease-out); }
.ill-candles i.dn::before { background: rgba(248, 113, 113, .6); } .ill-candles i.dn::after { background: #f87171; }
.anim .f-card:not(.in) .ill-candles i::after { transform: scaleY(0); }
.ill-candles i:nth-child(2)::after { transition-delay: .06s; } .ill-candles i:nth-child(3)::after { transition-delay: .12s; } .ill-candles i:nth-child(4)::after { transition-delay: .18s; } .ill-candles i:nth-child(5)::after { transition-delay: .24s; } .ill-candles i:nth-child(6)::after { transition-delay: .3s; } .ill-candles i:nth-child(7)::after { transition-delay: .36s; } .ill-candles i:nth-child(8)::after { transition-delay: .42s; } .ill-candles i:nth-child(9)::after { transition-delay: .48s; } .ill-candles i:nth-child(10)::after { transition-delay: .54s; } .ill-candles i:nth-child(11)::after { transition-delay: .6s; } .ill-candles i:nth-child(12)::after { transition-delay: .66s; }
/* theme dots */
.ill-dots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ill-dots i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255, 255, 255, .06), 0 8px 20px -8px var(--c); animation: hop 3.6s var(--ease-in-out) infinite; }
.ill-dots i:nth-child(2) { animation-delay: .2s; } .ill-dots i:nth-child(3) { animation-delay: .4s; } .ill-dots i:nth-child(4) { animation-delay: .6s; } .ill-dots i:nth-child(5) { animation-delay: .8s; } .ill-dots i:nth-child(6) { animation-delay: 1s; } .ill-dots i:nth-child(7) { animation-delay: 1.2s; } .ill-dots i:nth-child(8) { animation-delay: 1.4s; } .ill-dots i:nth-child(9) { animation-delay: 1.6s; }
@keyframes hop { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -12px; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } 50% { box-shadow: 0 0 18px 2px rgba(52, 211, 153, .45); } }

/* ---------- themes (horizontal while pinned) ---------- */
.anim .themes-show { height: 320vh; }
.th-in { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 42px; padding: 90px 0 40px; }
.th-head { padding: 0 clamp(16px, 6vw, 96px); max-width: 860px; }
.th-track { display: flex; gap: 22px; padding: 0 clamp(16px, 6vw, 96px); width: max-content; will-change: transform; }
.th-card { flex: none; width: clamp(240px, 24vw, 340px); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.th-card b { font-size: 16px; padding: 0 4px 2px; }
.th-scr { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--c1) 60%, transparent), transparent 55%), radial-gradient(circle at 90% 100%, color-mix(in srgb, var(--c2) 50%, transparent), transparent 55%), var(--bg); border: 1px solid rgba(255, 255, 255, .08); }
.th-scr i { position: absolute; left: 10%; height: 18%; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.th-scr i:nth-child(1) { top: 12%; width: 36%; } .th-scr i:nth-child(2) { top: 12%; left: 52%; width: 38%; } .th-scr i:nth-child(3) { top: 38%; width: 80%; height: 34%; }
.th-scr span { position: absolute; left: 10%; bottom: 10%; width: 34%; height: 9%; border-radius: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 6px 18px -6px var(--c1); }
.th-scr::after { content: ""; position: absolute; left: 14%; top: 50%; width: 72%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c1), var(--c2)); transform: rotate(-12deg); box-shadow: 0 0 10px var(--c1); }

/* ---------- stats ---------- */
.strip { max-width: 1100px; margin: 110px auto 0; border-radius: 22px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px; gap: 10px; text-align: center; }
.strip b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.strip span { color: var(--dim); font-size: 13.5px; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.lp-price { border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.lp-price.pro { border-color: rgba(var(--ac-rgb), .55); box-shadow: 0 34px 80px -40px rgba(var(--ac-rgb), 1); }
.anim .lp-price.pro.rv.in, html:not(.anim) .lp-price.pro { translate: 0 -10px; }
.lp-glow { position: absolute; inset: -40%; background: conic-gradient(from var(--ang), transparent 0 70%, rgba(var(--ac-rgb), .28) 80%, transparent 90%); animation: rot 7s linear infinite; pointer-events: none; z-index: 0; }
.lp-price > *:not(.lp-glow) { position: relative; z-index: 1; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes rot { to { --ang: 360deg; } }
.lp-price.max { box-shadow: 0 34px 80px -46px rgba(245, 158, 11, .8); }
.lp-price h3 { font-size: 21px; display: flex; align-items: center; justify-content: space-between; }
.lp-pop { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; color: var(--accent-ink); background: var(--purple); }
.lp-cost b { font-size: 48px; font-weight: 900; letter-spacing: -.04em; }
.lp-cost span { color: var(--muted); }
.lp-tag { color: var(--dim); font-size: 14px; min-height: 42px; }
.lp-price ul { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; margin: 4px 0 12px; }
.lp-price li { font-size: 14px; padding-left: 24px; position: relative; }
.lp-price li::before { content: "✓"; position: absolute; left: 0; color: #34d399; font-weight: 900; }
.lp-price.max li::before { color: #f59e0b; }
.lp-price .btn { width: 100%; }
.fine { text-align: center; color: var(--muted); font-size: 13px; margin-top: 24px; }

/* ---------- faq ---------- */
.faq { max-width: 840px; }
.faq h2 { margin-bottom: 34px; }
details { border-radius: 16px; padding: 18px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent-2); transition: rotate .35s var(--ease-out); }
details[open] summary::after { rotate: 45deg; }
details p { color: var(--dim); padding-top: 10px; font-size: 15px; }
details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
details[open]::details-content { height: auto; }

/* ---------- final ---------- */
.final { text-align: center; padding: 170px 20px 150px; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 26px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---------- reduced motion: same page, no movement ---------- */
/* "Reduce motion" (footer switch → html.rm): stop the loops; the floating cards keep their slow bob */
html.rm { scroll-behavior: auto; }
html.rm .mq-track, html.rm .scroll-cue i::after, html.rm .ill *, html.rm .scr-flame, html.rm .lp-glow { animation: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: 0; }
  .stage { max-width: 620px; width: 100%; margin: 0 auto; }
  .scroll-cue { display: none; }
  .story-in { grid-template-columns: 1fr; gap: 22px; padding-top: 80px; align-content: center; }
  .story-screen { height: min(380px, 44vh); order: -1; }
  .steps { margin-top: 18px; gap: 12px; }
  .steps p { font-size: 14px; }
  .steps li:not(.on) p { display: none; }
  html:not(.anim) .steps li p { display: block; }
  .anim .story { height: 300vh; }
  .anim .themes-show { height: auto; }
  .anim .themes-show .pin { position: relative; height: auto; overflow: visible; padding: 110px 0 20px; }
  .th-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; transform: none !important; }
  .th-card { scroll-snap-align: start; width: 72vw; }
  .price-grid { grid-template-columns: 1fr; }
  .anim .lp-price.pro.rv.in, html:not(.anim) .lp-price.pro { translate: none; }
  .strip { grid-template-columns: repeat(2, 1fr); margin: 70px 16px 0; }
  .fl-win { left: 0; } .fl-lvl { right: 0; }
}
@media (max-width: 560px) {
  .nav { gap: 10px; padding: 12px 14px; }
  .nav .btn.ghost.guest-only { display: none; }
  .lang button { padding: 5px 7px; }
  .bento { grid-template-columns: 1fr; }
  .f-card.wide { grid-column: auto; }
  .cta-row .btn { width: 100%; }
  .dv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dv-cal { display: none; }
  .dv-today { grid-template-columns: auto minmax(0, 1fr); }
  .dv-ring { display: none; }
  .fl-xp { display: none; }
  .scr { padding: 18px; gap: 10px; }
  .scr-bars > div { grid-template-columns: 80px minmax(0, 1fr) 64px; font-size: 12px; }
  .words { font-size: clamp(26px, 8vw, 40px); }
  .final { padding: 120px 16px 110px; }
}

/* ---------- big screens (1440p / 4K): wider stage, larger type ---------- */
@media (min-width: 1900px) {
  .nav { padding-inline: calc((100% - 1720px) / 2 + 72px); }
  .nav-links a { font-size: 15px; } .logo { font-size: 18px; }
  .hero { max-width: 1720px; }
  .section, .story-in { max-width: 1480px; }
  .strip { max-width: 1320px; }
  .h1 { font-size: clamp(42px, 5.1vw, 128px); }
  .h2 { font-size: clamp(30px, 3.5vw, 76px); }
  .h2.big { font-size: clamp(40px, 6vw, 140px); }
  .words { max-width: 1480px; font-size: clamp(30px, 3.9vw, 92px); }
  .lead { font-size: 21px; max-width: 660px; }
  .sub { font-size: 19px; max-width: 720px; }
  .f-card { padding: 26px; } .f-card h3 { font-size: 19px; } .f-card p { font-size: 15px; } .ill { height: 140px; }
  .steps h3 { font-size: 28px; } .steps p { font-size: 17px; max-width: 480px; }
  .story-screen { height: min(600px, 62vh); }
  .th-card { width: clamp(300px, 20vw, 420px); }
  .lp-price li, .lp-tag { font-size: 15.5px; }
}

/* ---------- calm mode: the visitor's system asks for less motion ----------
   Same page, nothing travels. Headlines, cards and screens fade in place, the
   statement still lights up word by word, the steps still switch and the
   counters still count — no tilting, parallax, sliding rows, growing bars or
   looping decorations (those loops are already stopped by the media query). */
.anim.calm .split .wi { transform: none; opacity: 0; }
.anim.calm .split.go .wi { opacity: 1; transition: opacity .8s ease var(--d, 0ms); }
.anim.calm .intro, .anim.calm .stage, .anim.calm .rv { transform: none; }
.anim.calm[data-ready] .intro { transition: opacity .8s ease var(--d); }
.anim.calm[data-ready] .stage { transition: opacity 1s ease .25s; }
.anim.calm .rv.in { transition: opacity .8s ease var(--d, 0ms); }
.anim.calm .scr:not(.on) > * { transform: none; }
.anim.calm .scr:not(.on) .scr-bars i { transform: scaleX(var(--w)); }
.anim.calm .scr:not(.on) .scr-heat i { transform: none; }
.anim.calm .scr:not(.on) .scr-miss li::before { transform: scale(1); }
.anim.calm .f-card:not(.in) .ill-cal i, .anim.calm .f-card:not(.in) .ill-bars i, .anim.calm .f-card:not(.in) .ill-candles i::after { transform: none; }
.anim.calm .f-card:not(.in) .ill-prop i::after { transform: scaleX(var(--w)); }
@media (min-width: 901px) {
  .anim.calm .themes-show { height: auto; }
  .anim.calm .themes-show .pin { position: relative; height: auto; overflow: visible; }
  .anim.calm .th-track { width: auto; max-width: 1400px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .anim.calm .th-card { width: auto; }
}

/* =====================================================================
   Tiltless — engineered, level, ice (the hero: tiltless.js)
   ===================================================================== */
html[data-accent][data-theme="dark"] { --ac-rgb: 56, 189, 248; --purple: #38bdf8; --ac2-rgb: 125, 211, 252; --accent-2: #7dd3fc; --accent-light: #bae6fd; --accent-deep: #0369a1; --accent-text: #e0f2fe; --accent-ink: #04121c; --aur-1: 56, 189, 248; --aur-2: 103, 232, 249; --aur-3: 14, 116, 144; --bg: #05080d; }
.h1, .h2 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-weight: 700; letter-spacing: -.04em; }
.h1 .serif, .h2 .serif { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-style: normal; font-weight: 700; letter-spacing: -.04em; }
.wd.hl { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-style: normal; }
.grad, .grad.is-split .wi { background-image: linear-gradient(92deg, #f0f9ff, #7dd3fc 45%, #67e8f9 100%); }
/* engineering grid behind the hero */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(125, 211, 252, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 211, 252, .05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse 65% 75% at 68% 45%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse 65% 75% at 68% 45%, #000 20%, transparent 72%); }
.tl-stage { max-width: 580px; width: 100%; margin: 0 auto; padding: 30px 0 40px; }
.tl-stage .float { display: none; }
.tl-scene { position: relative; width: min(100%, 540px); margin: 0 auto; padding: 60px 0 10px; will-change: transform; }
.tl-read { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 64px; }
.tl-state { font: 700 12px/1 "Space Grotesk", Inter, sans-serif; letter-spacing: .32em; padding: 8px 10px 8px 14px; border-radius: 999px; color: #fecaca; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .4); transition: color .35s, background-color .35s, border-color .35s; }
.tl-read b { font: 700 clamp(48px, 5vw, 68px)/1 "Space Grotesk", Inter, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fca5a5; min-width: 4.2ch; transition: color .35s; }
.is-level .tl-state { color: #e0f2fe; background: rgba(56, 189, 248, .12); border-color: rgba(103, 232, 249, .5); box-shadow: 0 0 22px -6px rgba(103, 232, 249, .7); }
.is-level .tl-read b { color: #f0f9ff; text-shadow: 0 0 28px rgba(103, 232, 249, .5); }
.tl-level { transform-origin: 50% 50%; will-change: transform; }
.tl-bar { position: relative; height: 96px; border-radius: 24px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 6px), linear-gradient(180deg, #4b5563, #262c35 48%, #161a20); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .4), 0 40px 70px -36px rgba(0, 0, 0, .95); }
.tl-cap { position: absolute; top: 8px; bottom: 8px; width: 46px; border-radius: 16px; background: linear-gradient(180deg, #a5f3fc, #0284c7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 20px rgba(56, 189, 248, .38); }
.tl-cap.l { left: 8px; } .tl-cap.r { right: 8px; }
.tl-vial { position: absolute; left: 50%; top: 50%; width: 46%; height: 52px; transform: translate(-50%, -50%); border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, rgba(207, 250, 254, .78), rgba(56, 189, 248, .46)); border: 1px solid rgba(255, 255, 255, .42); box-shadow: inset 0 8px 14px rgba(255, 255, 255, .32), inset 0 -10px 16px rgba(0, 0, 0, .35), 0 0 34px rgba(103, 232, 249, .5); transition: background .5s, box-shadow .5s; }
.tl-scene:not(.is-level) .tl-vial { background: linear-gradient(180deg, rgba(253, 186, 116, .7), rgba(239, 68, 68, .45)); box-shadow: inset 0 8px 14px rgba(255, 255, 255, .3), inset 0 -10px 16px rgba(0, 0, 0, .35), 0 0 34px rgba(248, 113, 113, .45); }
.tl-mark { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(15, 23, 15, .55); }
.tl-mark.l { left: calc(50% - 32px); } .tl-mark.r { left: calc(50% + 30px); }
.tl-bubble { position: absolute; left: 50%; top: 50%; width: 50px; height: 26px; margin-left: -25px; border-radius: 50%; transform: translate(0, -50%); background: radial-gradient(ellipse at 38% 32%, #fff 0 18%, rgba(255, 255, 255, .8) 30%, rgba(255, 255, 255, .35) 65%, rgba(255, 255, 255, .15)); box-shadow: 0 0 14px rgba(255, 255, 255, .55); }
.tl-emo { margin-top: 94px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; }
.tl-emo div { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; color: var(--dim); }
.tl-emo i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.tl-emo b { display: block; height: 100%; border-radius: inherit; transform-origin: 0 50%; background: linear-gradient(90deg, #67e8f9, #fbbf24 55%, #f87171); }
.tl-toast { position: absolute; z-index: 2; top: 0; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .3s ease, transform .45s var(--ease-out); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.tl-toast.on { opacity: 1; transform: none; }
.tl-toast.bad { right: -6%; color: #fecaca; background: rgba(127, 29, 29, .35); border: 1px solid rgba(248, 113, 113, .45); }
.tl-toast.bad b { color: #fca5a5; }
.tl-toast.good { left: -6%; color: #e0f2fe; background: rgba(8, 47, 73, .45); border: 1px solid rgba(103, 232, 249, .5); box-shadow: 0 0 26px -10px rgba(103, 232, 249, .8); }
.logo-mark { background: url(/favicon.svg) center / contain no-repeat; border-radius: 0; box-shadow: none; filter: drop-shadow(0 0 10px rgba(103, 232, 249, .45)); }
@media (max-width: 560px) { .tl-emo { grid-template-columns: 1fr; } .tl-toast { white-space: normal; max-width: 78%; } .tl-toast.bad { right: 0; } .tl-toast.good { left: 0; } }

.motion-toggle { font: inherit; font-size: 12.5px; color: var(--dim); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.motion-toggle:hover { color: var(--text); border-color: rgba(var(--ac-rgb), .5); }

/* =====================================================================
   Light-cyan touches — small rewards for the eye on the home page:
   a brush stroke under the promise, lit keywords, the XP and level chips,
   the main button. (The WIN card stays plain: money isn't the hook.)
   ===================================================================== */
.h1 .grad { position: relative; display: inline-block; filter: drop-shadow(0 0 22px rgba(103, 232, 249, .28)); }
.h1 .grad::after {
  content: ""; position: absolute; z-index: -1; left: -3%; right: -4%; bottom: -.1em; height: .36em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 26' preserveAspectRatio='none'%3E%3Cpath d='M3 15C41 8 92 5 151 5s104 3 146 8c-45 2-97 3-149 5S44 21 3 15z' fill='%2367e8f9' fill-opacity='.92'/%3E%3Cpath d='M14 19c50-5 108-7 168-6s82 2 112 5c-60 1-121 3-181 5S44 22 14 19z' fill='%23a5f3fc' fill-opacity='.5'/%3E%3Cpath d='M40 11c40-3 90-4 140-3' stroke='%23ecfeff' stroke-opacity='.55' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 12px rgba(103, 232, 249, .6));
  clip-path: inset(0 100% 0 0); animation: lpBrush 1s var(--ease-out) 1.05s forwards;
}
@keyframes lpBrush { to { clip-path: inset(0 0 0 0); } }
.calm .h1 .grad::after, .rm .h1 .grad::after { animation: none; clip-path: none; }
.wd.hl { color: #67e8f9; text-shadow: 0 0 20px rgba(103, 232, 249, .4); }
.fl-xp { color: #ecfeff; border-color: rgba(103, 232, 249, .55); box-shadow: 0 0 28px -8px rgba(103, 232, 249, .85); }
.fl-lvl .mini-ring { filter: drop-shadow(0 0 10px rgba(103, 232, 249, .55)); }
.btn.primary { background: linear-gradient(135deg, #67e8f9, #38bdf8 45%, #0284c7); box-shadow: 0 12px 30px -12px rgba(56, 189, 248, .95), 0 0 0 1px rgba(165, 243, 252, .25) inset; }
@media (hover: hover) and (pointer: fine) { .btn.primary:hover { box-shadow: 0 18px 40px -12px rgba(103, 232, 249, 1), 0 0 0 1px rgba(165, 243, 252, .35) inset; } }
.progress i { background: linear-gradient(90deg, #a5f3fc, #38bdf8 55%, #67e8f9); }
.story-bar i { background: linear-gradient(#a5f3fc, #38bdf8); }
.dv-side .dv-logo { background: linear-gradient(135deg, #a5f3fc, #0284c7); }

/* =====================================================================
   Live social proof — real numbers, shown only once they're worth it.
   A pulsing dot says "this is happening now"; #1 of the opt-in list glows.
   ===================================================================== */
.live-now { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13.5px; color: var(--dim); }
.live-now[hidden], .live[hidden], .live-top[hidden] { display: none; }
.live-now b { color: #ecfeff; font-variant-numeric: tabular-nums; }
.live-now i { width: 8px; height: 8px; border-radius: 50%; background: #67e8f9; animation: livePulse 2s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(103, 232, 249, .7); } 70% { box-shadow: 0 0 0 9px rgba(103, 232, 249, 0); } 100% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0); } }
.calm .live-now i { animation: none; box-shadow: 0 0 10px rgba(103, 232, 249, .8); }
.live { text-align: center; }
.live-stats { max-width: 900px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .02); }
.live-stats > div { display: flex; flex-direction: column; gap: 6px; padding: 24px 18px; box-shadow: -1px 0 0 var(--line); }
.live-stats b { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #f0f9ff; text-shadow: 0 0 26px rgba(103, 232, 249, .35); }
.live-stats span { font-size: 13.5px; color: var(--dim); }
.live-top { max-width: 560px; margin: 28px auto 0; text-align: left; }
.live-top h3 { margin: 0 0 10px; font-size: 15px; font-weight: 600; text-align: center; color: var(--dim); }
.live-top ol { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.live-top li { display: grid; grid-template-columns: 22px 34px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.live-top li:first-child { border-top: 0; }
.lt-rank { grid-row: 1 / 3; font-weight: 800; text-align: center; color: var(--muted); }
.lt-av { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #e0f2fe; background: rgba(56, 189, 248, .14); }
.lt-av.max { box-shadow: 0 0 0 2px #f5b942; }
.lt-name { min-width: 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-r { grid-row: 1 / 3; grid-column: 4; font-weight: 800; font-variant-numeric: tabular-nums; color: #67e8f9; }
.live-top small { grid-column: 3; font-size: 12px; color: var(--muted); }
.live-top li.first { background: linear-gradient(90deg, rgba(103, 232, 249, .08), transparent 70%); }
.live-top li.first .lt-rank { color: #67e8f9; text-shadow: 0 0 12px rgba(103, 232, 249, .8); }
.live-top li.first .lt-r { text-shadow: 0 0 16px rgba(103, 232, 249, .65); }
.live .fine { margin-top: 18px; }
@media (max-width: 640px) { .live-stats { grid-template-columns: minmax(0, 1fr); } .live-stats > div { box-shadow: 0 -1px 0 var(--line); } }
.live-now:not([hidden]) + .trust { margin-top: 12px; }

/* language menu (top right): a globe button, a scrolling list of languages by their own names */
.lang-dd { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--dim); font: 700 12.5px Inter, system-ui, sans-serif; letter-spacing: .03em; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang-btn i { width: 6px; height: 6px; margin-left: 1px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease-out); }
.lang-btn[aria-expanded="true"] i { transform: translateY(1px) rotate(225deg); }
@media (hover: hover) { .lang-btn:hover { color: var(--text); border-color: rgba(var(--ac-rgb), .45); } }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 220px; max-height: min(340px, 60vh); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none; border-radius: 14px; border: 1px solid var(--line); background: #0b1119; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(103, 232, 249, .06); }
.lang-menu[hidden] { display: none; }
.lang-menu li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 9px; font-size: 14px; color: var(--text); cursor: pointer; outline: none; }
.lang-menu li small { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.lang-menu li:hover, .lang-menu li:focus { background: rgba(255, 255, 255, .06); }
.lang-menu li[aria-selected="true"] { background: rgba(56, 189, 248, .12); }
.lang-menu li[aria-selected="true"] small { color: #67e8f9; }
@media (max-width: 560px) { .lang-btn { padding: 0 9px; } .lang-btn span { display: none; } }

/* free tools on the home page */
.tools-grid { max-width: 900px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 56px 24px 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-decoration: none; transition: border-color .2s ease, transform .2s var(--ease-out); }
.tool-card b { font: 700 20px/1.25 "Space Grotesk", Inter, sans-serif; letter-spacing: -.01em; color: var(--text); }
.tool-card span { color: var(--dim); font-size: 14.5px; }
.tool-card i { position: absolute; right: 22px; top: 24px; font-style: normal; font-size: 20px; color: #67e8f9; text-shadow: 0 0 14px rgba(103, 232, 249, .7); transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tool-card:hover { border-color: rgba(103, 232, 249, .45); transform: translateY(-2px); } .tool-card:hover i { transform: translateX(4px); } }
.foot-links { display: flex; gap: 16px; font-size: 13px; }
.foot-links a { color: var(--dim); text-decoration: none; } .foot-links a:hover { color: var(--text); }
@media (max-width: 700px) { .tools-grid { grid-template-columns: minmax(0, 1fr); } }
