/* ===== CSS RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B0B12;
  --bg-surface: #13131D;
  --bg-card: #1A1A28;
  --fg: #F0EBE1;
  --fg-muted: #9A9590;
  --fg-dim: #5C5850;
  --accent: #F5A623;
  --accent-dim: #B87A1A;
  --border: rgba(245, 166, 35, 0.12);
  --border-mid: rgba(245, 166, 35, 0.25);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  padding: 5rem 2rem 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-overline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-mid);
}

/* ===== FUNNEL WIDGET ===== */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.funnel-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.funnel-stage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.funnel-stage--score {
  border-color: var(--accent-dim);
  background: rgba(245, 166, 35, 0.06);
}
.stage-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.stage-count {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}
.funnel-stage--score .stage-count {
  color: var(--accent);
}
.stage-sub {
  font-size: 0.72rem;
  color: var(--fg-dim);
}
.funnel-arrow {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0;
}
.hero-visual-caption {
  font-size: 0.72rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== PIPELINE SECTION ===== */
.pipeline {
  padding: 5rem 2rem;
  background: var(--bg);
}
.pipeline-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.pipeline-header {
  margin-bottom: 4rem;
}
.section-overline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
  max-width: 640px;
}
.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}
.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.pipeline-step {
  position: relative;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 200;
  color: var(--border-mid);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.step-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== FEATURES ===== */
.features {
  padding: 5rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-surface);
  padding: 2.25rem 2rem;
  transition: background 0.2s;
}
.feature-card:hover {
  background: var(--bg-card);
}
.feature-icon {
  margin-bottom: 1.25rem;
}
.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== WHY ===== */
.why {
  padding: 6rem 2rem;
  background: var(--bg);
}
.why-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.why-content .section-heading {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  max-width: none;
}
.why-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin: 1.5rem 0 2.5rem;
}
.why-quote {
  border-left: 2px solid var(--accent-dim);
  padding-left: 1.5rem;
}
.why-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.why-quote cite {
  font-size: 0.8rem;
  color: var(--fg-dim);
  font-style: normal;
}

/* ===== COMPARISON ===== */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.comparison-col {
  background: var(--bg-surface);
  padding: 1.75rem;
}
.comparison-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.comparison-label--before { color: var(--fg-dim); }
.comparison-label--after { color: var(--accent); }
.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.comparison-list li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}
.comparison-col--after .comparison-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.comparison-col--before .comparison-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 1px;
  background: var(--fg-dim);
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.manifesto-body p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.manifesto-body p em {
  color: var(--fg);
  font-style: normal;
}

/* ===== CLOSING ===== */
.closing {
  padding: 7rem 2rem;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 0.4rem;
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--fg-dim);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .pipeline-steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .pipeline { padding: 3.5rem 1.25rem; }
  .features { padding: 3.5rem 1.25rem; }
  .why { padding: 3.5rem 1.25rem; }
  .manifesto { padding: 3.5rem 1.25rem; }
  .closing { padding: 4rem 1.25rem; }
  .pipeline-steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .stat-number { font-size: 1.6rem; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
}