/* Inra — inra.app v2 (30 Aug 2026, spec v4.43)
   One world for every page: the looping video sits fixed behind everything, a veil deepens below the
   fold, and content lives on glass panels. Identity comes from the shipped app icon (Verdict Gauge):
   aubergine ground, coral→amber→green arc, lavender scan-frame corners. Type = the app's own
   (Nunito display / Manrope body); Doto (dot-matrix) is an accent only. Solid green = tappable. */

:root {
  --bg: #0F0A16;                     /* icon's aubergine ground */
  --text: #F3F2F7;                   /* NOVA_DARK tp */
  --muted: #B4B2C0;
  --faint: #8E8C99;
  --nav-text: #101015;
  --pill-dark: #1A1420;
  --pill-dark-hover: #241B2C;
  --accent: #2FD35F;                 /* brand green — solid = control */
  --on-accent: #062712;
  --accent-text: #68E29A;
  --coral: #FF6B6B; --amber: #FFC24B; --green: #2FD35F;   /* the verdict trio = the gauge arc */
  --lavender: #A794C8;               /* icon's scan-frame corners */
  --gauge: linear-gradient(90deg, #FF6B6B 0%, #FFC24B 50%, #2FD35F 100%);
  --glass: rgba(20, 14, 28, 0.55);
  --glass-2: rgba(28, 20, 38, 0.66);
  --glass-line: rgba(var(--fg-rgb), 0.12);
  --glass-line-2: rgba(var(--fg-rgb), 0.2);
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-display: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-dot: "Doto", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --strong: #FFFFFF;
  --fg-rgb: 243, 242, 247;
  --bg-rgb: 15, 10, 22;
  --nav-bg: #FFFFFF;
  --veil-top: .38; --veil-mid: .22; --veil-bot: .72;
}
html[data-theme="light"] {
  --bg: #ECEBF0; --text: #101015; --muted: #3F3F4B; --faint: #5A5967; --strong: #101015;
  --fg-rgb: 16, 16, 21; --bg-rgb: 236, 235, 240;
  --pill-dark: #101015; --pill-dark-hover: #1A1A20; --accent-text: #0E5F31; --lavender: #6F5BA3;
  --glass: rgba(255, 255, 255, 0.82); --glass-2: rgba(255, 255, 255, 0.92);
  --glass-line: rgba(16, 16, 21, 0.10); --glass-line-2: rgba(16, 16, 21, 0.18);
  --nav-bg: #FFFFFF; --veil-top: .74; --veil-mid: .7; --veil-bot: .92;
  --l2: #F4F4F8; --l3: #E7E6EC;
}
html[data-theme="light"] .bg::after { background: linear-gradient(180deg, rgba(236,235,240,var(--veil-top)) 0%, rgba(240,238,246,var(--veil-mid)) 40%, rgba(236,235,240,var(--veil-bot)) 100%); }
html[data-theme="light"] .nav { box-shadow: 0 4px 14px rgba(16,16,21,.08), 0 0 0 1px rgba(16,16,21,.06); }
html[data-theme="light"] .header::before { background: linear-gradient(180deg, rgba(236,235,240,.7), rgba(236,235,240,0)); }
html[data-theme="light"] .glass { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 24px 48px -36px rgba(16,16,21,.35); }
html[data-theme="light"] .stat + .stat { border-left-color: rgba(16,16,21,.08); }
html[data-theme="light"] .plan.featured { box-shadow: 0 0 0 1px rgba(47,211,95,.4), 0 24px 48px -36px rgba(16,16,21,.35); }
html[data-theme="light"] .plan .tag { background: #101015; color: #fff; }
html[data-theme="light"] .frame { background: #FFFFFF; }
html[data-theme="light"] .ring .track { stroke: rgba(16,16,21,.08); }
html[data-theme="light"] .drv .notch { background: rgba(16,16,21,.7); }
html[data-theme="light"] .switch { filter: none; }
html[data-theme="light"] .lead, html[data-theme="light"] .step p, html[data-theme="light"] .tile p, html[data-theme="light"] .why p, html[data-theme="light"] .decard .note, html[data-theme="light"] .plan ul, html[data-theme="light"] .doc p, html[data-theme="light"] .doc li { color: #2E2E3A; }
html[data-theme="light"] .engine { color: #3F3F4B; }
html[data-theme="light"] .disclaimer, html[data-theme="light"] .stat .lbl, html[data-theme="light"] .drv .lbl, html[data-theme="light"] .reading .guide, html[data-theme="light"] .why .src, html[data-theme="light"] .fine, html[data-theme="light"] .foot, html[data-theme="light"] .frame .cap, html[data-theme="light"] .plan .alt, html[data-theme="light"] .doc .date { color: #4A4A58; }
html[data-theme="light"] .lens { color: #3F3F4B; }
html[data-theme="light"] .chip .raw, html[data-theme="light"] .reading .meta, html[data-theme="light"] .step .num, html[data-theme="light"] .decard .raw, html[data-theme="light"] .lens-demo .example { color: #4F3F8A; }
html[data-theme="light"] .stat .glyph { color: #4F3F8A; }
html[data-theme="light"] .label-scroll .track { color: rgba(16,16,21,.55); }
html[data-theme="light"] .ring .word.g, html[data-theme="light"] .lens.on i, html[data-theme="light"] .ing.on { color: #0E5F31; }
html[data-theme="light"] .trust .ring { border-color: #fff; }
html[data-theme="light"] .btn.ghost { background: rgba(16,16,21,.08); color: #101015; border-color: rgba(16,16,21,.18); }
html[data-theme="light"] .ing { background: rgba(16,16,21,.05); }
html[data-theme="light"] .drv .bar, html[data-theme="light"] .ring .track { background: rgba(16,16,21,.1); }
html[data-theme="light"] .header .logo { box-shadow: 0 4px 14px rgba(16,16,21,.18), 0 0 0 1px rgba(16,16,21,.08); }
html[data-theme="light"] .veil { mix-blend-mode: normal; }
html[data-theme="light"] .ring .word.r { color: #B02F2C; } html[data-theme="light"] .ring .word.a { color: #845708; }
html[data-theme="light"] .tag.r { color: #B02F2C; } html[data-theme="light"] .tag.a { color: #845708; } html[data-theme="light"] .tag.b { color: #4B3A80; }
html[data-theme="light"] .chip, html[data-theme="light"] .eyebrow, html[data-theme="light"] .rail { background: rgba(255,255,255,.78); }
html[data-theme="light"] .chip .mean, html[data-theme="light"] .eyebrow { color: #101015; }
html[data-theme="light"] .phone { background: #F4F4F8; }
html[data-theme="light"] .subhead, html[data-theme="light"] .sub { color: #2A2A33; }
html[data-theme="light"] .rail .ind { background: #101015; }
html[data-theme="light"] .lens.on { color: var(--strong); }
html[data-theme="light"] .btn.ghost { background: rgba(16,16,21,.06); }
html[data-theme="light"] .btn.deco { --ring: rgba(16,16,21,.5); --ink: rgba(16,16,21,.85); }
html[data-theme="light"] .foot { color: var(--faint); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  min-height: 100vh; min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: rgba(47,211,95,.35); }

/* ── the world: fixed video + veil ────────────────────────────────────────── */
.bg { position: fixed; inset: 0; background: var(--bg); overflow: hidden; z-index: 0; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--bg-rgb),var(--veil-top)) 0%, rgba(var(--bg-rgb),var(--veil-mid)) 40%, rgba(var(--bg-rgb),var(--veil-bot)) 100%);
}
.veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: rgba(var(--bg-rgb),0); transition: background .3s linear; }
.page { position: relative; z-index: 1; }
.wrap { width: min(1120px, calc(100% - clamp(28px, 6vw, 64px))); margin: 0 auto; }

/* ── header (shared) ──────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 24px);
  padding: clamp(14px, 2vh, 22px) clamp(14px, 3vw, 32px);
  animation: slideDown 0.7s var(--ease) both;
}
.header::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--bg-rgb),.55), rgba(var(--bg-rgb),0)); pointer-events: none; }
.logo { display: block; width: clamp(42px, 4.4vw, 46px); height: clamp(42px, 4.4vw, 46px); border-radius: 12px;
  overflow: hidden; box-shadow: var(--nav-shadow), 0 0 0 1px rgba(255,255,255,.12); transition: transform .25s var(--ease); flex-shrink: 0; }
.logo:hover { transform: scale(1.05); }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-word { display: none; }

.nav {
  display: flex; align-items: center; justify-content: space-around;
  width: min(460px, 100%); height: clamp(44px, 5.2vw, 48px); padding: 4px 8px;
  border-radius: 999px; background: var(--nav-bg); box-shadow: var(--nav-shadow);
}
.nav a { position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: clamp(13px, 1.4vw, 14.5px);
  letter-spacing: -0.01em; color: var(--nav-text); opacity: .5; transition: opacity .2s, background .25s, transform .25s var(--ease); white-space: nowrap; }
.nav a:hover { opacity: .95; background: rgba(16,16,21,.07); transform: translateY(-1px); }
.nav a:active { transform: translateY(0); background: rgba(16,16,21,.11); }
.nav a.active { opacity: 1; }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; border-radius: 50%;
  transform: translateX(-50%); background: var(--amber); box-shadow: -6px 0 0 var(--coral), 6px 0 0 var(--green);
  animation: dots 2.4s ease-in-out infinite; }
@keyframes dots {
  0%   { background: var(--amber);  box-shadow: -6px 0 0 var(--coral), 6px 0 0 var(--green); opacity: 1; }
  33%  { background: var(--green);  box-shadow: -6px 0 0 var(--amber), 6px 0 0 var(--coral); opacity: .85; }
  66%  { background: var(--coral);  box-shadow: -6px 0 0 var(--green), 6px 0 0 var(--amber); opacity: 1; }
  100% { background: var(--amber);  box-shadow: -6px 0 0 var(--coral), 6px 0 0 var(--green); opacity: .85; }
}

.cta-nav { display: inline-flex; align-items: center; gap: 8px; height: clamp(44px, 5.2vw, 48px); padding: 0 18px;
  border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700;
  font-size: clamp(13px, 1.4vw, 14px); letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(47,211,95,.25), 0 8px 22px -10px rgba(47,211,95,.8);
  transition: transform .2s var(--ease), box-shadow .2s; }
.cta-nav:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(47,211,95,.35), 0 12px 28px -10px rgba(47,211,95,.9); }
.cta-nav svg { width: 14px; height: 14px; }
.burger { display: none; }
.overlay { display: none; }
.menu { display: none; }

.switch { display: flex; align-items: center; height: 34px; flex-shrink: 0; }
.switch .outer { position: relative; height: 100%; width: 64px; border-radius: 999px; padding: 4px; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: #252532; border: 1px solid #32303e; box-shadow: inset 0 5px 10px 0 #16151c, 0 3px 6px -2px #403f4e; }
.switch input { opacity: 0; appearance: none; position: absolute; }
.switch .inner { position: relative; width: 100%; height: 100%; display: flex; justify-content: space-between; align-items: center; }
.switch .knob { position: relative; z-index: 2; height: 100%; aspect-ratio: 1; border-radius: 50%; left: 0; transition: left .3s ease-in;
  background: linear-gradient(#3b3a4e, #272733); box-shadow: inset 0 5px 4px 0 #424151, 0 4px 15px 0 #0f0e17; }
.switch .ind { position: relative; right: 7px; height: 13px; width: 13px; border-radius: 50%; border: 2.5px solid var(--coral); box-sizing: border-box; }
.switch input:checked + .inner .knob { left: 52%; }
.switch input:checked + .inner .ind { animation: indicator 1s forwards; }
@keyframes indicator { 0% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 1; border-color: var(--green); left: -56%; } }
html[data-theme="light"] .switch .outer { background: #E7E6EC; border-color: #D8D6E0; box-shadow: inset 0 5px 10px 0 #CFCDD8, 0 3px 6px -2px #B9B7C4; }
html[data-theme="light"] .switch .knob { background: linear-gradient(#FFFFFF, #E7E6EC); box-shadow: inset 0 5px 4px 0 #FFFFFF, 0 4px 15px 0 rgba(16,16,21,.25); }
.menu .switch { display: none; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px;
  font-weight: 700; letter-spacing: -0.01em; transition: transform .25s var(--ease), box-shadow .25s, background .2s; }
.btn.primary { background: var(--accent); color: var(--on-accent);
  padding: clamp(12px, 1.6vh, 14px) clamp(22px, 3vw, 28px); font-size: clamp(14px, 1.5vw, 15px);
  box-shadow: 0 0 0 1px rgba(47,211,95,.22), 0 0 22px rgba(47,211,95,.30), 0 0 44px rgba(47,211,95,.12); }
.btn.primary:hover { transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(47,211,95,.32), 0 0 30px rgba(47,211,95,.45), 0 0 60px rgba(47,211,95,.18); }
.btn.primary svg { width: 17px; height: 17px; }
.btn.primary .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.btn.primary small { font-weight: 600; font-size: 10.5px; letter-spacing: .02em; opacity: .8; margin-bottom: 2px; }
.btn.ghost { background: rgba(var(--fg-rgb),.08); color: var(--text); border: 1px solid var(--glass-line-2);
  padding: clamp(12px, 1.6vh, 14px) clamp(20px, 2.6vw, 24px); font-size: clamp(14px, 1.5vw, 15px); backdrop-filter: blur(8px); }
.btn.ghost:hover { background: rgba(var(--fg-rgb),.14); transform: translateY(-1px); }

/* ── the decoder button: stacked-offset + halftone (after Uiverse / augustin_4687), on Inra tokens ── */
.btn.deco { --ink: rgba(var(--bg-rgb),.92); --ring: rgba(var(--fg-rgb),.55); --fill: #A794C8;
  position: relative; padding: 1px; border-radius: 9999px; background: var(--ink); color: var(--ink);
  transform: translate(-4px, -4px); outline: 2px solid transparent; outline-offset: 5px; line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: .5px .5px 0 0 var(--ink), 1px 1px 0 0 var(--ink), 1.5px 1.5px 0 0 var(--ink), 2px 2px 0 0 var(--ink), 2.5px 2.5px 0 0 var(--ink), 3px 3px 0 0 var(--ink),
    0 0 0 2px var(--ring), .5px .5px 0 2px var(--ring), 1px 1px 0 2px var(--ring), 1.5px 1.5px 0 2px var(--ring), 2px 2px 0 2px var(--ring), 2.5px 2.5px 0 2px var(--ring), 3px 3px 0 2px var(--ring), 3.5px 3.5px 0 2px var(--ring), 4px 4px 0 2px var(--ring),
    0 14px 30px -14px rgba(0,0,0,.7); }
.btn.deco:hover { transform: translate(0, 0); box-shadow: 0 0 0 2px var(--ring), 0 10px 24px -12px rgba(0,0,0,.7); }
.btn.deco:active, .btn.deco:focus-visible { outline-color: var(--amber); }
.btn.deco:focus-visible { outline-style: dashed; }
.btn.deco > div { position: relative; pointer-events: none; background: var(--fill); border: 2px solid rgba(255,255,255,.3); border-radius: 9999px; overflow: hidden; }
.btn.deco > div::before { content: ""; position: absolute; inset: 0; border-radius: 9999px; opacity: .45; mix-blend-mode: hard-light;
  background-image: radial-gradient(rgba(255,255,255,.8) 20%, transparent 20%), radial-gradient(rgba(255,255,255,1) 20%, transparent 20%);
  background-position: 0 0, 4px 4px; background-size: 8px 8px; animation: halftone .5s infinite linear; }
.btn.deco > div > span { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: clamp(11px, 1.5vh, 13px) clamp(20px, 2.6vw, 24px); font-weight: 800; font-size: clamp(14px, 1.5vw, 15px); letter-spacing: -0.01em; color: var(--ink);
  filter: drop-shadow(0 -1px 0 rgba(255,255,255,.25)); }
.btn.deco > div > span:active { transform: translateY(2px); }
@keyframes halftone { 0% { background-position: 0 0, 4px 4px; } 100% { background-position: 8px 0, 12px 4px; } }

/* ── glass panel ─────────────────────────────────────────────────────────── */
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 26px;
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -40px rgba(0,0,0,.8); }
.glass-2 { background: var(--glass-2); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero { min-height: calc(100dvh - 80px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(24px, 4vw, 56px); padding: clamp(12px, 3vh, 32px) 0 clamp(24px, 4vh, 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(var(--bg-rgb),.62); border: 1px solid var(--glass-line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-dot); font-weight: 900; font-size: clamp(12.5px, 1.2vw, 14px); letter-spacing: .16em;
  color: var(--strong); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--gauge); flex-shrink: 0; }
.section-head .eyebrow::after, .section-head.center .eyebrow::after { display: none; }
.h1 { margin: clamp(14px, 2vh, 20px) 0 0; font-family: var(--font-display); font-weight: 800; color: var(--strong);
  font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
.h1 .grad { background: var(--gauge); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { margin: clamp(14px, 2.2vh, 22px) 0 0; max-width: 520px; color: #DDDBE4;
  font-size: clamp(16px, 1.55vw, 19px); line-height: 1.55; }
.engine { margin: clamp(10px, 1.6vh, 14px) 0 0; max-width: 540px; color: var(--muted); font-size: clamp(13px, 1.2vw, 14.5px); line-height: 1.55; }
.engine b { color: var(--text); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3vh, 28px); align-items: center; }
.disclaimer { margin: clamp(12px, 1.8vh, 16px) 0 0; max-width: 520px; font-size: 11.5px; line-height: 1.5; color: var(--faint); }
.trust { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(18px, 3vh, 26px); padding: 8px 14px 8px 8px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); font-size: 12.5px; color: var(--muted); font-weight: 500; }
.trust .rings { display: inline-flex; }
.trust .ring { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; }
.trust .ring:first-child { margin-left: 0; }
.trust .ring.c { background: var(--coral); } .trust .ring.a { background: var(--amber); } .trust .ring.g { background: var(--green); }

/* sub-pages sit under the bright top of the loop — a deeper, flatter veil keeps glass legible */
body.subpage .bg::after { background: linear-gradient(180deg, rgba(var(--bg-rgb),.62) 0%, rgba(var(--bg-rgb),.5) 40%, rgba(var(--bg-rgb),.8) 100%); }
body.subpage .io { transition-delay: 0s; }
/* the proof: a phone showing a real read, with the label's own words decoding beside it */
.proof { position: relative; display: grid; place-items: center; min-height: 520px; }
.phone { position: relative; width: clamp(240px, 22vw, 300px); aspect-ratio: 1320 / 2868; border-radius: 44px; padding: 10px;
  background: #0B0810; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 50px 90px -40px rgba(0,0,0,.9), 0 0 80px -20px rgba(167,148,200,.35);
  transform: rotate(-4deg); animation: floatY 7s ease-in-out infinite; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%);
  border-radius: 20px; background: #000; z-index: 2; }
.corner { display: none; }
.corner.tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; }
.corner.br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.chip {
  position: absolute; display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border-radius: 16px;
  background: rgba(20,14,28,.78); border: 1px solid var(--glass-line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.9); min-width: 180px; max-width: 240px;
  opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.chip.on { opacity: 1; transform: none; }
.chip .raw { font-family: var(--font-dot); font-weight: 800; font-size: 12px; letter-spacing: .06em; color: var(--lavender); }
.chip .mean { font-weight: 700; font-size: 14px; color: var(--strong); line-height: 1.25; }
.chip .tag { align-self: flex-start; margin-top: 2px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.tag.r { background: rgba(255,107,107,.18); color: #FF9A9A; } .tag.a { background: rgba(255,194,75,.18); color: #FFD37E; } .tag.b { background: rgba(167,148,200,.18); color: #C9BCE6; } .tag.g { background: rgba(47,211,95,.18); color: var(--accent-text); }
.chip.c1 { top: 8%; left: 0; } .chip.c2 { top: 44%; right: -4%; } .chip.c3 { bottom: 10%; left: 4%; }
.label-scroll { position: absolute; inset: auto 0 -6px 0; margin: 0 auto; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.label-scroll .track { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite;
  font-family: var(--font-dot); font-weight: 700; font-size: 12px; letter-spacing: .08em; color: rgba(var(--fg-rgb),.5); text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes floatY { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-10px); } }

/* ── stats ────────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.6vw, 16px); padding: clamp(14px, 2vw, 20px); }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 6px; }
.stat + .stat { border-left: 1px solid var(--glass-line); }
.stat .glyph { font-family: var(--font-dot); font-weight: 900; font-size: clamp(20px, 2.6vw, 28px); line-height: 1; color: var(--lavender); }
.stat .val { font-family: var(--font-display); font-weight: 800; color: var(--strong); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: clamp(11.5px, 1.2vw, 13px); font-weight: 500; }

/* ── sections ─────────────────────────────────────────────────────────────── */
.section { padding: clamp(56px, 9vh, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(24px, 4vh, 40px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.h2 { margin: 12px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.03em; color: var(--strong); }
.lead { margin: 12px 0 0; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 20px); }
.step { padding: clamp(18px, 2.2vw, 26px); display: flex; flex-direction: column; gap: 12px; overflow: hidden; position: relative; }
.step .num { font-family: var(--font-dot); font-weight: 800; font-size: 12px; letter-spacing: .16em; color: var(--lavender); }
.step h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--strong); }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.step .shot { margin: 10px -4px -60px; border-radius: 22px 22px 0 0; overflow: hidden; border: 1px solid var(--glass-line-2); border-bottom: 0;
  box-shadow: 0 -10px 40px -20px rgba(0,0,0,.8); aspect-ratio: 1320 / 1500; }
.step .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.step:first-child .shot img { object-position: 50% 42%; }

/* ── the lens instrument: the app icon's own gesture — a gradient ring and one bright dot ─── */
.rail { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; margin: 0 auto;
  background: rgba(var(--bg-rgb),.62); border: 1px solid var(--glass-line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .ind { position: absolute; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 999px; background: #fff;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.9); transition: left .55s var(--ease), width .55s var(--ease); z-index: 0; }
.rail .ind::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--gauge); transform-origin: left; transform: scaleX(0); }
.rail.cycling .ind::after { animation: countdown 2.6s linear infinite; }
@keyframes countdown { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lens { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 11px; border-radius: 999px;
  font-weight: 700; font-size: 13.5px; color: rgba(var(--fg-rgb),.72); white-space: nowrap; cursor: pointer; transition: color .3s; }
.lens:hover { color: var(--strong); }
.lens.on { color: #101015; }
.lens i { width: 7px; height: 7px; border-radius: 50%; background: var(--gauge); opacity: .7; transition: opacity .3s, transform .3s var(--ease); }
.lens.on i { opacity: 1; transform: scale(1.2); }
.rail-wrap { display: flex; justify-content: center; }

.instrument { position: relative; display: grid; grid-template-columns: 250px 1fr; gap: clamp(14px, 3vw, 40px); align-items: center;
  max-width: 880px; margin: clamp(18px, 3vh, 26px) auto 0; padding: clamp(16px, 2.2vw, 24px) clamp(18px, 2.6vw, 30px);
  border-radius: 28px; overflow: hidden; }
.instrument::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60% 80% at 20% 50%, rgba(167,148,200,.10), transparent 70%); }
.ring { position: relative; width: 250px; height: 250px; margin: 0 auto; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring .track { fill: none; stroke: rgba(var(--fg-rgb),.09); stroke-width: 10; stroke-linecap: round; }
.ring .arc { fill: none; stroke: url(#gauge-grad); stroke-width: 10; stroke-linecap: round; opacity: .55; transition: opacity .5s; }
.ring .glow { fill: none; stroke: url(#gauge-grad); stroke-width: 10; stroke-linecap: round; opacity: 0; filter: blur(8px); transition: opacity .5s; }
.ring .dot { fill: #fff; r: 7; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }
.ring .halo { fill: none; stroke-width: 2; opacity: .9; r: 12; transition: stroke .4s; }
.ring .halo.r { stroke: var(--coral); } .ring .halo.a { stroke: var(--amber); } .ring .halo.g { stroke: var(--green); }
.ring .tick { stroke: rgba(var(--fg-rgb),.22); stroke-width: 1.5; stroke-linecap: round; }
.ring .core { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 34px; }
.ring .word { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -0.03em; line-height: 1.05; transition: color .4s, opacity .25s, transform .25s var(--ease); }
.ring .word.r { color: #FF9A9A; } .ring .word.a { color: #FFD37E; } .ring .word.g { color: var(--accent-text); }
.ring .for { margin-top: 5px; font-size: 12.5px; color: var(--muted); transition: opacity .25s; }
.ring.swap .word { opacity: 0; transform: translateY(6px); } .ring.swap .for { opacity: 0; }

.reading { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.reading .head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.reading .pack { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--strong); margin: 0; }
.reading .meta { font-family: var(--font-dot); font-weight: 800; font-size: 10.5px; letter-spacing: .12em; color: var(--lavender); text-transform: uppercase; }
.reading .sub { margin: 0; color: var(--text); font-size: 15px; line-height: 1.45; min-height: 2.9em; transition: opacity .25s; }
.reading.swap .sub { opacity: 0; }
.drivers { display: grid; gap: 10px; }
.drv { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; align-items: baseline; }
.drv .lbl { font-weight: 600; font-size: 13px; color: var(--muted); }
.drv .val { font-family: var(--font-display); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--strong); }
.drv .bar { grid-column: 1 / -1; position: relative; height: 5px; border-radius: 5px; background: rgba(var(--fg-rgb),.09); }
.drv .fill { height: 100%; border-radius: 5px; width: 0; transition: width .9s var(--ease); }
.drv .fill.r { background: var(--coral); box-shadow: 0 0 12px rgba(255,107,107,.55); }
.drv .fill.a { background: var(--amber); box-shadow: 0 0 12px rgba(255,194,75,.5); }
.drv .fill.g { background: var(--green); box-shadow: 0 0 12px rgba(47,211,95,.5); }
.drv .notch { position: absolute; top: -5px; width: 1.5px; height: 15px; background: rgba(255,255,255,.85); border-radius: 2px; transition: left .9s var(--ease); }
.drv .notch::after { content: "guideline"; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-size: 9.5px; letter-spacing: .06em; color: var(--faint); text-transform: uppercase; white-space: nowrap; }
.drv .why { grid-column: 1 / -1; color: var(--faint); font-size: 12px; margin-top: 8px; }
.reading .guide { color: var(--faint); font-size: 11.5px; padding-top: 10px; border-top: 1px solid var(--glass-line); }
@media (max-width: 820px) {
  .instrument { grid-template-columns: 1fr; gap: 6px; }
  .ring { width: 220px; height: 220px; }
  .reading .sub { min-height: 0; }
}

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 20px); }
.tile { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.tile .glyph { font-family: var(--font-dot); font-weight: 900; font-size: 28px; line-height: 1; background: var(--gauge); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile h3 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--strong); }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 3.5vw, 44px); }
.bignum { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 8vw, 104px); letter-spacing: -0.04em; line-height: .95;
  background: var(--gauge); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why .src { color: var(--faint); font-size: 12px; margin-top: 8px; }
.why p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 10px 0 0; }
.why h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.025em; color: var(--strong); line-height: 1.15; }

.cta-band { text-align: center; padding: clamp(36px, 6vh, 64px) clamp(20px, 4vw, 48px); }
.cta-band .h2 { font-size: clamp(26px, 3.4vw, 40px); }
.cta-band .actions { justify-content: center; }

.foot { padding: 28px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; font-size: 12.5px; color: var(--faint); border-top: 1px solid var(--glass-line); }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot a { transition: color .2s; } .foot a:hover { color: var(--accent-text); }

/* ── DEMO ─────────────────────────────────────────────────────────────────── */
.play { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(16px, 3vw, 32px); align-items: start; }
.ingwrap { display: flex; flex-wrap: wrap; gap: 10px; padding: clamp(18px, 2.4vw, 26px); }
.ing { padding: 10px 14px; border-radius: 999px; background: rgba(var(--fg-rgb),.07); border: 1px solid var(--glass-line-2);
  font-family: var(--font-dot); font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--strong); transition: background .2s, border-color .2s, transform .2s; }
.ing:hover { background: rgba(var(--fg-rgb),.13); transform: translateY(-1px); }
.ing.on { background: rgba(47,211,95,.18); border-color: rgba(47,211,95,.55); color: var(--accent-text); }
.decard { padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.decard .raw { font-family: var(--font-dot); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--lavender); }
.decard .mean { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; color: var(--strong); line-height: 1.2; }
.decard .note { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.decard .tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.decard.pop { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 16px); }
.frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--glass-line-2); background: #0B0810; padding: 6px;
  box-shadow: 0 30px 60px -36px rgba(0,0,0,.9); transition: transform .3s var(--ease); }
.frame:hover { transform: translateY(-6px); }
.frame img { border-radius: 16px; }
.frame .cap { padding: 10px 6px 4px; font-size: 12.5px; color: var(--muted); font-weight: 600; text-align: center; }

/* ── PRICING ──────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 20px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 30px); }
.plan.featured { border-color: rgba(47,211,95,.5); box-shadow: 0 0 0 1px rgba(47,211,95,.3), 0 30px 60px -40px rgba(0,0,0,.8); }
.plan .tag { position: absolute; top: -12px; left: 24px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #101015; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.plan h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--strong); }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.2vw, 40px); letter-spacing: -0.03em; line-height: 1; color: var(--strong); font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--font-sans); font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--muted); }
.plan .alt { color: var(--faint); font-size: 13px; margin-top: -8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: rgba(47,211,95,.2); }
.plan li::after { content: ""; position: absolute; left: 4px; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.plan .spacer { flex: 1; }
.plan .btn { height: 46px; padding: 0 20px; font-size: 14px; }
.fine { max-width: 780px; margin: clamp(24px, 4vh, 36px) auto 0; padding: clamp(18px, 2.4vw, 26px); color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.fine p { margin: 0 0 8px; } .fine p:last-child { margin: 0; }
.lnk, .fine a, .lead a, .doc a, .why a { position: relative; display: inline-flex; align-items: baseline; gap: .3em; color: var(--accent-text); font-weight: 700;
  text-decoration: none; padding-bottom: 1px; transition: color .2s; }
.lnk::after, .fine a::after, .lead a::after, .doc a::after, .why a::after { content: "→"; display: inline-block; font-weight: 800; transition: transform .3s var(--ease); }
.lnk::before, .fine a::before, .lead a::before, .doc a::before, .why a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--gauge); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.lnk:hover::after, .fine a:hover::after, .lead a:hover::after, .doc a:hover::after, .why a:hover::after { transform: translateX(4px); }
.lnk:hover::before, .fine a:hover::before, .lead a:hover::before, .doc a:hover::before, .why a:hover::before { transform: scaleX(1); }
.doc a[href^="mailto"]::after, .fine a[href^="http"]::after { content: "↗"; }

/* ── LEGAL (support / terms / privacy) ───────────────────────────────────── */
.doc { max-width: 780px; margin: 0 auto; padding: clamp(24px, 3.4vw, 44px); }
.doc h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; color: var(--strong); line-height: 1.08; }
.doc .date { color: var(--faint); font-size: 13px; margin: 8px 0 24px; }
.doc h2 { margin: 28px 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--strong); }
.doc p, .doc li { color: var(--muted); font-size: 15px; line-height: 1.65; }
.doc p { margin: 0 0 10px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 10px; }

.doc strong { color: var(--text); }
.doc .card { padding: 16px 18px; border-radius: 16px; background: rgba(47,211,95,.1); border: 1px solid rgba(47,211,95,.3); margin-bottom: 18px; }
.doc .card p { margin: 0; color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--glass-line); vertical-align: top; }
.doc th { color: var(--text); font-weight: 700; }
.doc footer { display: none; }

/* ── entrance ────────────────────────────────────────────────────────────── */
.anim { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px);
  animation: reveal 0.85s var(--ease) forwards; animation-delay: var(--d, 0s); }
.anim-pulse { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px);
  animation: revealPulse 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.io { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.io.in { opacity: 1; transform: none; }
@keyframes reveal { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes revealPulse { 70% { opacity: 1; transform: translateY(0) scale(1.03); filter: blur(0); } 100% { opacity: 1; transform: none; filter: blur(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .proof { min-height: 0; margin-top: 8px; }
  .phone { width: min(260px, 60vw); }
  .why { grid-template-columns: 1fr; }
  .play { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps, .tiles { grid-template-columns: 1fr; }
  .step .shot { margin-bottom: -40px; aspect-ratio: 1320 / 900; }
}
@media (max-width: 720px) {
  .nav, .cta-nav.desktop { display: none; }
  .header { gap: 10px; }
  .header .switch { margin-left: auto; height: 30px; }
  .header .switch .outer { width: 56px; }
  .header { justify-content: space-between; }
  .logo { width: 46px; height: 46px; }
  .burger { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--pill-dark); box-shadow: var(--nav-shadow), 0 0 0 1px rgba(255,255,255,.1); position: relative; z-index: 60; transition: background .25s; }
  .burger span { position: absolute; width: 18px; height: 1.5px; background: #fff; border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s, background .25s; }
  .burger span:nth-child(1) { transform: translateY(-6.5px); }
  .burger span:nth-child(3) { transform: translateY(6.5px); }
  .burger[aria-expanded="true"] { background: #fff; }
  .burger[aria-expanded="true"] span { background: #101015; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
  .overlay { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.62);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: overlayIn .28s ease-out both; }
  .overlay[hidden] { display: none; }
  .menu { display: flex; flex-direction: column; gap: 4px; position: fixed; z-index: 50; left: 14px; right: 14px; top: 84px;
    padding: 22px 18px 20px; border-radius: 28px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.45); animation: menuIn .38s var(--ease) both; }
  .menu[hidden] { display: none; }
  .menu a { position: relative; padding: 12px 14px; border-radius: 14px; color: #101015; font-weight: 700; font-size: 16px; opacity: 0;
    animation: linkIn .4s var(--ease) forwards; }
  .menu a:nth-child(1) { animation-delay: .05s; } .menu a:nth-child(2) { animation-delay: .1s; }
  .menu a:nth-child(3) { animation-delay: .15s; } .menu a:nth-child(4) { animation-delay: .2s; }
  .menu a.active::after { content: ""; position: absolute; left: 14px; bottom: 8px; width: 4px; height: 4px; border-radius: 50%;
    background: var(--amber); box-shadow: -6px 0 0 var(--coral), 6px 0 0 var(--green); animation: dots 2.4s ease-in-out infinite; margin-left: 6px; }
  .menu .cta-nav { justify-content: center; margin-top: 10px; width: 100%; height: 48px; opacity: 0; animation: linkIn .4s var(--ease) .25s forwards; }
  .h1 { font-size: clamp(34px, 9.5vw, 44px); letter-spacing: -0.03em; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .chip { min-width: 150px; max-width: 190px; padding: 8px 10px; }
  .chip .mean { font-size: 12.5px; }
  .chip.c1 { top: 16%; left: -2%; } .chip.c2 { top: 56%; right: -2%; } .chip.c3 { display: none; }
  .section { padding: clamp(40px, 7vh, 64px) 0; }
  .why { padding: 22px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .foot { justify-content: center; text-align: center; }
}
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes linkIn { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .anim, .anim-pulse, .header, .overlay, .menu, .menu a, .menu .cta-nav, .phone, .label-scroll .track, .decard.pop, .nav a.active::after, .menu a.active::after, .rail.cycling .ind::after, .btn.deco > div::before {
    animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .io { opacity: 1; transform: none; transition: none; }
  .chip { transition: none; }
  .bg-video { display: none; }
  html { scroll-behavior: auto; }
}

/* ── How it works: scroll storyboard (30 Aug 2026) ──────────────────────── */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: stretch; position: relative; }
.story-steps { display: flex; flex-direction: column; gap: 0; padding: 4vh 0 10vh; position: relative; }
.story-steps::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--glass-line-2) 8%, var(--glass-line-2) 92%, transparent); }
.hs { position: relative; padding: 28px 0 28px 64px; min-height: 58vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .5s ease, transform .5s ease; }
.hs::before { content: ""; position: absolute; left: 16px; top: 50%; margin-top: -6px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--glass-line-2); transition: background .4s, box-shadow .4s, border-color .4s; }
.hs.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(47,211,95,.18), 0 0 24px rgba(47,211,95,.5); }
.hs:not(.on) { opacity: .48; }
.hs-num { position: absolute; right: 0; top: 50%; transform: translateY(-58%); font-family: var(--font-dot); font-weight: 900; font-size: clamp(110px, 12vw, 170px); line-height: 1; letter-spacing: -.02em;
  background: var(--gauge); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .16; pointer-events: none; user-select: none; }
.hs .num { font-family: var(--font-dot); font-weight: 800; font-size: 12px; letter-spacing: .16em; color: var(--lavender); }
.hs h3 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; color: var(--strong); line-height: 1.15; }
.hs p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 46ch; }
.hs-shot { display: none; }
.story-stage { position: relative; min-height: 100%; }
.stage-sticky { position: sticky; top: 96px; height: min(78vh, 720px); display: grid; place-items: center; overflow: visible; }
.story-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; transition: background 1s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.o1 { width: 360px; height: 360px; left: -40px; top: 10%; background: var(--coral); }
.o2 { width: 300px; height: 300px; right: -20px; bottom: 8%; background: var(--amber); }
.o3 { width: 240px; height: 240px; left: 40%; top: 55%; background: var(--green); opacity: .35; }
.story[data-active="1"] .o1 { transform: translate(40px, 30px) scale(1.1); background: var(--amber); }
.story[data-active="1"] .o2 { background: var(--lavender); }
.story[data-active="2"] .o1 { transform: translate(60px, -20px) scale(.9); background: var(--green); }
.story[data-active="2"] .o2 { transform: translate(-30px, -40px) scale(1.15); background: var(--coral); }
.story[data-active="2"] .o3 { transform: scale(1.4); }
.story-phone { position: relative; height: min(66vh, 620px); max-width: 90%; aspect-ratio: 414 / 900; border-radius: 40px; overflow: hidden; padding: 0;
  background: #0B0810; border: 1px solid var(--glass-line-2); box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 6px rgba(var(--fg-rgb), .06); transform: translateZ(0); }
.story-phone .scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03) translateY(8px); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.story[data-active="0"] .scr[data-i="0"], .story[data-active="1"] .scr[data-i="1"], .story[data-active="2"] .scr[data-i="2"] { opacity: 1; transform: none; }
.story-sweep { position: absolute; left: 6%; right: 6%; height: 2px; top: 20%; border-radius: 2px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 18px 2px rgba(47,211,95,.55); }
.story[data-active="0"] .story-phone .story-sweep, .hs.on .hs-phone .story-sweep { opacity: 1; animation: sweep 2.6s ease-in-out infinite; }
@keyframes sweep { 0% { top: 18%; opacity: 0; } 8% { opacity: 1; } 50% { top: 62%; } 92% { opacity: 1; } 100% { top: 18%; opacity: 0; } }
.story-rail { position: absolute; right: clamp(0px, 2vw, 24px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.story-rail i { width: 4px; height: 26px; border-radius: 2px; background: rgba(var(--fg-rgb), .16); transition: background .4s, height .4s; }
.story[data-active="0"] .story-rail i[data-i="0"], .story[data-active="1"] .story-rail i[data-i="1"], .story[data-active="2"] .story-rail i[data-i="2"] { background: var(--accent); height: 44px; }
html[data-theme="light"] .story-phone { background: #FFFFFF; box-shadow: 0 40px 90px -40px rgba(16,16,21,.5), 0 0 0 6px rgba(16,16,21,.05); }
html[data-theme="light"] .story-orb { opacity: .32; }
html[data-theme="light"] .hs-num { opacity: .22; }
html[data-theme="light"] .hs:not(.on) { opacity: .6; }

@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-stage { display: none; }
  .story-steps { gap: 18px; padding: 8px 0 0 30px; }
  .story-steps::before { left: 10px; }
  .hs { display: block; min-height: 0; opacity: 1; padding: 22px 20px 0; margin: 0;
    background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--glass-line); border-radius: 24px; overflow: hidden; }
  .hs:not(.on) { opacity: 1; }
  .hs::before { left: -26px; top: 30px; margin-top: 0; }
  .hs-num { right: 10px; top: 6px; transform: none; font-size: 84px; opacity: .16; }
  .hs h3 { font-size: 24px; }
  .hs p { font-size: 15px; color: var(--muted); }
  .hs-shot { display: block; margin: 18px -20px 0; position: relative; padding: 22px 0 0; overflow: hidden; }
  .hs-shot::before { content: ""; position: absolute; inset: 10% 15% 0; border-radius: 50%; filter: blur(40px); opacity: .55;
    background: radial-gradient(closest-side, var(--amber), transparent 70%); }
  .hs[data-i="0"] .hs-shot::before { background: radial-gradient(closest-side, var(--coral), transparent 70%); }
  .hs[data-i="2"] .hs-shot::before { background: radial-gradient(closest-side, var(--green), transparent 70%); }
  .hs-phone { position: relative; width: min(232px, 60vw); margin: 0 auto -2px; aspect-ratio: 414 / 640; border-radius: 30px 30px 0 0; overflow: hidden;
    background: #0B0810; border: 1px solid var(--glass-line-2); border-bottom: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
    transform: translateY(22px) scale(.96); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s ease; }
  .hs.in .hs-phone { transform: none; opacity: 1; }
  .hs-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
  html[data-theme="light"] .hs-phone { background: #FFFFFF; box-shadow: 0 30px 60px -36px rgba(16,16,21,.5); }
  html[data-theme="light"] .hs { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 24px 48px -36px rgba(16,16,21,.35); }
}
@media (prefers-reduced-motion: reduce) {
  .story-sweep, .story[data-active="0"] .story-phone .story-sweep, .hs.on .hs-phone .story-sweep { animation: none; opacity: 0; }
  .story-orb, .story-phone .scr, .hs, .hs-phone { transition: none; }
}
