/* ──────────────────────────────────────────────────────────────
   FundAssist · Option A · Research Workstation
   Dark-first; light is an alternate.
   IBM Plex Sans + Plex Mono. Single signal colour: electric lime.
   References: Bloomberg Terminal · Sourcegraph · Linear · Vercel
   ────────────────────────────────────────────────────────────── */

/* DARK (default) */
:root, :root[data-theme="dark"] {
  --bg:           #0a0a0a;
  --surface:      #141414;
  --surface-2:    #1c1c1c;
  --surface-3:    #242424;
  --rule:         #262626;
  --rule-strong:  #3a3a3a;

  --ink:          #f4f4f5;
  --ink-bright:   #ffffff;
  --ink-mid:      #a1a1aa;
  --ink-light:    #71717a;
  --ink-faint:    #52525b;

  /* Single signal colour — electric lime */
  --acc:          #a3e635;
  --acc-soft:     #bef264;
  --acc-tint:     rgba(163,230,53,0.10);
  --acc-on:       #0a0a0a;     /* text colour on lime */

  /* Amber for data peaks / warnings */
  --amber:        #fbbf24;
  --amber-tint:   rgba(251,191,36,0.10);

  /* Reserved colours */
  --bad:          #f87171;
  --info:         #60a5fa;
  --info-tint:    rgba(96,165,250,0.12);

  /* Status pills */
  --st-interested-bg: rgba(96,165,250,0.14);
  --st-interested-bd: #3b82f6;
  --st-interested-tx: #93c5fd;

  --st-contacted-bg:  rgba(251,191,36,0.14);
  --st-contacted-bd:  #d97706;
  --st-contacted-tx:  #fcd34d;

  --st-convo-bg:      rgba(163,230,53,0.12);
  --st-convo-bd:      #65a30d;
  --st-convo-tx:      #bef264;

  --st-committed-bg:  rgba(74,222,128,0.14);
  --st-committed-bd:  #16a34a;
  --st-committed-tx:  #86efac;
}

/* LIGHT alternate — same component shape, inverted surface */
:root[data-theme="light"] {
  --bg:           #ffffff;
  --surface:      #fafafa;
  --surface-2:    #f4f4f5;
  --surface-3:    #e4e4e7;
  --rule:         #e4e4e7;
  --rule-strong:  #d4d4d8;

  --ink:          #18181b;
  --ink-bright:   #000000;
  --ink-mid:      #52525b;
  --ink-light:    #71717a;
  --ink-faint:    #a1a1aa;

  --acc:          #65a30d;     /* lime-600 — readable on white */
  --acc-soft:     #84cc16;
  --acc-tint:     rgba(101,163,13,0.10);
  --acc-on:       #ffffff;

  --amber:        #b45309;
  --amber-tint:   rgba(180,83,9,0.10);

  --st-interested-bg: rgba(59,130,246,0.10);
  --st-interested-bd: #2563eb;
  --st-interested-tx: #1d4ed8;

  --st-contacted-bg:  rgba(180,83,9,0.10);
  --st-contacted-bd:  #d97706;
  --st-contacted-tx:  #92400e;

  --st-convo-bg:      rgba(101,163,13,0.10);
  --st-convo-bd:      #65a30d;
  --st-convo-tx:      #3f6212;

  --st-committed-bg:  rgba(22,163,74,0.10);
  --st-committed-bd:  #16a34a;
  --st-committed-tx:  #166534;
}

