:root {
  --bg: #0D1B2A;
  --bg-alt: #112035;
  --bg-card: #142440;
  --fg: #E8EDF3;
  --fg-muted: #6B7C93;
  --fg-subtle: #3D5166;
  --accent: #00E5A0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --border: rgba(107, 124, 147, 0.18);
  --font-mono: 'IBM Plex Mono', monospace;
  --font-sans: 'IBM Plex Sans', system-ui, 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-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 80px);
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}

/* Sections */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 680px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px clamp(24px, 5vw, 80px) 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(0, 229, 160, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* Flow Widget */
.flow-widget {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.flow-header {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  position: relative;
}

.flow-step--active .flow-dot {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 229, 160, 0.5);
}

.flow-step--active .flow-label {
  color: var(--fg);
}

.flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-subtle);
  flex-shrink: 0;
  transition: background 0.3s;
}

.flow-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  flex: 1;
}

.flow-status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-subtle);
  text-align: right;
}

.flow-connector {
  width: 1px;
  height: 16px;
  background: var(--border);
  margin-left: 3px;
}

/* How It Works */
.howitworks {
  padding: 100px 0;
  background: var(--bg-alt);
}

.howitworks .section-headline {
  margin-bottom: 64px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

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

.step-card--offset {
  background: var(--bg-alt);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

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

/* Engine */
.engine {
  padding: 100px 0;
  background: var(--bg);
}

.engine-content {
  max-width: 720px;
}

.engine .section-headline {
  margin-bottom: 20px;
}

.engine-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

.engine-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.pillar-text h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.pillar-text p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Channels */
.channels {
  padding: 100px 0;
  background: var(--bg-alt);
}

.channels .section-headline {
  margin-bottom: 56px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.channel-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: border-color 0.3s;
}

.channel-card:hover {
  border-color: rgba(0, 229, 160, 0.3);
}

.channel-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.channel-card h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.channel-card p {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Closing */
.closing {
  padding: 120px 0;
  background: var(--bg);
  text-align: center;
}

.closing-statement {
  font-family: var(--font-mono);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

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

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-subtle);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

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

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

@media (max-width: 600px) {
  .hero-stats {
    gap: 20px;
  }

  .stat-value {
    font-size: 22px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}