:root {
  --bg: #0D0F14;
  --surface: #161920;
  --surface-2: #1E2229;
  --fg: #F0EDE6;
  --fg-2: #9E9B90;
  --accent: #FF9500;
  --accent-dim: rgba(255, 149, 0, 0.12);
  --border: rgba(240, 237, 230, 0.07);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Source Sans 3', system-ui, 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: 20px 48px;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav__tagline {
  font-size: 13px;
  color: var(--fg-2);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,149,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,149,0,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, black 30%, transparent 100%);
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero__headline {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 480px;
}

/* grid viz */
.grid-viz {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
}
.grid-viz svg.grid-viz__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.grid-viz__node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(255,149,0,0.5);
  transform: translate(-50%, -50%);
}
.grid-viz__node--center { left: 50%; top: 50%; width: 24px; height: 24px; }
.grid-viz__node--tl { left: 20%; top: 20%; }
.grid-viz__node--tr { left: 80%; top: 20%; }
.grid-viz__node--bl { left: 20%; top: 80%; }
.grid-viz__node--br { left: 80%; top: 80%; }
.grid-viz__node--far { left: 90%; top: 50%; width: 10px; height: 10px; opacity: 0.5; }

.grid-viz__pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,149,0,0.4);
  animation: pulse 2.5s ease-out infinite;
  transform: translate(-50%, -50%);
}
.grid-viz__pulse--1 { left: 50%; top: 50%; width: 40px; height: 40px; animation-delay: 0s; }
.grid-viz__pulse--2 { left: 20%; top: 20%; width: 30px; height: 30px; animation-delay: 1.2s; }
@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}
.grid-viz__label {
  position: absolute;
  bottom: 16px;
  right: 0;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ─── SHARED SECTION STYLES ─────────────────────────── */
.section__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section__headline {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ─── HOW IT WORKS ──────────────────────────────────── */
.howitworks {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}
.howitworks__inner { max-width: 1200px; margin: 0 auto; }
.howitworks .section__headline { margin-bottom: 64px; max-width: 540px; }
.howitworks__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.step {
  background: var(--surface);
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.step__num {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.step__title {
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step__desc { font-size: 15px; color: var(--fg-2); line-height: 1.6; }

/* ─── WHY NOW ──────────────────────────────────────── */
.whynow {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.whynow__inner { max-width: 1200px; margin: 0 auto; }
.whynow__stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 64px;
}
.stat {
  padding: 40px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
}
.stat__number {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat__label { font-size: 14px; color: var(--fg-2); line-height: 1.4; }
.whynow__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.whynow__body p { font-size: 17px; color: var(--fg-2); line-height: 1.7; }

/* ─── FEATURES ─────────────────────────────────────── */
.features {
  padding: 100px 48px;
}
.features__inner { max-width: 1200px; margin: 0 auto; }
.features .section__headline { margin-bottom: 56px; max-width: 540px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-card__title {
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-card__desc { font-size: 14px; color: var(--fg-2); line-height: 1.65; }

/* ─── VISION ───────────────────────────────────────── */
.vision {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.vision__inner { max-width: 1200px; margin: 0 auto; }
.vision__content { max-width: 720px; }
.vision .section__eyebrow { margin-bottom: 20px; }
.vision__headline {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 36px;
}
.vision__body {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ─── CLOSING ──────────────────────────────────────── */
.closing {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing__inner { max-width: 800px; margin: 0 auto; }
.closing__headline {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.closing__sub {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── FOOTER ───────────────────────────────────────── */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 16px;
}
.footer__tagline { font-size: 13px; color: var(--fg-2); margin-top: 2px; }
.footer__copy { font-size: 12px; color: var(--fg-2); }

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 120px 24px 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__right { order: -1; }
  .grid-viz { aspect-ratio: 16/9; }
  .howitworks__steps { grid-template-columns: 1fr 1fr; }
  .whynow__stat-row { grid-template-columns: 1fr; }
  .whynow__body { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .howitworks, .whynow, .features, .vision, .closing { padding: 72px 24px; }
  .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .howitworks__steps { grid-template-columns: 1fr; }
  .nav__tagline { display: none; }
}