/* Type */
:root {
  --sans:  "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --r-sm: 3px;
  --r:    4px;
  --r-lg: 6px;
  --shadow-2: 0 8px 22px rgba(0,0,0,0.34);
  --shadow-3: 0 24px 70px rgba(0,0,0,0.45);
}
:root[data-theme="light"] {
  --shadow-2: 0 4px 14px rgba(15,23,42,0.06);
  --shadow-3: 0 18px 50px rgba(15,23,42,0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 200ms ease, color 200ms ease;
}

.container { width: min(1320px, 100% - 128px); margin: 0 auto; }
.container.narrow { width: min(820px, 100% - 128px); }
@media (max-width: 900px) {
  .container { width: min(100% - 40px, 720px); }
  .container.narrow { width: min(100% - 40px, 600px); }
}

.tabnum { font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
a.link { color: var(--acc); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
a.link:hover { color: var(--ink-bright); }

.hl { color: var(--acc); font-weight: 500; }

/* ─── Top nav ─── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-mark { color: var(--acc); display: inline-flex; }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-mid);
  transition: color 160ms;
}
.nav-links a:hover { color: var(--acc); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-light);
}
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--ink-faint); display: inline-block; }

/* Theme toggle */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 500;
  padding: 5px 10px;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink-mid);
  border-radius: 3px;
  cursor: pointer;
  text-transform: uppercase;
  transition: border-color 160ms, color 160ms;
}
.theme-toggle:hover { color: var(--ink-bright); border-color: var(--acc); }
:root[data-theme="dark"] .theme-toggle .t-light { display: inline; opacity: 0.45; }
:root[data-theme="dark"] .theme-toggle .t-dark  { display: none; }
:root[data-theme="dark"] .theme-toggle::before { content: "◐ "; color: var(--acc); margin-right: 4px; }
:root[data-theme="light"] .theme-toggle .t-light { display: none; }
:root[data-theme="light"] .theme-toggle .t-dark  { display: inline; opacity: 0.45; }
:root[data-theme="light"] .theme-toggle::before { content: "◑ "; color: var(--acc); margin-right: 4px; }

/* ─── Kicker + section heads ─── */
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  color: var(--acc);
  margin-bottom: 18px;
}
.kicker.accent { color: var(--amber); }
.section-head { margin-bottom: 36px; max-width: 70ch; }
.section-h {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink-bright);
  margin: 0 0 18px;
}
.section-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mid);
  margin: 0;
  max-width: 60ch;
}
.section-sub b, .section-sub strong { color: var(--ink); font-weight: 500; }

/* ─── HERO ─── */
.hero {
  padding: 128px 0 96px;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(163,230,53,0.06), transparent 60%),
    radial-gradient(50% 50% at 0% 40%, rgba(96,165,250,0.04), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: start;
}
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.display {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--ink-bright);
  margin: 0 0 24px;
}
.cursor {
  color: var(--acc);
  animation: blink 1.2s steps(1) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
@media (max-width: 900px) { .display { font-size: 44px; } }

.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.arr { display: inline-block; transition: transform 200ms; }
.btn:hover .arr { transform: translateX(2px); }

.hero-keys {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
}
.kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink-mid);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
}
.key-label { font-family: var(--mono); font-size: 11px; color: var(--ink-light); letter-spacing: 0.04em; }

/* Hero data widget */
.hero-widget {
  font-family: var(--mono);
}
.widget-frame {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.widget-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-2);
}
.widget-title {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.widget-meta { font-size: 10.5px; color: var(--ink-light); letter-spacing: 0.08em; }
.status-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--ink-faint);
  display: inline-block;
}
.status-dot.live {
  background: var(--acc);
  box-shadow: 0 0 0 3px var(--acc-tint);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--acc-tint); }
  50% { box-shadow: 0 0 0 6px var(--acc-tint); }
}
.widget-body { padding: 18px 22px 22px; }
.widget-stat { margin-bottom: 12px; }
.widget-stat-val {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink-bright);
  font-variant-numeric: tabular-nums;
}
.widget-stat-val .unit { font-size: 16px; color: var(--ink-light); font-weight: 500; }
.widget-stat-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mid);
  letter-spacing: 0.02em;
}
.hero-chart { width: 100%; height: auto; display: block; }
.widget-foot {
  border-top: 1px solid var(--rule);
  background: var(--surface-2);
}
.ticker {
  display: flex; gap: 0;
}
.ticker-cell {
  flex: 1;
  padding: 12px 14px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 2px;
}
.ticker-cell:last-child { border-right: none; }
.ticker-lab {
  font-size: 9.5px;
  color: var(--ink-light);
  letter-spacing: 0.16em;
}
.ticker-val {
  font-size: 16px;
  color: var(--acc);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.ticker-key {
  font-size: 9.5px;
  color: var(--ink-mid);
  letter-spacing: 0.12em;
}

/* Stat strip */
.trust-strip {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 900px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
.trust-cell {
  padding: 24px 22px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 6px;
}
.trust-cell:last-child { border-right: none; }
.trust-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink-bright);
  font-variant-numeric: tabular-nums;
}
.trust-lab {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-light);
  letter-spacing: 0.16em;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
}
.btn.small { padding: 7px 12px; font-size: 11px; }
.btn.primary {
  background: var(--acc);
  color: var(--acc-on);
  border-color: var(--acc);
  font-weight: 600;
}
.btn.primary:hover { box-shadow: 0 0 0 3px var(--acc-tint); transform: translateY(-1px); }
.btn.secondary {
  background: var(--surface);
  color: var(--ink-bright);
  border-color: var(--rule-strong);
}
.btn.secondary:hover { border-color: var(--acc); color: var(--acc); }
.btn.ghost {
  background: transparent;
  color: var(--ink-mid);
  border-color: var(--rule-strong);
}
.btn.ghost:hover { color: var(--acc); border-color: var(--acc); }

