:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #18181f;
  --amber: #eab308;
  --amber-dim: rgba(234, 179, 8, 0.12);
  --text: #f0f0f5;
  --text-muted: #8888a0;
  --text-dim: #55556a;
  --border: #222230;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.5px;
}

.nav-tag {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(234, 179, 8, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  font-weight: 300;
}

/* ── Terminal ── */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(234,179,8,0.05);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.amber { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px 24px;
}

.code-line {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

.indent1 { padding-left: 20px; }

.code-key { color: #c4c4e0; }
.code-fn { color: var(--amber); }
.code-num { color: #a8e6a3; }
.code-str { color: #f8c47a; }

.terminal-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.spend-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
}

.spend-label { color: var(--text-dim); width: 100px; }

.spend-bar {
  flex: 1;
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}

.spend-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), #f59e0b);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.spend-pct { color: var(--amber); min-width: 36px; text-align: right; }

.spend-val { color: var(--text); font-weight: 600; }
.spend-cost { color: var(--text-muted); }

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.status-badge.active { color: #4ade80; }

/* ── Section Shared ── */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

/* ── How ── */
.how {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  max-width: 900px;
  align-items: start;
  margin: 0 auto;
}

.how-step { padding: 0 40px; }
.how-divider { padding-top: 8px; }

.step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ── Policy ── */
.policy {
  padding: 100px 40px;
}

.policy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.policy-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
}

.policy-body strong { color: var(--text); font-weight: 600; }

.hl-allow { color: #4ade80; }
.hl-deny { color: #f87171; }
.hl-rate { color: var(--amber); }
.hl-queue { color: #a78bfa; }

.policy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 14px;
  background: var(--amber-dim);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--amber);
}

/* Decision card */
.decision-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
}

.decision-row {
  display: grid;
  grid-template-columns: 1fr auto 80px;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.decision-row:last-child { border-bottom: none; }

.d-label { color: var(--text-muted); font-size: 12px; }

.d-action { font-weight: 600; font-size: 11px; letter-spacing: 1px; }
.d-action.allow { color: #4ade80; }
.d-action.deny { color: #f87171; }
.d-action.rate { color: var(--amber); }
.d-action.queue { color: #a78bfa; }

.d-amount { color: var(--text-dim); text-align: right; font-size: 11px; }

.decision-log-label {
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  background: var(--surface2);
}

/* ── Outcomes ── */
.outcomes {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2px;
}

.outcome {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.outcome-icon {
  margin-bottom: 20px;
}

.outcome-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.outcome-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ── Manifesto ── */
.manifesto {
  padding: 100px 40px;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.manifesto-quote {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.5px;
  border-left: 3px solid var(--amber);
  padding-left: 32px;
  margin-bottom: 32px;
}

.manifesto-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  padding-left: 35px;
}

/* ── Closing ── */
.closing {
  padding: 120px 40px;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(234,179,8,0.05) 0%, transparent 70%);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ── Footer ── */
.footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-logo {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--amber);
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--mono);
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { font-size: 32px; }
  .hero-sub { font-size: 16px; }

  .how { padding: 60px 20px; }
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-divider { display: none; }
  .how-step { padding: 0; }

  .policy { padding: 60px 20px; }
  .policy-inner { grid-template-columns: 1fr; gap: 40px; }

  .outcomes { padding: 60px 20px; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }

  .manifesto { padding: 60px 20px; }
  .manifesto-quote { font-size: 20px; padding-left: 20px; }
  .manifesto-body { padding-left: 23px; }

  .closing { padding: 80px 20px; }
  .closing-headline { font-size: 28px; }

  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}