/* ==========================================================================
   EXITO LABS - SITE STYLESHEET (homepage + Maven page)
   Typography: Source Serif 4 (headlines, figures), Inter (UI, body, labels)
   Light "paper" theme is the default; dark is opt-in via the header toggle.
   ========================================================================== */

:root {
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --surface-2: #EFEDE7;
  --surface-3: #E6E3DB;
  --line: rgba(23, 24, 26, 0.1);
  --line-strong: rgba(23, 24, 26, 0.18);
  --card-border: rgba(23, 24, 26, 0.08);
  --card-border-hover: rgba(23, 24, 26, 0.18);
  --card-shadow: 0 1px 3px 0 rgba(16, 24, 40, 0.04), 0 8px 24px -4px rgba(16, 24, 40, 0.06);
  --card-shadow-hover: 0 4px 6px -2px rgba(16, 24, 40, 0.03), 0 16px 36px -4px rgba(15, 122, 85, 0.12);
  --rule: #17181A;
  --text: #17181A;
  --muted: #45484D;
  --dim: #85878B;
  --accent: #0F7A55;
  --accent-hover: #0B6646;
  --accent-soft: #E2EFE8;
  --accent-text: #0F7A55;
  --accent-ink: #FFFFFF;
  --accent-ink-muted: rgba(255, 255, 255, 0.8);
  --accent-ink-line: rgba(255, 255, 255, 0.24);
  --danger: #B4441F;
  --header-bg: rgba(246, 245, 241, 0.88);
  --menu-bg: rgba(246, 245, 241, 0.98);
  --engine-bg: #FFFFFF;
  --logo-tile: #FFFFFF;
  --backdrop: rgba(23, 24, 26, 0.4);
  color-scheme: light;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --font-mono: 'IBM Plex Mono', 'Geist Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;

  /* Tokens used by modal templates in app.js */
  --primary: var(--accent-text);
  --on-primary: var(--accent-ink);
  --secondary: var(--text);
  --tertiary-light: var(--accent-soft);
  --neutral: var(--muted);
  --neutral-light: var(--line-strong);
  --bg-card-alt: var(--surface-2);
  --text-main: var(--text);
  --text-muted: var(--muted);
  --accent-red: var(--danger);
}

/* Dark theme */
:root[data-theme="dark"] {
  --bg: #121413;
  --surface: #1A1D1B;
  --surface-2: #212522;
  --surface-3: #2A2F2B;
  --line: rgba(238, 236, 230, 0.09);
  --line-strong: rgba(238, 236, 230, 0.17);
  --card-border: rgba(238, 236, 230, 0.12);
  --card-border-hover: rgba(238, 236, 230, 0.24);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.6);
  --rule: #EEECE6;
  --text: #EEECE6;
  --muted: #A9ACA6;
  --dim: #767A73;
  --accent: #178560;
  --accent-hover: #1C9A70;
  --accent-soft: rgba(92, 199, 154, 0.12);
  --accent-text: #5CC79A;
  --danger: #F0937C;
  --header-bg: rgba(18, 20, 19, 0.86);
  --menu-bg: rgba(18, 20, 19, 0.98);
  --engine-bg: var(--surface);
  --logo-tile: #F6F5F1;
  --backdrop: rgba(0, 0, 0, 0.65);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; color: var(--text); }
h1, h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.3; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
svg.lucide { width: 1em; height: 1em; stroke-width: 2; flex-shrink: 0; }