/* ─── Section frames ─── */
.section { padding: 120px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-mut { background: var(--surface); }
:root[data-theme="dark"] .section-mut { background: #060606; }

/* ─── Flow ─── */
.flow-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }
.flow-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 26px 22px 22px;
  transition: border-color 200ms, background 200ms;
}
.flow-card:hover { border-color: var(--rule-strong); }
.flow-card.accent {
  background: linear-gradient(180deg, rgba(163,230,53,0.04), transparent 80%);
  border-color: var(--acc);
}
.flow-num {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--acc);
  margin-bottom: 14px;
}
.flow-card.accent .flow-num { color: var(--acc); }
.flow-card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.014em;
  color: var(--ink-bright);
}
.flow-card p {
  color: var(--ink-mid);
  font-size: 13px;
  margin: 0 0 14px;
  line-height: 1.55;
}
.flow-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--acc);
  background: var(--acc-tint);
  display: inline-block;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ─── Split ─── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 80px;
  align-items: start;
}
.split.reverse { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
@media (max-width: 1000px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; } }

.bullet-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.bullet-list li {
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--rule);
  position: relative;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.55;
}
.bullet-list li:first-child { border-top: none; }
.bullet-list li:before {
  content: ">";
  position: absolute; left: 0; top: 12px;
  color: var(--acc);
  font-family: var(--mono);
  font-weight: 600;
}
.bullet-list li b { color: var(--ink-bright); font-weight: 600; }

/* ─── Mock frame (terminal-style) ─── */
.mock { font-family: var(--mono); }
.terminal-mock {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.mock-head {
  padding: 20px 30px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-2);
  display: flex; align-items: center; gap: 12px;
}
.mock-title {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-bright);
}
.mock-meta {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--ink-light);
  letter-spacing: 0.06em;
}
.mock-id {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}
.mock-body { padding: 30px 34px; }

.mock-steps { display: flex; gap: 14px; }
.step {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  color: var(--ink-light);
}
.step.done { color: var(--acc); }
.step.active { color: var(--ink-bright); }

/* Key-value rows (onboarding) */
.kv { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.kv-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-light);
}
.kv-faint { color: var(--ink-faint); }
.kv-val {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-bright);
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.kv-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  padding: 2px 5px;
  border-radius: 2px;
  background: var(--info-tint);
  color: var(--info);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; }
.chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  color: var(--ink-bright);
  border-radius: 3px;
}
.chip.add {
  background: transparent;
  border-style: dashed;
  color: var(--ink-light);
  cursor: pointer;
}
.chip.add:hover { color: var(--acc); border-color: var(--acc); }
.cmd-bar {
  display: flex; align-items: center; gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* ─── Scoping result ─── */
.terminal-mock .rec-card {
  padding: 28px 34px;
  border-bottom: 1px solid var(--rule);
}
.rec-card.primary {
  background: linear-gradient(180deg, rgba(163,230,53,0.04) 0%, transparent 100%);
}
.rec-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.rec-head h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.014em;
  margin: 4px 0 4px;
  color: var(--ink-bright);
}
.rec-id {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}
.rec-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 2px 7px;
  border-radius: 2px;
  background: var(--surface-2);
  color: var(--ink-mid);
  display: inline-block;
}
.rec-badge.primary { background: var(--acc); color: var(--acc-on); }
.rec-score { flex-shrink: 0; min-width: 100px; }
.score-val {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 600;
  color: var(--acc);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: right;
}
.rec-score.muted .score-val { color: var(--ink-mid); }
.score-bar {
  margin-top: 6px;
  height: 4px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.score-bar i {
  display: block;
  height: 100%;
  background: var(--acc);
  border-radius: 999px;
}
.rec-score.muted .score-bar i { background: var(--ink-mid); }

.rec-quote {
  position: relative;
  padding: 14px 18px 14px 36px;
  background: var(--surface-2);
  border-left: 2px solid var(--acc);
  border-radius: 0 4px 4px 0;
  margin-bottom: 14px;
}
.rec-quote-mark {
  position: absolute;
  top: 6px; left: 12px;
  font-family: var(--mono);
  font-size: 28px;
  color: var(--acc);
  opacity: 0.4;
  line-height: 1;
}
.rec-quote p {
  margin: 0;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-bright);
  line-height: 1.4;
}
.rec-quote-source {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}
.rec-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.rec-data > div {
  padding: 12px 0;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 2px;
}
.rec-data > div:last-child { border-right: none; padding-right: 0; }
.rec-data > div + div { padding-left: 14px; }
.m-val {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.m-val .unit { font-size: 12px; color: var(--ink-light); font-weight: 500; margin-left: 2px; }
.m-lab {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-light);
  letter-spacing: 0.16em;
}
.rec-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 14px; }
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 2px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  color: var(--ink-mid);
}
.tag.muted { color: var(--ink-light); border-style: dashed; }
.rec-actions {
  padding: 18px 34px;
  background: var(--surface-2);
  display: flex; align-items: center; gap: 14px;
}
.rec-foot {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}

/* ─── Dashboard ─── */
.mock-fullbleed { margin-top: 24px; }
.dashboard-mock {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule);
}
.kpi-card {
  padding: 18px 22px;
  border-right: 1px solid var(--rule);
}
.kpi-card:last-child { border-right: none; }
.kpi-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-light);
  margin-bottom: 8px;
}
.kpi-val {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-bright);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.kpi-unit { font-size: 14px; color: var(--ink-light); font-weight: 500; }
.kpi-delta {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-light);
  letter-spacing: 0.02em;
}

.dash-row {
  display: grid;
  grid-template-columns: 260px 1fr;
}
.dash-aside {
  background: var(--surface-2);
  border-right: 1px solid var(--rule);
  padding: 20px 18px;
}
.aside-section {
  border-top: 1px solid var(--rule);
  padding: 16px 0 6px;
}
.aside-section:first-of-type { border-top: none; padding-top: 0; }
.aside-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-light);
  margin-bottom: 10px;
}
.check {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  margin: 6px 0;
  cursor: pointer;
}
.check input { accent-color: var(--acc); }
.check .cnt { margin-left: auto; color: var(--ink-light); font-size: 11px; }
.sparkline { width: 100%; height: 80px; display: block; }
.aside-axis {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-light);
  margin-top: 2px;
  letter-spacing: 0.06em;
}

.dash-main { padding: 20px 22px 24px; }
.dash-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.dash-search {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 9px 12px;
  background: var(--surface-2);
  max-width: 520px;
}
.search-icon { color: var(--acc); font-family: var(--mono); }
.dash-search input {
  flex: 1;
  border: none; outline: none;
  font-family: var(--mono); font-size: 12px;
  background: transparent;
  color: var(--ink-bright);
  letter-spacing: 0.02em;
}
.dash-search input::placeholder { color: var(--ink-light); }
.dash-toolbar-actions { display: flex; gap: 6px; }
.dash-results-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
}
.dash-results-meta .muted { color: var(--ink-light); }
.dash-results-meta b { color: var(--ink-bright); }

