:root {
  --bg: #0c0c0e;
  --bg-raised: #141416;
  --bg-card: #1a1a1d;
  --fg: #f0ece6;
  --fg-muted: #8a8680;
  --fg-dim: #4a4744;
  --accent: #e8a045;
  --accent-dim: #b37c32;
  --border: #2a2a2e;
  --green: #4ade80;
  --red: #f87171;
  --yellow: #fbbf24;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


/* ── HERO ── */
.hero {
  padding: 96px 48px 80px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}
h1 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 24px;
}
.lede {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 460px;
}
.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
  font-family: 'Instrument Sans', monospace;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.status-dot.alive { animation: pulse 2s ease-in-out infinite; }
.status-dot.sm { width: 6px; height: 6px; }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.status-sep { color: var(--fg-dim); }

/* console */
.hero-console {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
}
.console-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.console-dot { width: 10px; height: 10px; border-radius: 50%; }
.console-dot.red { background: #ff5f57; }
.console-dot.yellow { background: #febc2e; }
.console-dot.green { background: #28c840; }
.console-title {
  margin-left: 8px;
  color: var(--fg-muted);
  font-size: 12px;
  font-family: 'Instrument Sans', monospace;
}
.console-body {
  padding: 20px 24px;
  font-family: 'Instrument Sans', 'Courier New', monospace;
  line-height: 1.8;
  overflow-x: auto;
}
.console-body code { color: var(--fg-muted); }
.token-punct { color: var(--fg-dim); }
.token-key { color: var(--fg); }
.token-str { color: #86d9a0; }
.token-bool { color: var(--yellow); }
.token-num { color: var(--accent); }
.console-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
}
.console-status { display: flex; align-items: center; gap: 6px; }

/* ── SECTIONS ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 48px;
}

.runtime-header {
  margin-bottom: 56px;
  max-width: 600px;
}
.runtime-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.runtime-header p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.6;
}
.runtime-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.runtime-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.runtime-icon {
  color: var(--accent);
  margin-bottom: 16px;
}
.runtime-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.runtime-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── PERSISTENCE ── */
.persistence { border-top: 1px solid var(--border); }
.persistence-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.persistence-text h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}
.persistence-text p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.persistence-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Instrument Sans', monospace;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 4px;
}
.timeline-item.done .timeline-marker { background: var(--green); }
.timeline-item.active .timeline-marker {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,160,69,0.2);
}
.timeline-time {
  font-size: 11px;
  color: var(--fg-muted);
  font-family: 'Instrument Sans', monospace;
  margin-bottom: 2px;
}
.timeline-event { font-size: 13px; color: var(--fg); line-height: 1.4; }
.timeline-item.done .timeline-event { color: var(--fg-muted); }


/* ── MANIFESTO ── */
.manifesto {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 32px;
}
.manifesto-tagline {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── FOOTER ── */
footer {
  padding: 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-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-tagline { font-size: 13px; color: var(--fg-muted); }
.footer-meta { font-size: 13px; color: var(--fg-dim); }


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { padding: 64px 24px 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: 52px; }
  .section-inner { padding: 64px 24px; }
  .runtime-grid { grid-template-columns: 1fr; }
  .persistence-split { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
}