:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8a8a9a;
  --accent: #4ade80;
  --accent-dim: #22c55e;
  --red: #f87171;
  --yellow: #fbbf24;
  --border: #2a2a3a;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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;
  padding: 6rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

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

.lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 600px;
}

/* Terminal */
.terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
  max-width: 680px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--accent); }

.terminal-title {
  color: var(--fg-muted);
  font-size: 0.75rem;
  margin-left: 8px;
}

.terminal-body {
  padding: 20px;
  line-height: 2;
}

.line { color: var(--fg-muted); }
.prompt { color: var(--accent); font-weight: 600; }
.cmd { color: var(--fg); }
.output { padding-left: 1rem; }
.output.success { color: var(--accent-dim); }
.output.highlight { color: var(--accent); font-weight: 600; }

.cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ---- METRICS ---- */
.metrics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}

.metrics-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.metric { text-align: center; flex: 1; }

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ---- HOW ---- */
.how {
  padding: 8rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin-bottom: 4rem;
  max-width: 600px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 40px;
  padding-top: 2px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- VERSUS ---- */
.versus {
  padding: 8rem 2rem;
  background: var(--bg-subtle);
}

.versus-inner {
  max-width: 900px;
  margin: 0 auto;
}

.versus h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comp-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.comp-col.forge {
  border-color: var(--accent-dim);
}

.comp-header {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.comp-col.forge .comp-header {
  color: var(--accent);
  border-bottom-color: var(--accent-dim);
}

.comp-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-col li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.x {
  color: var(--red);
  font-weight: 700;
  font-size: 1rem;
}

.check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.closing-bold {
  color: var(--fg) !important;
  font-weight: 600;
  font-size: 1.25rem !important;
  margin-top: 1.5rem !important;
}

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem 3rem; gap: 3rem; min-height: auto; }
  .metrics-inner { flex-direction: column; gap: 2rem; }
  .metric-divider { width: 60px; height: 1px; }
  .how { padding: 5rem 1.5rem; }
  .step { flex-direction: column; gap: 0.5rem; }
  .comparison { grid-template-columns: 1fr; }
  .versus { padding: 5rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .terminal { font-size: 0.75rem; }
  .terminal-body { padding: 14px; }
}

/* Hero CTA button */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 0.9rem 2.25rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}
.hero-cta-btn:hover { background: var(--accent-dim); transform: translateY(-1px); }
}