:root {
  --bg: #0a0a0b;
  --bg-elevated: #141416;
  --bg-card: #1a1a1e;
  --fg: #e8e8ec;
  --fg-muted: #8a8a96;
  --accent: #6ee7b7;
  --accent-dim: rgba(110, 231, 183, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 10vw;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero h1 .accent {
  color: var(--accent);
}

.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-visual {
  width: 100%;
  max-width: 640px;
}

.terminal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.terminal-bar {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  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-body {
  padding: 20px 24px;
  font-family: 'DM Sans', monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.terminal-body .prompt { color: var(--fg); }
.prompt-arrow { color: var(--accent); font-weight: 600; margin-right: 8px; }
.terminal-body .response { color: var(--fg-muted); margin-top: 12px; }
.terminal-body .done { color: var(--accent); margin-top: 12px; font-weight: 500; }
.terminal-body .link { text-decoration: underline; }

/* ===== HOW ===== */
.how {
  padding: 120px 10vw;
}

.how-header {
  margin-bottom: 64px;
}

.how-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.how-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 480px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
}

.how-card:hover {
  border-color: rgba(110, 231, 183, 0.2);
}

.how-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.how-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== COMPARISON ===== */
.comparison {
  padding: 100px 10vw;
}

.comparison h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  text-align: center;
}

.comp-table {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comp-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

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

.comp-row.comp-header {
  background: var(--bg-elevated);
}

.comp-cell {
  padding: 16px 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.comp-cell.label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comp-header .comp-cell {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comp-cell.old { color: var(--fg-muted); }
.comp-cell.new { color: var(--accent); }

/* ===== CLOSING ===== */
.closing {
  padding: 120px 10vw;
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-text {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 48px 10vw;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 6vw; min-height: auto; padding-top: 100px; }
  .how { padding: 80px 6vw; }
  .comparison { padding: 80px 6vw; }
  .closing { padding: 80px 6vw; }
  .site-footer { padding: 32px 6vw; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  
  .comp-row { grid-template-columns: 1fr; }
  .comp-header { display: none; }
  .comp-cell.label {
    background: var(--bg-elevated);
    padding: 12px 20px 4px;
  }
  .comp-cell.old { padding: 4px 20px; }
  .comp-cell.new { padding: 4px 20px 16px; }

  .how-grid { grid-template-columns: 1fr; }
}