em, .serif { font-family: var(--font-serif); font-style: italic; font-weight: inherit; letter-spacing: -0.01em; }
h3 em, h3 .serif { font-weight: 500; }
.accent { color: var(--accent-text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.section { padding: 128px 0; border-top: 1px solid var(--line); }
@media (max-width: 768px) { .section { padding: 80px 0; } }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text);
}

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head h2 { margin-top: 16px; }
.section-head h2 em { color: var(--accent-text); }
@media (min-width: 640px) { .section-head h2 em { white-space: nowrap; } }
.section-head p { font-size: 1.125rem; max-width: 460px; justify-self: end; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .section-head p { justify-self: start; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg.lucide { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg.lucide:last-child { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 24px -4px rgba(15, 122, 85, 0.35); }
.btn-primary:disabled { opacity: 0.7; cursor: wait; }
.btn-secondary, .btn-outline { border: 1px solid var(--line-strong); color: var(--text); }
.btn-secondary:hover, .btn-outline:hover { border-color: var(--text); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 1rem; }

.badge {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent-text);
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}
.header.scrolled { background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  pointer-events: none; background: transparent;
}
.header-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), #22C55E);
  transition: width 0.1s linear;
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1; color: var(--text); white-space: nowrap; }
.wordmark span { color: var(--accent-text); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: var(--radius-pill); font-size: 0.925rem; font-weight: 500; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); align-items: center; justify-content: center; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.theme-toggle:hover { color: var(--text); border-color: var(--text); }
.theme-toggle svg.lucide { width: 18px; height: 18px; }
.theme-toggle .icon-moon, :root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: inline-flex; }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); align-items: center; justify-content: center; }
.menu-toggle svg.lucide { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: var(--menu-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-menu.mobile-open { display: flex; }
  .nav-link { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}
@media (max-width: 520px) {
  .nav-cta span { display: none; }
  .nav-cta { width: 40px; padding: 0; }
  .wordmark { font-size: 1.4rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 168px 0 96px; overflow: hidden;
  background-image:
    linear-gradient(rgba(23, 24, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 26, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
:root[data-theme="dark"] .hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(15, 122, 85, 0.2);
  color: var(--accent-text);
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 122, 85, 0.05);
}
.hero h1 { max-width: 15ch; margin-bottom: 28px; letter-spacing: -0.03em; }
.hero h1 em, .hero h1 .verb {
  color: var(--accent-text);
  font-style: italic;
  background: linear-gradient(var(--accent-soft), var(--accent-soft)) 0 88%/100% 0.18em no-repeat;
  padding: 0 4px;
}
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 64px; align-items: end; }
.hero-lede { font-size: 1.2rem; line-height: 1.55; max-width: 540px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 0.9rem; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg.lucide { color: var(--accent-text); width: 16px; height: 16px; }

/* Fountane-style Jump Chips */
.jump-label {
  margin: 32px 0 10px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.jump-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jump-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  color: var(--text);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.jump-chip svg.lucide {
  width: 13px;
  height: 13px;
  color: var(--accent-text);
  transition: transform 0.2s var(--ease);
}
.jump-chip:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 122, 85, 0.12);
}
.jump-chip:hover svg.lucide {
  transform: scale(1.15);
}

/* Fountane-style Connected Metric Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.stat-col {
  min-width: 0;
  padding: 24px 28px;
  transition: background 0.2s var(--ease);
}
.stat-col:hover {
  background: var(--surface-2);
}
.stat-col + .stat-col {
  border-left: 1px solid var(--line);
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}
.stat-caption strong {
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 900px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-col:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat-col:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .stats-strip { grid-template-columns: 1fr; }
  .stat-col + .stat-col { border-left: 0; border-top: 1px solid var(--line); }
}

.engine {
  border: 1px solid var(--card-border); border-radius: var(--radius-lg);
  background: var(--surface); backdrop-filter: blur(8px); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.engine:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
}
.engine-top { padding: 24px 24px 20px; border-bottom: 1px solid var(--line); }
.engine-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.engine-big { font-family: var(--font-serif); font-size: 3.25rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin: 10px 0 6px; }
.engine-top p { font-size: 0.9rem; }
.engine-row {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.engine-row:hover { background: var(--surface-2); padding-left: 28px; }
.engine-row:last-child { border-bottom: 0; }
.engine-row .n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--dim); }
.engine-row h4 { font-size: 0.95rem; font-weight: 600; }
.engine-row small { display: block; font-size: 0.8rem; color: var(--dim); }
.engine-row .stat { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-text); white-space: nowrap; }

@media (max-width: 960px) {
  .hero { padding: 132px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------- Logos ---------- */
.logos { padding: 56px 0 72px; }
.logos-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; font-size: 0.9rem; color: var(--dim); }
.logos-head strong { color: var(--muted); font-weight: 500; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile {
  height: 72px; width: 168px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: var(--radius-md); background: var(--logo-tile); border: 1px solid var(--card-border);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}
.logo-tile img { max-height: 40px; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.problem-grid h2 { margin: 20px 0 24px; }
.problem-grid h2 em { color: var(--accent-text); }
.problem-intro { font-size: 1.125rem; max-width: 480px; }
.problem-intro + .problem-intro { margin-top: 16px; }
.leak {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: transform 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.leak:hover { transform: translateX(6px); }
.leak .n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--danger); padding-top: 3px; }
.leak p { color: var(--text); font-size: 1.1rem; }
.leak .fix { display: block; margin-top: 6px; font-size: 0.925rem; color: var(--accent-text); }

/* Launch check (diagnostic modal) */
.check-step { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.check-q { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 4px 0 14px; }
.check-opts { display: flex; flex-direction: column; gap: 10px; }
.check-opts .btn { justify-content: flex-start; text-align: left; width: 100%; height: auto; min-height: 48px; padding: 12px 18px; white-space: normal; }
.check-result { padding: 20px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); margin: 16px 0 20px; }
.check-result h4 { color: var(--accent-text); margin-bottom: 4px; }
.check-result ol { margin: 10px 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; color: var(--text); }
.check-offer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-md); background: var(--accent); color: var(--accent-ink); margin-bottom: 20px; font-size: 0.95rem; }
.check-offer strong { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; }
.diag {
  margin-top: 32px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.diag:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
}
.diag h3 { font-size: 1.05rem; }
.diag p { font-size: 0.9rem; margin-top: 2px; }
@media (max-width: 960px) { .problem-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  position: relative; text-align: left; padding: 36px 32px 40px; min-height: 280px;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service:hover {
  background: var(--surface);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
  z-index: 2;
}
.service .n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--dim); }
.service .ico {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--accent-soft); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  margin: 28px 0 20px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.service:hover .ico { transform: translateY(-4px) scale(1.08); }
.service .ico svg.lucide { width: 20px; height: 20px; }
.service h3 { margin-bottom: 10px; }
.service p { font-size: 0.95rem; }
.service .tags { margin-top: auto; padding-top: 24px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.service .tags svg.lucide { width: 18px; height: 18px; color: var(--text); opacity: 0; transform: translateX(-6px); transition: all 0.3s var(--ease); }
.service:hover .tags svg.lucide { opacity: 1; transform: none; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 28px 20px; }
  .service .tags svg.lucide { opacity: 1; transform: none; }
}


