/* apexline.win — v5, the light Apexline world.
   White and #F3F5FA grounds, royal #2A50F7 as the one accent, green only for money won back.
   Archivo 600 at 108% width carries the marketing voice; Inter sets everything that is product UI.
   Signature: the racing line, edge to edge on a royal field; the hub, the 07:00 phone and four drawn sector pictures.
   Strict CSP: no inline styles or scripts; everything here and in site.js. */
@font-face { font-family: 'Archivo'; src: url('fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Inter Variable'; src: url('fonts/inter-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Archivo Wordmark'; src: url('fonts/archivo-wordmark.woff2') format('woff2'); font-weight: 600; font-display: block; }
/* Ukrainian and Russian: Archivo has no Cyrillic, so /uk/ and /ru/ set the marketing voice in Inter as well (see :lang below) */
@font-face { font-family: 'Inter Variable'; src: url('fonts/inter-cyrillic-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: light;
  --ink: #131A2E;
  --ink-2: #3A4256;
  --ink-3: #5B6274;
  --ink-ph: #687083;
  --line: #E4E7ED;
  --line-2: #D4D9E1;
  --line-3: #B9C0CD;
  --canvas: #F3F5FA;
  --tile: #F6F7FA;
  --white: #FFFFFF;
  --royal: #2A50F7;
  --royal-deep: #1C3BD1;
  --royal-soft: #EDF1FF;
  --royal-tint: #DCE4FF;
  --royal-line: #C5D1FF;
  --royal-field: linear-gradient(115deg, #1530C4 0%, #2A50F7 56%, #2B67F2 100%);
  --go: #137547;
  --go-soft: #E7F5EC;
  --warn: #9A5B00;
  --warn-soft: #FFF3DF;
  --bad: #B42318;
  --mint: #A9F2CB;
  --coral: #FFB3A6;
  --coral-text: #FFD3CA;
  --night: #0E1424;
  --night-2: #B9C1D9;
  --night-3: #8C95AE;

  --r-1: 10px; --r-2: 16px; --r-3: 24px; --pill: 999px;
  --sh-2: 0 2px 6px rgba(19, 26, 46, .05), 0 28px 64px -28px rgba(19, 26, 46, .24);

  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui: 'Inter Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --top-h: 68px;
  --sec: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root:lang(uk), :root:lang(ru) { --sans: 'Inter Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #C7CDD8 transparent; scroll-padding-top: calc(var(--top-h) + 8px); }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; caret-color: var(--royal); text-rendering: optimizeLegibility; }
::selection { background: var(--royal-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic, .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grow { flex: 1; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
h2 { font-weight: 600; font-stretch: 108%; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -.032em; text-wrap: balance; }
h3 { font-weight: 600; font-stretch: 104%; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.sample { flex: none; font-family: var(--ui); font-size: 12px; font-weight: 600; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--pill); padding: 2px 9px; background: var(--white); white-space: nowrap; }

/* ── Buttons ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: var(--pill); border: 1px solid transparent; font-family: var(--ui); font-size: 15px; font-weight: 600; letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--royal); color: var(--white); box-shadow: 0 1px 2px rgba(19, 26, 46, .14), 0 6px 14px -8px rgba(19, 26, 46, .4); }
.btn-primary:hover { background: var(--royal-deep); }
.btn-primary:disabled { opacity: .7; cursor: progress; }
.btn-line { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.btn-white { background: var(--white); color: var(--royal-deep); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 18px -10px rgba(0, 0, 0, .45); }
.btn-white:hover { background: var(--royal-soft); }
.btn-line:hover { border-color: var(--line-3); background: var(--tile); }
.btn-quiet { background: transparent; color: var(--ink-2); }
.btn-quiet:hover { color: var(--ink); background: var(--tile); }
.btn-soft { background: var(--tile); border-color: var(--line); color: var(--ink-2); }
.btn-soft:hover { background: var(--canvas); color: var(--ink); }
.round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .18s var(--ease), background-color .18s var(--ease), opacity .18s var(--ease); }
.round:hover { border-color: var(--line-3); background: var(--tile); }
.round:disabled { opacity: .4; cursor: default; }

/* ── Header (every page) ─────────────────────────────── */
.top { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 8px; height: var(--top-h); }
.brand, .lk { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand { margin-right: 28px; }
.brand-tile { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(115deg, #1B33C8, #2A50F7 54%, #2C6BF2); display: grid; place-items: center; flex: none; }
.brand-tile svg { width: 20px; height: 20px; fill: var(--white); transform: translateY(.5px); }
.brand-wm { font-family: 'Archivo Wordmark', var(--sans); font-weight: 600; font-size: 20px; letter-spacing: -.01em; line-height: 1; }
.nav { display: flex; gap: 4px; }
.nav a { font-family: var(--ui); font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: var(--pill); }
.nav a:hover { color: var(--ink); background: var(--tile); }

/* ── 1 · Hero ────────────────────────────────────────── */
.hero { position: relative; padding: 52px 0 104px; isolation: isolate; }
.hero::before, .close::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, #D5DBE6 1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 72% 64% at 50% 30%, #000 36%, transparent 80%); mask-image: radial-gradient(ellipse 72% 64% at 50% 30%, #000 36%, transparent 80%); }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-weight: 600; font-stretch: 108%; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; max-width: 1000px; }
.hero .lead { margin-top: 22px; max-width: 680px; }
.cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.note { margin-top: 14px; font-family: var(--ui); font-size: 14px; color: var(--ink-3); text-wrap: balance; }

.chat { position: relative; width: min(740px, 100%); margin-top: 44px; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--sh-2); font-family: var(--ui); }
.chat-strip { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 18px; background: var(--tile); border-bottom: 1px solid var(--line); border-radius: var(--r-3) var(--r-3) 0 0; font-size: 13px; color: var(--ink-3); }
.src-label { font-weight: 600; color: var(--ink-2); }
.srcs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.srcs li { display: inline-flex; align-items: center; gap: 6px; }
.srcs .ic { width: 15px; height: 15px; color: var(--ink-3); }
.chat-strip .sample { margin-left: auto; }
.chat-body { height: 222px; padding: 18px 22px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22px); mask-image: linear-gradient(180deg, transparent, #000 22px); }
.ask { align-self: flex-end; max-width: 80%; background: var(--royal-soft); color: var(--royal-deep); font-size: 15px; font-weight: 500; line-height: 1.45; padding: 9px 14px; border-radius: 16px 16px 4px 16px; }
.status { font-size: 14px; color: var(--ink-3); }
.ans { display: grid; gap: 8px; }
.ans-by { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ans-by img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.ans-by b { font-weight: 600; color: var(--ink); }
.ans-by span { color: var(--ink-3); }
.ans-text { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.move { display: flex; align-items: center; gap: 8px; padding-top: 2px; min-height: 40px; }
.gain { font-family: var(--sans); font-weight: 600; font-stretch: 104%; font-size: 20px; letter-spacing: -.02em; color: var(--go); font-variant-numeric: tabular-nums; }
.per { font-size: 14px; color: var(--ink-3); }
.per.is-solo { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.done { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--go); }
.done.is-later { color: var(--ink-3); }
.done .ic { width: 16px; height: 16px; }
.is-in { animation: rise .42s var(--ease) both; }
.ans-text.is-typing::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -3px; border-radius: 1px; background: var(--royal); animation: blink 1s steps(1) infinite; }
.move.is-wait { visibility: hidden; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 0 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--white); }
.typed { flex: 1; min-width: 0; font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.typed .ph { color: var(--ink-ph); }
.typed .caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -3px; background: var(--royal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.who { position: relative; flex: none; }
.who-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 4px 9px 4px 5px; border-radius: var(--pill); background: var(--tile); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .18s var(--ease), background-color .18s var(--ease); }
.who-btn:hover, .who-btn[aria-expanded="true"] { border-color: var(--line-2); background: var(--white); }
.who-btn img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.who-role { font-weight: 500; color: var(--ink-3); }
.who-btn .ic { width: 15px; height: 15px; color: var(--ink-3); transition: transform .2s var(--ease); }
.who-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.who-menu { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 5; width: 292px; max-height: 268px; overflow-y: auto; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: 0 2px 8px rgba(19, 26, 46, .08), 0 24px 48px -16px rgba(19, 26, 46, .28); outline: none; }
.who-menu li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 16px; align-items: center; column-gap: 10px; padding: 7px 8px; border-radius: var(--r-1); cursor: pointer; font-size: 14px; }
.who-menu li img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; grid-row: 1 / span 2; }
.who-menu li b { font-weight: 600; color: var(--ink); line-height: 1.25; }
.who-menu li span { grid-column: 2; font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }
.who-menu li .ic { grid-column: 3; grid-row: 1 / span 2; width: 16px; height: 16px; color: var(--royal); opacity: 0; }
.who-menu li[aria-selected="true"] .ic { opacity: 1; }
.who-menu li:hover, .who-menu li.is-active { background: var(--tile); }
.send { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--ink); color: var(--white); transition: transform .15s var(--ease), background-color .15s var(--ease); }
.send .ic { width: 18px; height: 18px; stroke-width: 2; }
.send.is-hit { transform: scale(.9); background: var(--royal); }
.chat-try { display: flex; gap: 8px; padding: 12px 12px 14px; overflow-x: auto; scrollbar-width: none; }
.chat-try::-webkit-scrollbar { display: none; }
.chat-try button { flex: none; min-height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease); }
.chat-try button:hover { border-color: var(--line-2); color: var(--ink); }
.chat-try button[aria-pressed="true"] { background: var(--royal-soft); border-color: var(--royal-line); color: var(--royal-deep); }

/* ── 2 · The hub: everything the business runs flows into one crew ── */
.hub { position: relative; padding: var(--sec) 0 calc(var(--sec) - 24px); overflow: hidden; }
.hub-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; }
.hub-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 248px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; margin-top: 64px; isolation: isolate; }
.hub-stage::before { content: ''; position: absolute; inset: -40px -10%; z-index: -2; background-image: radial-gradient(var(--line-2) 1.1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.hub-lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hl { fill: none; stroke: var(--royal-line); stroke-width: 1.5; }
.hl-out { stroke: var(--royal); stroke-width: 1.5; stroke-dasharray: 3 6; }
.hl-dot { fill: var(--royal); }
.hub-src { position: relative; display: grid; gap: 18px; font-family: var(--ui); }
.hub-l { justify-items: start; }
.hub-r { justify-items: end; }
.hub-src li { display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px; background: var(--white); border-radius: 20px; box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 12px 28px -16px rgba(19, 26, 46, .32); }
.hub-r li { flex-direction: row-reverse; padding: 9px 9px 9px 18px; text-align: right; }
.hub-l li:nth-child(2), .hub-l li:nth-child(3) { margin-left: 56px; }
.hub-r li:nth-child(2), .hub-r li:nth-child(3) { margin-right: 56px; }
.hs-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--royal-soft); color: var(--royal); }
.hs-ic .ic { width: 22px; height: 22px; }
.hs-t b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.hs-t small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.hub-core { grid-column: 2; grid-row: 1; justify-self: center; display: grid; justify-items: center; gap: 12px; position: relative; }
.hub-mark { position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 32px; background: linear-gradient(140deg, #3A5CFF 0%, #2A50F7 46%, #1530C4 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 4px rgba(21, 48, 196, .18), 0 26px 44px -22px rgba(21, 48, 196, .7); }
.hub-mark svg { width: 66px; height: 66px; fill: var(--white); }
.hub-mark::after { content: ''; position: absolute; inset: -10px; border-radius: 40px; border: 1.5px solid var(--royal); opacity: 0; transform: scale(.92); }
.hub-mark.is-ping::after { animation: ping .9s var(--ease); }
@keyframes ping { 0% { opacity: .55; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.12); } }
.hub-crew { display: flex; margin-top: 6px; }
.hub-crew img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--white); }
.hub-crew img + img { margin-left: -8px; }
.hub-cap { font-family: var(--ui); font-size: 13px; font-weight: 600; color: var(--ink-3); }
.hub-out { grid-column: 1 / -1; grid-row: 2; justify-self: center; position: relative; width: min(600px, 100%); height: 84px; margin-top: 72px; font-family: var(--ui); }
.hm { position: absolute; inset: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 20px 14px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-2); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hm.is-on { opacity: 1; transform: none; }
.hm img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hm-t { font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.hm-by { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.hm-by b { font-weight: 600; color: var(--ink-2); }
.hm-v { text-align: right; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.hm-v b { display: block; font-family: var(--sans); font-size: 24px; font-weight: 600; font-stretch: 104%; letter-spacing: -.02em; color: var(--go); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hub-note { margin-top: 28px; text-align: center; font-family: var(--ui); font-size: 13px; color: var(--ink-3); }

/* ── 3 · The racing line: a royal chapter, the line edge to edge ── */
.line { position: relative; background: var(--royal-field); color: var(--white); overflow: clip; isolation: isolate; }
.line::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.line-pin { position: relative; padding: 104px 0 96px; }
.line-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 28px 56px; align-items: end; }
.line .lead { margin-top: 18px; max-width: 640px; color: rgba(255, 255, 255, .88); }
.tc-head { justify-self: end; display: flex; align-items: flex-end; gap: 16px; font-family: var(--ui); }
.tc-total { display: grid; gap: 4px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.tc-total-v { display: inline-flex; align-items: baseline; gap: 8px; font-size: 16px; color: var(--white); white-space: nowrap; }
.tc-total b { font-family: var(--sans); font-size: 60px; font-weight: 600; font-stretch: 108%; letter-spacing: -.035em; line-height: 1; color: var(--mint); font-variant-numeric: tabular-nums; }
.tc-replay { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .34); background: transparent; color: var(--white); font-family: var(--ui); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .18s var(--ease), border-color .18s var(--ease); }
.tc-replay:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.tc-replay .ic { width: 16px; height: 16px; }
.tc { margin: 36px 0 0; }
.tc-svg { display: block; width: 100%; height: clamp(250px, 26vw, 360px); overflow: visible; }
.tc figcaption { margin-top: 10px; font-family: var(--ui); font-size: 13px; color: rgba(255, 255, 255, .72); }
.tc-band { fill: none; stroke: rgba(255, 255, 255, .09); stroke-linejoin: round; }
.tc-edge { fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 1.25; }
.tc-mid { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1; stroke-dasharray: 2 9; }
.tc-gate { stroke: rgba(255, 255, 255, .5); stroke-width: 1.25; }
.tc-label { font-family: var(--ui); font-size: 14px; font-weight: 600; fill: var(--white); letter-spacing: .01em; }
.tc-gap { fill: rgba(255, 179, 166, .2); }
.tc-drift { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tc-ideal { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.tc-loss { font-family: var(--ui); font-size: 13px; font-weight: 600; fill: var(--coral-text); }
.tc-ring { fill: none; stroke: var(--white); stroke-width: 2.5; }
.tc-ring.is-back { stroke: var(--mint); }
.steps { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-family: var(--ui); }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px 18px 18px; border-radius: var(--r-2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.step img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.step.is-on { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .36); }
.step-where { font-size: 13px; font-weight: 600; letter-spacing: .01em; color: rgba(255, 255, 255, .86); }
.step-what { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--white); }
.step-val { margin-top: 10px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.step-val .was { color: var(--coral-text); }
.step-val .now { display: none; color: var(--mint); }
.step.is-on .was { display: none; }
.step.is-on .now { display: inline; }
.line.is-pinned { height: 250vh; }
.line.is-pinned .line-pin { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); display: flex; flex-direction: column; justify-content: center; padding: 0; }
.line.is-pinned h2 { font-size: clamp(30px, 4.6vh, 48px); }
.line.is-pinned .lead { font-size: clamp(16px, 2.1vh, 19px); margin-top: 1.6vh; }
.line.is-pinned .tc { margin-top: 2.4vh; }
.line.is-pinned .tc-svg { height: clamp(200px, 30vh, 340px); }
.line.is-pinned .steps { margin-top: 2.4vh; }
.line.is-pinned .step { padding: 1.6vh 18px; }

/* ── 4 · 07:00: the night's work on the owner's phone ── */
.night { padding: var(--sec) 0; }
.night-field { position: relative; display: grid; place-items: center; min-height: 720px; padding: 48px 32px; border-radius: 36px; background: linear-gradient(165deg, #D3E0FF 0%, #E6ECFF 42%, #FBF6EE 100%); overflow: hidden; isolation: isolate; }
.orbit-arcs { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.oa { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 1.5; }
.orbit { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ot { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 19px; background: var(--white); color: var(--royal); box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 16px 30px -16px rgba(19, 26, 46, .34); opacity: 0; will-change: transform, opacity; }
.ot .ic { width: 28px; height: 28px; }
.ot-face { border-radius: 50%; padding: 4px; }
.ot-face img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.phone { position: relative; z-index: 1; justify-self: center; width: 304px; height: 620px; padding: 10px; border-radius: 50px; background: #10162A; box-shadow: inset 0 0 0 1.5px #2A3350, 0 2px 4px rgba(19, 26, 46, .12), 0 48px 90px -36px rgba(19, 26, 46, .6); }
.ph-screen { position: relative; height: 100%; padding: 16px 16px 14px; border-radius: 40px; background: var(--white); overflow: hidden; font-family: var(--ui); }
.ph-screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #10162A; }
.ph-bar { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 10px; font-size: 13px; }
.ph-bar b { font-weight: 600; }
.ph-bar span { display: inline-flex; gap: 3px; align-items: flex-end; }
.ph-bar i { width: 3px; border-radius: 1px; background: var(--ink); }
.ph-bar i:nth-child(1) { height: 5px; }
.ph-bar i:nth-child(2) { height: 8px; }
.ph-bar i:nth-child(3) { height: 11px; }
.ph-app { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.ph-app .brand-tile { width: 22px; height: 22px; border-radius: 7px; }
.ph-app .brand-tile svg { width: 14px; height: 14px; }
.ph-hi { margin-top: 10px; font-family: var(--sans); font-size: 24px; font-weight: 600; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.1; }
.ph-sum { margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.ph-total { margin-top: 12px; padding: 10px 14px; border-radius: 18px; background: var(--go-soft); font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.ph-total b { display: block; font-family: var(--sans); font-size: 28px; font-weight: 600; font-stretch: 104%; letter-spacing: -.025em; line-height: 1.1; color: var(--go); font-variant-numeric: tabular-nums; }
.ph-moves { display: grid; gap: 8px; margin-top: 12px; }
.ph-moves li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 6px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 16px; }
.ph-moves img { grid-row: 1; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.ph-moves span:not([class]) { grid-column: 2 / -1; min-width: 0; font-size: 12px; line-height: 1.3; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-moves span b { color: var(--ink-2); font-weight: 600; }
.ph-moves em { display: block; margin-top: 1px; font-style: normal; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); white-space: normal; }
.ph-moves strong { grid-column: 1 / 3; font-size: 14px; font-weight: 600; color: var(--go); font-variant-numeric: tabular-nums; }
.ph-ok { grid-column: 3; grid-row: 2; justify-self: end; padding: 3px 10px; border-radius: var(--pill); background: var(--royal); color: var(--white); font-size: 12px; font-weight: 600; }
.ph-ok.is-done { background: var(--go-soft); color: var(--go); }
.night-copy { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.night-copy .lead { margin-top: 18px; }
.night-more { margin-top: 16px; font-family: var(--ui); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* ── 5–8 · Sectors: one picture each ───────────────── */
.sector { padding: var(--sec) 0; }
.sector.is-flow { background: var(--canvas); }
.sector-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: center; }
.sector.is-flip .sector-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sector.is-flip .sector-grid > figure { order: -1; }
.sector-copy .lead { margin-top: 18px; }
.who-does { display: grid; gap: 16px; margin-top: 30px; font-family: var(--ui); }
.who-does li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.who-does img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.who-does p { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.who-does b { color: var(--ink); font-weight: 600; }
.who-does span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.reads { margin-top: 26px; font-family: var(--ui); font-size: 13.5px; color: var(--ink-3); }
.wide-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; }
.wide-head .reads { margin-top: 12px; }
.viz-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--ui); font-size: 14px; color: var(--ink-3); }
.viz-cap b { font-size: 15px; font-weight: 600; color: var(--ink); }
.viz-sum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 22px; font-family: var(--ui); font-size: 15px; color: var(--ink-3); }
.viz-sum [data-speed-avg] { font-family: var(--sans); font-size: 44px; font-weight: 600; font-stretch: 108%; letter-spacing: -.035em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .4s var(--ease); }
.viz-gain { margin-left: auto; font-family: var(--sans); font-size: 24px; font-weight: 600; font-stretch: 104%; letter-spacing: -.02em; color: var(--go); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.speed { margin: 0; }
.speed-plot { position: relative; margin-top: 30px; }
.speed-rows { display: grid; gap: 16px; }
.speed-rows li { display: grid; grid-template-columns: 112px minmax(0, 1fr) 64px; align-items: center; gap: 14px; font-family: var(--ui); }
.sr-l { font-size: 13.5px; color: var(--ink-3); }
.sr-bar { position: relative; height: 12px; }
.sr-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 2px; border-radius: 2px; background: var(--line); }
.sr-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); border-radius: var(--pill); background: var(--coral); transition: width 1.2s var(--ease), background-color .6s var(--ease); }
.sr-v { text-align: right; font-size: 13.5px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.speed-goal { position: absolute; top: -26px; bottom: 30px; left: var(--goal, 0px); border-left: 1.5px dashed var(--royal); }
.speed-goal i { position: absolute; top: 0; left: 6px; font-style: normal; font-family: var(--ui); font-size: 12px; font-weight: 600; color: var(--royal); white-space: nowrap; }
.speed-axis { display: flex; justify-content: space-between; margin: 12px 78px 0 126px; font-family: var(--ui); font-size: 12px; color: var(--ink-3); }
.speed.is-fixed .sr-bar i { background: var(--royal); }
.speed.is-fixed .viz-gain { opacity: 1; transform: none; }
.flow { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; align-items: center; margin: 56px 0 0; min-height: 380px; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fl { fill: none; stroke: var(--royal); stroke-opacity: .22; stroke-linecap: round; }
.fl.is-waste { stroke: var(--coral); stroke-opacity: .85; }
.fl-run { fill: none; stroke: var(--royal); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 16; animation: run 1.4s linear infinite; }
.fl-run.is-waste { stroke: #E46A55; }
@keyframes run { to { stroke-dashoffset: -18; } }
.flow-src { grid-column: 1; display: grid; gap: 20px; position: relative; z-index: 1; font-family: var(--ui); }
.flow-src li, .flow-sink { padding: 12px 16px; border-radius: 18px; background: var(--white); box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 12px 28px -16px rgba(19, 26, 46, .3); }
.flow-src b { display: block; font-size: 15px; font-weight: 600; }
.flow-src span, .flow-sink span { font-size: 13px; color: var(--ink-3); }
.flow-src li.is-waste b { color: var(--bad); }
.flow-sinks { grid-column: 3; display: grid; gap: 132px; position: relative; z-index: 1; font-family: var(--ui); }
.flow-sink b { display: block; font-family: var(--sans); font-size: 26px; font-weight: 600; font-stretch: 104%; letter-spacing: -.02em; line-height: 1.15; }
.flow-sink.is-none b { color: var(--bad); }
.flow-notes { grid-column: 2; display: grid; gap: 12px; justify-items: center; align-self: end; position: relative; z-index: 1; margin-bottom: -6px; }
.note-chip { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 16px 8px 8px; border-radius: var(--pill); background: var(--white); box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 12px 28px -16px rgba(19, 26, 46, .3); font-family: var(--ui); font-size: 13px; color: var(--ink-3); }
.note-chip img { width: 32px; height: 32px; flex: none; border-radius: 50%; object-fit: cover; }
.note-chip b { color: var(--ink); font-weight: 600; }
.note-chip em { display: block; font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink); }
.note-chip strong { margin-left: 6px; font-size: 14px; font-weight: 600; color: var(--go); white-space: nowrap; }
.flow-cap { grid-column: 1 / -1; margin-top: 28px; text-align: center; font-family: var(--ui); font-size: 13px; color: var(--ink-3); }
.cash { margin: 0; }
.cash-svg { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.cg { stroke: var(--line); stroke-width: 1; }
.cg-zero { stroke: var(--line-3); }
.ct { font-family: var(--ui); font-size: 12px; fill: var(--ink-3); }
.ct-b { font-weight: 600; fill: var(--ink-2); }
.ct-bad { font-weight: 600; fill: var(--bad); }
.ct-go { font-weight: 600; fill: var(--go); }
.cl-pay { stroke: var(--ink-2); stroke-width: 1.25; stroke-dasharray: 3 5; }
.cl-act { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cl-fc { fill: none; stroke: var(--royal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 7 6; }
.cl-short { fill: rgba(180, 35, 24, .1); }
.cl-today { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.late { display: grid; gap: 8px; margin-top: 18px; font-family: var(--ui); }
.late li { display: grid; grid-template-columns: minmax(0, 1fr) auto 80px; gap: 16px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--tile); font-size: 14px; transition: background-color .5s var(--ease); }
.late li span:nth-child(2) { color: var(--ink-3); }
.late b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.late li.is-paid { background: var(--go-soft); }
.late li.is-paid b { color: var(--go); }
.tree { position: relative; display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 0 80px; align-items: center; margin: 0; min-height: 360px; }
.tree-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tl { fill: none; stroke: var(--royal-line); stroke-width: 1.5; transition: stroke .5s var(--ease); }
.tl.is-done { stroke: var(--royal); }
.tree-root { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-2); font-family: var(--ui); }
.tree-root img { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; }
.tree-root b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.tree-root span { font-size: 13px; color: var(--ink-3); }
.tree-tasks { position: relative; z-index: 1; display: grid; gap: 14px; font-family: var(--ui); }
.tree-tasks li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: border-color .5s var(--ease); }
.tree-tasks li.is-done { border-color: rgba(19, 117, 71, .3); }
.tt-who { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--royal-soft); color: var(--royal-deep); font-size: 12px; font-weight: 700; }
.tt-t b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.tt-t small { font-size: 12.5px; color: var(--ink-3); }
.tt-s { padding: 3px 10px; border-radius: var(--pill); background: var(--tile); color: var(--ink-3); font-size: 12.5px; font-weight: 600; transition: background-color .4s var(--ease), color .4s var(--ease); }
.tree-tasks li.is-done .tt-s { background: var(--go-soft); color: var(--go); }
.tree-cap { grid-column: 1 / -1; margin-top: 22px; font-family: var(--ui); font-size: 13px; color: var(--ink-3); }

/* ── 11 · Data: the helmet on its stage, the car driving in under the heading ── */
.data { position: relative; overflow-x: clip; }
.data-row { position: relative; display: grid; align-items: center; min-height: clamp(200px, 21vw, 316px); margin: 12px 0 28px; }
.data-row > * { grid-area: 1 / 1; }
.data-car { position: relative; align-self: stretch; pointer-events: none; }
.data-car img { position: absolute; left: 0; top: 50%; width: clamp(600px, 70vw, 1040px); max-width: none; height: auto; transform: translate(-20%, -50%); filter: drop-shadow(0 26px 22px rgba(14, 20, 36, .24)); transition: transform 1.4s cubic-bezier(.16, .84, .24, 1), opacity .6s var(--ease); }
.data-car.is-away img { transform: translate(-78%, -50%); opacity: 0; }
.data-say { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
.data-say .lead { grid-column: 2; max-width: 420px; }
.data .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 8px; }

/* ── 13 · Questions: the pit wall radio ── */
.faq-wheel { margin: 48px 0 0; }
.faq-wheel img { display: block; width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 30px 28px rgba(14, 20, 36, .26)); transform-origin: 50% 46%; transition: transform 1.3s cubic-bezier(.16, .84, .24, 1), opacity .6s var(--ease); }
.faq-wheel.is-away img { transform: rotate(-16deg) translateY(14px); opacity: 0; }

/* ── 12 · Setup and the guarantee ──────────────────── */
.guar { padding: var(--sec) 0; }
.guar-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 72px; align-items: center; }
.guar-copy .lead { margin-top: 20px; max-width: 580px; }
.guar-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; }
.more { font-family: var(--ui); font-size: 15px; font-weight: 600; color: var(--royal-deep); text-underline-offset: 4px; }
.more:hover { color: var(--royal); }
.guar-art { margin: 0; }
.guar-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-num { font-family: var(--sans); font-size: 250px; font-weight: 600; font-stretch: 108%; letter-spacing: -.05em; fill: var(--ink); }
.g-line { fill: none; stroke: var(--royal); stroke-width: 3; stroke-linecap: round; }
.g-dot { fill: var(--white); stroke: var(--royal); stroke-width: 3; }
.g-ends { display: flex; justify-content: space-between; gap: 24px; margin-top: 4px; font-family: var(--ui); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.g-ends span { max-width: 210px; }
.g-ends span:last-child { text-align: right; }
.g-ends b { display: block; font-weight: 600; color: var(--ink); }

/* ── 14 · Close: the apex line, edge to edge ───────── */
.close { position: relative; padding: 236px 0 136px; background: var(--royal-field); color: var(--white); text-align: center; overflow: hidden; isolation: isolate; }
.close-apex { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.ca-band { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 150; }
.ca-line { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; }
.ca-dot { fill: var(--royal); stroke: var(--white); stroke-width: 3; }
.close-in { display: grid; justify-items: center; }
.close h2 { max-width: 15ch; font-size: clamp(36px, 4.6vw, 64px); color: var(--white); }
.close .lead { margin-top: 18px; color: rgba(255, 255, 255, .88); }
.close .btn { margin-top: 32px; }
.close-alt { margin-top: 18px; font-family: var(--ui); font-size: 14px; color: rgba(255, 255, 255, .82); }
.close-alt a { color: var(--white); }
.close::before { background-image: radial-gradient(circle, rgba(255, 255, 255, .3) 1px, transparent 1.6px); -webkit-mask-image: radial-gradient(ellipse 64% 46% at 50% 0%, #000 34%, transparent 82%); mask-image: radial-gradient(ellipse 64% 46% at 50% 0%, #000 34%, transparent 82%); }

/* ── 9 · The crew ────────────────────────────────────── */
.crew { padding: var(--sec) 0; }
.crew-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.crew-head .lead { margin-top: 18px; max-width: 640px; }
.crew-nav { display: flex; gap: 8px; flex: none; }
.crew-rail { margin-top: 40px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gut), calc((100vw - 1240px) / 2 + 20px)); padding: 4px max(var(--gut-r), calc((100vw - 1240px) / 2 + 20px)) 16px max(var(--gut), calc((100vw - 1240px) / 2 + 20px)); scrollbar-width: none; }
.crew-rail::-webkit-scrollbar { display: none; }
.cc { flex: none; width: 236px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--white); font-family: var(--ui); }
.cc img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line); margin-bottom: 14px; }
.cc-tag { align-self: flex-start; margin-top: auto; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 3px 10px; border-radius: var(--pill); background: var(--tile); border: 1px solid var(--line); }
.cc h3 { margin-top: 2px; }
.cc-role { font-size: 14px; color: var(--ink-3); }
.cc-do { margin: 10px 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.cc.is-core { background: var(--royal-soft); border-color: var(--royal-tint); }
.cc.is-core .cc-tag { color: var(--royal-deep); background: var(--white); border-color: var(--royal-tint); }
.crew-note { margin-top: 20px; font-family: var(--ui); font-size: 15px; color: var(--ink-2); max-width: 760px; }

/* ── 10 · One brain, three modes ─────────────────────── */
.brain { background: var(--canvas); padding: var(--sec) 0; }
.brain-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.brain .lead { margin-top: 18px; max-width: 560px; }
.truths { margin-top: 28px; display: grid; gap: 14px; max-width: 560px; font-family: var(--ui); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.truths b { color: var(--ink); font-weight: 600; }
.modes { display: grid; gap: 14px; font-family: var(--ui); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; border-radius: var(--pill); background: var(--white); border: 1px solid var(--line); }
.seg button { min-height: 40px; border: 0; border-radius: var(--pill); background: transparent; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.seg button[aria-selected="true"] { background: var(--royal); color: var(--white); }
.mode-card { display: grid; gap: 8px; padding: 22px 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-3); }
.mc-by { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.mc-by img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.mc-by b { color: var(--ink); font-weight: 600; }
.mc-what { font-size: 16px; font-weight: 600; line-height: 1.45; }
.mc-val { font-family: var(--sans); font-weight: 600; font-stretch: 104%; font-size: 22px; letter-spacing: -.02em; color: var(--go); }
.mc-state { justify-self: start; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); background: var(--royal-soft); color: var(--royal-deep); }
.mc-state.is-auto { background: var(--go-soft); color: var(--go); }
.mc-state.is-sugg { background: var(--tile); color: var(--ink-2); }
.mc-text { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }

/* ── 11 · Data ───────────────────────────────────────── */
.data { padding: var(--sec) 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; font-family: var(--ui); }
.facts .ic { width: 26px; height: 26px; color: var(--royal); stroke-width: 1.6; }
.facts h3 { margin-top: 14px; font-size: 18px; }
.facts p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ── 13 · Questions ──────────────────────────────────── */
.faq { padding: var(--sec) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.qa { border-top: 1px solid var(--line); font-family: var(--ui); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 17px; font-weight: 600; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { color: var(--ink-3); transition: transform .2s var(--ease); }
.qa details[open] summary .ic { transform: rotate(45deg); }
.qa p { padding: 0 0 20px; max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ── Footer (every page) ─────────────────────────────── */
.foot { background: var(--night); color: var(--night-2); padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot .lk { color: var(--white); }
.foot .grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot p, .foot li { font-family: var(--ui); font-size: 14px; line-height: 1.6; }
.foot h3 { font-family: var(--ui); font-size: 13px; font-weight: 600; color: var(--night-3); margin: 0 0 10px; letter-spacing: 0; }
.foot ul { display: flex; flex-direction: column; gap: 6px; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #252C40; }
.copy { font-family: var(--ui); font-size: 13px; color: var(--night-3); }
.foot .langs ul { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0; font-family: var(--ui); font-size: 13px; }
.langs li + li::before { content: "·" / ""; padding: 0 8px; color: var(--night-3); }
.foot .langs a { color: var(--night-2); }
.foot .langs a:hover { color: var(--white); }
.langs [aria-current] { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ── Book a demo: dialog and form ────────────────────── */
.demo-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 28px; border: 0; border-radius: var(--r-3); background: var(--white); color: var(--ink); box-shadow: 0 24px 64px -24px rgba(0, 0, 0, .35); font-family: var(--ui); }
.demo-dialog::backdrop { background: rgba(14, 20, 36, .5); }
.demo-dialog[open] { animation: pop .32s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.dd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dd-head h2 { font-size: 28px; }
.dd-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tile); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.dd-close:hover { background: var(--canvas); color: var(--ink); }
.dd-lead { margin: 6px 0 18px; color: var(--ink-2); font-size: 16px; }
.form-card { padding: 0; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.opt { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font: 400 16px var(--ui); transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.field textarea { resize: vertical; min-height: 86px; line-height: 1.5; }
.field select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6274' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(42, 80, 247, .2); }
.field.err input, .field.err select, .field.err textarea { border-color: #D93025; }
.f-err { font-size: 13px; color: #C5221F; }
.f-err:empty { display: none; }
.f-form { margin: 4px 0 10px; font-size: 14px; }
.f-wait { margin: 4px 0 10px; font-size: 14px; color: var(--ink-3); }
.f-wait:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--royal); flex: none; }
.consent a { color: var(--royal-deep); }
.f-consent { margin-bottom: 8px; }
.captcha:empty { display: none; }
.captcha { margin: 6px 0 10px; }
.f-done { display: flex; gap: 14px; align-items: flex-start; padding: 8px 2px; font-size: 17px; }
.f-done .ico { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--go-soft); color: var(--go); stroke-width: 2.2; }

/* ── Legal documents ─────────────────────────────────── */
/* The frame is generated by site/build.py: switcher and version line on top, contents beside the article on wide
   screens and folded inside it on narrow ones. Numbers of sections sit in .n. */
.doc { padding: 48px 0 72px; background: var(--canvas); }
.doc-grid { display: grid; grid-template-columns: 232px minmax(0, 760px); gap: 56px; justify-content: center; align-items: start; }
.doc article { max-width: 760px; margin: 0 auto; background: var(--white); border-radius: var(--r-2); box-shadow: 0 0 0 1px var(--line); padding: 44px 48px; font-family: var(--ui); }
.doc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 22px; }
.doc .doc-langs ul { display: flex; flex-direction: row; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; list-style: none; }
.doc .doc-langs li { font-size: 13.5px; line-height: 1.2; }
.doc .doc-langs a, .doc-langs [aria-current] { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: var(--pill); color: var(--ink-2); font-weight: 500; text-decoration: none; }
.doc .doc-langs a:hover { background: var(--tile); color: var(--ink); }
.doc-langs [aria-current] { background: var(--royal-soft); color: var(--royal-deep); font-weight: 600; }
.doc .doc-ver { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.doc .doc-ver + p { margin-top: 18px; }
.doc h2 .n, .doc h3 .n, .toc .n { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.doc .toc ol { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.doc .toc li { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.doc .toc a { display: grid; grid-template-columns: 2em minmax(0, 1fr); padding: 6px 0 6px 12px; border-left: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; }
.doc .toc a:hover { color: var(--royal-deep); border-left-color: var(--royal); }
.toc-side { position: sticky; top: calc(var(--top-h) + 24px); max-height: calc(100vh - var(--top-h) - 48px); overflow-y: auto; scrollbar-width: thin; padding: 6px 0 8px; font-family: var(--ui); }
.doc .toc-h { margin: 0 0 10px 13px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.toc-m { display: none; margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r-1); background: var(--tile); }
.toc-m summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary .ic { color: var(--ink-3); transition: transform .2s var(--ease); }
.toc-m[open] summary .ic { transform: rotate(180deg); }
.toc-m nav { padding: 0 16px 14px; }
.doc h1 { font-family: var(--sans); font-stretch: 108%; font-weight: 600; font-size: 34px; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 6px; }
.doc h2 { font-family: var(--ui); font-stretch: 100%; font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; margin: 32px 0 10px; }
.doc h3 { font-family: var(--ui); font-stretch: 100%; font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 16px; color: var(--ink); line-height: 1.65; }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; list-style: disc; }
.doc ol { list-style: decimal; }
.doc a { color: var(--royal-deep); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc .back { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; font-weight: 600; color: var(--ink-3); text-decoration: none; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1000px) {
  :root { --sec: 88px; }
  .nav { display: none; }
  .brain-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .data-row { display: flex; flex-direction: column; align-items: stretch; min-height: 0; margin-top: 16px; }
  .data-say { order: -1; display: block; }
  .data-say .lead { max-width: 560px; }
  .data-car { height: clamp(150px, 30vw, 230px); margin: 12px 0 8px; }
  .data-car img { width: clamp(440px, 124vw, 760px); transform: translate(-22%, -50%); }
  .data-car.is-away img { transform: translate(-78%, -50%); }
  .faq-wheel { margin-top: 32px; }
  .faq-wheel img { max-width: 340px; }
  .foot .grid { grid-template-columns: minmax(0, 1fr); }
  .doc-grid { display: block; }
  .toc-side { display: none; }
  .toc-m { display: block; }
}
@media (max-width: 640px) {
  :root { --sec: 72px; --top-h: 60px; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .brand { margin-right: 0; }
  .top .btn-quiet { display: none; }
  .hero { padding: 28px 0 64px; }
  .hero h1 { font-size: 38px; line-height: 1.04; }
  .hero .lead { margin-top: 16px; }
  .cta { width: 100%; flex-direction: column; gap: 10px; margin-top: 24px; }
  .cta .btn { width: 100%; min-height: 50px; }
  .chat { margin-top: 32px; border-radius: 20px; }
  .chat-strip { border-radius: 20px 20px 0 0; padding: 10px 12px; }
  .srcs { gap: 12px; flex-wrap: nowrap; }
  .srcs .ic { width: 17px; height: 17px; }
  .src-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .chat-body { height: 352px; padding: 16px 16px 12px; }
  .ask { max-width: 92%; }
  .chat-input { flex-wrap: wrap; row-gap: 8px; }
  .who { order: -1; flex-basis: 100%; }
  .who-btn { width: 100%; min-height: 44px; }
  .who-btn .ic { margin-left: auto; }
  .who-menu { left: 0; right: 0; width: auto; }
  .move { flex-wrap: wrap; row-gap: 8px; }
  .move .grow { flex-basis: 100%; height: 0; }
  .chat-input { margin: 0 10px; }
  .btn-sm { min-height: 44px; }
  .chat-try button { min-height: 44px; }
  .crew-head { display: grid; }
  .crew-nav { display: none; }
  .cc { width: 252px; }
  .facts, .data .facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .qa summary { font-size: 16px; }
  .f-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-dialog { padding: 20px; border-radius: 20px; }
  .doc article { padding: 28px 20px; }
  .doc-top { margin-bottom: 18px; }
  .doc .back, .doc .doc-langs a, .doc-langs [aria-current] { min-height: 44px; }
  .doc .doc-langs a, .doc-langs [aria-current] { padding: 0 9px; }
  .doc .doc-langs ul { gap: 0; margin-left: -9px; }
  .doc .toc-m a { padding: 11px 0 11px 12px; }
}
@media (max-width: 1100px) {
  .hub-stage { grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); }
  .hub-l li:nth-child(2), .hub-l li:nth-child(3) { margin-left: 28px; }
  .hub-r li:nth-child(2), .hub-r li:nth-child(3) { margin-right: 28px; }
  .flow { grid-template-columns: 200px minmax(0, 1fr) 200px; }
}
@media (max-width: 1000px) {
  .hub-head, .line-top, .wide-head, .sector-grid, .sector.is-flip .sector-grid, .guar-grid { grid-template-columns: minmax(0, 1fr); }
  .tc-head { justify-self: start; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .sector.is-flip .sector-grid > figure { order: 0; }
  .tree { grid-template-columns: 220px minmax(0, 1fr); gap: 0 48px; }
  .flow-notes { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; margin: 32px 0 0; }
}
@media (max-width: 760px) {
  .hub-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 10px; row-gap: 0; margin-top: 40px; }
  .hub-src { gap: 10px; }
  .hub-l { grid-column: 1; grid-row: 1; justify-items: stretch; }
  .hub-r { grid-column: 2; grid-row: 1; justify-items: stretch; }
  .hub-src li, .hub-r li { flex-direction: row; padding: 8px 10px 8px 8px; text-align: left; border-radius: 16px; }
  .hub-l li:nth-child(n), .hub-r li:nth-child(n) { margin: 0; }
  .hs-ic { width: 34px; height: 34px; border-radius: 11px; }
  .hs-ic .ic { width: 18px; height: 18px; }
  .hs-t b { font-size: 14px; }
  .hs-t small { font-size: 12px; }
  .hub-core { grid-column: 1 / -1; grid-row: 2; margin-top: 64px; }
  .hub-mark { width: 92px; height: 92px; border-radius: 27px; }
  .hub-mark svg { width: 54px; height: 54px; }
  .hub-out { grid-row: 3; margin-top: 48px; height: 104px; }
  .hm { grid-template-columns: 36px minmax(0, 1fr); padding: 12px 14px; }
  .hm img { width: 36px; height: 36px; }
  .hm-v { grid-column: 2; text-align: left; }
  .hm-v b { display: inline; font-size: 18px; margin-right: 6px; }
  .flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; row-gap: 0; column-gap: 12px; min-height: 0; margin-top: 36px; }
  .flow-src { grid-column: 1 / -1; grid-row: 1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .flow-sinks { grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 120px; }
  .flow-notes { grid-column: 1 / -1; grid-row: 3; margin: 24px 0 0; justify-items: stretch; }
  .note-chip { border-radius: 18px; align-items: flex-start; }
  .tree { grid-template-columns: minmax(0, 1fr); row-gap: 48px; min-height: 0; }
  .tree-cap { margin-top: -28px; }
  .tree-root { justify-self: start; }
  .speed-rows li { grid-template-columns: 84px minmax(0, 1fr) 56px; gap: 10px; }
  .speed-axis { margin: 12px 66px 0 94px; }
  .speed-axis span:nth-child(2), .speed-axis span:nth-child(4) { visibility: hidden; }
  .g-ends { font-size: 13px; }
  .data .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .line-pin { padding: 72px 0 80px; }
  .tc-total b { font-size: 44px; }
  .tc-svg { height: 760px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(180deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
  .tc-head { width: 100%; justify-content: space-between; }
  .night-field { min-height: 640px; padding: 40px 16px; border-radius: 28px; margin-left: calc(-1 * var(--gut) + 8px); margin-right: calc(-1 * var(--gut-r) + 8px); }
  .phone { width: 276px; height: 560px; border-radius: 46px; }
  .ph-screen { border-radius: 37px; }
  .viz-sum [data-speed-avg] { font-size: 36px; }
  .viz-gain { margin-left: 0; flex-basis: 100%; }
  .close { padding: 150px 0 96px; }
  .foot ul { gap: 2px; }
  .foot li a { display: inline-flex; align-items: center; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* translations run longer: on phones the racing-line total and Replay may share two rows */
@media (max-width: 640px) {
  :root:not(:lang(en)) .tc-head { flex-wrap: wrap; row-gap: 14px; }
  :root:not(:lang(en)) .doc h1 { font-size: 28px; hyphens: auto; }
}
