@charset "utf-8";
/* Torqy site system.
   Layout: light editorial pages on a 1180px grid, punctuated by deep-navy "garage" bands that hold live product UI.
   Deliberately single-theme (like the brand it is): every surface sets its own color. */
:root {
  color-scheme: light;
  /* ink + paper */
  --ink: #0B1B2B; --ink-2: #3A4C60; --ink-3: #66788C; --line: #E2E8EF; --line-2: #CFD8E2;
  --paper: #FFFFFF; --mist: #F4F7FA; --mist-2: #EAF0F6;
  /* brand, from the app theme */
  --brand: #0C6BB8; --brand-d: #084A85; --brand-l: #5BA3D9; --brand-xl: #CCE4F5;
  /* signal: the torque curve runs blue → sky → amber → risk */
  --sky: #38BDF8; --amber: #FFAB00; --risk: #FF5630; --good: #22C55E;
  /* garage (dark bands) */
  --navy: #06121F; --navy-2: #0C1D2F; --navy-line: #1A2E44; --navy-text: #E8EEF5; --navy-muted: #8DA0B6;
  /* app chrome, mirrors grey.800/900 in the app */
  --app-bg: #141A21; --app-panel: #1C252E; --app-panel-2: #212B36; --app-line: #28323D; --app-line-2: #35414E; --app-fg: #F4F6F8; --app-muted: #919EAB; --app-dim: #637381;
  /* type: Barlow was drawn from California highway signs and plates */
  --f-sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-disp: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-cond: "Barlow Semi Condensed", "Barlow", "Arial Narrow", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r-s: 8px; --r-m: 12px; --r-l: 18px;
  --shadow-1: 0 1px 2px rgba(11,27,43,.06), 0 4px 12px rgba(11,27,43,.06);
  --shadow-3: 0 2px 4px rgba(6,18,31,.08), 0 24px 60px -12px rgba(6,18,31,.35), 0 50px 100px -30px rgba(6,18,31,.35);
  --grad: linear-gradient(135deg, #1D4FC4 0%, #2E8BE6 55%, #5BC6F7 100%);
  --curve: linear-gradient(90deg, var(--brand) 0%, var(--sky) 38%, var(--amber) 72%, var(--risk) 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 90; background: var(--navy); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--brand-l); outline-offset: 3px; border-radius: 4px; }
.gut { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1180px; margin: 0 auto; }
.mono { font-family: var(--f-mono); }
.tnum { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }

/* ---------- type ---------- */
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.h-hero { font-family: var(--f-disp); font-weight: 700; font-size: clamp(46px, 7vw, 96px); line-height: .95; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.h-1 { font-family: var(--f-disp); font-weight: 700; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.h-2 { font-family: var(--f-disp); font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.04; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.h-3 { font-weight: 650; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: 0; }
.body-s { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--f-sans); padding: 12px 18px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.btn .arr { transition: transform .2s; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn-p { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -10px rgba(12,107,184,.9); }
.btn-p:hover { background: var(--brand-d); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ghost { color: var(--ink); background: transparent; padding-inline: 6px; }
.btn-ghost:hover { color: var(--brand); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--brand-xl); }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 80; transition: background .3s, box-shadow .3s; }
.nav.on-dark { background: transparent; color: #fff; }
.nav.scrolled, .nav.on-light { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav-row { display: flex; align-items: center; gap: 8px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.02em; margin-right: 18px; }
.brand img { width: 32px; height: auto; flex: none; display: block; }
.wm { font-weight: 800; font-size: 24px; letter-spacing: -.035em; line-height: 1; }
.wm span { background: linear-gradient(180deg, #4FB3F6 0%, #1D5FD6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button { display: inline-flex; align-items: center; gap: 6px; font: 550 15px/1 var(--f-sans); color: inherit; background: none; border: 0; padding: 10px 12px; border-radius: 8px; cursor: pointer; opacity: .9; }
.nav-links > li > a:hover, .nav-links > li > button:hover { opacity: 1; background: rgba(127,140,160,.12); }
.nav-links .chev { width: 10px; height: 10px; transition: transform .2s; }
.nav-links button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav .btn-ghost { color: inherit; }
.nav.scrolled .btn-light { background: var(--brand); border-color: var(--brand); color: #fff; }
table { font: inherit; color: inherit; }
.nav-burger { display: none; background: none; border: 0; color: inherit; padding: 10px; cursor: pointer; }
.nav-burger svg { width: 22px; height: 22px; }
.mega { position: absolute; left: -12px; top: calc(100% + 10px); width: min(880px, calc(100vw - 40px)); background: #fff; color: var(--ink); border-radius: var(--r-l); box-shadow: var(--shadow-3); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 250px; overflow: hidden; opacity: 0; transform: translateY(-6px) scale(.985); transform-origin: top left; pointer-events: none; transition: opacity .18s, transform .18s; }
.mega.open { opacity: 1; transform: none; pointer-events: auto; }
.mega-col { padding: 22px 18px; }
.mega-col h6 { margin: 0 0 10px 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.mega-item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 9px 10px; border-radius: 10px; align-items: start; }
.mega-item:hover { background: var(--mist); }
.mega-item b { display: block; font-size: 14.5px; font-weight: 650; }
.mega-item > span:not(.pico) > span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.mega-item:hover b { color: var(--brand); }
.pico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; justify-self: start; box-shadow: inset 0 0 0 1px rgba(11,27,43,.06); }
.pico svg { width: 16px; height: 16px; }
.pico.b { background: #E8F1FB; color: var(--brand); }
.pico.s { background: #E4F5FC; color: #0E7490; }
.pico.a { background: #FFF3DB; color: #A35F00; }
.pico.r { background: #FFECE6; color: #C2361B; }
.pico.g { background: #E5F7EC; color: #118D57; }
.mega-feature { background: var(--navy); color: var(--navy-text); padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.mega-feature::before { content: ""; position: absolute; inset: auto -40px -60px -40px; height: 160px; background: var(--grad); filter: blur(40px); opacity: .45; }
.mega-feature > * { position: relative; }
.mega-feature b { font-size: 17px; }
.mega-feature p { margin: 0; font-size: 13.5px; color: var(--navy-muted); line-height: 1.45; }
.mega-feature .lnk { margin-top: auto; font-weight: 600; font-size: 14px; color: #fff; }
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .nav-links, .nav-right .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: calc(68px + env(safe-area-inset-top, 0px)) 0 0; background: #fff; color: var(--ink); z-index: 79; padding: 20px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s; }
  .mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu h6 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 6px; font-weight: 500; }
  .mobile-menu a { display: block; padding: 10px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; color: #fff; margin-top: -68px; padding-top: 68px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0 0 0 0; z-index: -1; background: radial-gradient(120% 80% at 80% 0%, #0E2A47 0%, var(--navy) 55%); clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%); overflow: hidden; }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,18,31,.92) 0%, rgba(6,18,31,.55) 42%, rgba(6,18,31,0) 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; padding-block: 72px 120px; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; color: var(--navy-text); backdrop-filter: blur(6px); }
.announce .new { background: var(--grad); color: #fff; font-weight: 700; font-size: 11.5px; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; }
.announce:hover { background: rgba(255,255,255,.14); }
.hero h1 { margin-top: 26px; }
.hero .lead { color: #B9C7D8; margin-top: 24px; max-width: 34ch; font-size: clamp(18px, 1.7vw, 21px); }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; color: var(--navy-muted); letter-spacing: .02em; }
.hero-meta span::before { content: "✓ "; color: var(--good); }

/* hero product composition */
.stage { position: relative; aspect-ratio: 1 / .92; max-width: 100%; margin-top: 8px; }
.layer { position: absolute; }
.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 8s ease-in-out -2s infinite; }
.float-c { animation: floaty 9s ease-in-out -4s infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- app window (shared) ---------- */
.win { background: var(--app-bg); color: var(--app-fg); border-radius: 14px; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-3); overflow: hidden; font-family: var(--f-sans); }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--app-line); background: var(--app-panel); font-size: 12.5px; color: var(--app-muted); }
.win-bar .dots { display: flex; gap: 6px; margin-right: 6px; }
.win-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A4552; }
.win-bar b { color: var(--app-fg); font-weight: 600; font-size: 13.5px; }
.win-bar .live { margin-left: auto; color: var(--good); font-family: var(--f-mono); font-size: 11px; display: inline-flex; align-items: center; gap: 6px; }
.win-bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.app-chips { display: flex; gap: 8px; padding: 12px 14px; overflow: hidden; border-bottom: 1px solid var(--app-line); }
.app-chip { flex: none; border: 1px solid var(--app-line-2); border-radius: 8px; padding: 7px 11px; background: var(--app-panel); min-width: 92px; }
.app-chip .l { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--app-muted); }
.app-chip .n { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.app-chip .n small { font-size: 11px; color: var(--app-dim); font-weight: 400; margin-left: 3px; }
.app-chip.on { border-color: var(--brand); background: rgba(12,107,184,.16); }
.app-chip.late .n { color: var(--risk); } .app-chip.risk .n { color: var(--amber); }

/* traffic cop table */
.tc-scroll { overflow-x: auto; }
.tc { position: relative; }
.tc-head, .tc-row { display: grid; grid-template-columns: 48px 92px minmax(130px, 1.1fr) minmax(170px, 1.5fr) 96px; gap: 12px; align-items: center; padding: 0 14px; }
.tc.wide .tc-head, .tc.wide .tc-row { grid-template-columns: 56px 110px minmax(160px, 1.1fr) minmax(220px, 1.6fr) 120px 120px 110px; min-width: 920px; }
.tc-head { height: 34px; font-size: 11.5px; color: var(--app-muted); border-bottom: 1px solid var(--app-line); }
.tc-body { position: relative; height: calc(var(--rows, 5) * var(--rh, 54px)); }
.tc-row { position: absolute; left: 0; right: 0; height: var(--rh, 54px); border-bottom: 1px solid var(--app-line); transition: transform .9s cubic-bezier(.2,.8,.2,1), background .6s; }
.tc-row.flash { background: rgba(255,171,0,.08); }
.ring { width: 36px; height: 36px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.ring circle { fill: none; stroke-width: 3.5; }
.ring .trk { stroke: var(--app-line-2); }
.ring .val { stroke: var(--rc, var(--risk)); stroke-linecap: round; transition: stroke-dashoffset .9s, stroke .6s; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tc.wide .ring { width: 42px; height: 42px; } .tc.wide .ring span { font-size: 13px; }
.t-so { color: var(--brand-l); font-weight: 650; font-size: 13.5px; }
.t-sub { font-size: 11.5px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-main { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-why { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--app-muted); min-width: 0; }
.t-why span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { flex: none; font-size: 10.5px; font-weight: 650; padding: 3px 7px; border-radius: 5px; background: rgba(255,86,48,.14); color: #FF8A6B; }
.tag.amber { background: rgba(255,171,0,.14); color: var(--amber); }
.tag.blue { background: rgba(91,163,217,.16); color: var(--brand-l); }
.tag.good { background: rgba(34,197,94,.14); color: #4ADE80; }
.c-late { color: #FF8A6B; font-size: 12.5px; } .c-warn { color: var(--amber); font-size: 12.5px; } .c-ok { font-size: 12.5px; color: var(--app-fg); }
.bar { height: 4px; background: var(--app-line-2); border-radius: 2px; margin-top: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 2px; }

/* phone */
.phone { width: 100%; aspect-ratio: 9 / 18.5; background: #0A0F14; border-radius: 34px; padding: 8px; box-shadow: var(--shadow-3); }
.phone-scr { width: 100%; height: 100%; background: #FAFBFD; border-radius: 27px; overflow: hidden; color: #18202E; position: relative; font-family: var(--f-sans); }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; background: #0A0F14; border-radius: 12px; z-index: 3; }
.p-head { padding: 34px 14px 10px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #EDF0F4; }
.p-head i { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); flex: none; }
.p-head b { font-size: 12.5px; }
.p-body { padding: 12px 14px; font-size: 11.5px; }
.p-car { color: #5D6676; font-size: 11px; }
.p-car b { display: block; color: #18202E; font-size: 14px; }
.steps { list-style: none; margin: 12px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: center; font-size: 11px; position: relative; padding-bottom: 8px; }
.steps li::before { content: ""; position: absolute; left: 8px; top: 18px; bottom: 0; width: 2px; background: #DDE2EA; }
.steps li:last-child::before { display: none; }
.steps li.done::before { background: #2F63B8; }
.steps .c { width: 18px; height: 18px; border-radius: 50%; border: 1.5px dashed #C8CFDB; display: grid; place-items: center; font-size: 8.5px; color: #9AA3B2; background: #FAFBFD; position: relative; z-index: 1; }
.steps li.done .c, .steps li.cur .c { background: #2F63B8; border: 0; color: #fff; }
.steps li.cur .c { box-shadow: 0 0 0 4px rgba(47,99,184,.18); }
.steps li.cur b { display: block; font-size: 11.5px; }
.steps li.cur small { color: #2F63B8; font-weight: 600; font-size: 10px; }
.steps li.todo span { color: #9AA3B2; }

/* ai toast/card */
.ai-mini { background: rgba(28,37,46,.92); backdrop-filter: blur(10px); color: var(--app-fg); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-3); font-size: 12.5px; }
.ai-mini .hd { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 13px; }
.ai-mini .spark { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; flex: none; }
.ai-mini p { margin: 6px 0 10px; color: var(--app-muted); line-height: 1.45; }
.ai-mini .act { display: flex; gap: 6px; justify-content: flex-end; }
.ai-mini .act span { padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: 11.5px; border: 1px solid var(--app-line-2); color: var(--app-muted); }
.ai-mini .act .ok { background: var(--brand); border-color: var(--brand); color: #fff; }
.pill { display: inline-flex; align-items: center; font-size: 11px; padding: 3px 9px; border-radius: 999px; font-family: var(--f-mono); white-space: nowrap; }
.pill.pend { background: rgba(255,171,0,.14); color: var(--amber); }
.pill.hi { background: rgba(255,86,48,.14); color: #FF8A6B; }
.pill.conf { background: rgba(34,197,94,.12); color: #4ADE80; }

/* oil sticker */
.stk { background: #FBFBF8; color: #111; border-radius: 6px; padding: 10px; font-size: 9px; line-height: 1.35; box-shadow: 0 18px 40px -10px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 3px; font-family: var(--f-sans); aspect-ratio: 1.8125 / 2.5; }
.stk .top { display: flex; justify-content: space-between; align-items: flex-start; }
.stk .mk { width: 26px; height: 26px; border-radius: 6px; background: #111; display: grid; place-items: center; }
.stk .qr { width: 32px; height: 32px; }
.stk .nm { font-weight: 800; font-size: 11px; margin-top: 3px; text-transform: uppercase; letter-spacing: .02em; }
.stk .nx { margin-top: auto; font-weight: 800; font-size: 10px; border-top: 1.5px solid #111; padding-top: 4px; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(80px, 10vw, 128px); }
.sec-head { display: grid; gap: 16px; max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.mist { background: var(--mist); }
.garage { background: var(--navy); color: var(--navy-text); position: relative; overflow: hidden; }
.garage .lead, .garage .body-s { color: var(--navy-muted); }
.garage .eyebrow { color: var(--sky); }
.slant-top { clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%); padding-top: calc(clamp(80px, 10vw, 128px) + 6vw); }

/* integrations / proof strip */
.proof { padding-block: 28px 8px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; color: var(--ink-3); font-size: 14px; }
.proof-row .lbl { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.proof-row .it { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; color: var(--ink-2); font-size: 16px; }
.proof-row .it svg { width: 18px; height: 18px; color: var(--brand); }

/* stack collapse thesis */
.collapse { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; gap: 28px; align-items: center; margin-top: 48px; padding: 28px; border-radius: 24px; background: var(--mist); }
.stack-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-chips span { font-size: 15px; font-weight: 600; color: var(--ink-3); padding: 9px 14px; border-radius: 10px; background: #fff; border: 1px dashed var(--line-2); text-decoration: line-through; text-decoration-color: rgba(255,86,48,.6); text-decoration-thickness: 2px; }
.stack-chips span:nth-child(odd) { transform: rotate(-1.5deg); } .stack-chips span:nth-child(3n) { transform: rotate(1.5deg); }
.collapse-arrow { width: 120px; height: 24px; }
.collapse-to { display: flex; gap: 14px; align-items: center; background: var(--navy); color: #fff; padding: 16px 22px 16px 16px; border-radius: 16px; box-shadow: var(--shadow-3); }
.collapse-to img { width: 44px; height: auto; display: block; }
.collapse-to b { display: block; font-size: 20px; }
.collapse-to span span { font-size: 13.5px; color: var(--navy-muted); }
@media (max-width: 860px) { .collapse { grid-template-columns: 1fr; justify-items: start; } .collapse-arrow { transform: rotate(90deg); width: 48px; } }
.mega.mega-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(600px, calc(100vw - 40px)); }

/* suite */
.suite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.suite-col { border-top: 2px solid var(--ink); padding-top: 18px; }
.suite-col h4 { margin: 0 0 4px; font-size: 13px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.suite-col > p { margin: 0 0 14px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.suite-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.suite-item b { display: block; font-weight: 650; font-size: 15.5px; }
.suite-item > span:not(.pico) > span { display: block; font-size: 13.5px; color: var(--ink-3); }
.suite-item .go { color: var(--ink-3); transition: transform .2s, color .2s; }
.suite-item:hover b, .suite-item:hover .go { color: var(--brand); }
.suite-item:hover .go { transform: translateX(3px); }
@media (max-width: 860px) { .suite { grid-template-columns: 1fr; gap: 36px; } }

/* explorer */
.explorer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; margin-top: 56px; align-items: start; }
.ex-list { display: grid; gap: 4px; position: sticky; top: 100px; }
.ex-tab { appearance: none; text-align: left; background: none; border: 0; border-radius: 12px; padding: 14px 16px; cursor: pointer; color: var(--navy-muted); font: inherit; display: grid; gap: 4px; position: relative; overflow: hidden; }
.ex-tab b { font-size: 17px; font-weight: 650; color: var(--navy-text); opacity: .7; }
.ex-tab span { font-size: 14px; line-height: 1.45; display: none; }
.ex-tab[aria-selected="true"] { background: rgba(255,255,255,.05); }
.ex-tab[aria-selected="true"] b { opacity: 1; }
.ex-tab[aria-selected="true"] span { display: block; }
.ex-tab .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.ex-tab[aria-selected="true"] .prog { animation: prog 6s linear forwards; }
.explorer.paused .ex-tab .prog { animation: none; width: 0; }
@keyframes prog { to { width: 100%; } }
.ex-stage { position: relative; min-width: 0; }
.ex-pane { animation: paneIn .5s cubic-bezier(.2,.8,.2,1); }
.ex-pane[hidden] { display: none !important; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px) scale(.99); } }
@media (max-width: 900px) { .explorer { grid-template-columns: 1fr; gap: 20px; } .ex-list { position: static; grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; } .ex-tab span { display: none !important; } .ex-tab { padding: 10px 14px; } }

/* pane internals */
.pane-body { padding: 16px; }
.so-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.so-head .t { font-size: 18px; font-weight: 700; }
.so-head .s { color: var(--app-muted); font-size: 13px; }
.lines { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.lines th { text-align: left; font-weight: 500; color: var(--app-muted); font-size: 11.5px; padding: 8px 10px; border-bottom: 1px solid var(--app-line); }
.lines td { padding: 10px; border-bottom: 1px solid var(--app-line); }
.lines td:last-child, .lines th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.lines .kind { font-family: var(--f-mono); font-size: 10.5px; padding: 2px 6px; border-radius: 4px; background: var(--app-panel-2); color: var(--app-muted); margin-right: 6px; }
.so-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.so-total { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.btn-app { font-size: 12.5px; font-weight: 600; padding: 8px 12px; border-radius: 8px; background: var(--brand); color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.btn-app.ghost { background: transparent; border: 1px solid var(--app-line-2); color: var(--app-fg); }
.finding { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,171,0,.08); border: 1px solid rgba(255,171,0,.25); margin-top: 12px; font-size: 13px; }
.finding i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--app-line); border-radius: 10px; padding: 12px; background: var(--app-panel); min-width: 0; }
.kpi .l { font-size: 12px; color: var(--brand-l); }
.kpi .v { font-size: 22px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 11px; color: var(--app-muted); margin-top: 2px; }
.kpi .d.up { color: #4ADE80; } .kpi .d.dn { color: #FF8A6B; }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chart-card { border: 1px solid var(--app-line); border-radius: 10px; background: var(--app-panel); padding: 12px; margin-top: 10px; }
.chart-card .h { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--brand-l); margin-bottom: 4px; }
.chart-card .h span { color: var(--app-muted); }
.sankey { width: 100%; height: auto; display: block; }
.sankey text { fill: var(--app-muted); font-size: 9px; font-family: var(--f-sans); }
.jobs { display: grid; gap: 8px; margin-top: 12px; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) 110px 74px; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; background: var(--app-panel); border: 1px solid var(--app-line); font-size: 13px; }
.job .tm { font-family: var(--f-mono); font-size: 12.5px; text-align: right; }
.job .run { color: #4ADE80; }
.job.req { border-color: rgba(255,171,0,.35); }
.eff { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.eff .big { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.eff .lbl { color: var(--app-muted); font-size: 12px; }
.chat { display: grid; gap: 10px; }
.msg { font-size: 13.5px; line-height: 1.45; padding: 10px 12px; border-radius: 14px; background: var(--app-panel-2); max-width: 82%; }
.msg.me { background: rgba(12,107,184,.35); justify-self: end; }
.msg small { display: block; font-size: 11px; color: var(--app-muted); margin-bottom: 3px; }
.so-pill { display: inline-flex; gap: 6px; align-items: center; font-family: var(--f-mono); font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: rgba(12,107,184,.3); color: var(--brand-xl); border: 1px solid rgba(91,163,217,.45); }
.composer { position: relative; margin-top: 12px; border: 1px solid var(--app-line-2); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--app-fg); background: var(--app-panel); }
.composer .slash { position: absolute; left: 10px; bottom: calc(100% + 6px); width: min(340px, 90%); background: var(--app-panel-2); border: 1px solid var(--app-line-2); border-radius: 10px; padding: 6px; box-shadow: var(--shadow-3); }
.composer .slash div { font-size: 12.5px; padding: 7px 9px; border-radius: 7px; color: var(--app-muted); }
.composer .slash div.on { background: rgba(12,107,184,.3); color: var(--app-fg); }
.composer .slash h6 { margin: 4px 9px 4px; font-size: 10.5px; color: var(--app-dim); font-family: var(--f-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.stk-pane { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: center; }
.stk-pane .bench { background: repeating-linear-gradient(45deg, #182029 0 10px, #161d25 10px 20px); border-radius: 12px; display: grid; place-items: center; padding: 28px; }
.stk-pane .stk { width: 150px; transform: rotate(-3deg); }
.tpl { display: grid; gap: 6px; }
.tpl div { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 8px; background: var(--app-panel); border: 1px solid var(--app-line); font-size: 13px; }
.tpl div span { color: var(--app-muted); font-family: var(--f-mono); font-size: 11.5px; }
.tpl div.on { border-color: var(--brand); }
@media (max-width: 640px) { .stk-pane { grid-template-columns: 1fr; } .job { grid-template-columns: minmax(0, 1fr) 70px; } .job .bar-c { display: none; } }

/* journey */
.journey { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: center; margin-top: 56px; }
.j-steps { display: grid; gap: 0; border-left: 1px solid var(--line-2); }
.j-step { appearance: none; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 18px 0 18px 26px; position: relative; display: grid; gap: 4px; }
.j-step::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: transparent; transition: background .3s; }
.j-step[aria-selected="true"]::before { background: var(--brand); }
.j-step .k { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: .08em; }
.j-step b { font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--ink-3); transition: color .3s; }
.j-step[aria-selected="true"] b { color: var(--ink); }
.j-step p { margin: 0; color: var(--ink-2); font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s, opacity .4s; }
.j-step[aria-selected="true"] p { max-height: 80px; opacity: 1; }
.j-phone { width: 290px; max-width: 100%; justify-self: center; position: relative; }
.j-phone::before { content: ""; position: absolute; inset: 10% -30%; background: var(--grad); filter: blur(70px); opacity: .3; z-index: -1; border-radius: 50%; }
.j-scr { position: absolute; inset: 0; padding-top: 0; opacity: 0; transform: translateX(14px); transition: opacity .45s, transform .45s; }
.j-scr.on { opacity: 1; transform: none; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.slots span { border: 1px solid #DDE2EA; border-radius: 8px; padding: 8px 0; text-align: center; font-size: 11.5px; font-weight: 600; }
.slots span.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; text-align: center; font-size: 10.5px; }
.cal b { font-weight: 600; color: #9AA3B2; font-size: 9.5px; }
.cal span { padding: 5px 0; border-radius: 6px; }
.cal span.on { background: var(--brand); color: #fff; font-weight: 700; }
.cal span.x { color: #C7CDD6; }
.p-lines { margin-top: 10px; display: grid; gap: 6px; }
.p-lines div { display: flex; justify-content: space-between; font-size: 11.5px; padding: 8px 10px; background: #F1F4F8; border-radius: 8px; }
.p-btn { margin-top: 12px; background: var(--brand); color: #fff; text-align: center; font-weight: 700; padding: 11px; border-radius: 10px; font-size: 13px; }
.p-btn.dark { background: #0B1B2B; }
.p-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-weight: 700; }
.p-total b { font-size: 22px; }
.p-done { text-align: center; padding-top: 30px; }
.p-done .chk { width: 54px; height: 54px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center; margin: 0 auto 12px; font-size: 26px; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr; gap: 32px; } }

/* AI section */
.ai-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.q-card { border: 1px solid var(--app-line-2); background: linear-gradient(var(--app-panel-2), var(--app-panel)); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-3); color: var(--app-fg); transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .7s; }
.q-card.sent { transform: translateX(24%) rotate(3deg); opacity: 0; }
.q-card .hd { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.q-card .hd b { font-size: 17px; font-weight: 650; margin-right: 6px; }
.q-card .desc { color: var(--app-muted); font-size: 14.5px; margin: 12px 0 2px; }
.q-card .eff2 { color: var(--app-dim); font-size: 12.5px; }
.q-card .prev { margin-top: 14px; border: 1px solid var(--app-line); background: var(--app-bg); border-radius: 12px; padding: 14px; min-height: 190px; }
.q-card .prev .l { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--app-dim); text-transform: uppercase; margin-bottom: 8px; }
.q-card pre { margin: 0; white-space: pre-wrap; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.65; color: #C4CDD5; }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--brand-l); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.q-card .act { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.q-card .act span { font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--app-line-2); color: var(--app-muted); }
.q-card .act .ap { background: var(--brand); border-color: var(--brand); color: #fff; transition: transform .15s, box-shadow .3s; }
.q-card .act .ap.press { transform: scale(.94); box-shadow: 0 0 0 8px rgba(12,107,184,.3); }
.q-stack { position: relative; padding-top: 40px; }
.q-ghost { position: absolute; left: 4%; right: 4%; height: 60px; border-radius: 18px; border: 1px solid var(--app-line-2); background: var(--app-panel); }
.q-ghost.g1 { top: 0; opacity: .35; left: 8%; right: 8%; }
.q-ghost.g2 { top: 18px; opacity: .6; }
.q-toast { position: absolute; left: 50%; bottom: -22px; transform: translate(-50%, 16px); opacity: 0; background: var(--app-panel-2); border: 1px solid rgba(34,197,94,.4); color: var(--app-fg); border-radius: 999px; padding: 10px 16px; font-size: 13.5px; display: flex; gap: 10px; align-items: center; white-space: nowrap; transition: .5s cubic-bezier(.2,.8,.2,1); }
.q-toast.on { opacity: 1; transform: translate(-50%, 0); }
.q-toast i { width: 18px; height: 18px; border-radius: 50%; background: var(--good); display: grid; place-items: center; color: var(--navy); font-style: normal; font-size: 11px; font-weight: 800; }
.ai-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.ai-points li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--navy-line); font-size: 15.5px; }
.ai-points li span { font-family: var(--f-mono); font-size: 12px; color: var(--sky); padding-top: 3px; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; gap: 48px; } }

/* seats */
.seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.seat { border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.seat:hover { box-shadow: var(--shadow-1); transform: translateY(-2px); border-color: var(--line-2); }
.seat .who { font-size: 13px; font-family: var(--f-mono); color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.seat h4 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.seat p { margin: 0; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.seat .opens { font-family: var(--f-mono); font-size: 12px; color: var(--brand); border-top: 1px dashed var(--line-2); padding-top: 10px; }
@media (max-width: 960px) { .seats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .seats { grid-template-columns: 1fr; } }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; }
.fact { padding: 32px 24px 30px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .n { font-family: var(--f-cond); font-weight: 700; font-size: clamp(48px, 5vw, 68px); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact .n.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact .l { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 24ch; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .fact { padding: 22px 16px; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.trust div { display: grid; gap: 6px; }
.trust b { font-size: 16px; }
.trust span { color: var(--ink-2); font-size: 14.5px; }
.trust svg { width: 22px; height: 22px; color: var(--brand); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr 1fr; } }

/* final CTA */
.final { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.final canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,18,31,.2), rgba(6,18,31,.85)); }
.final-in { padding-block: 128px; display: grid; gap: 24px; justify-items: start; }
.final .lead { color: #B9C7D8; }

/* footer */
.foot { background: var(--navy); color: var(--navy-muted); border-top: 1px solid var(--navy-line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 64px 40px; }
.foot h6 { margin: 0 0 14px; color: var(--navy-text); font-size: 13px; font-weight: 650; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.foot a:hover { color: #fff; }
.foot .brand { color: #fff; }
.foot-base { border-top: 1px solid var(--navy-line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* hero responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 48px 72px; }
  .hero-bg { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
  .hero-bg::after { background: linear-gradient(180deg, rgba(6,18,31,.85) 0%, rgba(6,18,31,.4) 60%, rgba(6,18,31,.2) 100%); }
}
@media (max-width: 600px) {
  .stage .hide-sm { display: none; }
  .tc-head, .tc-row { grid-template-columns: 40px 76px minmax(110px, 1fr) minmax(0, 1fr); }
  .tc-head > :nth-child(5), .tc-row > :nth-child(5) { display: none; }
  .t-why .tag { display: none; }
}

/* ---------- product page ---------- */
.p-hero { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); padding-block: 64px 0; position: relative; overflow: hidden; }
.p-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 90%; background: var(--grad); filter: blur(120px); opacity: .18; pointer-events: none; }
.crumb { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-3); }
.crumb .pico { width: 26px; height: 26px; }
.crumb b { color: var(--ink); font-weight: 650; }
.p-hero .h-hero { font-size: clamp(42px, 6.4vw, 84px); max-width: 15ch; margin-top: 22px; }
.p-hero .lead { margin-top: 22px; }
.p-hero .hero-cta { margin-top: 30px; }
.p-shot { margin-top: 64px; position: relative; }
.p-shot .win { border-radius: 16px 16px 0 0; border-bottom: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.feat { display: grid; gap: 10px; align-content: start; }
.feat .art { border-radius: var(--r-m); background: var(--navy-2); padding: 18px; min-height: 170px; display: grid; align-content: center; gap: 8px; border: 1px solid var(--navy-line); }
.feat h4 { margin: 8px 0 0; font-size: 19px; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--ink-2); font-size: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.capacity { padding: 18px; }
.cap-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 90px; gap: 12px; align-items: center; font-size: 13px; padding: 9px 0; }
.cap-row .track { height: 12px; border-radius: 6px; background: var(--app-line); overflow: hidden; display: flex; }
.cap-row .track i { display: block; height: 100%; }
.cap-row .v { text-align: right; font-family: var(--f-mono); font-size: 12px; color: var(--app-muted); }
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--ink-2); max-width: 70ch; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rel { border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; display: grid; gap: 10px; transition: box-shadow .25s, border-color .25s; }
.rel:hover { box-shadow: var(--shadow-1); border-color: var(--line-2); }
.rel b { font-size: 18px; }
.rel > span:not(.pico):not(.go) { color: var(--ink-2); font-size: 14.5px; }
.rel .go { color: var(--brand); font-weight: 600; font-size: 14px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.plan.feat-plan { background: var(--navy); color: var(--navy-text); border-color: var(--navy); position: relative; overflow: hidden; }
.plan.feat-plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.plan .nm { font-weight: 700; font-size: 20px; }
.plan .for { color: var(--ink-3); font-size: 14.5px; }
.plan.feat-plan .for { color: var(--navy-muted); }
.plan .price { font-family: var(--f-cond); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.plan .price small { font-family: var(--f-sans); font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan.feat-plan .price small { color: var(--navy-muted); }
.plan .ph { display: inline-block; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
.plan.feat-plan .ph { color: var(--navy-muted); border-color: var(--navy-line); }
.plan ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; font-size: 15px; flex: 1; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.plan.feat-plan li::before { color: var(--sky); }
.plan .btn { justify-content: center; }
.badge-f { align-self: flex-start; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(56,189,248,.14); color: var(--sky); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.cmp-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r-l); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { background: var(--mist); font-size: 14px; }
.cmp tr.grp td { background: var(--mist); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: left; }
.cmp .y { color: var(--brand); font-weight: 800; } .cmp .n { color: var(--line-2); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--mist); border-radius: 24px; padding: clamp(24px, 4vw, 48px); margin-top: 56px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc label { display: grid; gap: 8px; font-weight: 600; font-size: 15px; margin-top: 18px; }
.calc label span { display: flex; justify-content: space-between; }
.calc label output { font-family: var(--f-mono); color: var(--brand); }
.calc input[type=range] { width: 100%; accent-color: var(--brand); }
.calc-out { background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow-1); display: grid; gap: 6px; }
.calc-out .big { font-family: var(--f-cond); font-weight: 700; font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -.02em; }
.calc-out .note { color: var(--ink-3); font-size: 13px; }

/* ---------- concept guide ---------- */
.cg-hero { background: var(--navy); color: var(--navy-text); padding-block: 72px 64px; position: relative; overflow: hidden; }
.cg-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.cg-hero .lead { color: var(--navy-muted); margin-top: 18px; }
.cg-toc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.cg-toc a { font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--navy-line); color: var(--navy-text); }
.cg-toc a:hover { border-color: var(--brand-l); }
.cg-sec { padding-block: 80px; border-bottom: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.pillars div { display: grid; gap: 8px; align-content: start; }
.pillars .n { font-family: var(--f-mono); font-size: 12px; color: var(--brand); }
.pillars b { font-size: 19px; letter-spacing: -.01em; }
.pillars p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.tree { margin-top: 40px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tree .node { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; background: #fff; }
.tree .node h5 { margin: 0 0 10px; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.tree .node ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.tree .node li { display: flex; justify-content: space-between; gap: 8px; }
.st { font-family: var(--f-mono); font-size: 10.5px; padding: 2px 6px; border-radius: 4px; white-space: nowrap; align-self: center; }
.st.built { background: rgba(34,197,94,.12); color: #118D57; }
.st.next { background: rgba(255,171,0,.16); color: #B76E00; }
.st.later { background: var(--mist-2); color: var(--ink-3); }
@media (max-width: 1000px) { .tree { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tree { grid-template-columns: 1fr; } }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 32px; }
.sw { border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.sw i { display: block; height: 72px; }
.sw div { padding: 10px 12px; font-size: 13px; }
.sw div b { display: block; font-size: 14px; }
.sw div span { font-family: var(--f-mono); color: var(--ink-3); font-size: 12px; }
.grad-bar { height: 64px; border-radius: var(--r-m); background: var(--curve); margin-top: 16px; position: relative; }
.grad-bar span { position: absolute; bottom: -24px; font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); transform: translateX(-50%); }
.typescale { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ts { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ts .meta { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 700px) { .ts { grid-template-columns: 1fr; gap: 6px; } }
.comp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.comp { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.comp .demo { padding: 28px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; min-height: 140px; background: var(--mist); }
.comp .demo.dk { background: var(--app-bg); }
.comp .cap { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.comp .cap b { display: block; }
.comp .cap span { color: var(--ink-3); font-size: 13.5px; }
@media (max-width: 900px) { .comp-grid { grid-template-columns: 1fr; } }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.rule { border-radius: var(--r-m); padding: 18px 20px; border: 1px solid var(--line); }
.rule.do { border-color: rgba(34,197,94,.4); background: rgba(34,197,94,.05); }
.rule.dont { border-color: rgba(255,86,48,.35); background: rgba(255,86,48,.04); }
.rule h6 { margin: 0 0 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.rule.do h6 { color: #118D57; } .rule.dont h6 { color: #B71D18; }
.rule ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.roadmap { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.rm { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rm .ph2 { font-family: var(--f-mono); font-size: 12px; color: var(--brand); padding-top: 3px; }
.rm b { font-size: 17px; }
.rm p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 600px) { .rm { grid-template-columns: 1fr; gap: 4px; } }
/* ---------- additional product pages ---------- */
.moves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.mv { border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.mv .ty { font-family: var(--f-mono); font-size: 11.5px; color: var(--brand); letter-spacing: .08em; text-transform: uppercase; }
.mv h4 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.mv p { margin: 0; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.mv .ex { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); background: var(--mist); border-radius: 10px; padding: 10px 12px; line-height: 1.55; }
@media (max-width: 960px) { .moves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .moves { grid-template-columns: 1fr; } }
.flow3 { display: grid; gap: 0; margin-top: 28px; }
.fl3 { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px dashed var(--navy-line); }
.fl3 .who { font-family: var(--f-mono); font-size: 12px; text-align: center; padding: 6px; border-radius: 8px; border: 1px solid var(--navy-line); color: var(--navy-muted); }
.fl3 .who.ai { color: var(--brand-l); border-color: rgba(91,163,217,.5); }
.fl3 .who.you { color: #4ADE80; border-color: rgba(34,197,94,.45); }
.fl3 p { margin: 0; font-size: 16px; color: var(--navy-text); }
.fl3 p small { display: block; color: var(--navy-muted); font-size: 13.5px; }
.brief-list { display: grid; }
.brief-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px; border-bottom: 1px solid var(--app-line); }
.brief-row:last-child { border-bottom: 0; }
.brief-row .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--app-panel-2); border: 1px solid var(--app-line-2); }
.brief-row .ic svg { width: 16px; height: 16px; }
.brief-row h5 { margin: 0; font-size: 15px; font-weight: 650; }
.brief-row p { margin: 4px 0 0; font-size: 13.5px; color: var(--app-muted); }
.brief-row .n { font-family: var(--f-mono); font-size: 11.5px; color: var(--app-muted); white-space: nowrap; padding-top: 3px; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: end; max-width: 1040px; margin-inline: auto; }
.phones .phone { box-shadow: 0 30px 60px -24px rgba(6,18,31,.5); }
.phones > div:nth-child(2), .phones > div:nth-child(3) { transform: translateY(-28px); }
.phones .cap2 { text-align: center; font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; margin-top: 14px; }
@media (max-width: 860px) { .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } .phones > div:nth-child(n) { transform: none; } }
.kan { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; padding: 14px; overflow-x: auto; }
.kan-col { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.kan-col h6 { margin: 0 0 2px; font-size: 12px; font-weight: 600; color: var(--app-muted); display: flex; justify-content: space-between; }
.kan-card { background: var(--app-panel-2); border: 1px solid var(--app-line-2); border-radius: 7px; padding: 9px 10px; font-size: 12.5px; }
.kan-card b { display: block; color: var(--brand-l); font-size: 12px; }
.kan-card span { color: var(--app-muted); font-size: 11.5px; }
.ts-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ts-table th { text-align: left; font-weight: 500; color: var(--app-muted); font-size: 11.5px; padding: 9px 12px; border-bottom: 1px solid var(--app-line); }
.ts-table td { padding: 10px 12px; border-bottom: 1px solid var(--app-line); font-variant-numeric: tabular-nums; }
.ts-table td.r, .ts-table th.r { text-align: right; }
.ts-table tfoot td { font-weight: 700; border-bottom: 0; }
.sms { display: grid; gap: 10px; padding: 16px; }
.sms .in, .sms .out { max-width: 80%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.sms .in { background: var(--app-panel-2); justify-self: start; border-bottom-left-radius: 4px; }
.sms .out { background: var(--brand); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.sms .lk { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.14); font-size: 12.5px; }
.sms small { display: block; font-size: 10.5px; opacity: .7; margin-top: 4px; }
.steps-h { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 2px solid var(--ink); }
.step-h { padding: 22px 22px 0 0; display: grid; gap: 8px; align-content: start; }
.step-h .k { font-family: var(--f-mono); font-size: 12px; color: var(--brand); }
.step-h b { font-size: 20px; letter-spacing: -.01em; }
.step-h p { margin: 0; color: var(--ink-2); font-size: 15px; }
.step-h ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 4px; }
@media (max-width: 860px) { .steps-h { grid-template-columns: 1fr 1fr; gap: 28px 0; } }
@media (max-width: 520px) { .steps-h { grid-template-columns: 1fr; } }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.tg { border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: 10px; align-content: start; background: #fff; }
.tg h4 { margin: 0; font-size: 18px; }
.tg p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }
.perm .y { color: var(--brand); font-weight: 800; } .perm .n { color: var(--line-2); }
/* ---------- product + solution page system (home caliber) ---------- */
.phero .hero-bg { clip-path: polygon(0 0, 100% 0, 100% 56%, 0 80%); }
.phero .hero-bg::after { background: linear-gradient(90deg, rgba(6,18,31,.9) 0%, rgba(6,18,31,.45) 50%, rgba(6,18,31,.1) 100%); }
.phero-in { padding-block: 64px 0; display: grid; gap: 22px; justify-items: start; }
.phero-in .h-hero { max-width: 16ch; }
.phero-in .lead { color: #B9C7D8; max-width: 52ch; margin: 0; font-size: clamp(18px, 1.7vw, 21px); }
.phero-in .hero-cta { margin-top: 8px; }
.chip-crumb { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; color: var(--navy-text); backdrop-filter: blur(6px); }
.chip-crumb .pico { width: 26px; height: 26px; border-radius: 999px; }
.chip-crumb .sep { opacity: .45; }
.chip-crumb b { font-weight: 650; color: #fff; }
.phero-shot { margin-top: 56px; position: relative; }
.phero-shot.split-shot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.phero-shot .side { display: grid; gap: 16px; }
.phero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
@media (max-width: 900px) { .phero-shot.split-shot, .phero-split { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .phero .hero-bg { clip-path: polygon(0 0, 100% 0, 100% 62%, 0 74%); } .phero .hero-bg::after { background: linear-gradient(180deg, rgba(6,18,31,.8), rgba(6,18,31,.3)); } }

.pstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin-top: 24px; }
.pstat { padding: 28px 24px 30px; border-left: 1px solid var(--line); }
.pstat:first-child { border-left: 0; padding-left: 0; }
.pstat .n { font-family: var(--f-cond); font-weight: 700; font-size: clamp(38px, 4.2vw, 56px); line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pstat .n small { font-size: .45em; color: var(--ink-3); font-family: var(--f-sans); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.pstat .l { margin-top: 10px; color: var(--ink-2); font-size: 15px; max-width: 26ch; }
@media (max-width: 860px) { .pstats { grid-template-columns: 1fr 1fr; } .pstat { padding: 20px 14px; } .pstat:nth-child(3) { border-left: 0; padding-left: 0; } .pstat:nth-child(n+3) { border-top: 1px solid var(--line); } }

.row-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.row-feature.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.row-feature.flip > :first-child { order: 2; }
.row-feature .h-1 { margin-top: 12px; }
.row-feature .lead { margin-top: 18px; }
@media (max-width: 900px) { .row-feature, .row-feature.flip { grid-template-columns: 1fr; gap: 36px; } .row-feature.flip > :first-child { order: 0; } }
.garage .checks li { color: var(--navy-text); }
.mini-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; }
.mini-points li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.mini-points li span { font-family: var(--f-mono); font-size: 12px; color: var(--brand); padding-top: 3px; letter-spacing: .04em; }
.garage .mini-points li { border-color: var(--navy-line); }
.garage .mini-points li span { color: var(--sky); }

/* day-in-the-shop timeline (uses journey JS) */
.day { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 56px; margin-top: 52px; align-items: start; }
.garage .j-steps { border-color: var(--navy-line); }
.garage .j-step .k { color: var(--sky); }
.garage .j-step b { color: var(--navy-muted); }
.garage .j-step[aria-selected="true"] b { color: #fff; }
.garage .j-step p { color: var(--navy-muted); }
.garage .j-step[aria-selected="true"]::before { background: var(--brand-l); }
.day-stage { position: relative; height: 470px; }
.day-stage .j-scr { position: absolute; inset: 0 0 auto 0; }
@media (max-width: 900px) { .day { grid-template-columns: 1fr; gap: 28px; } .day-stage { height: auto; } .day-stage .j-scr { position: relative; display: none; } .day-stage .j-scr.on { display: block; } }

/* sequenced reveals, live bars */
[data-seq] [data-seq-step] { transition: opacity .5s, transform .5s; }
[data-seq].playing [data-seq-step]:not(.on) { opacity: .12; transform: translateY(6px); }
.status-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 16px; }
.status-line div { padding: 10px 12px 0 0; border-top: 2px solid var(--app-line-2); font-size: 12.5px; color: var(--app-muted); }
.status-line div.on { border-color: var(--brand-l); color: var(--app-fg); }
.status-line div b { display: block; font-size: 13px; color: var(--app-fg); }
[data-grow] { transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.big-timer { font-family: var(--f-mono); font-size: clamp(40px, 6vw, 64px); font-weight: 500; letter-spacing: -.02em; color: #4ADE80; font-variant-numeric: tabular-nums; line-height: 1; }

/* related as product rows */
.next-up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 36px; border-top: 2px solid var(--ink); }
.next-up .suite-item { padding: 18px 0; }
@media (max-width: 860px) { .next-up { grid-template-columns: 1fr; } }

/* solution composition */
.compose { position: relative; min-height: 440px; }
.compose .layer { position: absolute; }
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.pain { border-radius: var(--r-l); border: 1px solid var(--line); background: #fff; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.pain .art { background: var(--navy-2); padding: 18px; min-height: 160px; display: grid; align-content: center; gap: 8px; color: var(--app-fg); font-size: 13px; }
.pain .tx { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.pain .was { font-size: 14px; color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(255,86,48,.55); text-decoration-thickness: 2px; }
.pain h4 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.pain p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }
.quote-slot { border: 1.5px dashed var(--line-2); border-radius: var(--r-l); padding: 28px; display: grid; gap: 10px; color: var(--ink-3); }
.quote-slot b { color: var(--ink-2); font-size: 15px; }
.stk.sized { width: calc(var(--w) * 84px); height: calc(var(--h) * 84px); aspect-ratio: auto; transition: width .4s cubic-bezier(.2,.8,.2,1), height .4s cubic-bezier(.2,.8,.2,1); max-width: 100%; transform: rotate(-2deg); font-size: 10px; }
.stk.sized .nm { font-size: 12.5px; }
.size-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.size-btns button { appearance: none; border: 1px solid var(--navy-line); background: rgba(255,255,255,.04); color: var(--navy-text); font: 500 13px var(--f-mono); padding: 9px 12px; border-radius: 999px; cursor: pointer; }
.size-btns button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.sticker-bench { background: repeating-linear-gradient(45deg, #101b28 0 12px, #0e1824 12px 24px); border: 1px solid var(--navy-line); border-radius: var(--r-l); min-height: 400px; display: grid; place-items: center; position: relative; padding: 28px; }
.sticker-bench .dim { position: absolute; left: 16px; bottom: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--sky); }
.phero-in .h-hero { font-size: clamp(44px, 6vw, 80px); max-width: 18ch; }
.phero:has(.phero-split) .hero-bg { clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); }
.phero .phero-split { padding-bottom: 96px !important; align-items: center; }
@media (max-width: 900px) { .phero:has(.phero-split) .hero-bg { clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); } .compose { min-height: 380px; } }
.row-feature > * { min-width: 0; }
@media (max-width: 900px) { .row-feature, .row-feature.flip { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Bespoke heroes: same craft as home, a different idea per page
   ========================================================= */
.bh { position: relative; overflow: hidden; isolation: isolate; padding-block: 64px 96px; }
.bh.light { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); color: var(--ink); }
.bh.dark { background: var(--navy); color: #fff; margin-top: -68px; padding-top: calc(68px + 64px); }
.bh.dark .lead { color: #B9C7D8; }
.bh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.bh-grid.stack { grid-template-columns: minmax(0, 1fr); gap: 48px; }
.bh-copy { display: grid; gap: 22px; justify-items: start; }
.bh .h-hero { font-size: clamp(44px, 6vw, 82px); max-width: 15ch; }
.bh .lead { margin: 0; max-width: 50ch; font-size: clamp(18px, 1.7vw, 21px); }
.bh .hero-cta { margin-top: 6px; }
.bh-crumb { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; font-size: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); box-shadow: var(--shadow-1); }
.bh-crumb .pico { width: 26px; height: 26px; border-radius: 999px; }
.bh-crumb b { color: var(--ink); font-weight: 650; }
.bh.dark .bh-crumb { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--navy-muted); box-shadow: none; }
.bh.dark .bh-crumb b { color: #fff; }
.bh-stage { position: relative; min-width: 0; }
@media (max-width: 960px) { .bh-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
/* textures */
.tex-graph { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; background-position: -1px -1px; }
.bh.paper { background: #FBFCFD; }
.bh.paper::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(12,107,184,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(12,107,184,.06) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000 40%, transparent); }
.bh.sky { background: radial-gradient(90% 70% at 70% 10%, #DCEBFA 0%, #F4F8FC 45%, #fff 100%); }
.bh.dots::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(91,163,217,.22) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); }
.bh.glow::after { content: ""; position: absolute; z-index: -1; right: -10%; top: 0; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(46,139,230,.32), transparent); pointer-events: none; }
.bh.rings::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-radial-gradient(circle at 78% 45%, rgba(91,163,217,.10) 0 1px, transparent 1px 46px); mask-image: radial-gradient(60% 70% at 78% 45%, #000, transparent); }
.bh.lanes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(180deg, transparent 0 88px, rgba(255,255,255,.04) 88px 89px); }
.bh.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 34px; height: 3px; z-index: -1; background: repeating-linear-gradient(90deg, rgba(255,171,0,.5) 0 36px, transparent 36px 72px); }
@keyframes road { to { background-position: -72px 0; } }

/* Traffic Cop: risk gauge */
.gauge { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: center; background: var(--app-bg); color: var(--app-fg); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-3); border: 1px solid rgba(255,255,255,.06); }
.gauge-ring { position: relative; width: 240px; height: 240px; }
.gauge-ring svg { width: 100%; height: 100%; transform: rotate(135deg); }
.gauge-ring .trk { fill: none; stroke: var(--app-line); stroke-width: 14; stroke-linecap: round; }
.gauge-ring .val { fill: none; stroke: var(--gc, var(--risk)); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1), stroke .6s; }
.gauge-ring .ticks { fill: none; stroke: var(--app-line-2); stroke-width: 2; }
.gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-num b { font-family: var(--f-cond); font-size: 76px; line-height: .9; font-weight: 700; font-variant-numeric: tabular-nums; }
.gauge-num span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--app-muted); text-transform: uppercase; margin-top: 6px; }
.gauge-info { display: grid; gap: 12px; min-width: 0; transition: opacity .35s; }
.gauge-info.swap { opacity: 0; }
.gauge-info .so { font-family: var(--f-mono); font-size: 12px; color: var(--brand-l); }
.gauge-info h3 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.gauge-info .car { color: var(--app-muted); font-size: 14px; margin-top: -6px; }
.gauge-info ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.gauge-info li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.gauge-dots { display: flex; gap: 6px; margin-top: 4px; }
.gauge-dots i { width: 22px; height: 4px; border-radius: 2px; background: var(--app-line-2); transition: background .3s; }
.gauge-dots i.on { background: var(--brand-l); }
@media (max-width: 640px) { .gauge { grid-template-columns: 1fr; justify-items: center; } .gauge-ring { width: 200px; height: 200px; } .gauge-num b { font-size: 60px; } }

/* Torque AI: approval cascade */
.cascade { position: relative; height: 470px; }
.cascade .cc-card { position: absolute; left: 0; right: 0; background: linear-gradient(var(--app-panel-2), var(--app-panel)); border: 1px solid var(--app-line-2); border-radius: 16px; padding: 16px 18px; color: var(--app-fg); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .6s; }
.cc-card .hd { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cc-card .hd b { font-size: 15px; margin-right: 4px; }
.cc-card p { margin: 8px 0 0; color: var(--app-muted); font-size: 13.5px; }
.cc-card .act { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.cc-card .act span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--app-line-2); color: var(--app-muted); }
.cc-card .act .ok { background: var(--brand); border-color: var(--brand); color: #fff; }
.cc-card.done { border-color: rgba(34,197,94,.55); }
.cc-card.done .act .ok { background: var(--good); border-color: var(--good); }
.cc-card.out { opacity: 0; transform: translateX(40%) rotate(4deg) !important; }
.cascade-stats { display: flex; gap: 28px; margin-top: 8px; flex-wrap: wrap; }
.cascade-stats div { font-family: var(--f-mono); font-size: 12px; color: var(--navy-muted); letter-spacing: .04em; }
.cascade-stats b { display: block; font-family: var(--f-cond); font-size: 36px; color: #fff; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* Service orders: the RO form */
.ro { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(11,27,43,.35), 0 2px 0 var(--line); color: var(--ink); position: relative; overflow: hidden; }
.ro-top { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 2px solid var(--ink); flex-wrap: wrap; }
.ro-top .shop { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.ro-top .shop i { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); }
.ro-top .no { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); text-align: right; }
.ro-top .no b { display: block; font-size: 18px; color: var(--ink); font-family: var(--f-sans); }
.ro-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.ro-meta div { padding: 10px 22px; font-size: 13.5px; border-left: 1px solid var(--line); }
.ro-meta div:first-child { border-left: 0; }
.ro-meta span { display: block; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.ro-lines { padding: 6px 22px 0; }
.ro-line { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; align-items: center; }
.ro-line .k { font-family: var(--f-mono); font-size: 10.5px; padding: 3px 6px; border-radius: 4px; background: var(--mist-2); color: var(--ink-2); justify-self: start; }
.ro-line .a { font-variant-numeric: tabular-nums; font-weight: 600; }
.ro-line small { display: block; color: var(--ink-3); font-size: 12px; }
.ro-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 20px; gap: 16px; flex-wrap: wrap; }
.ro-foot .t { font-family: var(--f-cond); font-weight: 700; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.ro-foot .t small { display: block; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; margin-bottom: 4px; }
.ro-stamp { position: absolute; left: 40%; bottom: 16px; border: 3px solid var(--good); color: #118D57; border-radius: 10px; padding: 8px 14px; font-family: var(--f-mono); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-8deg); background: rgba(255,255,255,.85); text-align: center; line-height: 1.3; }
.ro-stamp small { display: block; font-size: 10px; letter-spacing: .04em; }
[data-seq].playing .ro-stamp:not(.on) { opacity: 0; transform: rotate(-8deg) scale(1.6); }
.ro-stamp { transition: opacity .35s, transform .35s cubic-bezier(.3,1.6,.5,1); }

/* Shop floor: bay lanes */
.bays { display: grid; gap: 10px; }
.bay { display: grid; grid-template-columns: 64px minmax(0, 1fr) 124px; gap: 16px; align-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--navy-line); border-radius: 14px; padding: 14px 16px; }
.bay .no { font-family: var(--f-cond); font-weight: 700; font-size: 30px; line-height: 1; color: var(--navy-muted); }
.bay .no small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; font-weight: 500; }
.bay .bjob { font-size: 15px; font-weight: 600; color: #fff; }
.bay .bjob span { display: block; font-size: 12.5px; color: var(--navy-muted); font-weight: 400; }
.bay .lane { height: 6px; border-radius: 3px; background: var(--navy-line); margin-top: 8px; overflow: hidden; }
.bay .lane i { display: block; height: 100%; border-radius: 3px; background: var(--brand-l); }
.bay .tm { font-family: var(--f-mono); font-size: 15px; text-align: right; color: #4ADE80; font-variant-numeric: tabular-nums; }
.bay .tm small { display: block; font-size: 10.5px; color: var(--navy-muted); }
.bay.idle .tm { color: var(--navy-muted); }
.bay.req { border-color: rgba(255,171,0,.4); }
.bay.req .tm { color: var(--amber); }
.bay.req .lane i { background: var(--amber); }
@media (max-width: 560px) { .bay { grid-template-columns: 52px minmax(0, 1fr); } .bay .tm { grid-column: 2; text-align: left; } }

/* Customer links: phone with arriving bubbles */
.pocket { position: relative; display: grid; place-items: center; min-height: 560px; }
.pocket .phone { width: 270px; }
.pocket .bub { position: absolute; max-width: 230px; background: #fff; color: var(--ink); border-radius: 18px; padding: 11px 14px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 18px 40px -14px rgba(11,27,43,.35); border: 1px solid var(--line); }
.pocket .bub small { display: block; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); margin-bottom: 3px; letter-spacing: .04em; }
.pocket .bub.blue { background: var(--brand); color: #fff; border-color: var(--brand); }
.pocket .bub.blue small { color: rgba(255,255,255,.7); }
.pocket-pills { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.pocket-pills .j-step { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; display: inline-flex; }
.pocket-pills .j-step::before { display: none; }
.pocket-pills .j-step b { font-size: 13px; color: var(--ink-3); }
.pocket-pills .j-step[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
.pocket-pills .j-step[aria-selected="true"] b { color: #fff; }
.pocket-pills .j-step .k, .pocket-pills .j-step p { display: none; }
@media (max-width: 760px) { .pocket .bub { display: none; } .pocket { min-height: 0; } }

/* General repair: bays x hours schedule */
.sched { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 70px -30px rgba(11,27,43,.3); overflow: hidden; }
.sched-head { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.sched-head b { font-size: 15px; }
.sched-head span { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.sched-body { position: relative; padding: 10px 18px 16px 86px; }
.sched-hours { display: grid; grid-template-columns: repeat(10, 1fr); font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); margin-bottom: 6px; }
.sched-row { position: relative; height: 44px; border-top: 1px solid var(--line); }
.sched-row > span.lbl { position: absolute; left: -70px; top: 13px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); width: 64px; }
.blk { position: absolute; top: 6px; bottom: 6px; border-radius: 8px; padding: 5px 8px; font-size: 11.5px; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #fff; background: var(--brand); }
.blk small { display: block; opacity: .8; font-size: 10.5px; }
.blk.done { background: #9DB4CA; }
.blk.risk { background: var(--risk); }
.blk.amber { background: #E39A00; }
.blk.soft { background: #E8F1FB; color: var(--brand-d); border: 1px dashed var(--brand-l); }
.now-line { position: absolute; top: 4px; bottom: 10px; width: 2px; background: var(--risk); left: calc(86px + 38%); z-index: 2; }
.now-line::before { content: "NOW"; position: absolute; top: -2px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: 9.5px; font-weight: 600; background: var(--risk); color: #fff; padding: 2px 5px; border-radius: 4px; }
@keyframes nowline { 0% { left: calc(86px + 18%); } 100% { left: calc(100% - 30px); } }
@media (max-width: 640px) { .sched-body { padding-left: 64px; } .sched-row > span.lbl { left: -54px; width: 50px; font-size: 11px; } .blk small { display: none; } }

/* Quick lube: windshield */
.glass { position: relative; aspect-ratio: 1.45; max-width: 600px; margin-left: auto; border-radius: 46% 46% 18px 18px / 30% 30% 18px 18px; background: linear-gradient(160deg, #CFE3F5 0%, #9EC3E6 45%, #6E9CC9 100%); box-shadow: inset 0 0 0 10px #1F2A36, inset 0 0 0 12px #3A4756, 0 40px 80px -30px rgba(11,27,43,.5); overflow: hidden; }
.glass::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 38%, transparent 46%), linear-gradient(115deg, transparent 52%, rgba(255,255,255,.2) 56%, transparent 60%); }
.glass .stk { position: absolute; left: 7%; top: 12%; width: 23%; min-width: 120px; transform: rotate(-2deg); transform-origin: top left; }
@keyframes apply { 0% { transform: translate(-40px, -30px) rotate(-14deg) scale(1.15); opacity: 0; } 14% { opacity: 1; } 24%, 100% { transform: rotate(-2deg) scale(1); opacity: 1; } }
.glass .mirror { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 18%; height: 9%; background: #1F2A36; border-radius: 0 0 10px 10px; }
.lane-cars { display: flex; gap: 10px; margin-top: 18px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lane-track { display: flex; gap: 10px; }
.lane-track span { flex: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.lane-track span b { color: var(--good); margin-right: 6px; }
@keyframes lanecars { to { transform: translateX(-50%); } }

/* Tire: appointment calendar */
.tcal { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(11,27,43,.3); }
.tcal-grid { display: grid; grid-template-columns: 58px repeat(3, minmax(0, 1fr)); }
.tcal-grid > div { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); min-height: 44px; position: relative; padding: 4px; }
.tcal-grid > .h { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); border-left: 0; padding: 6px 8px; }
.tcal-grid > .th { font-weight: 650; font-size: 13px; padding: 12px 10px; background: var(--mist); min-height: 0; }
.appt { position: absolute; left: 4px; right: 4px; top: 4px; border-radius: 8px; padding: 6px 8px; font-size: 11.5px; line-height: 1.25; background: #E8F1FB; color: var(--brand-d); border-left: 3px solid var(--brand); z-index: 1; }
.appt b { display: block; font-size: 12px; }
.appt.walk { background: #FFF3DB; color: #7A4100; border-left-color: var(--amber); }
.appt.risk { background: #FFECE6; color: #7A0916; border-left-color: var(--risk); }

/* Multi-location: shop cards */
.shops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shopc { background: rgba(255,255,255,.04); border: 1px solid var(--navy-line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.shopc .t { display: flex; justify-content: space-between; align-items: center; }
.shopc .t b { font-size: 16px; color: #fff; }
.shopc .t span { font-family: var(--f-mono); font-size: 10.5px; color: var(--good); }
.shopc .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shopc .row div { font-size: 11px; color: var(--navy-muted); font-family: var(--f-mono); letter-spacing: .04em; }
.shopc .row b { display: block; font-family: var(--f-cond); font-size: 28px; color: #fff; letter-spacing: 0; font-variant-numeric: tabular-nums; transition: color .4s; }
.shopc .row b.bump { color: var(--sky); }
.shopc .row b.late { color: #FF8A6B; }
@media (max-width: 560px) { .shops { grid-template-columns: 1fr; } }

/* Fleet: roster */
.roster { background: rgba(255,255,255,.04); border: 1px solid var(--navy-line); border-radius: 18px; overflow: hidden; }
.roster-h { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--navy-line); font-size: 14px; }
.roster-h b { color: #fff; }
.roster-h span { font-family: var(--f-mono); font-size: 12px; color: var(--navy-muted); }
.van { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--navy-line); }
.van:last-child { border-bottom: 0; }
.van .ic { width: 44px; height: 30px; border-radius: 6px; background: var(--navy-line); position: relative; }
.van .ic::before { content: ""; position: absolute; left: 4px; right: 14px; top: 5px; height: 9px; border-radius: 3px; background: rgba(255,255,255,.18); }
.van .ic::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: -4px; height: 8px; background: radial-gradient(circle at 6px 4px, #0B1B2B 3px, #8DA0B6 3.5px, #8DA0B6 4px, transparent 4.5px), radial-gradient(circle at calc(100% - 6px) 4px, #0B1B2B 3px, #8DA0B6 3.5px, #8DA0B6 4px, transparent 4.5px); }
.van b { color: #fff; font-size: 15px; }
.van small { display: block; color: var(--navy-muted); font-size: 12.5px; }
.van .tag { transition: background .4s, color .4s; }

/* Security: audit stream */
.audit { background: var(--app-bg); border: 1px solid rgba(255,255,255,.06); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-3); }
.audit-h { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--app-line); font-size: 14px; color: var(--app-fg); }
.audit-h span { font-family: var(--f-mono); font-size: 11.5px; color: var(--good); }
.audit-list { height: 352px; overflow: hidden; }
.arow { display: grid; grid-template-columns: 70px 32px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--app-line); font-size: 13.5px; color: var(--app-fg); }
.arow .tm { font-family: var(--f-mono); font-size: 11.5px; color: var(--app-muted); }
.arow .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--app-panel-2); color: var(--brand-l); }
.arow .av.ai { background: rgba(46,139,230,.2); }
.arow small { display: block; color: var(--app-muted); font-size: 12px; }
.arow.new { animation: arowin .6s cubic-bezier(.2,.8,.2,1); background: rgba(46,139,230,.08); }
@keyframes arowin { from { opacity: 0; transform: translateY(-14px); } }

/* Switching: stack collapse */
.collapse-stage { position: relative; height: 420px; }
.collapse-stage .old { position: absolute; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px dashed var(--line-2); font-weight: 600; color: var(--ink-3); box-shadow: var(--shadow-1); }
.collapse-stage .old:nth-child(1) { left: 2%; top: 6%; animation-delay: 0s; }
.collapse-stage .old:nth-child(2) { left: 40%; top: 0; animation-delay: .25s; }
.collapse-stage .old:nth-child(3) { right: 4%; top: 12%; animation-delay: .5s; }
.collapse-stage .old:nth-child(4) { left: 0; bottom: 18%; animation-delay: .75s; }
.collapse-stage .old:nth-child(5) { right: 0; bottom: 12%; animation-delay: 1s; }
.collapse-stage .old:nth-child(6) { left: 34%; bottom: 0; animation-delay: 1.25s; }
@keyframes suck { 0%, 30% { transform: none; opacity: 1; } 62%, 100% { transform: var(--to); opacity: 0; } }
.collapse-stage .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--navy); color: #fff; border-radius: 22px; padding: 22px 26px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-3); }
.collapse-stage .core img { width: 48px; }
.collapse-stage .core b { display: block; font-size: 22px; }
.collapse-stage .core span { font-size: 13.5px; color: var(--navy-muted); }
@keyframes corepulse { 0%, 50% { box-shadow: var(--shadow-3); } 64% { box-shadow: 0 0 0 14px rgba(46,139,230,.18), var(--shadow-3); } 80%, 100% { box-shadow: var(--shadow-3); } }
@media (max-width: 560px) { .collapse-stage { height: 360px; } .collapse-stage .old { font-size: 13px; padding: 8px 12px; } }

/* sub-page closing CTA (not the home canvas) */
.cta2 { padding-block: 0 112px; }
.cta2-card { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: linear-gradient(135deg, #0B2A4A 0%, #0C6BB8 60%, #2E8BE6 100%); color: #fff; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; isolation: isolate; }
.cta2-card::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: 32px 32px; mask-image: linear-gradient(120deg, transparent 20%, #000 80%); }
.cta2-card img { position: absolute; right: -40px; top: -40px; width: 260px; opacity: .1; z-index: -1; }
.cta2-card h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1; letter-spacing: -.03em; margin: 0; max-width: 16ch; text-wrap: balance; }
.cta2-card p { margin: 14px 0 0; color: #D6E6F7; font-size: 18px; max-width: 46ch; }
.cta2-card .hero-cta { margin: 0; }
@media (max-width: 760px) { .cta2-card { grid-template-columns: 1fr; } }
.included { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: center; margin-top: 36px; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.included .lbl { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.included span:not(.lbl) { display: inline-flex; gap: 8px; align-items: center; }
.included svg { width: 16px; height: 16px; color: var(--brand); }
.glass::before { z-index: 0; opacity: .7; }
.glass .stk { z-index: 2; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.shops-cap { margin-top: 12px; font-family: var(--f-mono); font-size: 11.5px; color: var(--navy-muted); letter-spacing: .04em; }

@media (prefers-reduced-motion: no-preference) {
  .glass .stk { animation: apply 7s cubic-bezier(.2,.8,.2,1) infinite; }
  .collapse-stage .old { animation: suck 6s cubic-bezier(.6,0,.4,1) infinite; }
  .collapse-stage .old:nth-child(2) { animation-delay: .25s; } .collapse-stage .old:nth-child(3) { animation-delay: .5s; }
  .collapse-stage .old:nth-child(4) { animation-delay: .75s; } .collapse-stage .old:nth-child(5) { animation-delay: 1s; } .collapse-stage .old:nth-child(6) { animation-delay: 1.25s; }
  .collapse-stage .core { animation: corepulse 6s ease-in-out infinite; }
  .now-line { animation: nowline 24s linear infinite; }
  .lane-track { animation: lanecars 26s linear infinite; }
  .bh.road::after { animation: road 3s linear infinite; }
}

/* Torque AI: central brain */
.brain { position: relative; height: clamp(440px, 52vw, 620px); margin-top: 8px; }
.brain canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.brain-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.brain-feed { display: grid; gap: 8px; width: 100%; max-width: 440px; min-height: 196px; align-content: start; margin-top: 10px; }
.bf { background: rgba(13,29,47,.86); backdrop-filter: blur(8px); border: 1px solid var(--navy-line); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--navy-text); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: center; animation: bfin .5s cubic-bezier(.2,.8,.2,1); }
.bf .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; padding: 2px 6px; border-radius: 4px; }
.bf .k.in { background: rgba(56,189,248,.14); color: var(--sky); }
.bf .k.out { background: rgba(255,255,255,.1); color: #fff; }
.bf small { grid-column: 2; color: var(--navy-muted); font-size: 12px; }
@keyframes bfin { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 960px) { .brain-feed { min-height: 0; } }

/* Car tracker: board and tracker in sync */
.sync { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; align-items: center; }
.sync-board { background: var(--app-bg); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-3); color: var(--app-fg); }
.sync-board .hd { font-size: 12.5px; color: var(--app-muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.sync-board .hd b { color: var(--app-fg); }
.sync-cols { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-height: 230px; }
.sync-col { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 10px; padding: 8px; display: grid; gap: 6px; align-content: start; }
.sync-col h6 { margin: 0 0 4px; font-size: 11px; color: var(--app-muted); font-weight: 600; }
.sync-col .ghost { height: 44px; border-radius: 7px; background: var(--app-panel-2); border: 1px solid var(--app-line-2); opacity: .6; }
.sync-card { position: absolute; top: 30px; width: calc(25% - 10px); margin-left: 1px; height: 58px; border-radius: 8px; background: var(--brand); color: #fff; padding: 7px 9px; font-size: 11.5px; line-height: 1.25; box-shadow: 0 10px 24px -8px rgba(12,107,184,.8); transition: left .8s cubic-bezier(.2,.8,.2,1); z-index: 2; }
.sync-card b { display: block; font-size: 12px; }
.sync .phone { width: 210px; }
.sync .steps li { transition: color .4s; }
.sync-link { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); text-align: center; margin-top: 10px; letter-spacing: .04em; }
@media (max-width: 760px) { .sync { grid-template-columns: 1fr; justify-items: center; } .sync-board { width: 100%; } }
.map-table td:first-child { font-weight: 600; }
.map-table .arrow { color: var(--brand); text-align: center; }

/* Online booking: a week filling up */
.wk { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 70px -30px rgba(11,27,43,.3); overflow: hidden; }
.wk-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.wk-head b { font-size: 15px; }
.wk-head span { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); }
.wk-grid { display: grid; grid-template-columns: 56px repeat(5, minmax(0, 1fr)); gap: 6px; padding: 14px 18px 18px; }
.wk-grid .d { font-size: 12px; font-weight: 650; text-align: center; color: var(--ink-2); padding-bottom: 4px; }
.wk-grid .d small { display: block; font-family: var(--f-mono); font-weight: 500; color: var(--ink-3); font-size: 10.5px; }
.wk-grid .t { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); align-self: center; }
.slot { height: 36px; border-radius: 8px; border: 1px solid #CFE0F2; background: #F2F8FE; font-size: 11px; color: var(--brand); display: grid; place-items: center; font-weight: 600; transition: background .4s, color .4s, border-color .4s; }
.slot.off { background: repeating-linear-gradient(45deg, var(--mist) 0 6px, #fff 6px 12px); border-color: var(--line); color: transparent; }
.slot[data-seq-step] { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-seq].playing .slot[data-seq-step]:not(.on) { opacity: 1; transform: none; background: #F2F8FE; border-color: #CFE0F2; color: var(--brand); }
[data-seq].playing .slot[data-seq-step]:not(.on)::after { content: "Open"; }
.slot[data-seq-step]::after { content: attr(data-label); }
.book-toast { display: flex; gap: 10px; align-items: center; margin-top: 14px; background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; box-shadow: var(--shadow-3); }
.book-toast i { width: 24px; height: 24px; border-radius: 50%; background: var(--good); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--navy); flex: none; }
.book-toast small { display: block; color: var(--navy-muted); font-size: 12px; }
.qr-loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 2px solid var(--ink); }
.qr-loop div { padding: 22px 20px 0 0; display: grid; gap: 8px; align-content: start; }
.qr-loop .k { font-family: var(--f-mono); font-size: 12px; color: var(--brand); }
.qr-loop b { font-size: 19px; letter-spacing: -.01em; }
.qr-loop p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .qr-loop { grid-template-columns: 1fr 1fr; gap: 24px 0; } }

/* Approvals & pay: writer screen and customer phone in step */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 22px; align-items: center; }
.duo .phone { width: 240px; position: relative; }
.duo .j-scr { position: absolute; inset: 0; }
.evlog { display: grid; gap: 0; }
.evlog .j-step { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--app-line); color: var(--app-muted); }
.evlog .j-step::before { display: none; }
.evlog .j-step .k { color: var(--app-dim); font-size: 11px; }
.evlog .j-step b { color: var(--app-muted); font-size: 14px; }
.evlog .j-step p { display: none; }
.evlog .j-step .tag { opacity: .35; transition: opacity .3s; }
.evlog .j-step[aria-selected="true"] { background: rgba(46,139,230,.1); }
.evlog .j-step[aria-selected="true"] b { color: #fff; }
.evlog .j-step[aria-selected="true"] .tag { opacity: 1; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; justify-items: center; } .duo > .win { width: 100%; } }

/* Oil stickers: the designer */
.designer { display: grid; grid-template-columns: 170px minmax(0, 1fr); background: var(--app-bg); border: 1px solid rgba(255,255,255,.07); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-3); color: var(--app-fg); }
.designer .pal { border-right: 1px solid var(--app-line); padding: 14px; display: grid; gap: 6px; align-content: start; background: var(--app-panel); }
.designer .pal h6 { margin: 0 0 4px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--app-dim); font-weight: 500; text-transform: uppercase; }
.designer .pal span { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; padding: 8px 10px; border-radius: 8px; background: var(--app-panel-2); border: 1px solid var(--app-line-2); }
.designer .pal span i { width: 8px; height: 8px; border-radius: 2px; background: var(--brand-l); }
.designer .canvas { padding: 20px; display: grid; gap: 14px; justify-items: center; background: repeating-linear-gradient(45deg, #182029 0 10px, #161d25 10px 20px); }
.designer .sizes2 { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.designer .sizes2 span { font-family: var(--f-mono); font-size: 11px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--app-line-2); color: var(--app-muted); }
.designer .sizes2 span.on { background: #fff; color: var(--ink); border-color: #fff; }
.dsk { width: 210px; height: 290px; background: #FBFBF8; color: #111; border-radius: 8px; padding: 14px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 6px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); position: relative; }
.dsk > * { outline: 1px dashed rgba(12,107,184,.35); outline-offset: 2px; border-radius: 3px; }
.dsk .row1 { display: flex; justify-content: space-between; align-items: flex-start; outline: 0; }
.dsk .lg { width: 38px; height: 38px; border-radius: 8px; background: #111; display: grid; place-items: center; outline: 1px dashed rgba(12,107,184,.35); outline-offset: 2px; }
.dsk .qr { width: 52px; height: 52px; outline: 1px dashed rgba(12,107,184,.35); outline-offset: 2px; }
.dsk .nm { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.dsk .ad { font-size: 11.5px; line-height: 1.35; }
.dsk .nx { font-weight: 800; font-size: 13px; border-top: 2px solid #111; padding-top: 6px; align-self: end; }
.dsk .nx small { display: block; font-weight: 500; font-size: 11.5px; }
[data-seq].playing .dsk [data-seq-step]:not(.on) { opacity: 0; transform: translateX(-30px); }
@media (max-width: 640px) { .designer { grid-template-columns: 1fr; } .designer .pal { display: none; } }

/* Dashboard: widgets that rearrange themselves */
.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 96px; gap: 10px; }
.dw { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 12px; padding: 12px 14px; color: var(--app-fg); position: relative; overflow: hidden; min-width: 0; will-change: transform; }
.dw.w2 { grid-column: span 2; } .dw.h2 { grid-row: span 2; }
.dw .l { font-size: 12px; color: var(--brand-l); display: flex; justify-content: space-between; gap: 8px; }
.dw .l span { color: var(--app-dim); letter-spacing: 2px; }
.dw .v { font-size: 26px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.dw .d { font-size: 11.5px; color: var(--app-muted); }
.dw .d.up { color: #4ADE80; } .dw .d.dn { color: #FF8A6B; }
.dw.lift { z-index: 5; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 2px var(--brand-l); }
.dw .spark { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; }
.heat { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-top: 8px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: var(--brand-l); }
.tl-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 11px; color: var(--app-muted); margin-top: 7px; }
.tl-row .tr { position: relative; height: 12px; border-radius: 4px; background: var(--app-line); }
.tl-row .tr i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--brand-l); }
.tl-row .tr i.am { background: var(--amber); }
.dash-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--app-fg); }
.dash-bar b { font-size: 18px; }
.dash-bar .ctl { display: flex; gap: 8px; }
.dash-bar .ctl span { font-size: 12px; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--app-line-2); color: var(--app-muted); }
.dash-bar .ctl span.p { background: var(--brand); border-color: var(--brand); color: #fff; }
.dash-frame { background: var(--app-bg); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-3); }
@media (max-width: 640px) { .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dw.w2 { grid-column: span 2; } }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.cat { border-top: 2px solid var(--ink); padding-top: 16px; }
.cat h4 { margin: 0 0 12px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; }
.cat ul { list-style: none; margin: 0; padding: 0; display: grid; }
.cat li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: grid; gap: 2px; }
.cat li b { font-weight: 650; }
.cat li span { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 860px) { .catalog { grid-template-columns: 1fr; } }

/* Client SMS: texts tied to the visit */
.rail-thread { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: #fff; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(11,27,43,.3); }
.rail { background: var(--mist); border-right: 1px solid var(--line); padding: 18px 14px; display: grid; gap: 0; align-content: start; }
.rail div { position: relative; padding: 0 0 22px 22px; font-size: 13px; color: var(--ink-3); }
.rail div::before { content: ""; position: absolute; left: 4px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); transition: background .3s, box-shadow .3s; }
.rail div::after { content: ""; position: absolute; left: 8px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.rail div:last-child::after { display: none; }
.rail div.on { color: var(--ink); font-weight: 600; }
.rail div.on::before { background: var(--brand); box-shadow: 0 0 0 4px rgba(12,107,184,.15); }
.rail small { display: block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; color: var(--ink-3); }
.thread { padding: 16px; display: grid; gap: 10px; align-content: start; min-height: 420px; background: #FAFBFD; }
.thread .head { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.thread .head b { color: var(--ink); }
.thread .in, .thread .out { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.thread .in { background: #E9EEF4; color: var(--ink); justify-self: start; border-bottom-left-radius: 4px; }
.thread .out { background: var(--brand); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.thread .lk { display: block; margin-top: 6px; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.16); font-size: 12.5px; }
.thread small { display: block; font-size: 10.5px; opacity: .7; margin-top: 3px; }
.thread .auto { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; opacity: .75; display: block; margin-bottom: 2px; }
@media (max-width: 640px) { .rail-thread { grid-template-columns: 1fr; } .rail { display: none; } }

/* Team chat: the workspace */
.ws { display: grid; grid-template-columns: 210px minmax(0, 1fr); background: var(--app-bg); border: 1px solid rgba(255,255,255,.07); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-3); color: var(--app-fg); min-height: 470px; }
.ws-side { background: var(--app-panel); border-right: 1px solid var(--app-line); padding: 14px 10px; display: grid; gap: 2px; align-content: start; }
.ws-side h6 { margin: 10px 8px 4px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--app-dim); font-weight: 500; }
.ws-side h6:first-child { margin-top: 0; }
.ws-item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 13px; color: var(--app-muted); }
.ws-item.on { background: rgba(46,139,230,.16); color: #fff; }
.ws-item .av { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; position: relative; flex: none; }
.ws-item .av.on::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--good); border: 2px solid var(--app-panel); }
.ws-item .hash { width: 22px; text-align: center; color: var(--app-dim); font-weight: 700; flex: none; }
.ws-item .badge { margin-left: auto; background: var(--risk); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 1px 7px; }
.ws-main { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.ws-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--app-line); }
.ws-head b { font-size: 15px; }
.ws-head span { font-size: 12.5px; color: var(--app-muted); }
.ws-msgs { padding: 14px 16px; display: grid; gap: 12px; align-content: end; position: relative; }
.cmsg { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.cmsg .av { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.cmsg .av.t { background: #3F6B8F; }
.cmsg .who { font-size: 13px; font-weight: 650; }
.cmsg .who small { font-weight: 400; color: var(--app-dim); margin-left: 6px; font-size: 11.5px; }
.cmsg .tx { font-size: 13.5px; line-height: 1.45; color: #D7DEE7; }
.cmsg .react { display: inline-flex; gap: 4px; margin-top: 5px; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--app-panel-2); border: 1px solid var(--app-line-2); }
.cmsg .img { margin-top: 6px; width: 180px; height: 100px; border-radius: 10px; background: linear-gradient(135deg, #2B3946, #1B242E); border: 1px solid var(--app-line-2); display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--app-dim); }
.so-card { position: absolute; right: 28px; bottom: -64px; width: 240px; background: var(--app-panel-2); border: 1px solid var(--app-line-2); border-radius: 12px; padding: 12px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.8); font-size: 12.5px; z-index: 3; }
.so-card b { display: block; font-size: 14px; }
.so-card .row { display: flex; justify-content: space-between; color: var(--app-muted); margin-top: 6px; }
.typing { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--app-muted); padding: 0 16px 6px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--app-muted); display: inline-block; margin-right: 3px; animation: tdot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ws-comp { border-top: 1px solid var(--app-line); padding: 10px 14px; display: flex; gap: 12px; align-items: center; color: var(--brand-l); font-size: 13.5px; position: relative; }
.ws-comp .field { flex: 1; color: var(--app-fg); }
.ws-comp .ico { display: flex; gap: 10px; color: var(--brand-l); }
.ws-comp .ico svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .ws { grid-template-columns: 1fr; } .ws-side { display: none; } .so-card { display: none; } }
.moves.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .moves.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .moves.three { grid-template-columns: 1fr; } }
.catalog.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
@media (max-width: 860px) { .catalog.four { grid-template-columns: 1fr; } }
.kpi-big { background: var(--app-bg); color: var(--app-fg); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-3); display: grid; gap: 10px; }
.kpi-big .l { color: var(--brand-l); font-size: 14px; display: flex; justify-content: space-between; }
.kpi-big .v { font-family: var(--f-cond); font-size: 64px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-big .goal { height: 10px; border-radius: 5px; background: var(--app-line); overflow: hidden; }
.kpi-big .goal i { display: block; height: 100%; background: linear-gradient(90deg, #1D4FC4, #5BC6F7); border-radius: 5px; }
.kpi-big .tip { background: var(--app-panel-2); border: 1px solid var(--app-line-2); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--app-muted); line-height: 1.5; }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chips-row span { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: #fff; }
.chips-row span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.board-c { border: 1px solid var(--navy-line); border-radius: 18px; padding: 22px; background: rgba(255,255,255,.03); }
.board-c h4 { margin: 0; color: #fff; font-size: 20px; }
.board-c .who { font-family: var(--f-mono); font-size: 11.5px; color: var(--sky); letter-spacing: .08em; text-transform: uppercase; }
.board-c ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.board-c li { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--navy-text); }
@media (max-width: 900px) { .boards { grid-template-columns: 1fr; } }

.cmsg .tx .so-pill { box-shadow: 0 0 0 2px rgba(91,163,217,.35); }

/* legal pages */
.legal { padding-block: 24px 112px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin: 0 0 8px; }
.legal h2 { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 10px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--brand); text-decoration: underline; }
