﻿/* ── VARIABLES ─────────────────────────────── */
:root {
  --navy:      #1a3a5c;
  --navy-dark: #0f2438;
  --navy-mid:  #1e4570;
  --gold:      #b8923a;
  --gold-light:#d4a84e;
  --gold-pale: #f5e6c8;
  --sage:      #4a6741;
  --sage-light:#5c7f52;
  --sage-pale: #e0ead9;
  --cream:     #f2ede4;
  --cream-dark:#e8e0d0;
  --ink:       #141210;
  --ink-mid:   #2a2520;
  --ink-light: #5a5248;
  --white:     #ffffff;
  --border:    rgba(26,58,92,0.12);
  --shadow-sm: 0 2px 8px rgba(20,18,16,0.06);
  --shadow-md: 0 8px 32px rgba(20,18,16,0.10);
  --shadow-lg: 0 24px 64px rgba(20,18,16,0.14);
  --r-sm:      6px;
  --r-md:      12px;
  --r-lg:      20px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; }

/* ── TYPOGRAPHY ────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.body-lg { font-size: 1.125rem; line-height: 1.7; }
.body-md { font-size: 1rem; line-height: 1.65; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }
.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── LAYOUT ────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,146,58,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 14px 0;
  gap: 6px;
}
.btn-ghost:hover { gap: 10px; }
.btn-arrow::after { content: '→'; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* ── SCROLL REVEAL ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(242,237,228,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  top: 5px;
  position: relative;
  padding-bottom: 10px;
}
.nav-logo img {
  display: block;
  height: 56px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-light);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta { margin-left: 16px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#hero {
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-left {}
.hero-label { margin-bottom: 20px; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-subhead {
  font-size: 1.1rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-subhead strong { color: var(--ink); font-weight: 600; }
.hero-supporting {
  font-size: 0.95rem;
  color: var(--ink-light);
  margin-bottom: 36px;
  font-style: italic;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-trust-text {
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 1.5;
}
.hero-trust-logos {
  display: flex;
  gap: 8px;
}
.trust-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(26,58,92,0.08);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* Pipeline Widget */
.hero-right {
  position: relative;
}
.pipeline-widget {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.pipeline-widget::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(184,146,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.widget-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.widget-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 500;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.widget-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.widget-input-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  min-width: 54px;
}
.widget-input-value {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-family: var(--font-display);
}
.widget-stages { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.widget-stage {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
}
.widget-stage.active {
  background: rgba(184,146,58,0.15);
  border-color: rgba(184,146,58,0.3);
}
.widget-stage.done {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}
.stage-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: all 0.4s ease;
}
.widget-stage.active .stage-icon {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,146,58,0.15);
}
.widget-stage.done .stage-icon {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.stage-name {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  transition: color 0.4s ease;
  flex: 1;
}
.widget-stage.active .stage-name { color: rgba(255,255,255,0.9); }
.widget-stage.done .stage-name { color: rgba(255,255,255,0.5); }
.stage-bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  flex: 1;
  overflow: hidden;
}
.stage-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.8s ease;
}
.widget-stage.active .stage-bar-fill { width: 60%; }
.widget-stage.done .stage-bar-fill { width: 100%; background: rgba(255,255,255,0.3); }
.widget-result {
  background: rgba(184,146,58,0.1);
  border: 1px solid rgba(184,146,58,0.25);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.5s ease;
}
.widget-result.visible {
  opacity: 1;
  transform: translateY(0);
}
.result-icon { font-size: 1rem; }
.result-text { font-size: 0.78rem; color: var(--gold-light); font-weight: 500; }
.result-subtext { font-size: 0.68rem; color: rgba(184,146,58,0.6); margin-top: 1px; }

