/* ───────────────────── Tokens ───────────────────── */
:root {
  --bg:        #ffffff;
  --paper:     oklch(98% 0.004 240);
  --surface:   #ffffff;
  --ink:       oklch(15% 0.018 240);
  --ink-2:     oklch(35% 0.015 240);
  --muted:     oklch(55% 0.012 240);
  --hairline:  oklch(92% 0.005 240);
  --border:    oklch(85% 0.008 240);
  --accent:    oklch(72% 0.18 45);
  --accent-2:  oklch(66% 0.18 45);
  --success:   oklch(64% 0.15 145);

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(24px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.025em; }
h3 { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -0.012em; }
p  { margin: 0; }

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ───────────────────── Nav ───────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; gap: 40px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand svg { width: 24px; height: 24px; display: block; color: var(--ink); }
.nav-brand .wm {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.nav-links { display: flex; gap: 28px; margin-left: 8px; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-right .sign-in { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  padding: 10px 18px;
  border-radius: 3px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--ink); }
.btn .arrow { display: inline-block; transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ───────────────────── Hero ───────────────────── */
.hero { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-head { display: flex; flex-direction: column; gap: 28px; }
.hero-head h1 { max-width: 18ch; }
.hero-head h1 .accent { color: var(--accent); }
.hero-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }

.hero-side {
  border-left: 1px solid var(--border);
  padding: 20px 0 20px clamp(20px, 2.4vw, 36px);
  display: flex; flex-direction: column; gap: 22px;
}
.hero-side .label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.hero-side .label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); position: relative; }
.hero-side .label .dot::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%; background: var(--success); opacity: 0.3;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.3 } 100% { transform: scale(2); opacity: 0 } }

.ticker { display: flex; flex-direction: column; gap: 0; }
.ticker-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-2);
  align-items: center;
}
.ticker-row:last-child { border-bottom: 0; }
.ticker-row .lane { color: var(--ink); font-weight: 600; letter-spacing: 0.04em; }
.ticker-row .who { color: var(--ink-2); font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: -0.005em; }
.ticker-row .meta { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.ticker-row .new { color: var(--accent); }

/* ───────────────────── Logo strip ───────────────────── */
.logos {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 32px 0;
  background: var(--paper);
}
.logos-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
}
.logos-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  line-height: 1.55;
}
.logos-label b { color: var(--ink); font-weight: 600; }
.logos-row { display: flex; flex-wrap: wrap; gap: 32px 44px; align-items: center; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 16px; letter-spacing: -0.015em;
  color: var(--ink-2); opacity: 0.78;
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.logo-name::before {
  content: ""; display: inline-block;
  width: 10px; height: 10px; background: var(--ink-2);
  opacity: 0.5;
}
.logo-name.r::before { transform: rotate(45deg); }
.logo-name.s::before { border-radius: 50%; }
.logo-name.t::before { background: transparent; border: 2px solid var(--ink-2); }

/* ───────────────────── Sections ───────────────────── */
section.s { padding: clamp(80px, 11vw, 144px) 0; }
section.s + section.s { border-top: 1px solid var(--hairline); }
.s-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; margin-bottom: clamp(56px, 7vw, 88px); }
.s-head > div { display: flex; flex-direction: column; gap: 20px; }
.s-head h2 { max-width: 18ch; }
.s-head .blurb { color: var(--ink-2); font-size: 17px; line-height: 1.55; max-width: 50ch; }

/* ───────────────────── Dashboard slice ───────────────────── */
.dash {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--hairline), 0 30px 60px -30px oklch(20% 0.02 240 / 0.12);
}
.dash-top {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 24px; padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  align-items: center;
  background: var(--paper);
}
.dash-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
.dash-brand svg { width: 18px; height: 18px; color: var(--ink); }
.dash-tabs { display: flex; gap: 4px; }
.dash-tabs span {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 6px 10px; border-radius: 2px;
}
.dash-tabs span.active { background: var(--ink); color: var(--bg); }
.dash-search {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--hairline);
  padding: 7px 12px;
  border-radius: 2px;
  width: 280px;
  justify-self: end;
  display: flex; align-items: center; gap: 8px;
}
.dash-body { display: grid; grid-template-columns: 220px 1fr; min-height: 480px; }
.dash-side { background: var(--paper); border-right: 1px solid var(--hairline); padding: 22px 18px; }
.dash-side .group { margin-bottom: 22px; }
.dash-side .group:last-child { margin-bottom: 0; }
.dash-side .group .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.dash-side .group .item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 8px;
  font-size: 13px; color: var(--ink-2);
  border-radius: 2px;
  margin: 0 -8px;
}
.dash-side .group .item.on { background: var(--surface); color: var(--ink); font-weight: 500; }
.dash-side .group .item .count { font-family: var(--font-mono); color: var(--muted); font-size: 11px; }
.dash-side .group .item.on .count { color: var(--ink); }

