:root {
  --bg: #060D14;
  --bg-card: #0A1520;
  --bg-nav: rgba(6, 13, 20, 0.9);
  --fg: #E8EFF7;
  --fg-muted: #7A8FA6;
  --fg-dim: #4A5E75;
  --accent: #00D4AA;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --border: rgba(0, 212, 170, 0.15);
  --border-strong: rgba(0, 212, 170, 0.3);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

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

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.nav-tagline {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  font-weight: 300;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,212,170,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow-divider { color: var(--fg-dim); }
.eyebrow-text { font-size: 0.8125rem; color: var(--fg-muted); font-weight: 300; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: fit-content;
  overflow: hidden;
}
.stat {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  background: var(--accent);
  color: #060D14;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  background: transparent;
  color: var(--fg);
  padding: 14px 28px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* PROVENANCE */
.provenance {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.prov-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.prov-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.prov-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--fg);
}
.prov-body {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 620px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 56px;
}
.prov-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  min-width: 160px;
}
.node-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 50%;
}
.iqc-icon { background: rgba(0,212,170,0.18); }
.node-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg);
}
.node-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 300;
}
.prov-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
}

/* PIPELINE */
.pipeline {
  padding: 100px 40px;
  background: var(--bg-card);
}
.pipeline-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.pipeline-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.pipeline-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 12px;
}
.step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  padding-top: 60px;
}
.step-connector::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--border-strong);
}

/* WHY IQC */
.whyiqc {
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.why-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 56px;
  color: var(--fg);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.why-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
}
.why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 50%;
  margin-bottom: 20px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}
.compliance-note {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.compliance-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* CLOSING */
.closing {
  padding: 100px 40px;
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.closing-overline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 32px;
  color: var(--fg);
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 680px;
  font-weight: 300;
  margin-bottom: 64px;
}
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.phase {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
}
.phase-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.phase-current {
  color: var(--accent);
  border-color: var(--border-strong);
  background: var(--accent-dim);
}
.phase h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 10px;
}
.phase p {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}
.closing-statement {
  padding: 40px 48px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--accent-dim);
  text-align: center;
}
.closing-statement p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--fg);
  line-height: 1.4;
  font-style: italic;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  font-weight: 300;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.8125rem;
  color: var(--fg-dim);
  font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .prov-diagram { flex-direction: column; gap: 16px; }
  .prov-arrow { transform: rotate(90deg); }
  .pipeline-steps { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .closing-statement { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}