:root {
  --bg: #f8f5f0;
  --fg: #1a1a1a;
  --accent: #1a3d2e;
  --accent-mid: #2d5c47;
  --accent-light: #3d7a5c;
  --amber: #d97706;
  --amber-light: #fbbf24;
  --red: #dc2626;
  --green: #16a34a;
  --terminal-bg: #0d1117;
  --terminal-fg: #c9d1d9;
  --terminal-dim: #6e7681;
  --muted: #6b6b6b;
  --border: #e2ddd6;
}

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

html { font-size: 16px; }

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

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  padding: 80px 48px 96px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
}

/* TERMINAL */
.hero-terminal {
  background: var(--terminal-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'DM Mono', 'Fira Code', 'Consolas', monospace;
}
.terminal-header {
  background: #161b22;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #21262d;
}
.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title {
  font-size: 0.7rem;
  color: var(--terminal-dim);
  margin-left: 8px;
}
.terminal-body {
  padding: 20px 24px;
}
.terminal-line {
  font-size: 0.8rem;
  line-height: 1.8;
  white-space: pre;
}
.t-dim { color: var(--terminal-dim); }
.t-white { color: var(--terminal-fg); }
.t-amber { color: var(--amber-light); }
.t-red { color: #f85149; }
.t-green { color: #56d364; }
.terminal-spacer { height: 16px; }

/* SECTION SHARED */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
}
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 40px;
}

/* UPGRADES */
.upgrades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.upgrades-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.upgrades-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}
.upgrades-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}
.stat-card + .stat-card {
  border-top: none;
  border-radius: 0;
}
.stat-card:first-child { border-radius: 8px 8px 0 0; }
.stat-card:last-child { border-radius: 0 0 8px 8px; border-top: none; }
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
}

/* GUARDIANS */
.guardians {
  background: var(--accent);
}
.guardians .section-label { color: rgba(255,255,255,0.5); }
.guardians-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.guardian-item {
  background: var(--accent);
  padding: 40px 32px;
}
.guardian-icon {
  color: #5cba8a;
  margin-bottom: 16px;
}
.guardian-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.guardian-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* MANIFESTO */
.manifesto {
  background: #f0ebe3;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
}
.manifesto-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 40px;
}
.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  max-width: 780px;
  margin-bottom: 28px;
  border: none;
  padding: 0;
}
.manifesto-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}
.meta-dot { color: var(--border); }

/* CLOSING */
.closing {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.closing-inner {
  max-width: 780px;
  margin: 0 auto;
}
.closing-statement {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--fg);
}

/* FOOTER */
.footer {
  padding: 40px 48px;
  background: var(--accent);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner,
  .upgrades-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 24px 64px; }
  .section-inner { padding: 56px 24px; }
  .guardians-layout { grid-template-columns: 1fr; }
  .nav { padding: 20px 24px; }
  .hero-terminal { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.8rem; }
  .manifesto-inner,
  .closing,
  .upgrades-grid { grid-template-columns: 1fr; }
}