:root {
  --bg: #0a0c10;
  --bg-2: #0f1318;
  --fg: #e8edf5;
  --fg-muted: #7a8494;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
}

*, *::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-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Hero ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55) saturate(0.8);
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,12,16,0) 60%, var(--bg) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5rem 5rem 5rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-headline {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.75rem;
}
.headline-accent { color: var(--accent); }

.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 42ch;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-block { padding: 0 2rem; }
.stat-block:first-child { padding-left: 0; }
.stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-top: 0.3rem;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── Section Label ──────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

/* ─── How it Works ──────────────────────── */
.how-it-works {
  background: var(--bg-2);
  padding: 7rem 5rem;
  border-top: 1px solid var(--border);
}
.process-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
}
.process-step { }
.step-num {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-content h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.step-content p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }
.process-arrow { padding-top: 2.5rem; display: flex; align-items: center; }

/* ─── Features ───────────────────────────── */
.features {
  padding: 7rem 5rem;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(0,212,170,0.25); }
.feature-card--wide { grid-column: span 1; }
.feature-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
  margin-bottom: 1.5rem;
}
.feature-img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.75) saturate(0.7); }
.feature-icon { margin-bottom: 1.25rem; }
.feature-text h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.feature-card h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.feature-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* ─── Manifesto ──────────────────────────── */
.manifesto {
  background: var(--bg-2);
  padding: 8rem 5rem;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.manifesto-bg-text {
  position: absolute;
  top: 50%;
  left: -2rem;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 7rem;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.manifesto-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}
.manifesto-content h2 {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 2rem;
}
.manifesto-content p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.manifesto-content em { font-style: italic; color: var(--fg); }

/* ─── Closing ────────────────────────────── */
.closing {
  padding: 8rem 5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing h2 {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.75rem;
}
.closing p {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Footer ─────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.footer-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-left: 3.25rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ─── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-wrap { height: 280px; }
  .hero-image-overlay { background: linear-gradient(to bottom, rgba(10,12,16,0) 40%, var(--bg) 100%); }
  .hero-content { padding: 3rem 1.75rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-block { padding: 0; }
  .stat-divider { display: none; }
  .how-it-works, .features, .manifesto, .closing, .site-footer { padding-left: 1.75rem; padding-right: 1.75rem; }
  .process-row { grid-template-columns: 1fr; gap: 0; }
  .process-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .manifesto-bg-text { display: none; }
  .site-footer { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
