:root {
  --bg: #0d1117;
  --bg-alt: #131920;
  --surface: #161d27;
  --surface-2: #1c2530;
  --fg: #f5f2eb;
  --fg-muted: #9aa3ad;
  --fg-dim: #5c6670;
  --accent: #00e5c3;
  --accent-dim: rgba(0, 229, 195, 0.12);
  --warm: #e8b87a;
  --gold: #c9a84c;
  --muted: #7d8896;
  --border: rgba(255,255,255,0.08);
  --nav-h: 64px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM 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-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.nav-logo-text { font-family: var(--font-display); font-size: 17px; color: var(--fg); }
.nav-tagline { font-size: 13px; color: var(--fg-muted); font-weight: 300; letter-spacing: 0.03em; }

/* ── Shared ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── Hero ── */
.hero {
  padding: 80px 48px 90px;
  background: var(--bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Pipeline visual */
.pipeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pipeline-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.stage-ai { border-color: rgba(0,229,195,0.3); background: rgba(0,229,195,0.04); }
.stage-deals { border-color: rgba(201,168,76,0.3); background: rgba(201,168,76,0.04); }
.pipeline-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 10px;
}
.stage-ai .pipeline-label { color: var(--accent); }
.stage-deals .pipeline-label { color: var(--gold); }
.pipeline-nodes { display: flex; flex-direction: column; gap: 6px; }
.pipeline-arrow { display: flex; justify-content: center; opacity: 0.6; }

.node {
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.node-ai { color: var(--fg); }
.node-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.node-dot.teal { background: var(--accent); }
.node-dot.warm { background: var(--warm); }
.node-dot.muted { background: var(--muted); }
.node-dot.gold { background: var(--gold); }
.node-dot.pulse { background: var(--accent); animation: pulse 2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* Hero stat row */
.hero-stat-row {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--fg);
  line-height: 1;
}
.stat-desc { font-size: 12px; color: var(--fg-dim); max-width: 120px; line-height: 1.4; }

/* ── Problem ── */
.problem { padding: 100px 48px; background: var(--bg-alt); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-header { max-width: 580px; margin-bottom: 56px; }
.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.22;
  color: var(--fg);
  margin-top: 10px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.problem-card:hover { border-color: rgba(0,229,195,0.25); }
.problem-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 10px;
}
.problem-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }
.problem-quote {
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}
.problem-quote blockquote {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--fg-muted);
  line-height: 1.6;
}
.quote-attr {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  color: var(--fg-dim);
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ── Solution ── */
.solution { padding: 100px 48px; background: var(--bg); }
.solution-inner { max-width: 1100px; margin: 0 auto; }
.solution-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.22;
  color: var(--fg);
  max-width: 560px;
  margin-bottom: 16px;
}
.solution-lede { font-size: 16px; color: var(--fg-muted); max-width: 600px; margin-bottom: 56px; }
.solution-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: background 0.2s;
}
.pillar:hover { background: var(--surface-2); }
.pillar-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.pillar-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 10px;
}
.pillar-body p { font-size: 13px; color: var(--fg-muted); line-height: 1.65; }

/* ── How it works ── */
.how-it-works { padding: 100px 48px; background: var(--bg-alt); }
.how-inner { max-width: 900px; margin: 0 auto; }
.how-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.22;
  color: var(--fg);
  margin-bottom: 56px;
}
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 49px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-week {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 4px;
  font-family: var(--font-body);
}
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 8px;
}
.timeline-content p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; max-width: 500px; }

/* ── Manifesto ── */
.manifesto {
  padding: 100px 48px;
  background: var(--bg);
}
.manifesto-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.manifesto-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 40px;
}
.manifesto-rule:last-child { margin: 40px auto 0; }
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ── Footer ── */
.footer {
  padding: 64px 48px 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
}
.footer-logo-text { font-family: var(--font-display); font-size: 16px; color: var(--fg); }
.footer-desc { font-size: 13px; color: var(--fg-dim); max-width: 320px; line-height: 1.65; }
.footer-links { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 4px; }
.footer-link { font-size: 13px; color: var(--fg-muted); text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: var(--fg); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--border); font-size: 12px; color: var(--fg-dim); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .hero { padding: 60px 24px 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .problem, .solution, .how-it-works, .manifesto { padding: 72px 24px; }
  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .solution-pillars { grid-template-columns: 1fr 1fr; gap: 12px; }
  .timeline-item { grid-template-columns: 72px 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { gap: 32px; }
}
@media (max-width: 600px) {
  .solution-pillars { grid-template-columns: 1fr; }
  .hero-stat-row { flex-direction: column; gap: 16px; }
  .footer-links { flex-direction: column; gap: 24px; }
}