/* ---------- Five Pillars ---------- */
.pillar-services {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar-service {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.3s var(--ease);
}
.pillar-service:hover { background: var(--surface-2); }
.pillar-service .n { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.pillar-service h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pillar-service p { font-size: 0.92rem; }

.ps-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--accent-soft); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: transform 0.3s var(--ease);
}
.pillar-service:hover .ps-icon { transform: translateY(-4px); }
.ps-icon svg.lucide { width: 22px; height: 22px; }

.ps-list {
  margin-top: auto; padding-top: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.ps-list span {
  font-size: 0.82rem; color: var(--dim);
  display: flex; align-items: center; gap: 8px;
}
.ps-list span::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--dim); flex-shrink: 0;
}

@media (max-width: 1100px) { .pillar-services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .pillar-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .pillar-services { grid-template-columns: 1fr; }
  .pillar-service { padding: 28px 20px; }
}

/* ---------- Results ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--rule); border-bottom: 1px solid var(--line-strong); }
.result { padding: 32px 32px 36px; border-left: 1px solid var(--line-strong); }
.result:first-child { padding-left: 0; border-left: 0; }
.result .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.result .big { font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin: 24px 0 10px; color: var(--text); }
.result h3 { font-size: 1.05rem; }
.result .ba { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; font-size: 0.9rem; color: var(--muted); }
.result .ba b { color: var(--text); font-weight: 600; }
.result .ba svg.lucide { color: var(--dim); }
@media (max-width: 860px) { .results { grid-template-columns: 1fr; } .result { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line-strong); } .result:first-child { border-top: 0; } }

/* ---------- Approach ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 28px 0 0; position: relative; transition: transform 0.3s var(--ease); }
.step:hover { transform: translateY(-3px); }
.step .bar { height: 2px; background: var(--line-strong); margin-bottom: 28px; position: relative; }
.step .bar::before {
  content: ''; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover .bar::before {
  transform: scale(1.4);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.step .n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-text); }
.step h3 { font-size: 1.5rem; margin: 8px 0 12px; }
.step p { font-size: 0.95rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 0; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; }
.panel {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.panel:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
}
.panel h3 { font-size: 1.5rem; margin: 16px 0 8px; }
.panel > p { margin-bottom: 28px; }
.qs li { display: grid; grid-template-columns: 36px 1fr; padding: 14px 0; border-top: 1px solid var(--line); color: var(--text); }
.qs li span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-text); padding-top: 2px; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th { text-align: left; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--dim); padding: 0 16px 14px 0; }
.compare th.us { color: var(--accent-text); }
.compare td { padding: 16px 16px 16px 0; border-top: 1px solid var(--line); vertical-align: top; width: 50%; }
.compare td:first-child { color: var(--dim); }
.compare td:last-child { color: var(--text); }
.compare td svg.lucide { width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; }
.compare td:first-child svg.lucide { color: var(--danger); }
.compare td:last-child svg.lucide { color: var(--accent-text); }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .panel { padding: 24px 20px; } .compare { font-size: 0.875rem; } }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.aud:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
}
.aud .n { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.aud p { font-size: 0.95rem; }
.aud a { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; font-size: 0.9rem; }
.aud.featured { background: var(--accent); border-color: var(--accent); box-shadow: 0 10px 28px -4px rgba(15, 122, 85, 0.28); }
.aud.featured h3, .aud.featured a { color: var(--accent-ink); }
.aud.featured p, .aud.featured .n { color: var(--accent-ink-muted); }
@media (max-width: 960px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}
.proof-strip div { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.proof-strip div + div { border-left: 1px solid var(--line); }
.proof-strip strong { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.01em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.proof-strip span { font-size: 0.875rem; color: var(--muted); }
@media (max-width: 960px) { .proof-strip { grid-template-columns: 1fr 1fr; } .proof-strip div:nth-child(3) { border-left: 0; } .proof-strip div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.case {
  text-align: left;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.case:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.case-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.875rem; color: var(--muted); }
.case .metric { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--accent-text); margin-top: 20px; }
.case h3 { font-size: 1.1rem; }
.case p { font-size: 0.925rem; }
.case .more { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 0.9rem; }
.case .more svg.lucide { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.case:hover .more svg.lucide { transform: translateX(4px); }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--card-border-hover);
}
.quote blockquote { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.5; color: var(--text); }
.quote blockquote::before { content: '“'; display: block; font-family: var(--font-serif); font-size: 3.5rem; line-height: 0.6; color: var(--accent-text); margin-bottom: 12px; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; background: var(--surface-3); color: var(--text); }
.quote cite { font-style: normal; font-weight: 600; font-size: 0.95rem; display: block; }
.quote small { color: var(--dim); font-size: 0.85rem; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.offer {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.offer:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--card-border-hover);
}
.offer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.offer-stage { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.offer-time { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.offer-time svg.lucide { width: 14px; height: 14px; }
.offer h3 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.01em; }
.offer > p { font-size: 0.95rem; }
.offer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 16px 0; margin: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.925rem; color: var(--text); }
.offer-list svg.lucide { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--accent-text); }
.offer .offer-fit { font-size: 0.875rem; color: var(--muted); }
.offer .offer-fit strong { color: var(--text); font-weight: 600; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer.featured {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 32px -6px rgba(15, 122, 85, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.offer.featured:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 48px -10px rgba(15, 122, 85, 0.4);
}
.offer.featured h3, .offer.featured .offer-list li, .offer.featured .offer-fit strong { color: var(--accent-ink); }
.offer.featured > p, .offer.featured .offer-fit, .offer.featured .offer-stage, .offer.featured .offer-time { color: var(--accent-ink-muted); }
.offer.featured .offer-list { border-color: var(--accent-ink-line); }
.offer.featured .offer-list svg.lucide { color: var(--accent-ink); }
.offer.featured .btn { background: var(--accent-ink); color: var(--accent); }
.offer.featured .btn:hover { background: rgba(255, 255, 255, 0.88); }
@media (max-width: 960px) { .offers { grid-template-columns: 1fr; } .offer { padding: 28px 20px; } }

/* ---------- Calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.calc-in { padding: 40px; display: flex; flex-direction: column; gap: 32px; background: var(--surface); }
.calc-out { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--accent); color: var(--accent-ink); }
.calc-out .label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.calc-out .val { font-family: var(--font-serif); font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin: 16px 0 12px; font-variant-numeric: tabular-nums; }
.calc-out p { color: var(--accent-ink-muted); }
.calc-out p strong { color: var(--accent-ink); }
.calc-out .btn { background: var(--accent-ink); color: var(--accent); align-self: flex-start; }
.calc-out .btn:hover { background: rgba(255, 255, 255, 0.88); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-in, .calc-out { padding: 28px 20px; } }

/* ---------- Forms ---------- */
.form-group { display: flex; flex-direction: column; gap: 10px; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form-group label .v { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.text-input, .select-input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  font: inherit; font-size: 0.95rem; transition: border-color 0.2s;
}
.text-input::placeholder { color: var(--dim); }
.text-input:focus, .select-input:focus { outline: none; border-color: var(--accent); }
.select-input {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23A0AAA3' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.range-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--line-strong); outline: none; accent-color: var(--accent); }
.range-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--accent); cursor: pointer; }
.range-slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); cursor: pointer; }

