:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #21262d;
  --border: #30363d;
  --accent: #39d353;
  --accent-dim: rgba(57, 211, 83, 0.12);
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-dim: #484f58;
  --orange: #f78166;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}
.nav-tag {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Hero */
.hero {
  padding: 80px 48px 100px;
  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: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Terminal */
.terminal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
  font-family: 'DM Sans', monospace;
}
.terminal-body {
  padding: 20px 20px 24px;
}
.terminal-line {
  font-family: 'DM Sans', monospace;
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}
.terminal-line.muted { color: var(--text-muted); }
.terminal-line.success { color: var(--accent); }
.t-prompt { color: var(--accent); margin-right: 8px; }
.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Features */
.features {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.features-header {
  max-width: 1100px;
  margin: 0 auto 56px;
}
.features-header h2 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 36px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-icon {
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Stats */
.stats {
  padding: 60px 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-item { flex: 1; text-align: center; }
.stat-value {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* Manifesto */
.manifesto {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 28px;
}
.manifesto p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Closing */
.closing {
  padding: 100px 48px;
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.closing-statement {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

/* Footer */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 42px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { flex-direction: column; gap: 40px; }
  .stat-divider { width: 60px; height: 1px; }
  .nav { padding: 20px 24px; }
  .hero { padding: 60px 24px 80px; }
  .features { padding: 60px 24px; }
  .stats { padding: 48px 24px; }
  .manifesto { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav-tag { display: none; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}