/* ══════════════════════════════════════════════
   SECTION SHARED STYLES
══════════════════════════════════════════════ */
.section-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label-row::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}
.section-head-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.section-head-2col .section-headline { grid-column: 1; }
.section-head-2col .section-lead { grid-column: 2; padding-top: 8px; }
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-headline em { font-style: italic; color: var(--gold); }
.section-lead {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   SECTION 2 — HIDDEN MONTHLY BILL
══════════════════════════════════════════════ */
#cost-stack {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}
#cost-stack .label { color: rgba(184,146,58,0.8); }
#cost-stack .section-headline { color: var(--white); }
#cost-stack .section-lead { color: rgba(255,255,255,0.6); }
.cost-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.cost-table {
  width: 100%;
  border-collapse: collapse;
}
.cost-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cost-table th:last-child { text-align: right; }
.cost-table td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}
.cost-table td:last-child { text-align: right; }
.cost-tool-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.cost-tool-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}
.cost-amount {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.cost-table tr.total td {
  padding-top: 20px;
  border-bottom: none;
}
.cost-table tr.total .cost-tool-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}
.cost-table tr.total .cost-amount {
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
}
.cost-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 260px;
}
.vs-divider {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  font-style: italic;
}
.cost-solution {
  background: rgba(184,146,58,0.1);
  border: 1px solid rgba(184,146,58,0.25);
  border-radius: var(--r-md);
  padding: 28px;
  text-align: center;
  width: 100%;
}
.cost-solution-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  font-style: italic;
}
.cost-solution-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 20px;
}
.cost-solution-price {
  margin-bottom: 6px;
}
.cost-solution-price-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cost-solution-price-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
}
.cost-solution-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.cost-below {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cost-below-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.cost-sources {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   SECTION 3 — TWO ENTRY POINTS
══════════════════════════════════════════════ */
#entry-points {
  padding: 100px 0;
}
.entry-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.entry-panel {
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.entry-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.entry-panel.pipeline::before { background: var(--navy); }
.entry-panel.optimizer::before { background: var(--sage); }
.entry-panel:hover {
  border-color: rgba(26,58,92,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.entry-panel-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.entry-panel.pipeline .entry-panel-icon { background: rgba(26,58,92,0.08); }
.entry-panel.optimizer .entry-panel-icon { background: rgba(74,103,65,0.08); }
.entry-panel-question {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}
.entry-panel-desc {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 28px;
}
.btn-pipeline {
  background: var(--navy);
  color: var(--white);
}
.btn-pipeline:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}
.btn-optimizer {
  background: var(--sage);
  color: var(--white);
}
.btn-optimizer:hover {
  background: var(--sage-light);
  transform: translateY(-1px);
}
.entry-bridge {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-light);
  font-style: italic;
}
.entry-bridge strong { color: var(--ink); font-style: normal; }

/* ══════════════════════════════════════════════
   SECTION 4 — WHY IT WORKS
══════════════════════════════════════════════ */
#credibility {
  padding: 100px 0;
  background: var(--cream-dark);
}
.credibility-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.credibility-body {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 20px;
}
.credibility-body strong { color: var(--ink); font-weight: 600; }
.credibility-companies {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.company-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(26,58,92,0.08);
  border: 1px solid rgba(26,58,92,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}
.credibility-right {}
.cred-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cred-stat {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.cred-stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.cred-stat-number span { color: var(--gold); }
.cred-stat-label {
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════
   SECTION 5 — THE PIPELINE
══════════════════════════════════════════════ */
#pipeline {
  padding: 100px 0;
  scroll-margin-top: 64px;
}
.pipeline-label { color: var(--navy); }
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 64px;
}
.ba-col {
  border-radius: var(--r-lg);
  padding: 36px;
}
.ba-before {
  background: var(--white);
  border: 1.5px solid var(--border);
}
.ba-after {
  background: var(--navy);
  color: var(--white);
}
.ba-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ba-before .ba-label { color: var(--ink-light); }
.ba-after .ba-label { color: var(--gold); }
.ba-text {
  font-size: 0.95rem;
  line-height: 1.75;
}
.ba-before .ba-text { color: var(--ink-light); }
.ba-after .ba-text { color: rgba(255,255,255,0.8); }
.ba-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-style: italic;
  padding: 0 8px;
}
.pipeline-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mode-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  transition: all 0.3s ease;
}
.mode-card:hover {
  border-color: rgba(26,58,92,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.mode-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(26,58,92,0.15);
  line-height: 1;
  margin-bottom: 12px;
}
.mode-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.mode-desc {
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.mode-tag {
  font-size: 0.72rem;
  color: var(--ink-light);
  font-style: italic;
}
.pipeline-transition {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--sage-pale);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pipeline-transition-text {
  font-size: 0.95rem;
  color: var(--sage);
  font-style: italic;
}

/* ══════════════════════════════════════════════
   SECTION 6 — CONTENT OPTIMIZER
══════════════════════════════════════════════ */
#optimizer {
  padding: 100px 0;
  background: var(--navy-dark);
  color: var(--white);
  scroll-margin-top: 64px;
}
#optimizer .label { color: rgba(90,160,80,0.8); }
#optimizer .section-headline { color: var(--white); }
#optimizer .section-headline em { color: #7ab870; }
.optimizer-pain {
  max-width: 680px;
  margin-bottom: 48px;
}
.optimizer-pain p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 16px;
}
.optimizer-pain p strong {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.optimizer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.optimizer-left {}
.optimizer-tiers { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.opt-tier {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  transition: all 0.3s ease;
}
.opt-tier:hover {
  border-color: rgba(90,160,80,0.3);
  background: rgba(90,160,80,0.05);
}
.opt-tier-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(90,160,80,0.2);
  color: #7ab870;
  white-space: nowrap;
}
.opt-tier-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}
.opt-tier-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin-bottom: 6px;
}
.opt-tier-best {
  font-size: 0.75rem;
  color: rgba(90,160,80,0.7);
  font-style: italic;
}
.optimizer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
.opt-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 20px;
}
.opt-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: #7ab870;
  line-height: 1;
  margin-bottom: 6px;
}
.opt-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}
.opt-stat-source {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
}
.optimizer-closer {
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(90,160,80,0.08);
  border-left: 3px solid #4a6741;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.optimizer-closer-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-style: italic;
}
.optimizer-closer-text strong { color: rgba(255,255,255,0.9); font-style: normal; }