/* ---------- Insights ---------- */
.insights { border-top: 1px solid var(--line); }
.insight {
  width: 100%; text-align: left; display: grid; grid-template-columns: 140px 1fr auto; gap: 32px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line); transition: padding 0.3s var(--ease);
}
.insight:hover { padding-left: 12px; }
.insight .badge { justify-self: start; }
.insight h3 { font-size: 1.4rem; margin-bottom: 4px; }
.insight p { font-size: 0.95rem; }
.insight .arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.insight:hover .arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.insight .arrow svg.lucide { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .insight { grid-template-columns: 1fr auto; gap: 12px 20px; }
  .insight .badge { grid-column: 1 / -1; justify-self: start; }
  .insight h3 { font-size: 1.15rem; }
}

/* ---------- Final CTA ---------- */
.cta { padding: 0 0 128px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px; padding: 96px 48px; text-align: center;
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cta-box:hover {
  box-shadow: var(--card-shadow-hover);
}
.cta-box h2 { max-width: 16ch; margin: 0 auto 20px; font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-box h2 em { color: var(--accent-text); }
.cta-box p { max-width: 540px; margin: 0 auto 36px; font-size: 1.1rem; }
.cta-box .hero-ctas { justify-content: center; margin: 0; }
@media (max-width: 640px) { .cta { padding-bottom: 80px; } .cta-box { padding: 64px 20px; border-radius: var(--radius-lg); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer-brand .wordmark { display: inline-block; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer h4 { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links a, .footer-links button { font-size: 0.925rem; color: var(--muted); text-align: left; transition: color 0.2s; }
.footer-links a:hover, .footer-links button:hover { color: var(--text); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--dim); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: var(--backdrop); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal-container {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 40px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong);
  transform: translateY(12px) scale(0.98); transition: transform 0.3s var(--ease);
}
.modal-backdrop.open .modal-container { transform: none; }
.modal-close-btn { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.modal-close-btn:hover { background: var(--surface-3); color: var(--text); }
.modal-container h2 { font-size: 1.75rem; padding-right: 32px; }
.modal-container h4 { display: flex; align-items: center; gap: 8px; }
.modal-container .btn { white-space: normal; text-align: center; height: auto; min-height: 48px; padding-top: 12px; padding-bottom: 12px; }
.modal-container .service-icon-wrapper { display: none; }
@media (max-width: 520px) { .modal-container { padding: 28px 20px; } }

/* ---------- Motion ---------- */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #22C55E);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.1s ease-out;
}

.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }
.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.18s; }
.stagger-4 { transition-delay: 0.24s; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero entrance animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-tag { animation: heroFadeUp 0.6s var(--ease) 0.1s both; }
.hero h1 { animation: heroFadeUp 0.7s var(--ease) 0.22s both; }
.hero-lede { animation: heroFadeUp 0.7s var(--ease) 0.35s both; }
.hero-ctas { animation: heroFadeUp 0.7s var(--ease) 0.48s both; }
.hero-points { animation: heroFadeUp 0.7s var(--ease) 0.6s both; }

/* Ambient Floating Background Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  animation: floatOrb 20s ease-in-out infinite alternate;
  z-index: 0;
  opacity: 0.65;
}
.ambient-orb.orb-hero-1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(15, 122, 85, 0.14) 0%, rgba(15, 122, 85, 0.02) 70%, transparent 100%);
}
.ambient-orb.orb-hero-2 {
  width: 440px;
  height: 440px;
  bottom: -40px;
  left: -100px;
  background: radial-gradient(circle, rgba(200, 123, 53, 0.09) 0%, rgba(200, 123, 53, 0.01) 70%, transparent 100%);
  animation-delay: -10s;
}
:root[data-theme="dark"] .ambient-orb.orb-hero-1 {
  background: radial-gradient(circle, rgba(92, 199, 154, 0.15) 0%, transparent 70%);
}
:root[data-theme="dark"] .ambient-orb.orb-hero-2 {
  background: radial-gradient(circle, rgba(232, 165, 77, 0.12) 0%, transparent 70%);
}
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -30px) scale(1.08); }
  100% { transform: translate(-25px, 20px) scale(0.95); }
}

/* Live pulsing dot */
.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 1px;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: pulse-ring 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Fountane-style Floating Interactive Booking Pill */
.floating-booking {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 20px 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(11, 15, 20, 0.14);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.floating-booking:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 122, 85, 0.22);
  border-color: var(--accent);
  color: var(--accent-text);
}
.floating-booking-icon {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.floating-booking-icon svg {
  width: 16px;
  height: 16px;
}
.floating-booking-icon::after {
  position: absolute;
  inset: -2px;
  border: 1.5px solid var(--accent);
  border-radius: inherit;
  content: '';
  pointer-events: none;
  animation: booking-ring-pulse 3s ease-out infinite;
}
@keyframes booking-ring-pulse {
  0% { transform: scale(1); opacity: 0.65; }
  45%, 100% { transform: scale(1.9); opacity: 0; }
}
@media (max-width: 600px) {
  .floating-booking { right: 16px; bottom: 16px; padding: 8px 16px 8px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal-on-scroll { opacity: 1; transform: none; }
  .hero-tag, .hero h1, .hero-lede, .hero-ctas, .hero-points { animation: none !important; opacity: 1 !important; transform: none !important; }
  .ambient-orb { display: none !important; }
}

/* ==========================================================================
   MAVEN GROWTH PAGE
   ========================================================================== */
.hero-kicker { font-size: 1.05rem; font-weight: 600; color: var(--accent-text); margin-bottom: 12px; }
.hero-note { margin-top: 28px; padding-left: 16px; border-left: 2px solid var(--accent); font-size: 0.975rem; max-width: 520px; }

.service.static { cursor: default; }
.checklist { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text); }
.checklist svg.lucide { color: var(--accent-text); width: 16px; height: 16px; margin-top: 4px; }
.service p + .checklist { margin-top: 14px; }
.service .callout { margin-top: auto; padding-top: 24px; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; line-height: 1.35; color: var(--text); }
.service .callout::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); margin-bottom: 14px; }

.pillars { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { padding: 28px 24px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar .n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--danger); }
.pillar h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.pillar p { font-size: 0.9rem; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

.bottom-line { margin-top: 64px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 40px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.bottom-line p { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; color: var(--muted); }
.bottom-line p em { color: var(--accent-text); }
.bottom-line p span { color: var(--text); display: block; }
@media (max-width: 720px) { .bottom-line { grid-template-columns: 1fr; gap: 16px; padding: 28px 20px; } }

.proof-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch; }
.proof-list li { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.1rem; color: var(--text); }
.proof-list li:last-child { border-bottom: 1px solid var(--line); }
.proof-list svg.lucide { color: var(--accent-text); width: 20px; height: 20px; }
.proof-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px; border-radius: var(--radius-lg); background: var(--accent); color: var(--accent-ink); }
.proof-card h3 { font-family: var(--font-serif); font-weight: 500; color: var(--accent-ink); font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.15; }
.proof-card h3 em { display: block; }
.proof-card .btn { background: var(--accent-ink); color: var(--accent); align-self: flex-start; }
.proof-card .btn:hover { background: rgba(255, 255, 255, 0.88); }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } .proof-card { padding: 28px 20px; } }

