/* Rowstorm. Dark only, by design: every surface sets its own colour.
 *
 * Palette: monochrome. A near-black page, white and grey text, thin grey
 * borders and monochrome UI mocks. The primary action is solid white with
 * a grey ledge; the secondary is an outline. One green, used sparingly and
 * only for live, positive or sold states, never as a wash or a glow. Amber
 * marks a warning (a cap reached, a duplicate) and red an error.
 *
 * Contrast (WCAG, on --bg #0D0D0F): text 19.4:1, muted 6.2:1, faint 5.7:1,
 * green 7.7:1, amber 6.8:1, red 5.2:1; ink on white 19.4:1. Green text uses
 * #3FB68B: the darker #1D7F5B is only 3.9:1 on this ground.
 *
 * Type: Funnel Display (uppercase statements), Inter (headings and
 * body), Geist Mono (labels and numbers).
 */
:root {
  color-scheme: dark;
  /* Ground */
  --bg: #0D0D0F;
  --bg-2: #0A0A0A;
  --panel: #111113;
  --panel-2: #161517;
  --panel-3: #1D1D1F;
  --line: #2D2E30;
  --line-2: #444547;
  --rain: #2D2E30;
  /* Text */
  --text: #FFFFFF;
  --muted: #919294;
  --faint: #8A8A92;
  /* Highlight: white on dark. Selected, primary, matched. */
  --hi: #FFFFFF;
  --hi-2: #E6E6E6;
  --ink: #0D0D0F;
  --ledge: #6B6B6E;
  --hi-dim: rgba(255, 255, 255, 0.05);
  --hi-line: rgba(255, 255, 255, 0.32);
  /* Semantic */
  --ok: #3FB68B;
  --ok-line: rgba(63, 182, 139, 0.45);
  --ok-dim: rgba(63, 182, 139, 0.08);
  --warn: #D4883C;
  --warn-line: rgba(212, 136, 60, 0.45);
  --warn-dim: rgba(212, 136, 60, 0.08);
  --err: #E5534B;
  --err-line: rgba(229, 83, 75, 0.45);
  --err-dim: rgba(229, 83, 75, 0.08);
  /* Light surface (email paper) */
  --paper: #F4F4F6;
  --paper-ink: #111113;

  --f-display: 'Funnel Display', 'Inter', system-ui, sans-serif;
  --f-head: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: 16px;
  --max: 1200px;
  --nav: 64px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
::selection { background: var(--hi); color: var(--ink); }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 80px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--hi); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.mark { width: 26px; height: 20px; fill: var(--hi); }
.wordmark span { font: 800 22px/1 var(--f-display); letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 8px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .1s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .1s ease;
}
.btn-pri { background: var(--hi); color: var(--ink); box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset, 0 4px 0 0 var(--ledge); }
.btn-pri:hover { background: var(--hi-2); }
.btn-pri:active { transform: translateY(4px); box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset, 0 0 0 0 var(--ledge); }
.btn-ghost { color: var(--text); border-color: var(--muted); background: transparent; }
.btn-ghost:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn-ghost:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 6px; }
.btn-sm.btn-pri { box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset, 0 3px 0 0 var(--ledge); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav); gap: 16px; }
.nav-links { display: none; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* ---------- Shared bits ---------- */
.lbl { font: 500 11px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--text); letter-spacing: 0.04em; text-transform: uppercase; }
.sec-head { max-width: 800px; }
.sec-h { margin-top: 16px; font: 650 clamp(32px, 4.8vw, 58px)/1.04 var(--f-head); font-weight: 650; letter-spacing: -0.035em; text-wrap: balance; }
.sec-h-s { font-size: clamp(30px, 4.2vw, 46px); }
.sec-sub { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 62ch; }
.soon { display: inline-block; font-size: 10.5px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--muted); font-style: normal; white-space: nowrap; vertical-align: 2px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; justify-self: start; }
.tag .ico { width: 12px; height: 12px; }
.tag-ok { border-color: var(--ok-line); color: var(--ok); }
.tag-warn { border-color: var(--warn-line); color: var(--warn); }
.tag-err { border-color: var(--err-line); color: var(--err); }
.ok { color: var(--ok); } .err { color: var(--err); } .arc { color: var(--hi); }
.av { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font: 600 9.5px/1 var(--f-mono); color: var(--text); background: var(--panel-3); }
.av { border: 1px solid var(--line-2); }
.av-a { background: #1D1D1F; }
.av-b { background: #2D2E30; }
.av-c { background: #161517; }
.av-d { background: #252527; }
.av-lg { width: 44px; height: 44px; font-size: 14px; }
.m-cap { margin-top: 12px; font-size: 11px; color: var(--faint); }
.bolt { width: 9px; height: 13px; background: currentColor; clip-path: polygon(60% 0, 0 58%, 42% 58%, 30% 100%, 100% 38%, 56% 38%); flex: none; display: inline-block; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; background: var(--hi); opacity: 0; flex: none; vertical-align: -0.15em; }
.typing .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; }
.hero-sky { display: none; }
@media (min-width: 900px) { .hero { padding: 64px 0 104px; } }
.hero .wrap { position: relative; }
.hero-copy { display: grid; gap: 24px; }
.hero-h {
  max-width: 13ch;
  font: 800 clamp(46px, 7.4vw, 92px)/0.86 var(--f-display);
  text-transform: uppercase; letter-spacing: -0.012em; text-wrap: balance;
}
.hero-h .line { padding-bottom: 0.05em; margin-bottom: -0.05em; }
.hero-h .w-arc { color: inherit; }
.hero-sub { max-width: 46ch; font-size: clamp(17px, 2vw, 19px); color: var(--muted); }
.hero-ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hello { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hello .mono { color: var(--text); user-select: all; -webkit-user-select: all; }
@media (max-width: 459px) { .hero-ctas .btn { padding: 0 18px; font-size: 15px; } }
@media (min-width: 1000px) {
  .hero-copy { grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; align-items: end; }
  .hero-h { max-width: none; }
  .hero-side { padding-bottom: 8px; }
}

.stage {
  margin: 48px 0 0; position: relative;
  background: var(--panel);
  border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden;
}
.stage-bar { position: relative; z-index: 5; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.q-icon { color: var(--muted); }
.q { flex: 1 1 260px; min-width: 0; min-height: 26px; display: flex; align-items: center; font-size: 16px; font-weight: 500; }
.live .q .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
.timing { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.timing .bolt { color: var(--text); }
.timing b { color: var(--ok); font-weight: 500; }

.stage-body { position: relative; display: grid; }
.storm { position: relative; min-height: 270px; overflow: hidden; background: var(--bg-2); }
.storm-static { position: absolute; inset: 0; width: 100%; height: 100%; }
.live .storm-static { visibility: hidden; }
.storm-tag { position: absolute; z-index: 4; left: 14px; top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; padding: 5px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); }
.storm-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); transition: background .3s ease; }
.storm-tag.idle i { background: var(--faint); }
.results { position: relative; z-index: 2; padding: 14px; background: var(--panel); border-top: 1px solid var(--line); }
.res-head { display: flex; justify-content: space-between; align-items: end; padding: 2px 4px 12px; }
.res-head .lbl { display: block; margin-bottom: 4px; }
.res-head b { font-weight: 600; font-size: 15px; }
.res-n { font-size: 26px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.res-rows { display: grid; gap: 6px; }
.res-rows li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.res-rows .rn { flex: 1; min-width: 0; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-rows small { display: block; font-size: 12px; color: var(--faint); font-weight: 400; }
.res-rows li:nth-child(n+5) { display: none; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; display: none; }
.live .fx { display: block; }
.bolt-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; display: none; }
.live .bolt-svg { display: block; }
.bolt-svg path { fill: none; stroke: var(--hi); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; visibility: hidden; }
.bolt-svg path + path { stroke-width: 1.5; }
.stage-foot { position: relative; z-index: 5; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--muted); background: var(--panel); }
@media (max-width: 459px) {
  .q { font-size: 14.5px; flex-basis: calc(100% - 32px); }
  .stage-bar { padding: 12px 14px; }
}
@media (min-width: 900px) {
  .stage-body { grid-template-columns: minmax(0, 1fr) 340px; }
  .storm { min-height: 420px; }
  .results { border-top: 0; border-left: 1px solid var(--line); padding: 18px; }
  .res-rows li:nth-child(n+5) { display: flex; }
  .stage-bar { padding: 16px 24px; }
  .q { font-size: 18px; }
  .stage-foot { padding: 12px 24px; }
}

/* ---------- Speed ---------- */
.speed { padding: 104px 0 96px; background: var(--bg); border-top: 1px solid var(--line); }
.figs { margin-top: 48px; display: grid; gap: 28px; }
@media (min-width: 760px) { .figs { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.figs li { position: relative; padding: 26px 24px 24px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); overflow: hidden; }
.fig { font-size: clamp(56px, 6.2vw, 84px); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; color: var(--text); }
.fig small { font-size: 0.36em; margin-left: 0.12em; color: var(--muted); letter-spacing: 0; }
.fig-track { margin-top: 18px; width: 100%; height: 8px; overflow: visible; }
.fig-track path { stroke: var(--line-2); stroke-width: 2; fill: none; }
.fig-track path + path { stroke: var(--ok); }
.fig-h { margin-top: 18px; font-weight: 600; font-size: 17px; line-height: 1.35; }
.fig-p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.fig-p b { color: var(--text); font-weight: 600; }
.fig-note { margin-top: 22px; font-size: 13px; color: var(--faint); }

/* ---------- The app showcase ---------- */
.show { padding: 104px 0 40px; background: var(--bg); border-top: 1px solid var(--line); }
.early { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); padding: 8px 14px 8px 12px; border-radius: 6px; border: 1px solid var(--line-2); background: transparent; }
.early i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex: none; }
.show-track { position: relative; margin-top: 40px; }
.show-stage { position: relative; }
.show-grid { display: grid; gap: 20px; }
.chapters { display: grid; gap: 2px; align-content: start; }
.chapters button { width: 100%; text-align: left; display: grid; grid-template-columns: 30px 1fr auto; align-items: baseline; gap: 2px 8px; padding: 9px 10px; border-radius: 10px; color: var(--muted); transition: color .25s ease, background .25s ease; }
.chapters button > span { font-size: 11.5px; color: var(--faint); }
.chapters b { font-weight: 600; font-size: 15px; }
.chapters i.soon { font-size: 9.5px; padding: 3px 6px; }
.chapters em { grid-column: 2 / -1; font-style: normal; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.chapters button:hover { color: var(--text); }
.chapters .on button, .chapters button.on { color: var(--text); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.chapters button.on > span { color: var(--hi); }
.show-cap { display: none; }

/* The app window */
.win { position: relative; min-width: 0; height: 600px; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 13.5px; }
.win-bar { flex: none; display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.win-search { flex: 1; max-width: 380px; margin: 0 auto; display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); color: var(--faint); font-size: 12.5px; min-width: 0; }
.win-search span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-search .ico { width: 14px; height: 14px; }
.win-search kbd { font-size: 11px; color: var(--faint); }
.win-me { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.win-me .ico { width: 16px; height: 16px; }
.win-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 50px minmax(0, 1fr); }
.sb { display: flex; flex-direction: column; gap: 2px; padding: 10px 6px; border-right: 1px solid var(--line); background: var(--panel); min-height: 0; overflow: hidden; }
.sb-org { display: flex; align-items: center; gap: 9px; padding: 4px 8px 12px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.sb-org .mark { width: 20px; height: 16px; flex: none; }
.sb a { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 8px; color: var(--muted); white-space: nowrap; font-size: 13px; }
.sb a .ico { position: relative; z-index: 1; width: 17px; height: 17px; }
.sb a span { position: relative; z-index: 1; }
.sb a.on { color: var(--text); }
.sb a.on .ico { color: var(--hi); }
.sb-ind { position: absolute; inset: 0; border-radius: 6px; background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.sb-end { margin-top: auto; }
.sb-org span, .sb a span { display: none; }
@media (min-width: 760px) {
  .win-body { grid-template-columns: 184px minmax(0, 1fr); }
  .sb { padding: 12px 10px; }
  .sb-org span, .sb a span { display: inline; }
}

.scenes { position: relative; min-width: 0; min-height: 0; container-type: inline-size; overflow: hidden; }
.scene { position: absolute; inset: 0; padding: 18px; overflow: hidden; display: none; }
.scene.is-on, .scene.is-in, .scene.is-out { display: block; }
.sc-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 14px; }
.sc-head h3 { font: 650 19px/1.2 var(--f-head); letter-spacing: -0.02em; }
.sc-n { font-size: 14px; color: var(--text); font-weight: 500; }
.sc-n small { color: var(--muted); font-weight: 400; font-size: 12px; }
.sc-meta { color: var(--faint); font-size: 12px; }
.btn-mini { margin-left: auto; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 8px; background: var(--hi); color: var(--ink); white-space: nowrap; }
.seg-pill { font-size: 11.5px; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--muted); }

/* 01 Contacts */
.sc-query { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--muted); font-size: 14px; }
.sc-query .ico { color: var(--hi); width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 12px; padding: 5px 9px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; }
.chip b { font-weight: 500; color: var(--muted); }
.tbl { margin-top: 14px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.5fr 1fr 0.9fr 0.8fr 0.8fr; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 13px; background: var(--bg-2); }
.tr > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr.th { border-top: 0; background: var(--panel); color: var(--faint); font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; padding: 9px 12px; }
.nm { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.nm .av { width: 22px; height: 22px; font-size: 8.5px; }
.tr .c-last { color: var(--faint); font-size: 12px; }
.segs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 14px; }
.seg { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.seg b { color: var(--text); font-weight: 500; margin-left: 4px; }
.seg-new { border-color: var(--muted); color: var(--text); }
@container (max-width: 560px) {
  .tr { grid-template-columns: 1.6fr 1fr 0.9fr; }
  .tr .c-src, .tr .c-last { display: none; }
  .tbl .tr:nth-child(n+6) { display: none; }
  .segs .seg:nth-child(n+4) { display: none; }
  .sc-head .btn-mini { margin-left: 0; }
}

/* 02 Record */
.rec { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; height: 100%; }
.rec-id { display: flex; align-items: center; gap: 12px; }
.rec-id h3 { font: 650 19px/1.2 var(--f-head); letter-spacing: -0.02em; }
.rec-id p { font-size: 11.5px; color: var(--faint); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-id > div { min-width: 0; }
.rec-fields { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rec-fields div { padding: 9px 10px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.rec-fields dt { font: 500 10px/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.rec-fields dd { margin-top: 4px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.consent { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.consent ul { margin-top: 8px; display: grid; gap: 7px; }
.consent li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; font-size: 13px; }
.consent small { grid-column: 1 / -1; font-size: 11px; color: var(--faint); }
.merged { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.merged .ico { width: 15px; height: 15px; color: var(--hi); }
.tl { position: relative; align-self: start; padding: 14px 14px 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); min-width: 0; overflow: hidden; }
.tl ol { margin-top: 12px; display: grid; gap: 13px; position: relative; }
.tl-line { position: absolute; left: 22px; top: 46px; bottom: 20px; width: 2px; height: calc(100% - 66px); }
.tl-line path { stroke: var(--line-2); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.tl li { position: relative; display: grid; gap: 1px; padding-left: 22px; font-size: 13px; }
.tl li i { position: absolute; left: 1px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line-2); }
.tl li i.dot-arc { border-color: var(--hi); background: var(--hi); }
.tl li b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl li span { font-size: 11px; color: var(--faint); }
@container (max-width: 560px) {
  .rec { grid-template-columns: 1fr; }
  .rec-fields div:nth-child(n+3), .merged { display: none; }
  .tl { display: none; }
}

/* 03 Email */
.mail { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 0.9fr); gap: 14px; align-items: start; }
.blocks { display: grid; gap: 6px; }
.blocks span { font-size: 12px; padding: 8px 9px; border-radius: 8px; border: 1px dashed var(--line-2); color: var(--muted); background: var(--panel); }
.blocks span.on { border-style: solid; border-color: var(--muted); color: var(--text); }
.paper { background: var(--paper); color: var(--paper-ink); border-radius: 12px; padding: 16px; box-shadow: 0 20px 50px -30px rgba(0,0,0,.9); min-width: 0; }
.pp-from { font-size: 10.5px; color: #5C5C62; }
.pp-subj { margin-top: 6px; font-weight: 650; font-size: 15px; line-height: 1.3; }
.pp-subj i { font-style: normal; font-family: var(--f-mono); font-size: 12px; background: #E4E4E8; color: #111113; padding: 1px 4px; border-radius: 4px; }
.pp-img { margin-top: 12px; height: 92px; border-radius: 8px; background:
  linear-gradient(160deg, transparent 55%, rgba(17, 17, 19, .16) 55%), linear-gradient(200deg, #B9B9BF, #6B6B72); }
.pp-lines { margin-top: 12px; display: grid; gap: 6px; }
.pp-lines i { display: block; height: 6px; border-radius: 3px; background: #D4D4DA; }
.pp-lines i.s { width: 84%; } .pp-lines i.xs { width: 60%; }
.pp-btn { display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: var(--paper-ink); color: #fff; font-size: 12px; font-weight: 600; }
.m-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ms { padding: 10px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.ms b { display: block; margin-top: 5px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }

.spark { grid-column: 1 / -1; width: 100%; height: 64px; margin-top: 6px; }
.spark-line { fill: none; stroke: var(--text); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark-fill { fill: rgba(255, 255, 255, .05); }
.ms-cap { grid-column: 1 / -1; font-size: 10.5px; color: var(--faint); }
@container (max-width: 640px) {
  .mail { grid-template-columns: minmax(0, 1fr); }
  .blocks { grid-template-columns: repeat(5, auto); justify-content: start; gap: 5px; }
  .blocks span { padding: 6px 7px; font-size: 11px; }
  .pp-img { height: 54px; }
  .m-stats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .ms { padding: 8px 6px; }
  .ms b { font-size: 14px; }
  .ms .lbl { font-size: 9px; }
  .spark, .ms-cap { display: none; }
  .sc-meta { display: none; }
}

/* 04 Analytics */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.kpi b { display: block; margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.kpi em { display: block; margin-top: 6px; font-style: normal; font-size: 11px; color: var(--faint); }
.kpi em.up { color: var(--ok); }
.charts { margin-top: 10px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.card-c { padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.line-c { margin-top: 10px; width: 100%; height: 190px; }
.line-c .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.line-c .area { fill: rgba(255, 255, 255, .05); }
.line-c .ln { fill: none; stroke: var(--hi); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.hbars { margin-top: 12px; display: grid; gap: 9px; }
.hbars div { display: grid; grid-template-columns: 74px 1fr 30px; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.hbars i { display: block; height: 9px; width: var(--w); border-radius: 3px; background: var(--line-2); }
.hbars div:first-child i { background: var(--hi); }
.hbars em { font-style: normal; font-size: 11px; text-align: right; }
.card-heat { grid-column: 1 / -1; }
.heat { margin-top: 10px; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.heat i { aspect-ratio: 1.6; border-radius: 3px; background: rgba(255, 255, 255, calc(var(--a, .06) * 0.85)); }
@container (max-width: 640px) {
  .kpi b { font-size: 17px; }
  .kpi em { display: none; }
  .kpi { padding: 9px; }
  .charts { grid-template-columns: 1fr; }
  .line-c { height: 90px; }
  .card-heat, .charts .card-c:nth-child(2) .hbars div:nth-child(n+4) { display: none; }
  .sc-head .seg-pill:last-child { display: none; }
}

/* 05 Assistant */
.chat { display: grid; gap: 10px; max-width: 640px; }
.bub-q { justify-self: end; max-width: 82%; padding: 10px 13px; border-radius: 14px 14px 4px 14px; background: var(--panel-3); border: 1px solid var(--line-2); }
.ran { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.ran b { color: var(--ok); font-weight: 500; }
.ran .bolt { color: var(--text); width: 8px; height: 11px; }
.bub-a { max-width: 90%; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--panel); border: 1px solid var(--line); }
.bub-a b { color: var(--text); font-weight: 600; }
.mini-bars { margin-top: 10px; display: grid; gap: 5px; max-width: 260px; }
.mini-bars i { display: block; height: 6px; border-radius: 3px; width: var(--w); background: var(--line-2); }
.mini-bars i:first-child { background: var(--hi); }

@container (max-width: 560px) {
  .chat { gap: 8px; font-size: 12.5px; }
  .bub-q, .bub-a { max-width: 100%; }
  .sc-head .sc-meta { display: none; }
}

/* 06 Pipeline */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; height: calc(100% - 46px); }
.col { padding: 10px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col-h { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); padding: 2px 2px 4px; }
.col-h b { font-weight: 500; color: var(--faint); }
.kc { padding: 10px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); display: grid; gap: 3px; min-width: 0; }
.kc b { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc span { font-size: 12px; color: var(--muted); }
.kc small { font-size: 11px; color: var(--faint); }
.kc-hot { border-color: var(--muted); }
.kc-won span { color: var(--ok); }
@container (max-width: 560px) {
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col[data-col="0"], .col[data-col="1"] .kc + .kc { display: none; }
  .col[data-col="1"] { order: 0; }
}

/* 07 Tasks and calendar */
.tc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; }
.tasks { display: grid; gap: 8px; align-content: start; }
.tasks li { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; }
.tasks li small { display: block; font-size: 11px; color: var(--faint); margin-top: 2px; }
.tick { width: 18px; height: 18px; flex: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tick rect { stroke: var(--line-2); stroke-width: 1.6; }
.tick path { stroke: transparent; stroke-width: 2; }
.tasks li.done .tick rect { stroke: var(--ok); }
.tasks li.done .tick path { stroke: var(--ok); }
.tasks li.done span { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--line-2); }
.tasks .remind { border-color: var(--warn-line); }
.tasks .remind .ico { color: var(--warn); width: 17px; height: 17px; }
.cal { border-radius: 12px; background: var(--panel); border: 1px solid var(--line); padding: 10px; min-width: 0; }
.cal-h { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font: 500 10.5px/1 var(--f-mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; padding: 0 2px 8px; }
.cal-g { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(8, 40px); gap: 4px; background: repeating-linear-gradient(180deg, transparent 0 43px, var(--line) 43px 44px); }
.ev { grid-column: var(--c); grid-row: var(--r) / span var(--s); padding: 6px; border-radius: 7px; font-size: 11px; line-height: 1.25; background: var(--panel-3); border-left: 2px solid var(--line-2); color: var(--muted); overflow: hidden; }
.ev-arc { background: var(--panel-3); border-left-color: var(--hi); color: var(--text); }
.ev-new { background: var(--panel-3); border-left-color: var(--ok); color: var(--text); }
@container (max-width: 560px) {
  .tc { grid-template-columns: 1fr; }
  .cal { display: none; }
}

/* 08 SMS */
.sms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.thread { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.th-who { display: flex; align-items: center; gap: 9px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.th-who small { margin-left: auto; font-weight: 400; font-size: 11px; color: var(--faint); }
.sb-out, .sb-in { max-width: 88%; padding: 8px 11px; font-size: 12.5px; line-height: 1.4; }
.sb-out { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--hi); color: var(--ink); }
.sb-in { justify-self: start; border-radius: 14px 14px 14px 4px; background: var(--panel-3); }
.sb-meta { justify-self: end; font-size: 10.5px; color: var(--faint); }
.bulk { padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.bk-to { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bk-to .seg { border-color: var(--muted); color: var(--text); }
.bk-msg { padding: 10px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 12.5px; }
.bk-checks { display: grid; gap: 6px; font-size: 11.5px; color: var(--muted); }
.bk-checks li { display: flex; gap: 8px; }
@container (max-width: 560px) {
  .sms { grid-template-columns: 1fr; }
  .bulk { display: none; }
}

/* 09 Integrations */
.integ { position: relative; height: min(380px, calc(100% - 46px)); min-height: 260px; margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); column-gap: 34%; row-gap: 14px; align-items: center; }
.int-flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.int-flow path { fill: none; stroke: #5A5B5E; stroke-width: 1.2; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.int-hub { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 22px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--muted); }
.int-hub .mark { width: 36px; height: 28px; }
.int-t { position: relative; grid-column: calc(var(--x) + 1); grid-row: calc(var(--y) + 1); display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.int-t .ico { color: var(--muted); }
.int-t b { flex: 1; font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw { flex: none; position: relative; width: 30px; height: 18px; border-radius: 999px; background: var(--line-2); transition: background .3s ease; }
.sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform .3s cubic-bezier(.3,1.4,.5,1), background .3s ease; }
.sw.on { background: var(--ok); }
.sw.on::after { transform: translateX(12px); background: #fff; }
@container (max-width: 560px) {
  .integ { column-gap: 30%; }
  .int-t { padding: 9px 8px; gap: 6px; }
  .int-t .ico { display: none; }
  .int-t b { font-size: 11.5px; }
  .int-hub { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 16px; }
  .int-hub .mark { width: 26px; height: 20px; }
}

/* 10 Leads */
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ok); }
.live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-dot i { animation: none; } }
.lq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@container (min-width: 900px) { .lq { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.lq-list { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; align-self: start; }
.lr { display: grid; grid-template-columns: 62px 1.1fr 44px 1.2fr auto; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 12.5px; }
.lr:first-child { border-top: 0; }
.lr > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr > span.mono:first-child { color: var(--faint); font-size: 11px; }
.lr b { font-weight: 500; }
.lr .c-pc { color: var(--muted); font-size: 11.5px; }
.lr .dim { color: var(--faint); }
.lr-new { background: var(--panel-2); }
.lq-why { padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); align-self: start; }
.why-steps { margin-top: 10px; display: grid; gap: 7px; font-size: 12.5px; }
.why-steps li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); }
.why-steps i { font-style: normal; flex: none; width: 16px; text-align: center; font-weight: 700; }
@container (max-width: 640px) {
  .lq { grid-template-columns: 1fr; }
  .lr { grid-template-columns: 1fr 1fr auto; }
  .lr > span.mono:first-child, .lr .c-pc { display: none; }
  .lq-why { display: none; }
  .sc-head .sc-meta { display: none; }
}

/* Showcase layouts */
@media (min-width: 1100px) {
  .show-grid { grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: center; }
  .win { height: 620px; }
}
/* Sticky, scroll-driven: set by the script on wide screens with motion. */
.show.is-scroll .show-track { height: calc(var(--steps, 10) * 62vh + 100vh); }
.show.is-scroll .show-stage { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); display: flex; align-items: center; }
.show.is-scroll .win { height: min(640px, calc(100vh - var(--nav) - 56px)); }
.js .chapters em { display: none; }
.js .chapters button.on em { display: block; }
.chapters-track { display: none; }
/* Tabs: narrower screens with script. */
@media (max-width: 1099px) {
  .js .chapters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
  .js .chapters::-webkit-scrollbar { display: none; }
  .js .chapters li { flex: none; }
  .js .chapters button { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); white-space: nowrap; }
  .js .chapters button.on { border-color: var(--text); background: var(--text); color: var(--ink); box-shadow: none; }
  .js .chapters button.on > span, .js .chapters button.on .soon { color: var(--ink); border-color: var(--ink); }
  .js .chapters b { font-size: 13.5px; }
  .js .chapters em, .js .chapters button.on em { display: none; }
  .js .show-cap { display: block; margin: -6px 0 0; min-height: 3.2em; color: var(--muted); font-size: 15px; }
  .win { height: 540px; }
}
@media (max-width: 459px) { .win { height: 500px; } .scene { padding: 14px; } }

/* ---------- iPhone ---------- */
.pocket { padding: 96px 0; background: var(--bg); border-top: 1px solid var(--line); overflow: hidden; }
.pocket-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .pocket-in { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; } }
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone { position: relative; width: 300px; height: 620px; max-width: 100%; border-radius: 54px; padding: 11px; background: #1D1D1F; box-shadow: 0 0 0 1.5px #444547 inset, 0 0 0 1px #000; }
.ph-screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: #0A0A0A; }
.ph-island { position: absolute; z-index: 9; left: 50%; top: 10px; width: 96px; height: 28px; margin-left: -48px; border-radius: 12px; background: #000; }
.ph-lock { position: absolute; inset: 0; z-index: 2; display: none; padding: 64px 14px 0; text-align: center; color: #F1F6F8; background:
  radial-gradient(120% 60% at 70% 0%, #4A4A50, transparent 70%),
  radial-gradient(100% 60% at 0% 100%, #2D2E30, transparent 70%),
  linear-gradient(175deg, #2A2A2E, #0D0D0F 75%); }
.ph-date { font-size: 15px; font-weight: 500; opacity: .85; }
.ph-time { font: 700 78px/1 var(--f-head); letter-spacing: -0.04em; margin-top: 2px; }
.ph-note { position: relative; z-index: 2; margin-top: 230px; display: flex; gap: 10px; text-align: left; padding: 11px 12px; border-radius: 12px; background: rgba(60, 60, 66, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.08); }
.ph-appico { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: #0D0D0F; border: 1px solid #444547; }
.ph-appico .mark { width: 20px; height: 16px; }
.ph-nt { display: flex; justify-content: space-between; font-size: 12px; }
.ph-nt span { color: rgba(241,246,248,.6); }
.ph-nb { font-size: 13px; line-height: 1.32; color: rgba(241,246,248,.9); }
.ph-nb b { display: block; font-weight: 600; color: #fff; }
.ph-tap { position: absolute; z-index: 3; width: 44px; height: 44px; border-radius: 50%; left: 50%; top: 410px; margin-left: -22px; background: rgba(255,255,255,.35); opacity: 0; pointer-events: none; }
.ph-app { position: absolute; inset: 0; z-index: 1; padding: 50px 16px 0; display: flex; flex-direction: column; background: #0A0A0A; }
.ph-status { position: absolute; top: 15px; left: 30px; right: 26px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.ph-bars { display: flex; gap: 2px; align-items: end; }
.ph-bars i { width: 3px; background: var(--text); border-radius: 1px; }
.ph-bars i:nth-child(1) { height: 5px; } .ph-bars i:nth-child(2) { height: 8px; } .ph-bars i:nth-child(3) { height: 11px; }
.ph-back { color: var(--text); font-size: 15px; font-weight: 500; }
.ph-lead { margin-top: 10px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.ph-lead h3 { margin-top: 6px; font: 650 21px/1.2 var(--f-head); letter-spacing: -0.02em; }
.ph-lead p { font-size: 12px; color: var(--muted); }
.ph-sold { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.ph-sold b { color: var(--text); font-size: 16px; font-weight: 600; }
.ph-why { position: relative; margin-top: 16px; padding: 12px 12px 12px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ph-line { position: absolute; left: 19px; top: 44px; width: 2px; height: calc(100% - 66px); }
.ph-line path { stroke: var(--line-2); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.ph-why ol { margin-top: 10px; display: grid; gap: 10px; }
.ph-why li { position: relative; padding-left: 20px; font-size: 12.5px; line-height: 1.35; }
.ph-why li small { display: block; font-size: 10.5px; color: var(--faint); }
.ph-why li i { position: absolute; left: 1px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.ph-why li i.arc { background: var(--hi); }
.ph-tabs { margin: auto -16px 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 8px 26px; border-top: 1px solid var(--line); background: var(--panel); }
.ph-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 10px; color: var(--faint); }
.ph-tabs span.on { color: var(--hi); }
.ph-tabs .ico { width: 20px; height: 20px; }
.phone.is-anim .ph-lock { display: block; }
@media (max-width: 359px) { .phone { width: 280px; height: 590px; } }

/* ---------- Rowstorm Routing ---------- */
.leads { padding: 104px 0; background: var(--bg); border-top: 1px solid var(--line); }
.router { margin-top: 44px; display: grid; gap: 16px; }
.modes { position: relative; justify-self: start; display: inline-flex; padding: 4px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line-2); }
.modes button { position: relative; isolation: isolate; padding: 8px 14px; border-radius: 5px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s ease; white-space: nowrap; }
.modes button.on { color: var(--ink); }
.mode-ind { position: absolute; z-index: -1; inset: 0; border-radius: 5px; background: var(--hi); }
.rt-diagram { position: relative; padding: 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); min-width: 0; }
.rt { width: 100%; height: auto; overflow: visible; }
.rt-wide { display: none; }
@media (min-width: 760px) { .rt-wide { display: block; } .rt-tall { display: none; } }
.rt-paths path { fill: none; stroke: var(--line-2); stroke-width: 2; }
.rt-paths path[data-p="t"] { stroke: var(--line-2); stroke-width: 3; }
.rt text { font: 500 14px var(--f-body); fill: var(--text); }
.rt-src rect, .rt-ends rect:first-child { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1.5; }
.rt-gates circle { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 2; }
.rt-gates text { font: 500 11px var(--f-mono); fill: var(--muted); letter-spacing: .04em; }
.rt-gates g.pass circle { stroke: var(--ok); }
.rt-gates g.fail circle { stroke: var(--err); }
.rt-hub circle { fill: var(--panel-3); stroke: var(--hi); stroke-width: 1.5; }
.rt-hub path { fill: var(--hi); }
.rt-ends .cap-t { font: 500 11px var(--f-mono); fill: var(--muted); }
.rt-ends .cap-bg { fill: var(--line-2); }
.rt-ends .cap-f { fill: var(--muted); transform-box: fill-box; transform-origin: 0 50%; }
.rt-ends g.full .cap-f { fill: var(--warn); }
.rt-ends g.hit > rect:first-child { stroke: var(--ok); }
.rt-ends g.hit .cap-f { fill: var(--ok); }
.rt .dot { fill: var(--hi); }
.rt .dot-halo { fill: none; stroke: var(--hi); stroke-width: 1; opacity: .35; }
.rt .dot.bad { fill: var(--err); }
.rt-why { padding: 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); min-width: 0; }
.rt-why .why-steps { font-size: 14px; gap: 9px; }
.rt-why .why-steps li { color: var(--text); }
.rt-why .why-steps li span { color: var(--muted); }
@media (min-width: 1000px) {
  .router { grid-template-columns: minmax(0, 1fr) 330px; grid-template-rows: auto 1fr; column-gap: 20px; }
  .modes { grid-column: 1 / -1; }
  .rt-diagram { padding: 24px; }
}
.lead-feats { margin-top: 40px; display: grid; gap: 14px; }
@media (min-width: 700px) { .lead-feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lead-feats { grid-template-columns: repeat(3, 1fr); } }
.lead-feats li { padding: 20px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.lead-feats h3 { font: 600 17px/1.3 var(--f-head); letter-spacing: -0.01em; }
.lead-feats p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- Features ---------- */
.feats { padding: 104px 0; background: var(--bg); border-top: 1px solid var(--line); }
.feat-grid { margin-top: 44px; display: grid; gap: 14px; }
@media (min-width: 700px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat { padding: 24px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.f-ico { width: 36px; height: 36px; padding: 8px; border-radius: 8px; color: var(--text); border: 1px solid var(--line-2); }
.feat h3 { margin-top: 16px; font: 600 21px/1.2 var(--f-head); letter-spacing: -0.02em; }
.feat ul { margin-top: 12px; display: grid; gap: 8px; }
.feat li { position: relative; padding-left: 16px; color: var(--muted); font-size: 15.5px; }
.feat li::before { content: ''; position: absolute; left: 0; top: 0.66em; width: 6px; height: 1.5px; background: var(--muted); }
.comply { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.comply > .ico { width: 36px; height: 36px; color: var(--text); }
.comply h3 { font: 600 21px/1.2 var(--f-head); letter-spacing: -0.02em; }
.comply p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 80ch; }
.comply .fine { font-size: 13.5px; color: var(--faint); }

/* ---------- Roadmap ---------- */
.road { padding: 96px 0; background: var(--bg); border-top: 1px solid var(--line); }
.road-in { display: grid; gap: 36px; }
@media (min-width: 960px) { .road-in { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; } }
.road-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 600px) { .road-list { grid-template-columns: repeat(3, 1fr); } }
.road-list li { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 12px; border: 1px dashed var(--line-2); background: transparent; }
.road-list .ico { color: var(--faint); width: 22px; height: 22px; }
.road-list h3 { font: 600 16.5px/1.25 var(--f-head); letter-spacing: -0.01em; color: var(--text); }
.road-list .soon { justify-self: start; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: 136px 0; border-top: 1px solid var(--line); background: var(--bg); }
.cta-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .8; }
.cta-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-h { font: 800 clamp(42px, 7.4vw, 92px)/0.86 var(--f-display); text-transform: uppercase; letter-spacing: -0.012em; text-wrap: balance; max-width: 14ch; }
.cta-in > p:not(.hello) { margin: 20px 0 30px; color: var(--muted); font-size: 19px; }
.cta-in .hello { margin: 16px 0 0; font-size: 15px; }

/* ---------- Footer ---------- */
.foot { padding: 40px 0; background: var(--bg); border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot-link { color: var(--muted); font-size: 14px; user-select: all; -webkit-user-select: all; }
.foot-c { margin-left: auto; color: var(--faint); font-size: 14px; }
@media (max-width: 480px) { .foot-c { margin-left: 0; width: 100%; } }

/* Script-only helpers */
.ghost-block { position: absolute; font-size: 12px; padding: 8px 9px; border-radius: 8px; border: 1px solid var(--muted); color: var(--text); background: var(--panel-3); pointer-events: none; }
.int-dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--text); pointer-events: none; z-index: 1; }

/* Email scene extras */
.auto-row { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-size: 13px; color: var(--muted); }
.auto-row b { color: var(--text); font-weight: 500; }
.camps { margin-top: 10px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.cp { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
.cp:first-child { border-top: 0; }
.cp.th { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); background: var(--panel); }
.cp small { color: var(--faint); font-size: 10.5px; margin-left: 4px; }
.bk-recent { display: grid; gap: 6px; font-size: 12px; }
.bk-recent li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
@container (max-width: 640px) { .auto-row, .camps { display: none; } }
.fig { font-family: var(--f-head); }

/* Until the script takes over the hero, hold its parts back for an instant
   so the arrival plays cleanly. A fallback shows them regardless. */
@keyframes rs-show { to { visibility: visible; } }
.js .hero-h, .js .hero-side, .js .stage { visibility: hidden; animation: rs-show 0s 2.5s forwards; }
.js.rs-ready .hero-h, .js.rs-ready .hero-side, .js.rs-ready .stage { visibility: visible; animation: none; }
.rec-main { min-width: 0; }