.dash-main { padding: 24px; }
.dash-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 16px; }
.dash-h .title { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
.dash-h > div .meta { margin-top: 4px; }
.dash-h .meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.dash-h .actions { display: flex; gap: 8px; }
.dash-h .actions .pill {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
  border: 1px solid var(--hairline);
  color: var(--ink-2);
}
.dash-h .actions .pill.hot { background: var(--accent); color: var(--bg); border-color: transparent; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
  vertical-align: middle;
}
.table th {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding-bottom: 9px;
}
.table td.co { font-weight: 500; color: var(--ink); }
.table td.co small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; margin-top: 2px; }
.table td.lane { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.03em; }
.table td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.table td.date { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 2px;
}
.badge.hot  { background: var(--accent); color: var(--bg); }
.badge.warm { background: oklch(94% 0.02 45); color: oklch(40% 0.18 45); }
.badge.cold { background: var(--paper); color: var(--muted); border: 1px solid var(--hairline); }

/* ───────────────────── Features 3-up ───────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.feature {
  background: var(--bg);
  padding: clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 340px;
}
.feature .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.feature h3 { max-width: 14ch; }
.feature p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; max-width: 36ch; }
.feature .footnote {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px 12px;
}
.feature .footnote b { color: var(--ink); font-weight: 600; }
.feature .footnote span { display: inline-flex; align-items: center; gap: 6px; }
.feature .footnote span::before { content: "▸"; color: var(--accent); }

/* ───────────────────── How it works ───────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  counter-reset: step;
}
.step {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}
.step .stepnum { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
.step h3 { font-size: 22px; max-width: 14ch; }
.step p { color: var(--ink-2); font-size: 14.5px; max-width: 38ch; }
.step .demo {
  margin-top: 12px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ink-2);
  border-radius: 2px;
  line-height: 1.7;
}
.step .demo .k { color: var(--muted); }
.step .demo .v { color: var(--ink); }
.step .demo .v.acc { color: var(--accent); }

/* ───────────────────── Numbers ───────────────────── */
.nums-section { background: var(--ink); color: var(--bg); border-top: none; }
.nums-section .kicker { color: oklch(70% 0.015 240); }
.nums-section .kicker::before { background: var(--accent); }
.nums-section h2 { color: var(--bg); max-width: 18ch; }
.nums-section .blurb { color: oklch(75% 0.015 240); }
.nums-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: oklch(25% 0.012 240);
  border: 1px solid oklch(25% 0.012 240);
}
.num-cell { background: var(--ink); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 8px; }
.num-cell .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(70% 0.015 240); }
.num-cell .figure {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em;
  line-height: 1; color: var(--bg);
  font-variant-numeric: tabular-nums;
}
.num-cell .figure .unit { color: var(--accent); font-size: 0.5em; margin-left: 2px; letter-spacing: -0.01em; }
.num-cell .desc { font-size: 13px; color: oklch(75% 0.015 240); line-height: 1.5; max-width: 28ch; margin-top: 6px; }

