:root {
  --bg: #0D1117;
  --bg-card: #161B22;
  --bg-terminal: #0A0F14;
  --fg: #E6EDF3;
  --fg-muted: #7D8590;
  --accent: #00E5C3;
  --accent-dim: rgba(0, 229, 195, 0.12);
  --border: rgba(240, 246, 252, 0.08);
  --terminal-green: #00FF87;
  --terminal-yellow: #FFB800;
  --terminal-red: #FF5F57;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { 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: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 80px 80px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 460px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 28px;
}

/* ── TERMINAL ── */
.hero-visual {
  position: relative;
  z-index: 1;
}

.terminal {
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,229,195,0.08);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: var(--terminal-red); }
.dot-yellow { background: var(--terminal-yellow); }
.dot-green { background: var(--terminal-green); }

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

.terminal-body {
  padding: 24px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.log-entry { color: var(--fg-muted); }
.log-info  { color: var(--fg-muted); }
.log-warn  { color: var(--terminal-yellow); }
.log-success { color: var(--terminal-green); }

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

@keyframes blink { 0%,100% { opacity:1 } 50% { opacity:0 } }

/* ── SHARED SECTION ── */
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}

/* ── WHAT ── */
.what { padding: 100px 80px; }

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.what-card {
  background: var(--bg-card);
  padding: 40px;
}

.what-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.what-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.what-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── HOW ── */
.how { padding: 100px 80px; background: var(--bg-card); }

.how-headline h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 500px;
}

.how-steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  padding-top: 4px;
}

.step-content h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
}

/* ── PRINCIPLES ── */
.principles { padding: 100px 80px; }

.principles-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.principle h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 14px;
  line-height: 1.3;
}

.principle p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── CLOSING ── */
.closing { padding: 120px 80px; }

.closing-statement {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

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

.footer-meta {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 32px 60px;
    min-height: auto;
  }
  .hero-visual { display: none; }
  .what { padding: 72px 32px; }
  .what-grid { grid-template-columns: 1fr; }
  .how { padding: 72px 32px; }
  .principles { padding: 72px 32px; }
  .principles-content { grid-template-columns: 1fr; gap: 28px; }
  .closing { padding: 80px 32px; }
  footer { padding: 32px; }
  .step { grid-template-columns: 48px 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
}