.calc-in .tip { display: flex; gap: 12px; padding: 16px; border-radius: var(--radius-md); background: var(--bg); border: 1px solid var(--card-border); font-size: 0.9rem; color: var(--muted); }
.calc-in .tip svg.lucide { color: var(--accent-text); width: 18px; height: 18px; margin-top: 3px; }
.calc-in .tip strong { color: var(--text); }
.calc-rows { display: flex; flex-direction: column; margin-top: 20px; border-top: 1px solid var(--accent-ink-line); }
.calc-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--accent-ink-line); font-size: 0.95rem; }
.calc-rows strong { font-variant-numeric: tabular-nums; }

.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.outcome {
  display: flex; align-items: center; gap: 12px; padding: 20px;
  border-radius: var(--radius-md); background: var(--surface);
  border: 1px solid var(--card-border); box-shadow: var(--card-shadow);
  font-weight: 500; color: var(--text);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.outcome:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.outcome svg.lucide { color: var(--accent-text); width: 18px; height: 18px; }
@media (max-width: 960px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .outcomes { grid-template-columns: 1fr; } }

.fit { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fit-item { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fit-item .ico { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.fit-item .ico svg.lucide { width: 18px; height: 18px; }
.fit-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.fit-item p { font-size: 0.925rem; }
@media (max-width: 960px) { .fit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fit { grid-template-columns: 1fr; } .fit-item { padding: 24px 20px; } }

.step .tags-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.step .tags-list span { padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); font-size: 0.8rem; color: var(--muted); }
.step.featured .tags-list span { border-color: var(--accent-text); color: var(--accent-text); }
.step.featured .bar { background: var(--accent); }

/* ---------- Maven case study ---------- */
:root {
  --chart-with: var(--accent);
  --chart-peak: var(--text);
  --chart-neutral: #D3CEC4;
  --donut-a: #0F7A55;
  --donut-b: #4A8FC4;
  --donut-unknown: #DCD8CF;
}
:root[data-theme="dark"] {
  --chart-neutral: #4A504A;
  --donut-a: #2A9468;
  --donut-b: #4F98D6;
  --donut-unknown: #3B403C;
}

.results.four { grid-template-columns: repeat(4, 1fr); }
.results.four .big { font-size: clamp(2.6rem, 4.6vw, 3.6rem); margin: 0 0 12px; }
.results.four p { font-size: 0.95rem; }
@media (max-width: 960px) {
  .results.four { grid-template-columns: 1fr 1fr; }
  .results.four .result:nth-child(3) { padding-left: 0; border-left: 0; }
  .results.four .result:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 860px) { .results.four .result { padding: 28px 24px 28px 0; } .results.four .result:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-strong); border-top-width: 0; } .results.four .result:nth-child(4) { border-top-width: 1px; } }
@media (max-width: 480px) { .results.four { grid-template-columns: 1fr; } .results.four .result, .results.four .result:nth-child(even) { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line-strong); } .results.four .result:first-child { border-top: 0; } }

