:root {
  --bg: #0f1117;
  --bg-alt: #161922;
  --fg: #f0f0f5;
  --fg-muted: #8b8b9e;
  --accent: #4ade80;
  --accent-dim: rgba(74, 222, 128, 0.12);
  --border: rgba(255,255,255,0.08);
  --nav-h: 56px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* HERO */
.hero {
  padding: 80px 32px 64px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* PHONE MOCKUP */
.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-frame {
  background: #1e1e2e;
  border: 1.5px solid var(--border);
  border-radius: 36px;
  padding: 16px;
  width: 280px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.phone-screen {
  background: #0d0d14;
  border-radius: 26px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  height: 32px;
  background: #1e1e2e;
  width: 100px;
  margin: 0 auto;
  border-radius: 0 0 16px 16px;
}
.phone-content {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notif {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.notif.missed {
  background: rgba(255,80,80,0.1);
  border: 1px solid rgba(255,80,80,0.2);
}
.notif-icon { font-size: 13px; }
.notif-meta { color: #ff6b6b; font-weight: 500; }
.notif-num { color: rgba(255,255,255,0.5); font-size: 10px; }
.notif.ai-response {
  background: var(--accent-dim);
  border: 1px solid rgba(74,222,128,0.2);
}
.notif.ai-response .notif-meta { color: var(--accent); }
.thread { display: flex; flex-direction: column; gap: 6px; }
.msg {
  border-radius: 14px;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.5;
  max-width: 85%;
}
.msg.inbound { background: #1e1e2e; color: var(--fg); align-self: flex-start; }
.msg.outbound.ai { background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.2); color: var(--fg); align-self: flex-end; }
.msg.outbound.booked { background: rgba(74,222,128,0.25); border: 1px solid rgba(74,222,128,0.4); color: var(--accent); align-self: flex-end; }
.check-icon { margin-right: 4px; }
.msg .sub { color: rgba(74,222,128,0.6); font-size: 10px; display: block; margin-top: 2px; }

/* STATS ROW */
.stats-row {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 32px;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 40px;
  text-align: center;
}
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  max-width: 120px;
  line-height: 1.4;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* HOW IT WORKS */
.howitworks {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 32px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 48px;
}
.workflow-steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}
.step-arrow {
  font-size: 20px;
  color: var(--fg-muted);
  align-self: center;
  flex-shrink: 0;
  margin-top: 16px;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  letter-spacing: -0.03em;
}
.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.step p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* WHY STACK */
.whitestack {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px;
}
.whitestack-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}
.whitestack-left { flex: 1; }
.whitestack-eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.whitestack-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.whitestack-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.whitestack-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 340px;
}
.tech-badge {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* MANIFESTO */
.manifesto {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 32px;
  border-left: 3px solid var(--accent);
  padding-left: 48px;
}
.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 32px;
}
.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 16px;
}

/* CLOSING */
.closing {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 96px 32px;
  text-align: center;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto 64px;
  line-height: 1.7;
}
.closing-stack {
  display: flex;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
}
.c-pillar {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: left;
}
.c-pillar h4 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.c-pillar p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--fg);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { justify-content: flex-start; }
  .workflow-steps {
    flex-direction: column;
  }
  .step-arrow { transform: rotate(90deg); margin: 0 auto; }
  .whitestack-inner { flex-direction: column; }
  .stats-row {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }
  .stat-sep { display: none; }
  .closing-stack { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero { padding: 48px 20px 40px; }
  .howitworks { padding: 64px 20px; }
  .whitestack { padding: 64px 20px; }
  .manifesto { padding: 64px 20px 64px 28px; }
  .closing { padding: 64px 20px; }
  .nav-inner { padding: 0 20px; }
  .phone-frame { width: 240px; }
}