:root {
  --bg: #0e0e0e;
  --bg-card: #161616;
  --bg-subtle: #1c1c1c;
  --fg: #f0ebe3;
  --fg-muted: #8a857d;
  --accent: #e8632a;
  --accent-dim: rgba(232, 99, 42, 0.12);
  --border: #2a2a2a;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', monospace;
}

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

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(14,14,14,0.85);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wordmark-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.wordmark-beta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 7px;
  border-radius: 3px;
}
.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--fg); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 80px);
  line-height: 1.0;
  color: var(--fg);
  margin-bottom: 32px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.7;
}

/* Console card */
.console-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.console-header {
  background: var(--bg-subtle);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }
.console-title {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-muted);
}
.console-body { padding: 24px; }
.console-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.console-row:last-child { border-bottom: none; }
.indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-muted); }
.indicator.active { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.console-label { font-size: 13px; color: var(--fg-muted); flex: 1; }
.console-val { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--fg); }
.console-progress { padding-top: 16px; }
.progress-bar { height: 4px; background: var(--border); border-radius: 2px; margin: 8px 0; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.progress-val { font-family: var(--mono); font-size: 12px; color: var(--accent); }

/* Manifesto */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.manifesto-body p {
  font-size: 20px;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.manifesto-body p:last-child { margin-bottom: 0; }

/* Stats */
.stats-section {
  padding: 80px 48px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: center;
}
.stat-block {
  flex: 1;
  padding: 0 40px;
}
.stat-block:first-child { padding-left: 0; }
.stat-block:last-child { padding-right: 0; }
.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: 48px;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* Playbook */
.playbook {
  padding: 100px 48px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.playbook-inner { max-width: 1200px; margin: 0 auto; }
.playbook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  margin-top: 0;
}
.play-item {}
.play-num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.play-item h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.2;
}
.play-item p { font-size: 15px; color: var(--fg-muted); line-height: 1.7; }

/* What runs */
.what-runs {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}
.what-runs-inner { max-width: 1200px; margin: 0 auto; }
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.int-card {
  background: var(--bg);
  padding: 32px;
}
.int-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.int-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.int-card p { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }

/* Closing */
.closing {
  padding: 120px 48px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 24px;
}
.closing-attribution {
  font-size: 13px;
  color: var(--accent);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}
.closing-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* Footer */
footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-name {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
  display: block;
}
.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  display: block;
  margin-top: 2px;
}
.footer-meta { font-size: 12px; color: var(--fg-muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 100px; }
  .playbook-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; gap: 32px; }
  .stat-divider { display: none; }
  .stat-block { flex: 1 1 45%; padding: 0; }
  .integrations-grid { grid-template-columns: 1fr; }
  .site-header { padding: 0 24px; }
  .hero, .manifesto, .playbook, .what-runs, .closing { padding-left: 24px; padding-right: 24px; }
  .stats-section { padding-left: 24px; padding-right: 24px; }
  footer { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 480px) {
  .header-nav { display: none; }
  .stat-block { flex: 1 1 100%; }
}