:root {
  --bg: #09090b;
  --surface: #111115;
  --surface2: #18181c;
  --border: #27272a;
  --text: #fafafa;
  --text-muted: #71717a;
  --accent: #f5c542;
  --accent-dim: rgba(245, 197, 66, 0.12);
  --stage-empty: #1c1c22;
  --stage-label: #52525b;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner { display: flex; align-items: center; gap: 12px; }
.nav-logo { font-family: 'DM Mono', monospace; font-weight: 500; font-size: 15px; letter-spacing: 0.05em; }
.nav-tag { font-size: 12px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; }

/* HERO */
.hero {
  padding: 120px 40px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}
.hero-right { display: flex; flex-direction: column; gap: 12px; }
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}
.metric-card.accent { border-color: rgba(245, 197, 66, 0.3); background: var(--accent-dim); }
.metric-label { font-size: 11px; font-family: 'DM Mono', monospace; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.metric-value { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.metric-sub { font-size: 12px; color: var(--accent); }

.hero-visual { width: 100%; }
.viz-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.viz-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.viz-dot { width: 12px; height: 12px; border-radius: 50%; }
.viz-dot.red { background: #ef4444; }
.viz-dot.yellow { background: #eab308; }
.viz-dot.green { background: #22c55e; }
.viz-title { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--text-muted); margin-left: 8px; }
.viz-body { padding: 32px 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.viz-stage { width: 100%; max-width: 400px; }
.stage-label { font-size: 10px; font-family: 'DM Mono', monospace; color: var(--stage-label); letter-spacing: 0.1em; margin-bottom: 8px; text-align: center; }
.stage-bar { height: 6px; border-radius: 3px; background: var(--stage-empty); position: relative; overflow: hidden; }
.stage-bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent) 0%, transparent 100%); opacity: 0.3; }
.viz-arrow { font-size: 14px; color: var(--stage-label); padding: 4px 0; }
.viz-legend { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text-muted); margin-top: 12px; }
.leg { color: var(--accent); }

/* SYSTEMS */
.systems { padding: 80px 40px; }
.systems-header { max-width: 560px; margin-bottom: 56px; }
.section-tag { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.systems-header h2 { font-size: 32px; font-weight: 600; line-height: 1.25; }
.systems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.system-card { background: var(--surface); padding: 32px 28px; }
.sys-icon { color: var(--accent); margin-bottom: 16px; }
.system-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.system-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* PIPELINE */
.pipeline { padding: 80px 40px; border-top: 1px solid var(--border); }
.pipeline-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.pipeline-text .section-tag { margin-bottom: 16px; }
.pipeline-text h2 { font-size: 28px; font-weight: 600; line-height: 1.3; margin-bottom: 16px; }
.pipeline-text p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.pipeline-stages { display: flex; flex-direction: column; gap: 0; }
.pstage { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.pstage:last-child { border-bottom: none; }
.pstage-num { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--accent); font-weight: 500; min-width: 32px; padding-top: 2px; }
.pstage-body h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.pstage-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* CLOSING */
.closing {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(245,197,66,0.03) 100%);
}
.closing-inner { max-width: 680px; }
.closing-eyebrow { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.closing h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.closing p { font-size: 17px; color: var(--text-muted); line-height: 1.75; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
}
.footer-inner { display: flex; align-items: center; gap: 24px; }
.footer-logo { font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 500; }
.footer-co { font-size: 13px; color: var(--text-muted); }
.footer-tag { font-size: 12px; color: var(--border); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; margin-left: auto; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: grid; grid-template-columns: 1fr 1fr; }
  .systems-grid { grid-template-columns: 1fr; }
  .pipeline-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-right { grid-template-columns: 1fr; }
  .systems, .pipeline, .closing { padding: 60px 20px; }
  footer { padding: 20px; }
}