.case-feature { margin-top: 48px; padding: 40px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.case-feature > h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.015em; line-height: 1.15; margin: 18px 0 14px; }
.case-feature > p { font-size: 1.05rem; max-width: 820px; }
@media (max-width: 640px) { .case-feature { padding: 24px 18px; } }

.cohort-chart { margin-top: 40px; }
.cc-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.cc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cc-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.cc-grid { display: grid; grid-template-columns: repeat(var(--cols, 10), 1fr); column-gap: 2px; }
.cc-bracket { grid-row: 1; text-align: center; padding-top: 10px; border-top: 2px solid var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.cc-plot { position: relative; height: 280px; }
.cc-gridlines { position: absolute; inset: 0; pointer-events: none; }
.cc-gridlines div { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.cc-gridlines span { position: absolute; left: 0; top: -18px; font-size: 0.7rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.cc-gridlines div:first-child { border-top-color: var(--line-strong); }
.cc-cols { position: absolute; inset: 0; align-items: end; }
.cc-col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: default; border-radius: 4px; }
.cc-col:hover, .cc-col:focus-visible { background: var(--surface-2); }
.cc-bar { width: min(24px, 70%); border-radius: 4px 4px 0 0; background: var(--chart-with); }
.cc-col[data-state="without"] .cc-bar { background: var(--chart-neutral); }
.cc-col[data-state="peak"] .cc-bar { background: var(--chart-peak); }
.cc-val { font-size: 0.8rem; font-weight: 700; color: var(--text); margin-bottom: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cc-x { margin-top: 10px; }
.cc-x div { text-align: center; font-size: 0.75rem; color: var(--dim); line-height: 1.35; }
.cc-x b { display: block; font-weight: 500; color: var(--muted); }
.cc-x .short { display: none; }
@media (max-width: 640px) {
  .cc-x .full { display: none; } .cc-x .short { display: inline; }
  .cc-x div { font-size: 0.68rem; }
  .cc-val { font-size: 0.68rem; }
  .cc-bracket { font-size: 0.62rem; letter-spacing: 0.08em; }
  .cc-plot { height: 220px; }
}
.cc-tip {
  position: absolute; z-index: 5; bottom: calc(var(--h, 0%) + 34px); left: 50%; transform: translateX(-50%);
  padding: 8px 12px; border-radius: var(--radius-sm); background: var(--text); color: var(--bg);
  font-size: 0.8rem; line-height: 1.4; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.15s;
}
.cc-tip b { display: block; font-size: 0.95rem; }
.cc-col:hover .cc-tip, .cc-col:focus-visible .cc-tip { opacity: 1; }
.cc-col:first-child .cc-tip { left: 0; transform: none; }
.cc-col:last-child .cc-tip { left: auto; right: 0; transform: none; }

.cc-table { margin-top: 24px; font-size: 0.9rem; }
.cc-table summary { cursor: pointer; color: var(--muted); font-weight: 500; width: fit-content; }
.cc-table summary:hover { color: var(--text); }
.cc-table table { margin-top: 12px; border-collapse: collapse; width: 100%; max-width: 520px; }
.cc-table th, .cc-table td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.cc-table th { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.cc-table td:nth-child(3) { font-variant-numeric: tabular-nums; color: var(--text); }

.case-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.case-split h4 { font-size: 1.2rem; margin-bottom: 10px; }
.case-split p { font-size: 1.02rem; }
.donut-wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.donut { width: 176px; height: 176px; flex-shrink: 0; position: relative; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 22; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center b { font-family: var(--font-serif); font-weight: 500; font-size: 2.1rem; line-height: 1; color: var(--text); }
.donut-center small { font-size: 0.7rem; color: var(--dim); margin-top: 4px; }
.donut-legend { display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; color: var(--muted); }
.donut-legend li { display: flex; align-items: center; gap: 10px; }
.donut-legend i { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.donut-legend b { color: var(--text); font-weight: 600; margin-left: auto; padding-left: 12px; font-variant-numeric: tabular-nums; }
.case-note { margin-top: 32px; font-size: 0.875rem; color: var(--dim); }
@media (max-width: 860px) { .case-split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Case study pages ---------- */
.cs-hero { padding-top: 140px; }
.cs-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--accent-text); margin-bottom: 32px; }
.cs-back svg.lucide { width: 16px; height: 16px; }
.cs-meta { max-width: 520px; margin-bottom: 20px; }
.cs-hero h1 { max-width: 18ch; margin-bottom: 24px; }
.cs-hero h1 em { color: var(--accent-text); }
.cs-lede { font-size: 1.15rem; max-width: 720px; margin-bottom: 56px; }
.section-head h2 em { color: var(--accent-text); }
.cs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-step {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cs-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--card-border-hover);
}
.cs-step .n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-text); }
.cs-step h3 { font-size: 1.35rem; margin: 10px 0 8px; }
.cs-step .offer-list { border-bottom: 0; padding-bottom: 0; }
.cs-step a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.cs-bars { margin-top: 0; display: flex; flex-direction: column; gap: 20px; }
.cs-bar { display: grid; grid-template-columns: 150px 1fr 90px; gap: 16px; align-items: center; }
.cs-bar-label { font-size: 0.9rem; color: var(--muted); }
.cs-bar-track { height: 36px; border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; }
.cs-bar-fill { height: 100%; border-radius: var(--radius-sm); background: var(--accent); }
.cs-bar.is-dim .cs-bar-fill { background: var(--chart-neutral, var(--line-strong)); }
.cs-bar b { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.cs-bars .case-note { margin-top: 8px; }
.cs-funnel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cs-funnel div {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cs-funnel div:not(:last-child)::after { content: '→'; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); color: var(--accent-text); font-size: 0.75rem; display: flex; align-items: center; justify-content: center; }
.cs-funnel strong { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text); }
.cs-funnel span { font-size: 0.85rem; color: var(--muted); }
.cs-funnel .is-result { background: var(--accent); border-color: var(--accent); }
.cs-funnel .is-result strong { color: var(--accent-ink); }
.cs-funnel .is-result span { color: var(--accent-ink-muted); }
.cs-table-wrap { overflow-x: auto; }
.cs-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.cs-table th, .cs-table td { padding: 14px 12px; text-align: right; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.cs-table thead th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.cs-table tbody th { text-align: left; font-weight: 500; color: var(--muted); }
.cs-table td { color: var(--text); }
.cs-table td:last-child { font-weight: 600; color: var(--accent-text); }
.cs-more { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
a.case { color: inherit; }
@media (max-width: 960px) {
  .cs-steps, .cs-more { grid-template-columns: 1fr; }
  .cs-funnel { grid-template-columns: 1fr; }
  .cs-funnel div:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -13px; transform: translateX(-50%); }
  .cs-bar { grid-template-columns: 1fr auto; }
  .cs-bar-track { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Brand logo ---------- */
/* The logo file has white lettering; in light mode, invert it to dark and rotate the hue back so the green stays green. */
.brand-logo { display: block; height: 38px; width: auto; }
[data-theme="light"] .brand-logo { filter: invert(1) hue-rotate(180deg); }
.footer-brand .brand-logo { height: 44px; margin-bottom: 16px; }
@media (max-width: 640px) { .header .brand-logo { height: 32px; } }

/* ---------- How we work: promises ---------- */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.promise:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--card-border-hover);
}
.promise .ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px; }
.promise .ico svg.lucide { width: 20px; height: 20px; }
.promise h3 { font-size: 1.15rem; margin-bottom: 8px; }
.promise p { font-size: 0.95rem; }
.compare-panel { margin-top: 16px; }
.compare-panel h3 { margin: 0 0 20px; }
.offer-banner {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  color: var(--muted);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.offer-banner:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.offer-banner strong { color: var(--text); margin-right: 4px; }
.offer-banner .ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); }
.offer-banner .ico svg.lucide { width: 20px; height: 20px; }
.offer-banner > svg.lucide { flex-shrink: 0; margin-left: auto; color: var(--accent-text); }
@media (max-width: 960px) { .promises { grid-template-columns: 1fr; } }
