:root {
  --bg: #0a0a0c;
  --bg-elevated: #111115;
  --bg-surface: #18181d;
  --fg: #e8e6e3;
  --fg-muted: #8a8a8f;
  --accent: #e8943a;
  --accent-dim: #c47a2e;
  --success: #4ade80;
  --red: #ff5f56;
  --yellow: #ffbd2e;
  --green: #27c93f;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1120px;
}

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

html { scroll-behavior: smooth; }

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

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 60px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

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

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

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

/* Terminal */
.hero-visual {
  width: 100%;
  max-width: 620px;
}

.terminal {
  background: var(--bg-elevated);
  border: 1px solid #2a2a30;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 14px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #141418;
  border-bottom: 1px solid #2a2a30;
}

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

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

.terminal-title {
  margin-left: auto;
  margin-right: auto;
  color: var(--fg-muted);
  font-size: 12px;
}

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

.terminal-body .line { color: var(--fg-muted); }
.terminal-body .indent { padding-left: 24px; }
.terminal-body .prompt { color: var(--accent); margin-right: 8px; }
.terminal-body .success { color: var(--success); margin-right: 6px; }

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

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

/* Section label */
.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* How section */
.how {
  padding: 120px 24px;
  max-width: var(--max-w);
  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: 64px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--bg-surface);
  -webkit-text-stroke: 1px #3a3a40;
  margin-bottom: 16px;
}

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

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

/* Numbers */
.numbers {
  padding: 80px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid #1e1e24;
  border-bottom: 1px solid #1e1e24;
}

.numbers-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

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

/* Difference */
.difference {
  padding: 120px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comp-col {
  padding: 36px;
  border-radius: 16px;
}

.comp-col.old {
  background: var(--bg-elevated);
  border: 1px solid #2a2a30;
}

.comp-col.new {
  background: linear-gradient(135deg, #1a1510 0%, #151210 100%);
  border: 1px solid var(--accent-dim);
}

.comp-header {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #2a2a30;
}

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

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

.comp-col.old li {
  color: var(--fg-muted);
  padding-left: 24px;
  position: relative;
}

.comp-col.old li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: #555;
}

.comp-col.new li {
  color: var(--fg);
  padding-left: 24px;
  position: relative;
}

.comp-col.new li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
}

/* Closing */
.closing {
  padding: 140px 24px;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid #1e1e24;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 20px 40px;
    gap: 40px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body { font-size: 16px; }

  .numbers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .comp-col {
    padding: 24px;
  }
}