/* VTF design system: hairline pro-tool minimalism with a single royal-blue glow.
   Tokens follow docs/assignments/claude-design-prompt.md exactly. Fonts are self-hosted (SIL OFL, see fonts/LICENSE.txt). */

@font-face { font-family: "Inter"; src: url("/static/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/static/fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/static/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f7f7f7; --bg-2: #f0f0f0; --panel: #fafafa; --panel-2: #f3f3f3; --raised: #ffffff;
  --ink: #0a0a0b; --ink-2: #4b4c52; --ink-3: #8b8c92; --ink-4: #b9babe;
  --line: #e6e6e6; --line-2: #dcdcdc;
  --acc: #4d6ff5; --acc-l: #6f8cf8; --acc-t: #e8edfe; --acc-d: #2437b8; --navy: #0b1238;
  --violet: #a78bfa; --green: #34c38f; --amber: #f0a33a; --red: #ef5b5b;
  --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-xl: 22px; --pill: 999px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 8px 24px -12px rgba(10, 10, 11, .08);
  --shadow-hero: 0 1px 2px rgba(11, 18, 56, .06), 0 40px 80px -30px rgba(11, 18, 56, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
::selection { background: var(--acc); color: #fff; }
a { color: var(--ink); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; text-decoration-color: var(--line-2); }
main a { color: var(--acc-d); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.045em; line-height: 1.04; }
h2 { font-size: 17px; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 13px; letter-spacing: -0.01em; margin: 18px 0 8px; color: var(--ink-2); }
p { margin: 0 0 10px; }
code, pre, .mono { font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
code { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1px 5px; }

/* ---------- header (glass on scroll) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 16px; padding: 16px 24px; background: transparent; border-bottom: 1px solid transparent;
  transition: padding .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled {
  padding: 9px 24px; background: rgba(247, 247, 247, .78); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600;
  font-size: 17px; letter-spacing: -0.03em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 58% 58%, 58% 100%, 0 100%); }
.nav { display: flex; justify-content: center; gap: 2px; flex-wrap: wrap; }
.nav a { padding: 7px 13px; border-radius: var(--pill); font-size: 14px; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease); }
.nav a:hover { background: rgba(10, 10, 11, .05); color: var(--ink); text-decoration: none; }
.nav a.on { background: rgba(10, 10, 11, .06); color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); }
.header-right select { height: 32px; border-radius: var(--pill); padding: 0 30px 0 12px; font-size: 13px; }

/* ---------- layout ---------- */
main { max-width: 1240px; margin: 0 auto; padding: 12px 24px 96px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 24px 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.page-head .sub { color: var(--ink-3); font-size: 14px; margin-top: 10px; max-width: 640px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.cols { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; }

/* ---------- surfaces ---------- */
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px;
  margin-bottom: 16px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; background: var(--panel); }
.card > h2:first-child { margin-top: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); background: var(--raised);
  border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow); }
.stat { padding: 18px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .label, .label { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: .04em; }
.score, .stat .value { font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -0.045em;
  line-height: 1.1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat a { font-size: 13px; }

/* ---------- eyebrow / chips / badges ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px;
  color: var(--ink-2); letter-spacing: .02em; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc);
  box-shadow: 0 0 0 3px rgba(77, 111, 245, .18); }
.chip, .badge { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 2px 9px; margin: 2px 3px 2px 0;
  border-radius: var(--pill); font-size: 12px; line-height: 1.3; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--ink-2); }
main a.chip { color: var(--ink-2); }
a.chip:hover { text-decoration: none; border-color: var(--line-2); }
.chip.blue, .badge.info { background: var(--acc-t); color: var(--acc-d); border-color: #cfd9fd; }
.chip.green, .badge.ok { background: #e3f7ef; color: #177a55; border-color: #c4ecdc; }
.chip.amber, .badge.warn { background: #fdf1e0; color: #9a5c0c; border-color: #f7ddb6; }
.chip.red, .badge.bad { background: #fde8e8; color: #b42f2f; border-color: #f8cccc; }
.chip.violet { background: #f1ecfe; color: #6d4fd1; border-color: #e0d5fd; }
.chip.ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ok { color: #177a55; } .warn { color: #9a5c0c; } .bad { color: #b42f2f; }
.pill-ok { color: #177a55; font-weight: 500; } .pill-bad { color: #b42f2f; font-weight: 500; }

/* ---------- buttons ---------- */
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px;
  border-radius: var(--pill); border: 0; background: var(--ink); color: #fff; font: 500 14px/1 var(--font);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(10, 10, 11, .18);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}
main a.btn { color: #fff; }
button:hover, .btn:hover { transform: translateY(-1px); text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 14px -6px rgba(10, 10, 11, .35); }
button:disabled { opacity: .35; cursor: not-allowed; transform: none; }
button.sec, .btn.sec, main a.btn.sec { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
button.sec:hover, .btn.sec:hover { background: rgba(10, 10, 11, .04); box-shadow: inset 0 0 0 1px var(--ink-4); }
button.danger { background: transparent; color: #b42f2f; box-shadow: inset 0 0 0 1px #f3c2c2; }
button.danger:hover { background: #fde8e8; }
.btn.lg, button.lg { height: 50px; padding: 0 26px; font-size: 16px; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow, button:hover .arrow { transform: translateX(3px); }
form.inline { display: inline; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }

/* ---------- forms ---------- */
label { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin: 12px 0 6px; letter-spacing: .02em; }
.cols label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-family: var(--font); font-size: 13.5px;
  color: var(--ink-2); letter-spacing: 0; }
input, select, textarea {
  font: 14px/1.4 var(--font); color: var(--ink); background: var(--raised); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 8px 11px; max-width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(77, 111, 245, .15); }
input[type=checkbox] { accent-color: var(--ink); width: 15px; height: 15px; padding: 0; }
textarea { width: 100%; min-height: 80px; resize: vertical; }
.full { width: 100%; }

/* ---------- tables / lists ---------- */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-3); text-align: left;
  text-transform: uppercase; letter-spacing: .04em; padding: 0 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
table tr:hover td { background: var(--panel); }
.kv td { padding: 8px 10px; }
.kv td:first-child { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); width: 190px; }
.num { font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--ink-3); } .small { font-size: 12.5px; }
.why { padding: 0; margin: 0; }
.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li, .why li { position: relative; padding-left: 18px; margin: 7px 0; list-style: none; }
.bullets li::before, .why li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 2px; background: var(--ink); }
.why li.p::before { background: var(--green); }
.why li.m::before { background: var(--red); }
ol { padding-left: 22px; } ol li { margin: 5px 0; }
ol li::marker { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

/* ---------- data bars ---------- */
.bar { display: inline-block; height: 6px; border-radius: var(--pill); vertical-align: middle;
  background: linear-gradient(90deg, var(--acc-d), var(--acc)); transform-origin: left center;
  animation: bar-grow 1.4s var(--ease) both; }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding-top: 10px; border-bottom: 1px solid var(--line); }
.spark span { flex: 1; min-width: 4px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--acc), var(--acc-d));
  transform-origin: bottom; animation: spark-grow 1.4s var(--ease) both; }
.spark span.zero { background: var(--bg-2); }
@keyframes spark-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- messages ---------- */
.flash { display: flex; gap: 10px; align-items: center; padding: 11px 16px; border-radius: var(--r); margin: 8px 0 18px;
  font-size: 14px; border: 1px solid; }
.flash.m { background: #e3f7ef; color: #177a55; border-color: #c4ecdc; }
.flash.e { background: #fde8e8; color: #b42f2f; border-color: #f8cccc; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r); margin: 8px 0 4px;
  background: var(--raised); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.banner .dot { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); margin-top: 6px; }

/* ---------- misc ---------- */
pre { white-space: pre-wrap; word-break: break-word; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 14px; max-height: 420px; overflow: auto; color: var(--ink-2); line-height: 1.55; }
details summary { cursor: pointer; font-size: 13.5px; color: var(--ink-2); list-style: none; display: inline-flex; gap: 8px; align-items: center; margin: 6px 0; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+"; font-family: var(--mono); color: var(--ink-3); }
details[open] summary::before { content: "\2212"; }
.script { border-left: 2px solid var(--acc); }
.empty { padding: 28px; text-align: center; color: var(--ink-3); font-size: 14px; }
.foot { max-width: 1240px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--line); display: flex;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.auth-card { max-width: 400px; margin: 9vh auto; }
.auth-card input { width: 100%; }

/* ---------- landing ---------- */
.hero { position: relative; text-align: center; padding: 64px 24px 0; overflow: hidden; }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); letter-spacing: -0.05em; line-height: 0.98; max-width: 1080px; margin: 0 auto; }
.hero .lede { max-width: 560px; margin: 26px auto 0; font-size: 17px; color: var(--ink-2); line-height: 1.55; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-stage { position: relative; max-width: 1500px; margin: 120px auto 0; padding: 0 24px; }
.dome { position: absolute; left: -10%; width: 120%; aspect-ratio: 100 / 35; top: 0; transform: translateY(-50%);
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(50% 50% at 50% 50%, rgb(156 181 255 / .55) 0%, rgb(156 181 255 / .38) 18%, rgb(156 181 255 / .22) 34%, rgb(156 181 255 / .11) 52%, rgb(156 181 255 / .05) 68%, rgb(156 181 255 / .015) 84%, rgb(156 181 255 / 0) 100%),
    radial-gradient(38% 42% at 50% 50%, rgb(69 124 236 / .70) 0%, rgb(69 124 236 / .50) 18%, rgb(69 124 236 / .30) 34%, rgb(69 124 236 / .15) 52%, rgb(69 124 236 / .06) 68%, rgb(69 124 236 / .02) 84%, rgb(69 124 236 / 0) 100%),
    radial-gradient(27% 32% at 50% 50%, rgb(45 85 183 / .85) 0%, rgb(45 85 183 / .62) 18%, rgb(45 85 183 / .38) 34%, rgb(45 85 183 / .18) 52%, rgb(45 85 183 / .07) 68%, rgb(45 85 183 / .02) 84%, rgb(45 85 183 / 0) 100%),
    radial-gradient(17% 22% at 50% 50%, rgb(15 28 39 / .9) 0%, rgb(15 28 39 / .66) 18%, rgb(15 28 39 / .40) 34%, rgb(15 28 39 / .2) 52%, rgb(15 28 39 / .08) 68%, rgb(15 28 39 / .02) 84%, rgb(15 28 39 / 0) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, #000 42%, transparent 60%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, #000 42%, transparent 60%);
  mask-composite: intersect; }
.window { position: relative; z-index: 1; background: var(--raised); border: 1px solid var(--line-2); border-radius: var(--r-xl);
  box-shadow: var(--shadow-hero); overflow: hidden; text-align: left; font-size: 12.5px; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.lights { display: flex; gap: 6px; } .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.win-tabs { display: flex; gap: 2px; } .win-tabs span { padding: 5px 11px; border-radius: 7px; color: var(--ink-3); font-size: 12px; }
.win-tabs span.on { background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.win-body { display: grid; grid-template-columns: 208px 1fr 290px; min-height: 500px; }
.win-side { border-right: 1px solid var(--line); background: var(--panel); padding: 14px 10px; }
.win-side .grp { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin: 12px 8px 6px; }
.win-side .it { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--ink-2); }
.win-side .it.on { background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.win-side .it b { width: 6px; height: 6px; border-radius: 2px; background: var(--ink-4); }
.win-side .it.on b { background: var(--acc); }
.win-main { padding: 16px 18px; }
.win-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.win-toolbar .field { flex: 1; height: 30px; border: 1px solid var(--line-2); border-radius: 7px; display: flex; align-items: center; padding: 0 10px; color: var(--ink-3); }
.win-main .row { display: grid; grid-template-columns: 26px 1.5fr 1fr 120px 44px; gap: 10px; align-items: center; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.win-main .row.head { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.win-main .row.sel { background: var(--acc-t); border-radius: 8px; border-bottom-color: transparent; }
.win-main .row .t { color: var(--ink); font-weight: 500; } .win-main .row .s { color: var(--ink-3); font-size: 11.5px; }
.av { width: 22px; height: 22px; border-radius: 50%; display: block; }
.av.a { background: linear-gradient(135deg, #6f8cf8, #2437b8); } .av.b { background: linear-gradient(135deg, #34c38f, #177a55); }
.av.c { background: linear-gradient(135deg, #f0a33a, #ef5b5b); } .av.d { background: linear-gradient(135deg, #a78bfa, #4d6ff5); }
.av.e { background: linear-gradient(135deg, #8b8c92, #0a0a0b); }
.win-insp { border-left: 1px solid var(--line); background: var(--panel); padding: 14px 16px; }
.win-insp .spec { display: grid; grid-template-columns: 92px 1fr; gap: 7px 10px; margin: 12px 0 14px; }
.win-insp .spec span:nth-child(odd) { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; }
.win-btn { height: 30px; border-radius: 7px; padding: 0 11px; font-size: 12px; }
.cursor { position: absolute; z-index: 3; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; }
.cursor svg { width: 16px; height: 16px; }
.cursor span { margin-top: 12px; padding: 3px 8px; border-radius: 7px; color: #fff; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 110px; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite;
  font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; color: var(--ink-4); }
@keyframes marquee { to { transform: translateX(-50%); } }
.section { max-width: 1240px; margin: 0 auto; padding: 112px 24px 0; }
.section-head { margin-bottom: 64px; max-width: 760px; }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.045em; line-height: 1.02; margin: 0; }
.section-head p { color: var(--ink-2); font-size: 16px; margin-top: 16px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--raised); }
.feature { padding: 28px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.feature h3 { font-size: 20px; letter-spacing: -0.03em; color: var(--ink); margin: 18px 0 10px; }
.feature p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.spec-list { border-top: 1px solid var(--line); margin: 0; }
.spec-list div { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.spec-list dd { margin: 0; color: var(--ink); }
.stepper { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.stepper i { width: 6px; height: 6px; border-radius: var(--pill); background: var(--line-2); transition: width .3s var(--ease), background .3s var(--ease); }
.stepper i.on { width: 22px; background: var(--ink); }
.cta-band { text-align: center; padding: 128px 24px; }
.cta-band h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.05em; line-height: 1; margin-bottom: 30px; }

@media (max-width: 1000px) {
  .win-body { grid-template-columns: 1fr; } .win-side, .win-insp { display: none; }
  .site-header { grid-template-columns: 1fr auto; } .nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .spec-list div { grid-template-columns: 1fr; gap: 4px; } .g2 { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .win-main .row { grid-template-columns: 26px 1.5fr 110px 40px; } .win-main .row > :nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* landing page shell */
body.landing main { max-width: none; padding: 0; }
.landing .site-header .nav a { font-size: 14px; }
.landing .foot { margin-top: 0; }
.cursor-pos-1 { left: 51%; top: 42%; } .cursor-pos-2 { right: 5%; top: 74%; } .cursor-pos-3 { left: 38%; bottom: 7%; }
table a { color: var(--ink); }
table a:hover { text-decoration-color: var(--ink-4); }
td.nowrap, .nowrap { white-space: nowrap; }

/* ---------- local-business finder ---------- */
.flow { display: flex; flex-wrap: wrap; gap: 6px; margin: -12px 0 20px; padding: 0; list-style: none; counter-reset: flow; }
.flow li { counter-increment: flow; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--raised); font-size: 12.5px; color: var(--ink-3); }
.flow li::before { content: counter(flow); display: inline-grid; place-items: center; width: 20px; height: 20px;
  border-radius: var(--pill); background: var(--panel-2); font: 11px/1 var(--mono); color: var(--ink-3); }
.flow li.on { color: var(--ink); border-color: var(--line-2); }
.flow li.on::before { background: var(--ink); color: #fff; }
.flow li.done::before { content: "✓"; background: var(--acc-t); color: var(--acc-d); }
.form-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.form-row input { width: 100%; }
.cats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 14px; }
.cats label { margin: 0; display: inline-flex; align-items: center; gap: 6px; font: 13.5px/1.4 var(--font);
  text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.note { font-size: 12.5px; color: var(--ink-3); margin: 10px 0 0; }
.note b { color: var(--ink-2); font-weight: 500; }
.progress { height: 6px; border-radius: var(--pill); background: var(--panel-2); overflow: hidden; margin: 12px 0 10px; }
.progress span { display: block; height: 100%; background: var(--acc); border-radius: inherit; transition: width .4s var(--ease); }
.progress.idle span { background: var(--ink-4); }
.counts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--ink-2); }
.counts b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.biz-list { list-style: none; margin: 0; padding: 0; }
.biz { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) 72px minmax(0, .9fr); gap: 14px;
  align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.biz:first-child { border-top: 0; }
.biz .name { font-weight: 600; color: var(--ink); }
.biz .meta { font-size: 12.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.biz .need { text-align: right; }
.biz .need b { display: block; font: 600 20px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.biz .need span { font: 10.5px/1.4 var(--mono); color: var(--ink-3); text-transform: uppercase; }
.biz-head { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) 72px minmax(0, .9fr); gap: 14px;
  font: 11px/1 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; padding-bottom: 10px;
  border-bottom: 1px solid var(--line); }
.biz-head span:nth-child(3) { text-align: right; }
.runs { list-style: none; margin: 0; padding: 0; }
.runs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.runs li:first-child { border-top: 0; }
.facts { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: 14px; }
.facts dt { font: 11.5px/1.9 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .03em; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts .none { color: var(--ink-3); }
.platform { padding: 14px 0; border-top: 1px solid var(--line); }
.platform:first-of-type { border-top: 0; padding-top: 4px; }
.platform-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.platform-head h3 { margin: 0 6px 0 0; font-size: 15px; color: var(--ink); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 10px 0 0; }
.metrics div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; }
.metrics dt { font: 10.5px/1.4 var(--mono); color: var(--ink-3); text-transform: uppercase; }
.metrics dd { margin: 2px 0 0; font: 500 15px/1.3 var(--font); }
.cands { list-style: none; margin: 10px 0 0; padding: 0; }
.cands li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 13.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.ev { list-style: none; margin: 0; padding: 0; }
.ev li { padding: 12px 0; border-top: 1px solid var(--line); }
.ev li:first-child { border-top: 0; }
.ev .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.ev, .platform, .draft, .cands, .runs { overflow-wrap: anywhere; }
.ev .obs { margin: 4px 0 2px; }
.ev .inf { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.ev.historical li { opacity: .78; }
.draft textarea { min-height: 170px; font: 14px/1.55 var(--font); }
.draft-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.draft-head h3 { margin: 0; font-size: 15px; color: var(--ink); }
.callout { border: 1px solid #f7ddb6; background: #fdf8ef; color: #7a4a0a; border-radius: var(--r); padding: 10px 12px; font-size: 13px; margin: 0 0 12px; }
.callout.info { border-color: #cfd9fd; background: #f5f7ff; color: var(--acc-d); }
.review-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0; border-top: 1px solid var(--line); }
.review-row:first-of-type { border-top: 0; }
.attribution { font-size: 12px; color: var(--ink-3); margin-top: 24px; }
@media (max-width: 760px) {
  main { padding-left: 16px; padding-right: 16px; }
  .form-row { grid-template-columns: 1fr 1fr; } .form-row > :first-child { grid-column: 1 / -1; }
  .biz-head { display: none; }
  .biz { grid-template-columns: minmax(0, 1fr) 64px; gap: 6px 12px; }
  .biz > :nth-child(2) { grid-column: 1 / -1; order: 3; }
  .biz > :nth-child(4) { grid-column: 1 / -1; order: 4; }
  .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 8px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; } .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .runs li, .cands li { flex-direction: column; gap: 2px; }
}
