/* ============================================================
   funnel — DW-045
   Styles for the funnel spine shared by every segment track:
   Recognition, Tension, Proof panel, Conversion block, Pricing reveal.
   Layout only: segment configs supply content, never layout.
   ============================================================ */

.funnel-hero {
  padding: var(--space-10) 0 var(--space-6);
}

.funnel-hero-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.funnel {
  max-width: 860px;
}

.funnel-section {
  padding: var(--space-10) 0 var(--space-8);
  border-bottom: 1px solid var(--ink-150);
}

.funnel-section:last-child {
  border-bottom: none;
}

.funnel-stage-copy .funnel-stage-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
}

.funnel-p {
  color: var(--ink-600);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 var(--space-4);
  max-width: 46rem;
}

.funnel-section--tension {
  background: var(--ink-50);
  border-radius: var(--radius-lg);
  border-bottom: none;
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

/* ---- Proof panel ---- */

.funnel-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.funnel-pillar {
  background: var(--paper);
  border: 1px solid var(--ink-150);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.funnel-pillar-name {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  margin-bottom: var(--space-3);
}

.funnel-pillar-claim {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}

.funnel-pillar-link {
  display: inline-block;
  margin: 0 var(--space-4) var(--space-2) 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--teal-700);
}

.funnel-cost-figure {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.funnel-cost-amount {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink-900);
}

.funnel-cost-caption {
  color: var(--ink-500);
  font-size: 0.9375rem;
}

.funnel-cost-scope,
.funnel-cost-source {
  color: var(--ink-500);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0 0 var(--space-2);
}

/* ---- Conversion block ---- */

.funnel-section--offer {
  text-align: center;
}

.funnel-exit-promise {
  font-size: 1.125rem;
  color: var(--ink-700);
  max-width: 34rem;
  margin: 0 auto var(--space-6);
}

.funnel-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.funnel-cta {
  min-width: 220px;
}

.funnel-form-anchor:focus {
  outline: none;
}

/* ---- Pricing reveal (the close, always last) ---- */

.funnel-section--pricing {
  text-align: center;
  padding-bottom: var(--space-10);
}

.funnel-price-line {
  font-size: 1.25rem;
  color: var(--ink-700);
  margin: 0 0 var(--space-4);
}

.funnel-price-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink-900);
}

.funnel-section--pricing .funnel-p {
  margin: 0 auto;
}

/* ---- Responsive ---- */

@media (max-width: 720px) {
  .funnel-pillar-grid {
    grid-template-columns: 1fr;
  }

  .funnel-section--tension {
    padding: var(--space-6);
  }
}