/* ───────────────────── Quote ───────────────────── */
.quote-section { background: var(--paper); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.quote-mark {
  font-family: var(--font-display); font-weight: 700;
  font-size: 120px; line-height: 0.7;
  color: var(--accent);
  margin-bottom: 8px;
}
blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25; letter-spacing: -0.02em;
  color: var(--ink); font-weight: 500;
  max-width: 22ch;
}
.quote-attrib {
  display: flex; gap: 16px; align-items: center;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.avatar {
  width: 48px; height: 48px;
  background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
}
.quote-attrib .who { font-size: 14px; }
.quote-attrib .who b { font-weight: 600; }
.quote-attrib .who small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.quote-stats {
  border-left: 1px solid var(--border);
  padding-left: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.qs-cell { display: flex; flex-direction: column; gap: 6px; }
.qs-cell .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.qs-cell .figure {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.03em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.qs-cell .figure .unit { color: var(--accent); font-size: 0.55em; margin-left: 2px; }
.qs-cell .note { font-size: 12px; color: var(--muted); }

/* ───────────────────── CTA band ───────────────────── */
.cta-section { background: var(--accent); color: var(--ink); border-top: none; }
.cta-section .kicker { color: oklch(22% 0.05 45); }
.cta-section .kicker::before { background: var(--ink); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.cta-grid > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.cta-section h2 { max-width: 14ch; color: var(--ink); }
.cta-section .blurb { color: oklch(22% 0.05 45); font-size: 17px; max-width: 44ch; }
.cta-actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-end; }
.cta-actions .row { display: flex; gap: 14px; }
.cta-actions .btn-primary { background: var(--ink); color: var(--bg); }
.cta-actions .btn-primary:hover { background: oklch(8% 0.012 240); }
.cta-actions .btn-secondary { color: var(--ink); border-color: oklch(22% 0.05 45); }
.cta-actions .btn-secondary:hover { border-color: var(--ink); }
.cta-fine { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: oklch(22% 0.05 45); text-transform: uppercase; }

/* ───────────────────── Footer ───────────────────── */
footer { background: var(--ink); color: oklch(75% 0.015 240); padding: clamp(64px, 8vw, 96px) 0 28px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: clamp(28px, 3vw, 48px);
  margin-bottom: 56px;
}
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 32ch; }
.foot-brand .lockup { display: flex; align-items: center; gap: 12px; }
.foot-brand .lockup svg { width: 28px; height: 28px; color: var(--bg); }
.foot-brand .lockup span { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.025em; color: var(--bg); }
.foot-brand p { font-size: 13px; line-height: 1.6; color: oklch(70% 0.015 240); }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(70% 0.015 240); font-weight: 500; margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { color: oklch(85% 0.012 240); font-size: 13.5px; transition: color 0.15s; }
.foot-col a:hover { color: var(--bg); }
.foot-bot {
  border-top: 1px solid oklch(25% 0.012 240);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: oklch(60% 0.015 240);
}
.foot-bot .right { display: flex; gap: 20px; }

/* ───────────────────── Trader detail mock ───────────────────── */
.trader-detail { padding: 24px; }
.trader-header {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  align-items: end;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.trader-header h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.trader-meta {
  margin-top: 6px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.trader-actions { display: flex; gap: 8px; }

.trader-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-bottom: 24px;
}
.trader-stats > div {
  background: var(--bg);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.trader-stats .label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.trader-stats .figure {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.trader-chart {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 22px;
  margin-bottom: 24px;
}
.chart-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
}
.chart-head .title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink); }
.chart-head .scale { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.chart-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 140px; }
.chart-bar {
  background: var(--ink);
  border-radius: 1px;
  position: relative;
}
.chart-bar.acc { background: var(--accent); }
.chart-labels {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px;
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ───────────────────── Pipeline kanban mock ───────────────────── */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kcol {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 360px;
}
.kcol-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; border-bottom: 1px solid var(--hairline);
  margin-bottom: 4px;
}
.kcol-head .name {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); font-weight: 600;
}
.kcol-head .count { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.kcol.prospect .kcol-head .name { color: var(--accent); }
.kcol.client   .kcol-head .name { color: var(--success); }

.kcard {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.kcard .co { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.kcard .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kcard .note { font-size: 12px; color: var(--ink-2); line-height: 1.45; }

/* ───────────────────── Data page ───────────────────── */
.data-source {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.data-source .panel {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
}
.data-source .panel h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.data-source .panel p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.data-source .panel .source-line {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px; border-top: 1px solid var(--hairline);
}
.data-source .panel .source-line b { color: var(--ink); font-weight: 600; }

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.cov-cell {
  background: var(--bg);
  padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 12px;
}
.cov-cell .label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.cov-cell h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.015em;
}
.cov-cell ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.cov-cell li {
  display: flex; justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
}
.cov-cell li:last-child { border-bottom: 0; }
.cov-cell li .v { font-family: var(--font-mono); color: var(--ink); font-variant-numeric: tabular-nums; }

.schema-table { width: 100%; border-collapse: collapse; }
.schema-table th, .schema-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  font-size: 13.5px;
  vertical-align: top;
}
.schema-table th {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.schema-table td.field {
  font-family: var(--font-mono); color: var(--ink); font-weight: 500;
  font-size: 12.5px;
  white-space: nowrap;
}
.schema-table td.type {
  font-family: var(--font-mono); color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.schema-table td.desc { color: var(--ink-2); }
.schema-table td.example { font-family: var(--font-mono); color: var(--ink-2); font-size: 12.5px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  position: relative;
}
.timeline-cell {
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
  border-right: 1px solid var(--hairline);
  position: relative;
}
.timeline-cell:last-child { border-right: 0; }
.timeline-cell .step {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.timeline-cell h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.015em;
}
.timeline-cell p { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.timeline-cell .when {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--hairline);
}

/* Dark-section overrides for higher contrast */
.nums-section .timeline {
  border-color: oklch(30% 0.014 240);
  background: oklch(18% 0.015 240);
}
.nums-section .timeline-cell {
  border-right-color: oklch(30% 0.014 240);
}
.nums-section .timeline-cell h3 { color: var(--bg); }
.nums-section .timeline-cell p { color: oklch(85% 0.012 240); }
.nums-section .timeline-cell .when {
  color: oklch(72% 0.015 240);
  border-top-color: oklch(30% 0.014 240);
}

.faq { display: flex; flex-direction: column; }
.faq-item {
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.faq-item p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 72ch; }

/* ───────────────────── About page ───────────────────── */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.story-prose { display: flex; flex-direction: column; gap: 20px; }
.story-prose p { color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 56ch; }
.story-prose p b { color: var(--ink); font-weight: 600; }
.story-side {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 20px;
}
.story-side .label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.story-side .figure {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.story-side .figure .unit { color: var(--accent); font-size: 0.55em; margin-left: 2px; }
.story-side .desc { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.story-side hr { border: 0; border-top: 1px solid var(--hairline); margin: 4px 0; }

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.principle {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.principle .num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--accent);
}
.principle h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.018em;
  max-width: 22ch;
}
.principle p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; max-width: 44ch; }

.diff-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.diff-cell {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
}
.diff-cell.them { background: var(--paper); }
.diff-cell .head {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.diff-cell.us .head { color: var(--accent); }
.diff-cell h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.diff-cell.them h3 { color: var(--ink-2); }
.diff-cell ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.diff-cell li {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}
.diff-cell.us li::before {
  content: "▸"; color: var(--accent);
  position: absolute; left: 0; top: 0;
}
.diff-cell.them li::before {
  content: "×"; color: var(--muted);
  position: absolute; left: 0; top: 0;
  font-weight: 600;
}

/* ───────────────────── Billing toggle ───────────────────── */
.billing-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  align-self: center;
}
.billing-wrap { display: flex; justify-content: center; }
.billing-toggle .opt {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--ink-2);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
  user-select: none;
}
.billing-toggle .opt:hover { color: var(--ink); }
.billing-toggle .opt.active { background: var(--ink); color: var(--bg); }
.billing-toggle .opt .save {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.billing-toggle .opt.active .save { color: var(--accent); }

.price .yearly[hidden],
.price .monthly[hidden] { display: none; }

/* ───────────────────── Pricing tiers ───────────────────── */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.tier {
  background: var(--bg);
  padding: clamp(32px, 3.4vw, 44px);
  display: flex; flex-direction: column;
  position: relative;
}
.tier.featured {
  background: var(--paper);
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  z-index: 1;
  padding-top: calc(clamp(32px, 3.4vw, 44px) + 14px);
}
.tier .badge-popular {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono); font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px;
  text-align: center;
}
.tier .name {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.tier.featured .name { color: var(--accent); }
.tier h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 8px;
}
.tier .tagline {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 3em;
}
.tier .price {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 24px;
}
.tier .price .currency { font-size: 24px; font-weight: 600; color: var(--ink-2); }
.tier .price .amount   { font-size: 52px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.tier .price .per      { font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-left: 6px; }
.tier .features {
  list-style: none; padding: 0; margin: 0;
  background: transparent; border: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.tier .features li {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}
.tier .features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
.tier .features li.off { color: var(--muted); }
.tier .features li.off::before { content: "—"; color: var(--muted); }
.tier .features li b { color: var(--ink); font-weight: 600; }
.tier .cta { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); }

.price-fine {
  margin-top: clamp(32px, 4vw, 56px);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--hairline);
}
.price-fine .line {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
}
.price-fine .line b { color: var(--ink); font-weight: 600; }

/* ───────────────────── Contact form ───────────────────── */
.contact-section { padding: clamp(64px, 8vw, 96px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-intro h2 { max-width: 14ch; margin-top: 18px; }
.contact-intro p  { color: var(--ink-2); font-size: 17px; max-width: 44ch; margin-top: 18px; }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.form-field input, .form-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px 12px;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); }
.form-actions { margin-top: 20px; }
.contact-form-success { padding: 28px; border: 1px solid var(--hairline); background: var(--paper); }

/* ───────────────────── Responsive ───────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .s-head, .quote-grid, .cta-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-side { border-left: 0; border-top: 1px solid var(--border); padding: 24px 0 0; }
  .quote-stats { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }
  .features, .nums-grid, .trader-stats, .coverage-grid, .principles { grid-template-columns: 1fr 1fr; }
  .how-grid, .pipeline, .data-source, .story, .diff-table, .tiers { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline-cell:nth-child(2) { border-right: 0; }
  .timeline-cell:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .nums-section .timeline-cell:nth-child(-n+2) { border-bottom-color: oklch(30% 0.014 240); }
  .trader-header { grid-template-columns: 1fr; align-items: start; }
  .chart-bars, .chart-labels { grid-template-columns: repeat(6, 1fr); }
  .chart-bars > .chart-bar:nth-child(n+7), .chart-labels > span:nth-child(n+7) { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .logos-inner { grid-template-columns: 1fr; }
  .cta-actions { align-items: flex-start; }
}
@media (max-width: 560px) {
  .features, .nums-grid, .foot-grid, .trader-stats, .coverage-grid, .timeline, .principles, .tiers { grid-template-columns: 1fr; }
  .timeline-cell { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .timeline-cell:last-child { border-bottom: 0; }
  .dash-search { display: none; }
}
