:root {
  --bg: #09090b;
  --surface: #18181b;
  --surface-2: #27272a;
  --border: #3f3f46;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent-dim-2: rgba(245, 158, 11, 0.06);
  --green: #22c55e;
  --font-display: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}
.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.75rem;
  max-width: 18ch;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: 3rem;
  font-weight: 300;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: fit-content;
  background: var(--surface);
}
.stat {
  padding: 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 3.5rem;
  background: var(--border);
  flex-shrink: 0;
}

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.hiw-header {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}
.hiw-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hiw-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.hiw-step {
  padding: 2rem 2.5rem 2rem 0;
  border-right: 1px solid var(--border);
}
.hiw-step:last-child {
  border-right: none;
  padding-right: 0;
}
.hiw-step:not(:first-child) {
  padding-left: 2.5rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}
.hiw-step h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.hiw-step p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── FEATURES ── */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.features-left h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.features-intro {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 1.75rem;
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── PROTOCOLS ── */
.protocols {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
  text-align: center;
  background: var(--surface);
}
.protocol-grid {
  max-width: 1100px;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.protocol-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}
.protocol-tag:hover {
  color: var(--accent);
  border-color: rgba(245, 158, 11, 0.35);
}

/* ── CLOSING ── */
.closing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem;
  text-align: center;
}
.closing-line {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 48ch;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .hero-headline { font-size: 2.6rem; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .hiw-steps { grid-template-columns: 1fr; gap: 2rem; }
  .hiw-step { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 2rem; }
  .hiw-step:last-child { border-bottom: none; padding-bottom: 0; }
  .hiw-step:not(:first-child) { padding-left: 0; }
  .hiw-step { padding-right: 0; }
  .features { grid-template-columns: 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .closing { padding: 5rem 1.5rem; }
}