/* Dashboard table */
.dash-table { width: 100%; border-collapse: collapse; font-family: var(--mono); }
.dash-table thead th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-light);
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule-strong);
  background: var(--surface);
  position: sticky; top: 0;
}
.dash-table th.right { text-align: right; }
.dash-table th.cb { width: 30px; text-align: center; }
.dash-table tbody td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 12.5px;
  color: var(--ink-mid);
}
.dash-table tbody tr { transition: background 100ms; cursor: pointer; }
.dash-table tbody tr:hover { background: rgba(163,230,53,0.04); }
.dash-table tbody td.right { text-align: right; }
.dash-table tbody td.strong { color: var(--ink-bright); font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; }
.dash-table tbody b { color: var(--ink-bright); font-family: var(--sans); font-weight: 500; }
.star { cursor: pointer; font-size: 13px; color: var(--ink-faint); transition: color 120ms; }
.star.starred { color: var(--acc); }
.star:hover { color: var(--acc); }
.mb {
  display: inline-block;
  width: 50px; height: 4px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  vertical-align: middle;
  margin-right: 6px;
}
.mb i {
  display: block; height: 100%;
  background: var(--acc);
  border-radius: 999px;
}
.mb-num { font-family: var(--mono); font-size: 11px; color: var(--ink); }

.lu {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 2px;
  border: 1px solid;
  min-width: 18px; text-align: center;
}
.lu.listed   { background: var(--acc-tint); border-color: var(--acc); color: var(--acc); }
.lu.unlisted { background: var(--surface-2); border-color: var(--rule-strong); color: var(--ink-light); }

.dash-table .more td {
  background: var(--surface-2);
  text-align: center;
  cursor: default;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-light);
}

/* ─── Funder detail ─── */
.funder-head { display: flex; align-items: center; gap: 10px; }
.funder-head h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--ink-bright);
}
.funder-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface-2);
  border-radius: 4px;
  border: 1px solid var(--rule);
  margin-bottom: 20px;
}
.funder-stats > div {
  padding: 18px 22px;
  border-right: 1px solid var(--rule);
}
.funder-stats > div:last-child { border-right: none; }
.funder-stats .m-val { font-size: 17px; }
.funder-section { margin-bottom: 22px; }
.funder-section svg.bars { width: 100%; height: 120px; }
.proj-list { margin: 0; padding: 0; list-style: none; }
.proj-list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--rule);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-mid);
  letter-spacing: 0.02em;
}
.proj-list li:last-child { border-bottom: none; }
.proj-amt {
  display: inline-block;
  min-width: 78px;
  color: var(--acc);
  font-weight: 500;
}

/* ─── Shortlist ─── */
.shortlist-grid { display: flex; flex-direction: column; gap: 12px; }
.shortlist-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  padding: 14px 22px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
}
.shortlist-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mid);
}
.shortlist-count b { color: var(--ink-bright); font-weight: 500; }
.shortlist-count .muted { color: var(--ink-light); }
.status-strip { display: flex; gap: 6px; flex-wrap: wrap; }
.status-pill {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.10em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid;
}
.status-pill.interested { background: var(--st-interested-bg); border-color: var(--st-interested-bd); color: var(--st-interested-tx); }
.status-pill.contacted  { background: var(--st-contacted-bg);  border-color: var(--st-contacted-bd);  color: var(--st-contacted-tx); }
.status-pill.convo      { background: var(--st-convo-bg);      border-color: var(--st-convo-bd);      color: var(--st-convo-tx); }
.status-pill.committed  { background: var(--st-committed-bg);  border-color: var(--st-committed-bd);  color: var(--st-committed-tx); }