/* CO Widget */
.optimizer-right {}
.co-widget {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.co-widget::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(74,103,65,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.co-widget .widget-title { color: rgba(90,160,80,0.6); }
.co-widget .widget-live { color: #7ab870; }
.co-widget .live-dot { background: #7ab870; }
.co-widget .widget-input {
  border-color: rgba(90,160,80,0.15);
  background: rgba(90,160,80,0.06);
}
.co-stage {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
  margin-bottom: 8px;
}
.co-stage.active {
  background: rgba(74,103,65,0.15);
  border-color: rgba(74,103,65,0.3);
}
.co-stage.done { opacity: 0.5; }
.co-stage .stage-icon { border-color: rgba(255,255,255,0.15); }
.co-stage.active .stage-icon { border-color: #7ab870; color: #7ab870; background: rgba(74,103,65,0.2); }
.co-stage .stage-name { color: rgba(255,255,255,0.4); }
.co-stage.active .stage-name { color: rgba(255,255,255,0.9); }
.co-stage .stage-bar-fill { background: #7ab870; }
.co-result {
  background: rgba(74,103,65,0.12);
  border: 1px solid rgba(74,103,65,0.25);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.5s ease;
}
.co-result.visible { opacity: 1; transform: translateY(0); }
.co-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.co-result-row:last-child { margin-bottom: 0; }
.co-result-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.co-result-value { font-size: 0.8rem; font-weight: 600; color: #7ab870; }

/* ══════════════════════════════════════════════
   SECTION 7 — GOOGLE QUESTION
══════════════════════════════════════════════ */
#google-question {
  padding: 100px 0;
  background: var(--cream-dark);
}
.google-inner {
  max-width: 860px;
  margin: 0 auto;
}
.google-callout {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.google-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}
.google-q {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.15;
}
.google-q em { font-style: italic; color: var(--gold); }
.google-answer p {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 16px;
}
.google-answer p strong { color: var(--ink); font-weight: 600; }
.google-stat {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.google-stat-text {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 4px;
}
.google-stat-source {
  font-size: 0.72rem;
  color: var(--ink-light);
}
.google-closer {
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  font-style: italic;
}

/* ══════════════════════════════════════════════
   SECTION 8 — SAMPLE OUTPUT
══════════════════════════════════════════════ */
#sample-output {
  padding: 100px 0;
}
.output-intro {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 680px;
}
.output-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.output-tab {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink-light);
}
.output-tab.active.pipeline-tab {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.output-tab.active.optimizer-tab {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.output-doc {
  display: none;
}
.output-doc.active { display: block; }
.doc-preview {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}
.doc-titlebar {
  padding: 12px 20px;
  background: #f8f5f0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.doc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.doc-dot.red { background: #ff5f56; }
.doc-dot.yellow { background: #ffbd2e; }
.doc-dot.green { background: #27c93f; }
.doc-filename {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--ink-light);
}
.doc-body {
  padding: 36px 40px;
}
.doc-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.doc-section {
  margin-bottom: 20px;
}
.doc-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.doc-section-content {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.65;
}
.doc-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.doc-tag {
  font-size: 0.72rem;
  background: rgba(26,58,92,0.07);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.doc-comment {
  display: inline;
  background: rgba(184,146,58,0.15);
  border-bottom: 1.5px solid var(--gold);
  cursor: pointer;
  position: relative;
}
.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card-number.gold { color: var(--gold); }
.stat-card-label {
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 1.4;
}
.output-human-control {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--gold-pale);
  border-radius: var(--r-md);
  border-left: 3px solid var(--gold);
}
.output-human-control p {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 8px;
}
.output-human-control p:last-child { margin-bottom: 0; }
.output-human-control strong { font-weight: 600; }

/* ══════════════════════════════════════════════
   SECTION 9 — PRICING
══════════════════════════════════════════════ */
#pricing {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}
#pricing .label { color: rgba(184,146,58,0.8); }
#pricing .section-headline { color: var(--white); }
.pricing-anchor {
  max-width: 620px;
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 56px;
}
.pricing-anchor strong { color: rgba(255,255,255,0.85); }
.pricing-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.pricing-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover {
  border-color: rgba(184,146,58,0.3);
  background: rgba(255,255,255,0.07);
}
.pricing-card.featured {
  border-color: rgba(184,146,58,0.4);
  background: rgba(184,146,58,0.08);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.pricing-card-type-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
  margin-bottom: 14px;
  font-style: italic;
}
.pricing-card-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card-price span {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}
.pricing-card-type {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-features li.na {
  color: rgba(255,255,255,0.25);
}
.pricing-features li.na::before { content: '—'; color: rgba(255,255,255,0.2); }
.bundle-callout {
  background: rgba(184,146,58,0.1);
  border: 1.5px solid rgba(184,146,58,0.3);
  border-radius: var(--r-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}
.bundle-icon { font-size: 1.6rem; flex-shrink: 0; }
.bundle-text {}
.bundle-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.bundle-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.bundle-cta { margin-left: auto; flex-shrink: 0; }
.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.addon-card {
  background: rgba(74,103,65,0.1);
  border: 1px solid rgba(74,103,65,0.2);
  border-radius: var(--r-md);
  padding: 24px;
}
.addon-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(74,103,65,0.3);
  color: #7ab870;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.addon-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.addon-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin-bottom: 14px;
}
.addon-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #7ab870;
}
.addon-price span { font-size: 0.8rem; color: rgba(255,255,255,0.3); font-family: var(--font-body); font-weight: 400; }
.retainer-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
.retainer-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.retainer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.retainer-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.retainer-price span { font-size: 0.9rem; color: rgba(255,255,255,0.35); font-family: var(--font-body); font-weight: 400; }
.pricing-ownership {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  line-height: 1.6;
}
.pricing-sources {
  margin-top: 12px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
}

/* ══════════════════════════════════════════════
   SECTION 10 — FAQ
══════════════════════════════════════════════ */
#faq {
  padding: 100px 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--ink-light);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.faq-item.open .faq-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}
.faq-answer p {
  font-size: 0.93rem;
  color: var(--ink-light);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════
   SECTION 11 — FINAL CTA
══════════════════════════════════════════════ */
#final-cta {
  padding: 120px 0;
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(184,146,58,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-label { margin-bottom: 20px; }
#final-cta .label { color: rgba(184,146,58,0.7); }
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-headline em { font-style: italic; color: var(--gold); }
.cta-reframe {
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-reframe p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 6px;
}
.cta-billboard {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin: 32px auto;
  font-style: italic;
  max-width: 580px;
}
.cta-deliverables {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 28px auto 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 24px 32px;
}
.cta-deliverable {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-deliverable::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-cta-primary {
  background: var(--gold);
  color: var(--white);
  font-size: 1rem;
  padding: 18px 40px;
}
.btn-cta-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,146,58,0.4);
}
.cta-trust {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  margin-bottom: 20px;
}
.cta-contact {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}
.cta-contact a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
#footer {
  padding: 32px 0;
  background: var(--ink);
  color: rgba(255,255,255,0.3);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-inner:has(.footer-links-col) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "brand links"
    "disclaimer disclaimer";
  align-items: start;
  column-gap: clamp(24px, 5vw, 56px);
  row-gap: 20px;
  flex-wrap: nowrap;
}
.footer-brand-col {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.footer-logo {
  line-height: 0;
}
a.footer-logo {
  display: inline-block;
}
.footer-logo img {
  display: block;
  height: 36px;
  width: auto;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}
.footer-links-col {
  grid-area: links;
  justify-self: stretch;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.footer-text {
  font-size: 0.78rem;
}
.footer-inner:has(.footer-links-col) .footer-text {
  margin: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}
.footer-inner:has(.footer-links-col) .footer-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-inner:has(.footer-links-col) .footer-text a:hover {
  color: var(--gold);
}
.footer-links-col .footer-legal {
  justify-content: center;
  width: 100%;
}
@media (min-width: 721px) {
  .footer-links-col .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover {
  color: var(--gold);
}
.footer-legal .footer-legal-link {
  margin: 0;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  text-align: inherit;
}
.footer-legal .footer-legal-link:hover {
  color: var(--gold);
}
.footer-legal .footer-legal-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ══════════════════════════════════════════════
   LEGAL PAGES (Impressum, policies, terms)
══════════════════════════════════════════════ */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(242, 237, 228, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.legal-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.legal-header .legal-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.legal-header .legal-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.legal-back {
  padding: 10px 18px;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.legal-page {
  padding: 48px 0 96px;
  min-height: 55vh;
}
.legal-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-doc-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-light);
  transition: color 0.2s;
}
.legal-doc-nav a:hover {
  color: var(--navy);
}
.legal-doc-nav a[aria-current='page'] {
  color: var(--gold);
  font-weight: 600;
  pointer-events: none;
}
.legal-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.legal-intro {
  padding: 16px 20px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--ink-mid);
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.65;
}
.legal-body {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.75;
}
.legal-body p {
  margin-bottom: 1.1em;
}
.legal-effective {
  font-size: 0.9rem;
  color: var(--ink-light);
  margin: -8px 0 28px;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin: 1.35rem 0 0.5rem;
}
.legal-body ul,
.legal-body ol {
  margin: 0 0 1.1em 1.25rem;
  padding: 0;
}
.legal-body li {
  margin-bottom: 0.35em;
}
.legal-body a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover {
  color: var(--gold);
}
.legal-body strong {
  color: var(--ink-mid);
}
.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--cream-dark);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  word-break: break-word;
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.legal-body th,
.legal-body td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.legal-body th {
  font-weight: 600;
  color: var(--navy);
  background: var(--cream-dark);
}
.legal-body tr:last-child td {
  border-bottom: none;
}
.footer-results-disclaimer {
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.38);
  max-width: 52ch;
  margin-top: 4px;
}
.footer-inner:has(.footer-links-col) .footer-results-disclaimer {
  grid-area: disclaimer;
  max-width: none;
  margin: 0;
  padding-top: 4px;
  text-align: left;
}

/* ══════════════════════════════════════════════
   COOKIE CONSENT (v2)
══════════════════════════════════════════════ */
html.cc-pending-consent body {
  overflow: hidden;
}
body.cc-prefs-open {
  overflow: hidden;
}
.cc-root {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
}
html.cc-pending-consent .cc-root {
  display: block;
  pointer-events: auto;
}
.cc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 56, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cc-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 24px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(242, 237, 228, 0.98) 12%, var(--cream) 100%);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 48px rgba(20, 18, 16, 0.12);
}
.cc-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cc-bar-copy {
  flex: 1 1 320px;
  min-width: 0;
}
.cc-bar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cc-bar-desc {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.65;
  max-width: 52ch;
}
.cc-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.cc-bar-actions .cc-btn {
  padding: 12px 18px;
  font-size: 0.82rem;
}

.cc-prefs {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cc-prefs[hidden] {
  display: none !important;
}
.cc-prefs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 56, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.cc-prefs-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: min(90vh, 640px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 28px 28px 24px;
}
.cc-prefs-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}
.cc-prefs-close:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.cc-prefs-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  padding-right: 36px;
}
.cc-prefs-lead {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 22px;
}
.cc-prefs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.cc-pref-row {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1px solid var(--border);
}
.cc-pref-row--locked {
  opacity: 0.95;
}
.cc-pref-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.cc-pref-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.cc-pref-row .cc-pref-name[for] {
  cursor: pointer;
}
.cc-pref-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-pale);
  padding: 4px 10px;
  border-radius: 999px;
}
.cc-pref-desc {
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 1.55;
}
.cc-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  cursor: pointer;
}
.cc-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cc-switch-track {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(26, 58, 92, 0.2);
  transition: background 0.2s;
  position: relative;
}
.cc-switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.cc-switch input:checked + .cc-switch-track {
  background: var(--gold);
}
.cc-switch input:checked + .cc-switch-track::after {
  transform: translateX(18px);
}
.cc-switch input:focus-visible + .cc-switch-track {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.cc-prefs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.cc-prefs-actions .cc-btn {
  padding: 12px 20px;
  font-size: 0.85rem;
}

.cc-fab {
  position: fixed;
  z-index: 240;
  left: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.cc-fab:hover {
  background: var(--navy-mid);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}
.cc-fab[hidden] {
  display: none !important;
}
.cc-fab-icon {
  font-size: 1.35rem;
  line-height: 1;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .cost-grid { grid-template-columns: 1fr; }
  .cost-vs { flex-direction: row; min-width: unset; }
  .credibility-inner { grid-template-columns: 1fr; gap: 48px; }
  .optimizer-grid { grid-template-columns: 1fr; }
  .optimizer-right { display: none; }
  .before-after { grid-template-columns: 1fr; }
  .ba-divider { display: none; }
  .section-head-2col { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  #hero { padding: 100px 0 64px; }
  .entry-panels { grid-template-columns: 1fr; }
  .pipeline-modes { grid-template-columns: 1fr; }
  .stats-grid-4 { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .retainer-box { grid-template-columns: 1fr; }
  .bundle-callout { flex-direction: column; gap: 16px; }
  .bundle-cta { margin-left: 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .cred-stat-grid { grid-template-columns: 1fr 1fr; }
  .cost-below { grid-template-columns: 1fr; }
  .optimizer-stats { grid-template-columns: 1fr 1fr; }
  .cc-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cc-bar-actions {
    flex-direction: column;
    width: 100%;
  }
  .cc-bar-actions .cc-btn {
    width: 100%;
    justify-content: center;
  }
  .footer-inner:has(.footer-links-col) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "disclaimer";
    justify-items: stretch;
    row-gap: 16px;
  }
  .footer-inner:has(.footer-links-col) .footer-brand-col {
    justify-self: center;
    align-items: center;
  }
  .footer-inner:has(.footer-links-col) .footer-text {
    text-align: center;
    max-width: none;
    white-space: normal;
  }
  .footer-inner:has(.footer-links-col) .footer-links-col {
    justify-self: center;
  }
  .footer-inner:has(.footer-links-col) .footer-results-disclaimer {
    text-align: left;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
