/* TOKI — state-of-the-art landing */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@300;400;500;600;700&display=swap');

:root {
  --bg: oklch(0.12 0.015 235);
  --bg-2: oklch(0.16 0.018 235);
  --bg-3: oklch(0.20 0.020 235);
  --line: oklch(0.28 0.020 235 / 0.6);
  --line-soft: oklch(0.28 0.020 235 / 0.3);
  --fg: oklch(0.97 0.005 80);
  --fg-2: oklch(0.78 0.010 80);
  --fg-3: oklch(0.55 0.015 80);
  --cyan: oklch(0.86 0.17 200);
  --cyan-deep: oklch(0.62 0.18 215);
  --cyan-soft: oklch(0.86 0.17 200 / 0.18);
  --amber: oklch(0.80 0.16 65);
  --red: oklch(0.70 0.20 25);

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1440px;
  --pad: clamp(24px, 4vw, 80px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 1200px 800px at 80% -10%, oklch(0.86 0.17 200 / 0.08), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 0% 30%, oklch(0.62 0.18 215 / 0.06), transparent 65%),
    var(--bg);
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--mono); font-feature-settings: 'tnum', 'zero'; }
.serif { font-family: var(--serif); font-style: italic; }

/* ── grain overlay ───────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ── nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: oklch(0.12 0.015 235 / 0.6);
  border-bottom: 1px solid var(--line-soft);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; font-size: 15px;
}
.nav-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan), 0 0 4px var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--fg-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  font-size: 13px; padding: 9px 16px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px oklch(0.97 0.005 80 / 0.15); }

/* ── sections ────────────────────────────────────────────── */
section {
  position: relative;
  padding: clamp(80px, 10vw, 180px) var(--pad);
  border-bottom: 1px solid var(--line-soft);
}
.wrap { max-width: var(--maxw); margin: 0 auto; position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
}

.h-display {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h-display em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--cyan);
}
.h-section {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h-section em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--cyan); }
.lede {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.4;
  color: var(--fg-2);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--cyan); color: oklch(0.18 0.04 220);
  box-shadow:
    0 0 0 1px oklch(0.86 0.17 200 / 0.6),
    0 12px 40px oklch(0.86 0.17 200 / 0.25),
    inset 0 1px 0 oklch(1 0 0 / 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--cyan), 0 20px 60px oklch(0.86 0.17 200 / 0.4), inset 0 1px 0 oklch(1 0 0 / 0.4); }
.btn-ghost {
  background: transparent; color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.04); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.3); }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }

/* ── hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: clamp(120px, 14vw, 200px);
  padding-bottom: clamp(80px, 8vw, 140px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
}

.hero-meta {
  display: flex; flex-direction: column; gap: 32px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-stat { padding-right: 16px; }
.hero-stat:not(:last-child) { border-right: 1px solid var(--line-soft); padding-right: 24px; }
.hero-stat + .hero-stat { padding-left: 24px; }
.hero-stat-num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--cyan);
  letter-spacing: -0.02em;
}
.hero-stat-lbl { font-size: 12px; color: var(--fg-3); margin-top: 8px; letter-spacing: 0.04em; }

/* ── live counter card ───────────────────────────────────── */
.counter-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  isolation: isolate;
}
.counter-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 55%, oklch(0.86 0.17 200 / 0.35), transparent 50%),
    radial-gradient(circle at 50% 80%, oklch(0.62 0.18 215 / 0.25), transparent 60%);
  filter: blur(30px); z-index: -1;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { transform: scale(1); opacity:1 } 50% { transform: scale(1.05); opacity:.8 } }

