:root {
  --bg: #0a0a0f;
  --bg-surface: #111118;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font: 'Space Grotesk', sans-serif;
  --mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

.accent { color: var(--accent); }
.mono { font-family: var(--mono); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.grid-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

.hero-content {
  text-align: center;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Node Map Visual ── */
.hero-visual {
  margin-top: 64px;
  position: relative;
  z-index: 2;
}

.node-map {
  position: relative;
  width: 320px;
  height: 200px;
}

.node {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
}

.node-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  border-color: rgba(0, 229, 160, 0.3);
  background: var(--accent-dim);
  font-weight: 500;
  font-size: 0.8rem;
  box-shadow: 0 0 30px var(--accent-glow);
}

.node-1 { left: 0; top: 0; }
.node-2 { right: 0; top: 0; }
.node-3 { left: 0; bottom: 0; }
.node-4 { right: 0; bottom: 0; }

/* ── Section Labels ── */
.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-label .mono {
  color: var(--accent);
  margin-right: 12px;
}

/* ── Services ── */
.services {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: rgba(0, 229, 160, 0.2);
  box-shadow: 0 0 40px rgba(0, 229, 160, 0.05);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── How It Works ── */
.how {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 50%;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Closing ── */
.closing {
  padding: 120px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-surface) 50%, var(--bg) 100%);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 56px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.stat-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Footer ── */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.footer-contact {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 80px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .node-map {
    width: 260px;
    height: 170px;
  }

  .stats-row {
    flex-direction: column;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .step {
    flex-direction: column;
    gap: 16px;
  }

  .services, .how, .closing {
    padding: 80px 20px;
  }
}