.shortlist-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--rule-strong);
  border-radius: var(--r-lg);
  padding: 20px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 200ms, background 200ms;
}
.shortlist-card:hover { background: var(--surface-2); }
.shortlist-card.status-interested { border-left-color: var(--st-interested-bd); }
.shortlist-card.status-contacted  { border-left-color: var(--st-contacted-bd); }
.shortlist-card.status-convo      { border-left-color: var(--st-convo-bd); }
.shortlist-card.status-committed  { border-left-color: var(--st-committed-bd); }
.sl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.sl-head h4 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.014em;
  color: var(--ink-bright);
}
.sl-head .muted { font-family: var(--mono); font-size: 11px; color: var(--ink-light); letter-spacing: 0.04em; }
.sl-note {
  margin: 0;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
  padding: 12px 16px;
  background: var(--surface-2);
  border-left: 2px solid var(--acc);
  border-radius: 0 4px 4px 0;
  font-style: italic;
}
.sl-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-light);
  letter-spacing: 0.06em;
}

/* ─── Implementers ─── */
.impl-table { width: 100%; border-collapse: collapse; }
.impl-table tr td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.impl-table tr:last-child td { border-bottom: none; }
.impl-table tr:hover { background: var(--surface-2); }
.impl-table .muted { color: var(--ink-light); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; }
.impl-table .right { text-align: right; font-family: var(--mono); }
.impl-table b { color: var(--ink-bright); }

/* ─── Design system ─── */
.system-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 900px) { .system-grid { grid-template-columns: 1fr; } }
.ds-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 26px;
}
.ds-card h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  color: var(--ink-light);
}
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.sw {
  border-radius: 3px;
  padding: 40px 8px 8px;
  font-size: 9.5px;
  display: flex; flex-direction: column; gap: 1px;
  font-family: var(--mono);
}
.sw span { font-weight: 500; letter-spacing: 0.06em; }
.sw code { font-size: 9px; opacity: 0.86; }

.type-row {
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.type-row:last-child { border-bottom: none; }
.t-display { font-family: var(--sans); font-size: 26px; font-weight: 600; letter-spacing: -0.022em; color: var(--ink-bright); }
.t-h1 { font-family: var(--sans); font-size: 20px; font-weight: 600; letter-spacing: -0.012em; color: var(--ink-bright); }
.t-body { font-family: var(--sans); font-size: 13px; color: var(--ink-mid); }
.t-mono { font-family: var(--mono); font-size: 12px; color: var(--acc); font-variant-numeric: tabular-nums; }
.type-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-light);
  letter-spacing: 0.14em;
  flex-shrink: 0;
}

.ds-comp { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.ds-note { font-size: 13px; color: var(--ink-mid); line-height: 1.55; }
.ds-note.muted { margin-bottom: 14px; color: var(--ink-light); }

.diff-list { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.diff-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
  color: var(--ink-mid);
  line-height: 1.55;
}
.diff-list li:last-child { border-bottom: none; }
.diff-list b { color: var(--ink-bright); font-weight: 500; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }
.diff-arrow { color: var(--acc); font-weight: 500; }

/* ─── Closing ─── */
.closing .section-h { font-size: 38px; }
.closing-questions { list-style: none; padding: 0; margin: 24px 0 32px; }
.closing-questions li {
  padding: 14px 0 14px 32px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  position: relative;
  color: var(--ink);
}
.closing-questions li:before {
  content: "?";
  position: absolute; left: 0; top: 14px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 18px;
  color: var(--acc);
}
.closing-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  color: var(--ink-light);
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1), transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) {
  .dash-kpis, .funder-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }
  .dash-aside { display: none; }
}
@media (max-width: 700px) {
  .hero { padding: 70px 0 60px; }
  .display { font-size: 36px; }
  .section { padding: 64px 0; }
  .section-h { font-size: 26px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .funder-stats { grid-template-columns: 1fr 1fr; }
  .funder-stats > div { border-right: none; border-bottom: 1px solid var(--rule); }
  .funder-stats > div:last-child { border-bottom: none; }
}