.counter-rings {
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  z-index: -1;
}
.counter-rings::before, .counter-rings::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 1px solid var(--line-soft);
}
.counter-rings::before { inset: 8%; }
.counter-rings::after { inset: -10%; border-style: dashed; opacity: 0.5; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.counter-toki {
  width: 60%; aspect-ratio: 1;
  display: grid; place-items: center;
  filter: drop-shadow(0 30px 60px oklch(0.86 0.17 200 / 0.4));
  animation: float 8s ease-in-out infinite;
}
.counter-toki img { width: 100%; height: 100%; object-fit: contain; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

.counter-overlay {
  position: absolute; left: 4%; right: 4%; bottom: 4%;
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px;
  background: oklch(0.16 0.018 235 / 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.counter-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.counter-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.counter-value { font-family: var(--mono); font-size: 13px; color: var(--fg); font-variant-numeric: tabular-nums; }
.counter-big {
  font-family: var(--serif); font-style: italic; color: var(--cyan);
  font-size: clamp(36px, 4vw, 56px); line-height: 1;
  letter-spacing: -0.02em;
}

.counter-tag {
  position: absolute; padding: 6px 12px;
  background: oklch(0.16 0.018 235 / 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2);
  display: flex; align-items: center; gap: 6px;
}
.counter-tag::before { content:''; width:5px; height:5px; border-radius:50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.counter-tag.tl { top: 8%; left: 0; }
.counter-tag.tr { top: 18%; right: 0; }
.counter-tag.bl { bottom: 32%; left: -4%; }

/* ── evolution rail ──────────────────────────────────────── */
.evo {
  background: linear-gradient(180deg, var(--bg) 0%, oklch(0.10 0.015 235) 100%);
}
.evo-header {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
  margin-bottom: 60px;
}
.evo-stage {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 5vw, 80px);
  align-items: center;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .evo-stage { grid-template-columns: 1fr; } }

.evo-portrait {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 50%, oklch(0.86 0.17 200 / 0.18), transparent 55%),
    oklch(0.14 0.018 235);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.evo-portrait::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 70%, oklch(0.10 0.015 235 / 0.8) 100%),
    repeating-linear-gradient(90deg, transparent 0 39px, oklch(1 0 0 / 0.015) 39px 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, oklch(1 0 0 / 0.015) 39px 40px);
  pointer-events: none;
}
.evo-portrait img {
  width: 72%; height: 72%; object-fit: contain;
  filter: drop-shadow(0 24px 40px oklch(0.86 0.17 200 / 0.35));
  animation: float 8s ease-in-out infinite;
}
.evo-portrait-meta {
  position: absolute; top: 18px; left: 18px; right: 18px;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3);
}
.evo-portrait-meta .stage-id {
  background: oklch(0.20 0.020 235 / 0.8);
  padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line);
}

.evo-info { display: flex; flex-direction: column; gap: 24px; }
.evo-info-stage {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-3);
}
.evo-name {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95; letter-spacing: -0.04em;
}
.evo-name em { font-family: var(--serif); font-style: italic; color: var(--cyan); }
.evo-quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35; color: var(--fg-2);
  max-width: 32ch;
  text-wrap: pretty;
}
.evo-meter {
  display: grid; gap: 12px; margin-top: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: oklch(0.14 0.018 235 / 0.5);
}
.evo-meter-row { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.1em; text-transform: uppercase; }
.evo-meter-bar { position: relative; height: 6px; background: oklch(0.20 0.020 235); border-radius: 999px; overflow: hidden; }
.evo-meter-fill {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  border-radius: 999px;
  box-shadow: 0 0 12px var(--cyan-soft);
  transition: width .5s cubic-bezier(.22,.61,.36,1);
}
.evo-meter-num { font-family: var(--mono); font-size: 13px; color: var(--fg); font-variant-numeric: tabular-nums; }

/* ── scrubber ────────────────────────────────────────────── */
.scrubber {
  position: sticky;
  bottom: 24px;
  z-index: 20;
  margin: 60px auto 0;
  max-width: 1200px;
  padding: 18px 24px;
  background: oklch(0.10 0.015 235 / 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 80px oklch(0 0 0 / 0.5);
}
.scrubber-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3);
}
.scrubber-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}
.scrub-tick {
  position: relative;
  padding: 12px 2px 4px;
  cursor: pointer;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  transition: border-color .2s ease, color .2s ease;
  color: var(--fg-3);
}
.scrub-tick:hover { color: var(--fg-2); border-color: oklch(1 0 0 / 0.25); }
.scrub-tick.active { color: var(--cyan); border-color: var(--cyan); }
.scrub-tick::before {
  content: '';
  position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all .2s ease;
}
.scrub-tick.active::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transform: translateX(-50%) scale(1.4);
}
.scrub-tick.passed::before { background: var(--cyan-deep); border-color: var(--cyan-deep); }
.scrub-num { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; display: block; }
.scrub-name { font-family: var(--sans); font-size: 10px; font-weight: 500; margin-top: 2px; display: block; }

/* ── features grid ───────────────────────────────────────── */
.features { background: var(--bg); }
.features-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 1px; margin-top: 80px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  overflow: hidden;
}
.feat {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
  position: relative;
  transition: background .25s ease;
}
.feat:hover { background: oklch(0.14 0.018 235); }
.feat-1 { grid-column: span 6; }
.feat-2 { grid-column: span 6; }
.feat-3 { grid-column: span 4; }
.feat-4 { grid-column: span 4; }
.feat-5 { grid-column: span 4; }
.feat-6 { grid-column: span 12; min-height: 200px; }
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .feat { grid-column: span 1 !important; }
}

.feat-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-3);
}
.feat-title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05; letter-spacing: -0.02em;
}
.feat-title em { font-family: var(--serif); font-style: italic; color: var(--cyan); }
.feat-body { font-size: 15px; color: var(--fg-2); line-height: 1.5; max-width: 38ch; }
.feat-visual {
  margin-top: auto; min-height: 80px;
  display: flex; align-items: flex-end;
}

/* feature visuals */
.viz-count {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--mono); font-size: 13px; color: var(--fg-2);
}
.viz-count-big {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(48px, 5vw, 80px); line-height: 1; color: var(--cyan);
  letter-spacing: -0.02em;
}
.viz-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.viz-bar { width: 14px; background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-deep) 100%); border-radius: 4px 4px 0 0; box-shadow: 0 0 12px oklch(0.86 0.17 200 / 0.3); }
.viz-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.viz-pill {
  font-family: var(--mono); font-size: 11px;
  padding: 6px 10px; border-radius: 999px;
  background: oklch(0.20 0.020 235); color: var(--fg-2);
  border: 1px solid var(--line);
}
.viz-pill.on { background: var(--cyan-soft); color: var(--cyan); border-color: oklch(0.86 0.17 200 / 0.4); }
.viz-warning {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: oklch(0.80 0.16 65 / 0.10);
  border: 1px solid oklch(0.80 0.16 65 / 0.3);
  font-family: var(--mono); font-size: 12px;
  color: var(--amber);
}
.viz-warning .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 1.6s ease-in-out infinite; }

/* ── trim demo ───────────────────────────────────────────── */
.trim { background: oklch(0.10 0.015 235); }
.trim-stage {
  margin-top: 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 900px) { .trim-stage { grid-template-columns: 1fr; } }
.trim-pane {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.trim-pane.after { border-color: oklch(0.86 0.17 200 / 0.4); }
.trim-pane.after::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, oklch(0.86 0.17 200 / 0.10), transparent 60%);
  pointer-events: none;
}
.trim-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.trim-head .badge {
  padding: 4px 10px; border-radius: 999px;
  background: oklch(0.20 0.020 235); color: var(--fg-2);
}
.trim-pane.after .trim-head .badge { background: var(--cyan-soft); color: var(--cyan); }
.trim-text {
  font-family: var(--mono); font-size: 14px; line-height: 1.55;
  color: var(--fg-2); flex: 1;
  white-space: pre-wrap;
}
.trim-text .strike { color: var(--fg-3); text-decoration: line-through; transition: opacity .4s; }
.trim-text .strike.gone { opacity: 0.25; }
.trim-text .keep { color: var(--fg); font-weight: 500; }
.trim-foot { display: flex; justify-content: space-between; align-items: center; }
.trim-tokens {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(36px, 4vw, 56px); color: var(--fg);
  letter-spacing: -0.02em; line-height: 1;
}
.trim-pane.after .trim-tokens { color: var(--cyan); }
.trim-cost { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.trim-controls {
  margin-top: 36px; display: flex; align-items: center; gap: 18px;
  padding: 18px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.trim-progress {
  flex: 1; height: 4px; background: oklch(0.20 0.020 235); border-radius: 999px; overflow: hidden;
}
.trim-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  transition: width .1s linear;
}
.trim-savings {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--mono); font-size: 13px; color: var(--fg-2);
}
.trim-savings strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; color: var(--cyan); }

/* ── spend dashboard ─────────────────────────────────────── */
.spend { background: var(--bg); }
.spend-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
@media (max-width: 1000px) { .spend-grid { grid-template-columns: 1fr; } }

.spend-chart-card, .spend-list-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.spend-chart-head, .spend-list-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 28px;
}
.spend-chart-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.spend-chart-total {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(48px, 5vw, 80px); color: var(--fg); line-height: 1;
  letter-spacing: -0.02em;
}
.spend-chart-total em { color: var(--cyan); }
.spend-chart-delta { font-family: var(--mono); font-size: 12px; color: var(--amber); }

.spend-chart {
  height: 240px;
  display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px;
  align-items: end;
}
.spend-bar { background: linear-gradient(180deg, var(--cyan) 0%, oklch(0.62 0.18 215) 100%); border-radius: 3px 3px 0 0; opacity: 0.85; min-height: 4px; transition: opacity .15s ease; }
.spend-bar:hover { opacity: 1; }
.spend-bar.muted { background: linear-gradient(180deg, oklch(0.40 0.05 230) 0%, oklch(0.30 0.04 230) 100%); opacity: 0.6; }
.spend-x { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 12px; font-family: var(--mono); font-size: 10px; color: var(--fg-3); letter-spacing: 0.1em; }
.spend-x span:nth-child(even) { text-align: right; }

.spend-list { display: flex; flex-direction: column; gap: 8px; }
.spend-row {
  display: grid; grid-template-columns: 24px 1fr auto auto;
  align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.spend-row:last-child { border-bottom: none; }
.spend-row-mark { width: 10px; height: 10px; border-radius: 3px; }
.spend-row-name { font-size: 14px; font-weight: 500; }
.spend-row-tok { font-family: var(--mono); font-size: 12px; color: var(--fg-3); text-align: right; }
.spend-row-usd { font-family: var(--mono); font-size: 13px; color: var(--fg); font-variant-numeric: tabular-nums; }

/* ── manifesto ───────────────────────────────────────────── */
.manifesto {
  background: oklch(0.08 0.012 235);
  text-align: center;
}
.manifesto blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(36px, 5vw, 84px); line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 24px auto 0;
  text-wrap: balance;
}
.manifesto blockquote em { color: var(--cyan); font-style: italic; }
.manifesto-sig {
  margin-top: 48px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg-3);
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta {
  background:
    radial-gradient(ellipse 800px 600px at 50% 100%, oklch(0.86 0.17 200 / 0.15), transparent 70%),
    var(--bg);
  text-align: center;
  padding-top: clamp(80px, 8vw, 140px);
  padding-bottom: clamp(80px, 8vw, 140px);
}
.cta-title { margin-bottom: 32px; }
.cta-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-meta { margin-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); letter-spacing: 0.08em; }

/* ── footer ──────────────────────────────────────────────── */
footer {
  padding: 40px var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--fg-3);
  letter-spacing: 0.1em;
}
footer a:hover { color: var(--fg); }
.footer-links { display: flex; gap: 24px; }

/* ── tweaks ──────────────────────────────────────────────── */
.themed--amber {
  --cyan: oklch(0.82 0.17 65);
  --cyan-deep: oklch(0.62 0.18 55);
  --cyan-soft: oklch(0.82 0.17 65 / 0.18);
}
.themed--magenta {
  --cyan: oklch(0.78 0.20 340);
  --cyan-deep: oklch(0.55 0.22 340);
  --cyan-soft: oklch(0.78 0.20 340 / 0.18);
}
.themed--lime {
  --cyan: oklch(0.88 0.20 140);
  --cyan-deep: oklch(0.65 0.22 145);
  --cyan-soft: oklch(0.88 0.20 140 / 0.18);
}
