/* Wellio marketing styles — extracted from index.html's inline <style>.
   Shared across index.html and the legal pages so the browser caches it
   once instead of re-parsing 70+ KB inline on every page. */
/* ─────────────────────────────────────────────────────────────
   Wellio marketing — DARK THEME (matches app)
   Design notes inspired by best-of-class dark SaaS landings:
   Linear, Cal.com, Framer, Vercel, Arc, Resend, Linear, Notion.
   ───────────────────────────────────────────────────────────── */
:root {
  /* Core surfaces */
  --bg:           #08090A;
  --bg-2:         #0A0F10;
  --bg-3:         #0F1517;
  --surface:      #11181B;
  --surface-2:    #161C1E;
  --surface-3:    #1C2326;
  --border:       rgba(255,255,255,0.08);
  --border-2:     rgba(255,255,255,0.14);
  --border-3:     rgba(255,255,255,0.20);

  /* Text — calibrated for AA contrast against --bg #08090A */
  --text:         #F2F4F5;
  --text-2:       #D7DDE0;
  --text-dim:     #A8B0B4; /* ~8:1 — body / lead copy */
  --text-mute:    #8E969A; /* ~5.4:1 — small labels, muted micro-copy */

  /* Brand */
  --teal:         #2DA9A9;
  --teal-deep:    #1C8585;
  --teal-bright:  #5BC0BE;
  --mint:         #C8E6B5;
  --teal-grad:    linear-gradient(135deg, #2DA9A9 0%, #5BC0BE 60%, #C8E6B5 100%);
  --teal-grad-2:  linear-gradient(135deg, #5BC0BE 0%, #C8E6B5 100%);
  --teal-soft:    linear-gradient(135deg, rgba(91,192,190,0.18) 0%, rgba(200,230,181,0.08) 100%);

  /* Status */
  --danger:       #E36464;
  --amber:        #E0A458;
  --success:      #6FCF97;

  /* Radii / shadow */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow:    0 1px 2px rgba(0,0,0,0.40), 0 12px 32px rgba(0,0,0,0.30);
  --shadow-cta: 0 8px 28px rgba(45,169,169,0.40), inset 0 1px 0 rgba(255,255,255,0.18);
  --shadow-glow: 0 0 0 1px rgba(91,192,190,0.20), 0 20px 60px -20px rgba(91,192,190,0.30);

  --max:        1240px;
  --max-narrow: 880px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient page glow */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(91,192,190,0.10), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 10%, rgba(200,230,181,0.06), transparent 60%);
}
/* Subtle grain on body, just enough to break gradients */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
}
main, header, footer, section { position: relative; z-index: 2; }

img, svg { display: block; max-width: 100%; }
a { color: var(--teal-bright); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--mint); }
button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; border-radius: 6px; }
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px;
  z-index: 1000; font-weight: 600; font-size: 14px;
}
.skip:focus { left: 8px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 24px; }

/* ─── Type ─── */
h1, h2, h3, h4 {
  font-family: "Inter Tight", "Inter", -apple-system, system-ui, sans-serif;
  color: var(--text); margin: 0;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800; line-height: 1.10;
  letter-spacing: -0.028em;
}
h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.25; }
h4 { font-size: 16px; font-weight: 700; line-height: 1.3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(91,192,190,0.08);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(91,192,190,0.20);
  backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(111,207,151,0.18);
}
.lead { font-size: clamp(17px, 1.9vw, 21px); color: var(--text-dim); line-height: 1.55; }
.muted { color: var(--text-mute); }
.gradient-text {
  background: linear-gradient(120deg, #5BC0BE 0%, #C8E6B5 55%, #E8F4D8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  background-size: 200% 100%;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Brand mark ─── */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; color: var(--text); letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--teal-grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 14px rgba(91,192,190,0.32), inset 0 1px 0 rgba(255,255,255,0.32);
  flex-shrink: 0;
}
.brand-mark::after { content: "w"; line-height: 1; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer; transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
  text-decoration: none; white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--teal-grad);
  color: #07120F;
  box-shadow: var(--shadow-cta);
  font-weight: 700;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(91,192,190,0.50); color: #07120F; }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--border-3); color: var(--text); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 12px 16px; font-size: 13px; border-radius: 10px; min-height: 44px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,9,10,0.72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  color: var(--text-2); font-weight: 500; font-size: 14.5px;
  padding: 12px 4px; display: inline-flex; align-items: center; min-height: 44px;
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none; width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer;
  padding: 10px; border-radius: 10px;
}
.menu-btn:hover { background: rgba(255,255,255,0.06); }
.menu-btn span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 4px auto; border-radius: 2px; transition: transform 200ms ease;
}

/* ─── Sticky bottom CTA bar ─── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(8,9,10,0.86);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 14px 20px;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .row {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sticky-cta .copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sticky-cta .copy .brand-mark { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
.sticky-cta .copy .t { font-weight: 600; font-size: 14px; color: var(--text); }
.sticky-cta .copy .s { font-size: 12px; color: var(--text-dim); }

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: clamp(50px, 6vw, 88px) 0 clamp(32px, 4vw, 64px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(91,192,190,0.18), transparent 70%),
    radial-gradient(ellipse 35% 30% at 88% 30%, rgba(200,230,181,0.10), transparent 70%),
    radial-gradient(ellipse 35% 30% at 12% 70%, rgba(45,169,169,0.10), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
/* The hero eyebrow must render on a single line at every viewport
   width, including 360px. Belt-and-braces: white-space: nowrap on the
   inline-flex pill, plus mobile-only font / letter-spacing / padding
   tightening (see the @media (max-width: 480px) block below). */
.hero-eyebrow { margin-bottom: 22px; white-space: nowrap; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.compare h2 .line { display: block; }
.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--text-dim); margin: 0 0 28px;
  max-width: 560px; line-height: 1.55;
}
/* Inline form */
.inline-form {
  display: flex; gap: 6px; max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  padding: 6px; border-radius: 16px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.inline-form:focus-within {
  border-color: rgba(91,192,190,0.50);
  box-shadow: 0 0 0 4px rgba(91,192,190,0.12);
}
.inline-form input[type="email"] {
  flex: 1 1 auto; min-width: 14rem;
  border: 0; outline: none;
  padding: 12px 14px; font-size: 15px; color: var(--text);
  background: transparent; font-family: inherit;
  border-radius: 10px;
  min-height: 44px;
  text-overflow: clip;
}
.inline-form input[type="email"]::placeholder { color: var(--text-mute); }
.inline-form input[type="email"]:focus-visible {
  outline: 2px solid var(--teal-bright); outline-offset: 2px;
}
.inline-form .btn { flex-shrink: 0; }
.hero-micro { margin-top: 14px; font-size: 13px; color: var(--text-dim); display: inline-flex; align-items: center; gap: 8px; }
.hero-micro svg { width: 14px; height: 14px; color: var(--success); }

.form-message {
  margin-top: 12px; font-size: 14px;
  display: none; align-items: center; gap: 8px;
}
.form-message.show { display: flex; }
.form-message.success { color: var(--success); }
.form-message.error { color: var(--danger); }


/* ─── Photo utility (real photography with graceful fallback) ─── */
.photo {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #16201F 0%, #0E1517 60%, #0B0F10 100%);
  background-size: cover; background-position: center;
}
.photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Hero visual = interactive product demo (phone + floating cards). */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual::before {
  content: ""; position: absolute; z-index: 0; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 88vw); height: min(560px, 88vw); border-radius: 50%;
  background: radial-gradient(circle, rgba(91,192,190,0.22) 0%, transparent 60%);
  filter: blur(28px);
}

.hero-demo {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 640px;
}
.hero-device {
  position: relative; z-index: 2;
  width: 300px; height: 600px;
  border-radius: 42px;
  background: linear-gradient(180deg, #1B2225 0%, #0D1213 100%);
  padding: 12px;
  box-shadow:
    0 50px 100px -20px rgba(0,0,0,0.70),
    0 14px 28px -10px rgba(0,0,0,0.55),
    inset 0 0 0 1.5px rgba(255,255,255,0.10);
}
.hero-device::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px;
  background: #0A0F10; border-radius: 999px; z-index: 5;
}
.hero-device-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(91,192,190,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(200,230,181,0.06) 0%, transparent 55%),
    var(--bg-2);
  color: var(--text);
  overflow: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 14px;
}
.hero-pane {
  position: absolute; inset: 0;
  padding: 44px 16px 16px;
  opacity: 0; transition: opacity 520ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  pointer-events: none;
}
.hero-pane.active { opacity: 1; }

/* ── Hero demo micro-animations ───────────────────────────────
   Two layers of life: small in-phone reveals on each screen
   activation, and a brief "new insight" toast that slides down
   from above when the Flag screen comes up. All driven by the
   .active class swap, so they replay on every cycle. */

/* When the home screen activates, KPIs cascade-pop in. Each card
   uses backwards fill so the opacity/translate apply pre-animation. */
.hero-pane[data-hero-pane="home"].active .dv-kpi {
  animation: heroKpiPop 520ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.hero-pane[data-hero-pane="home"].active .dv-kpi:nth-child(1) { animation-delay: 80ms; }
.hero-pane[data-hero-pane="home"].active .dv-kpi:nth-child(2) { animation-delay: 160ms; }
.hero-pane[data-hero-pane="home"].active .dv-kpi:nth-child(3) { animation-delay: 240ms; }
.hero-pane[data-hero-pane="home"].active .dv-kpi:nth-child(4) { animation-delay: 320ms; }
@keyframes heroKpiPop {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Needs Review pill softly pulses while the home screen is shown —
   visual cue that something needs attention. */
.hero-pane[data-hero-pane="home"].active .dv-section-title .dv-pill {
  animation: heroPillPulse 2.2s ease-in-out infinite;
}
@keyframes heroPillPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227,100,100,0); }
  50%      { box-shadow: 0 0 0 5px rgba(227,100,100,0.16); }
}

/* AI insight card on home slides up gently after the KPIs land. */
.hero-pane[data-hero-pane="home"].active .dv-insight {
  animation: heroSlideUp 580ms cubic-bezier(0.16, 1, 0.3, 1) 380ms backwards;
}

/* Flag screen — drafted message slides in after a beat so it
   reads as "AI just produced this". */
.hero-pane[data-hero-pane="flag"].active .dv-flag-card {
  animation: heroSlideUp 540ms cubic-bezier(0.16, 1, 0.3, 1) 120ms backwards;
}
.hero-pane[data-hero-pane="flag"].active .dv-draft-card {
  animation: heroSlideUp 540ms cubic-bezier(0.16, 1, 0.3, 1) 320ms backwards;
}
.hero-pane[data-hero-pane="flag"].active .dv-draft-actions {
  animation: heroSlideUp 480ms cubic-bezier(0.16, 1, 0.3, 1) 520ms backwards;
}
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── "New insight" toast — single accent element above the phone.
   Anchored, unified, semantically tied to the Flag screen content. */
.hero-toast {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(17,24,27,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(91,192,190,0.30);
  border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--text);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.6);
  transition: opacity 320ms ease, transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hero-toast .ht-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(91,192,190,0.22);
  animation: heroToastDot 1.6s ease-in-out infinite;
}
@keyframes heroToastDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(91,192,190,0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(91,192,190,0.05); }
}
.hero-toast .ht-icon { color: var(--teal-bright); font-size: 13px; line-height: 1; }
.hero-toast .ht-text { letter-spacing: 0.02em; }

/* WCAG 2.2.2 pause control for the hero auto-cycle. Sits below the
   phone, visually quiet — present for keyboard + screen-reader users
   and for anyone who wants to stop the rotation. */
.hero-cycle-toggle {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  z-index: 4;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(17,24,27,0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-2);
  color: var(--text-dim);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}
.hero-cycle-toggle:hover { color: var(--text); border-color: var(--border-3); background: rgba(17,24,27,0.88); }
.hero-cycle-toggle[aria-pressed="true"] svg { display: none; }
.hero-cycle-toggle[aria-pressed="true"]::before {
  content: ""; width: 0; height: 0;
  border-style: solid; border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}

/* ─── Trust / logo strip ─── */
.trust-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.trust-strip .label {
  display: block; text-align: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 22px;
}
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 32px 48px; align-items: center;
  opacity: 0.78;
}
.trust-row .item {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; color: var(--text-2);
  letter-spacing: -0.01em;
}
.trust-row .item svg { width: 22px; height: 22px; color: var(--text-dim); }

/* ─── Section base ─── */
section.padded { padding: clamp(56px, 6.5vw, 96px) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { color: var(--text-dim); }
/* Asymmetric variant — breaks the all-centered rhythm */
.section-head.left { text-align: left; max-width: 700px; margin-left: 0; margin-right: auto; }
.section-head.left .lead { margin-left: 0; }

/* ─── Problem (Sound familiar?) — centered, teal-accented ─── */
/* "duct tape" emphasis. Kept in the section's existing teal accent
   (this section had coral removed in an earlier pass) so no new color
   is introduced — reuses --teal-bright. */
.problem h2 .x { color: var(--teal-bright); }
.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.pain-card:hover { transform: translateY(-3px); border-color: var(--border-2); background: var(--surface-2); }
.pain-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--teal-bright);
  margin-bottom: 18px;
}
.pain-card h3 { margin-bottom: 10px; color: var(--text); font-size: 17px; line-height: 1.3; }
.pain-card p { color: var(--text-dim); margin: 0; font-size: 14.5px; line-height: 1.55; }


.duct-tape-strip {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  text-align: center;
  background: rgba(255,255,255,0.015);
}
.duct-tape-strip .dts-label {
  display: block;
  font-size: 12px; color: var(--text-mute);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.duct-tape-strip .dts-pills {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
}
.dts-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  font-size: 12.5px; color: var(--text-dim);
  white-space: nowrap;
  background: transparent;
}

/* Coach-at-work photo — matches the dark card system (rounded, bordered,
   soft shadow). The placeholder fills the slot until a real photo lands. */
.problem-figure {
  margin: 0 0 40px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6);
  background: var(--surface);
}
.problem-figure img { width: 100%; height: auto; display: block; aspect-ratio: 7 / 4; object-fit: cover; }
.problem-figure__placeholder {
  aspect-ratio: 7 / 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--text-mute);
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(91,192,190,0.06), transparent 70%),
    linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
}
.problem-figure__placeholder span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
}

/* ─── Photographic section backgrounds ─────────────────────────────
   Applied to only TWO sections via the .has-bg-photo modifier:
   .problem and .cta-final. Each gets a covering <img> behind the
   content, then a layered scrim that (a) fades the image edges into
   the page background top and bottom — no hard rectangle — and (b)
   darkens the content area enough to hold ~4.5:1 contrast. The
   --bg color is reused in the fade stops so the blend is seamless.
   Image stays a real <img> (lazy-loaded; CSS background-image can't
   be lazy-loaded). Solid background-color fallback keeps text
   readable before the photo lands. */
.has-bg-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg);
}
.has-bg-photo > .section-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.has-bg-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.has-bg-photo > .container { position: relative; z-index: 2; }

/* Problem — burnout banner. Subject sits center-left; object-position
   keeps her in frame. Scrim is a vignette + top/bottom fade so the H2
   reads clearly and the pain cards (which have their own surface bg
   anyway) sit on a darkened, atmospheric photo rather than competing
   with it. */
/* Hero — heavily-darkened coaching photo for atmosphere only. The
   hero copy + form on the left, the phone mockup on the right, and
   the trust-strip beneath must all hold strong contrast, so the
   scrim runs heavier than the Problem and CTA sections. The hero's
   pre-existing three-radial teal/mint ambient glow (.hero::before)
   is preserved here by re-declaring those gradients alongside the
   darkening + top/bottom fade in a single combined background. */
.hero.has-bg-photo > .section-bg-img {
  object-position: 50% 30%;
}
.hero.has-bg-photo::before {
  background:
    /* Ambient teal glow — same three radials the bare .hero::before
       carries; redeclared here because .hero.has-bg-photo::before
       wins the cascade and would otherwise drop the glow. */
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(91,192,190,0.18), transparent 70%),
    radial-gradient(ellipse 35% 30% at 88% 30%, rgba(200,230,181,0.10), transparent 70%),
    radial-gradient(ellipse 35% 30% at 12% 70%, rgba(45,169,169,0.10), transparent 70%),
    /* Central darkening — dialled back 15% so the photo reads as a
       fuller atmospheric presence, not a near-flat overlay. */
    radial-gradient(ellipse 110% 85% at 50% 50%, rgba(8,9,10,0.68), rgba(8,9,10,0.79)),
    /* Top/bottom fade — no hard rectangle edge against the page bg. */
    linear-gradient(180deg, var(--bg) 0%, rgba(8,9,10,0.38) 10%, rgba(8,9,10,0.38) 90%, var(--bg) 100%);
}

.problem.has-bg-photo > .section-bg-img {
  object-position: 30% 50%;
}
.problem.has-bg-photo::before {
  background:
    /* Stronger central vignette — photo reads as subdued atmosphere
       behind the H2 and the cards rather than competing imagery. */
    radial-gradient(ellipse 100% 70% at 50% 50%, rgba(8,9,10,0.70), rgba(8,9,10,0.90)),
    linear-gradient(180deg, var(--bg) 0%, rgba(8,9,10,0) 10%, rgba(8,9,10,0) 90%, var(--bg) 100%);
}

/* Final CTA — heavier scrim. Pushes object-position to the left so
   the baked-in "Client Card" graphic that lives in the upper-right
   of photo-4.jpg sits under the darkest part of the scrim and reads
   as ambient texture rather than competing UI. The .cta-card on top
   already carries its own surface + glow, so legibility holds. */
/* Final CTA — one-sided layout. Content sits on the RIGHT, the
   coaching scene shows through on the LEFT. The directional scrim is
   near-transparent on the left (photo) and near-opaque on the right
   (text), so the headline / grey subhead / small microcopy all hold
   contrast while the people stay visible. The photo's baked-in
   "Client Card" graphic lives upper-right, so anchoring text there
   buries it under the dark side + the content. */
.cta-final.has-bg-photo > .section-bg-img {
  object-position: 18% 45%;
}
.cta-final.has-bg-photo::before {
  background:
    /* Directional scrim — transparent on the left (subjects visible),
       ramping earlier and harder on the right so the baked-in "Client
       Card" graphic in photo-4.jpg is fully buried under the text side. */
    linear-gradient(90deg,
      rgba(8,9,10,0) 0%,
      rgba(8,9,10,0.18) 28%,
      rgba(8,9,10,0.88) 48%,
      var(--bg) 65%,
      var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(8,9,10,0) 12%, rgba(8,9,10,0) 88%, var(--bg) 100%);
}

/* Mobile — re-frame each subject and strengthen both scrims a touch
   because cards and form span more of the photo width. */
@media (max-width: 900px) {
  /* The hero stacks single-column at this breakpoint (copy + form on
     top, phone mockup below), so the background gets cropped harder
     by object-fit: cover. Centre vertically so the photo's subjects
     stay framed instead of having their heads or feet cut off. */
  .hero.has-bg-photo > .section-bg-img { object-position: 50% 50%; }
  .problem.has-bg-photo > .section-bg-img { object-position: 35% 30%; }
  .has-bg-photo::before {
    background:
      radial-gradient(ellipse 100% 80% at 50% 50%, rgba(8,9,10,0.65), rgba(8,9,10,0.88)),
      linear-gradient(180deg, var(--bg) 0%, rgba(8,9,10,0) 8%, rgba(8,9,10,0) 92%, var(--bg) 100%);
  }
  /* Final CTA stacks full-width, so the one-sided horizontal scrim
     gives way to a vertical one — subjects sit at the top, the copy +
     form sit over the darkened lower half. */
  .cta-final.has-bg-photo > .section-bg-img { object-position: 50% 22%; }
  .cta-final.has-bg-photo::before {
    background:
      linear-gradient(180deg, rgba(8,9,10,0.45) 0%, rgba(8,9,10,0.82) 48%, rgba(8,9,10,0.93) 100%),
      linear-gradient(180deg, var(--bg) 0%, rgba(8,9,10,0) 10%, rgba(8,9,10,0) 90%, var(--bg) 100%);
  }
}

/* ─── Before / After comparison ─── */
.compare {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(91,192,190,0.06), transparent 70%),
    var(--bg);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.compare-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  /* Flex column so the .compare-list grows and the .compare-stat
     (with its divider top-border) anchors to the bottom — both
     columns end up with the divider at the same vertical line
     even when one list is taller than the other. */
  display: flex;
  flex-direction: column;
}
.compare-col.before { background: rgba(227,100,100,0.04); border-color: rgba(227,100,100,0.18); }
.compare-col.after  {
  background: linear-gradient(160deg, rgba(91,192,190,0.10) 0%, rgba(200,230,181,0.04) 100%);
  border-color: rgba(91,192,190,0.30);
  box-shadow: 0 20px 60px -30px rgba(91,192,190,0.30);
}
.compare-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 22px; }
.compare-col .badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.compare-col.before .badge { background: rgba(227,100,100,0.15); color: var(--danger); }
.compare-col.after .badge  { background: rgba(111,207,151,0.15); color: var(--success); }
.compare-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.compare-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--text-2); line-height: 1.5;
}
.compare-list li .ic {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px;
  margin-top: 1px;
}
.compare-col.before .ic { background: rgba(227,100,100,0.12); color: var(--danger); }
.compare-col.after  .ic { background: rgba(111,207,151,0.16); color: var(--success); }
.compare-divider {
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: var(--text-mute);
  letter-spacing: 0.18em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.compare-stat {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 10px;
}
.compare-stat .n {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 36px; font-weight: 800; letter-spacing: -0.03em;
}
.compare-col.before .compare-stat .n { color: var(--danger); }
.compare-col.after  .compare-stat .n {
  background: var(--teal-grad-2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.compare-stat .l { font-size: 13px; color: var(--text-dim); }

/* ─── Features (split: hero feature + grouped checklists) ─── */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.features-left { display: flex; flex-direction: column; gap: 24px; }

/* Left top: the differentiator, given room to breathe */
.feature-hero {
  background: linear-gradient(165deg, rgba(91,192,190,0.10) 0%, rgba(255,255,255,0.02) 60%);
  border: 1px solid rgba(91,192,190,0.22);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
}

/* Left bottom: a real product moment — fills the formerly empty space.
   Uses flex:1 so it grows to match the right column's height instead
   of stopping at its natural aspect-ratio and leaving a gap below. */
.feature-photo {
  position: relative;
  margin: 0; overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-2);
  background: var(--surface);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.55);
  flex: 1; min-height: 240px;
  display: flex; flex-direction: column;
}
.feature-photo img {
  width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block;
}
.feature-photo figcaption {
  padding: 14px 20px 16px;
  font-size: 13px; line-height: 1.45; color: var(--text-dim);
  border-top: 1px solid var(--border);
  background: rgba(8,9,10,0.4);
  flex-shrink: 0;
}
.fh-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--mint);
  background: var(--teal-soft);
  border: 1px solid rgba(91,192,190,0.22);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 20px;
}
.feature-hero h3 {
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 14px;
}
.feature-hero > p {
  color: var(--text-dim); font-size: 15.5px; line-height: 1.6; margin: 0;
}
.fh-demo {
  margin-top: 26px;
  background: rgba(8,9,10,0.5);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 16px;
}
.fh-demo-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.fh-suggest {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--border-2);
  font-size: 12px; font-weight: 600; color: var(--mint);
}
.fh-suggest svg { flex-shrink: 0; }

/* Mini insight card visual (reused) */
.mini-insight {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 14px;
  font-size: 12.5px; color: var(--text);
  position: relative;
}
.mini-insight .row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mini-insight .av {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg,#E89AAA,#A85770);
  color: #fff; font-weight: 700; font-size: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mini-insight .nm { font-weight: 700; font-size: 12.5px; }
.mini-insight .pill {
  margin-left: auto;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(227,100,100,0.14); color: var(--danger);
  border: 1px solid rgba(227,100,100,0.30);
}
.mini-insight .pill.amber {
  background: rgba(224,164,88,0.14); color: var(--amber);
  border-color: rgba(224,164,88,0.32);
}
.mini-insight .b { color: var(--text-2); font-size: 13px; line-height: 1.45; }

/* Right: grouped, scannable capability lists — visually secondary
   so the feature-hero on the left remains the focal point. */
.feature-groups { display: flex; flex-direction: column; gap: 36px; }
.feature-group {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.grp-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.feature-item { display: flex; gap: 13px; align-items: flex-start; }
.feature-item .ck {
  flex-shrink: 0; margin-top: 1px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--teal-soft);
  border: 1px solid rgba(91,192,190,0.22);
  color: var(--mint);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-item .tx { display: flex; flex-direction: column; gap: 3px; }
.feature-item .t { font-weight: 700; font-size: 15px; color: var(--text); letter-spacing: -0.01em; }
.feature-item .d { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }

/* Integrations row */
.integrations { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.int-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.int-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.int {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-2); font-weight: 600;
}
.int .g, .src .g {
  width: 18px; height: 18px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 10px;
}

/* ─── Features layout — full-width rows (no orphan voids) ────────
   The previous 2-col split left a tall void in the lower-left when
   the right column's groups outgrew the thesis card. New structure:
   one centered full-width thesis lead-in → three equal-height
   capability columns → one full-width "Connects with" strip.
   All new selectors are scoped to this section. */
.feature-thesis {
  text-align: center;
  max-width: var(--max-narrow);
  margin: clamp(8px, 1.5vw, 16px) auto clamp(40px, 5vw, 64px);
}
.feature-thesis .fh-tag { margin-bottom: 18px; }
.feature-thesis h3 {
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18;
  letter-spacing: -0.02em; color: var(--text);
  margin: 0 0 14px;
}
.feature-thesis > p {
  color: var(--text-dim);
  font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6;
  margin: 0 auto; max-width: 720px;
}
.feature-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.feature-cols .feature-group {
  display: flex; flex-direction: column;
}
/* Stretch the list so the card body fills the equal-height card,
   top-aligning items inside each column. */
.feature-cols .feature-group .feature-list { flex: 1; }
/* Modifier for a column with very few items — vertically center
   the list so a single bullet doesn't strand at the top of an
   otherwise tall card. */
.feature-cols .feature-group--center .feature-list {
  justify-content: center;
}
.connects-strip {
  margin-top: 28px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r-lg);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  flex-wrap: wrap;
}
.connects-strip .int-label { margin: 0; }
.connects-strip .int-chips { gap: 8px; }

/* ─── How it works (merged features + showcase) ─────────────────
   Three steps, each = one real product screen + short copy, laid out
   as alternating image/text rows with generous vertical spacing.
   Reuses the existing .device / .device-screen / .dv-* mockup styling.
   All selectors scoped to this section. */
.howit-steps {
  display: flex; flex-direction: column;
  gap: clamp(56px, 8vw, 104px);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.howit-step {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
/* Even steps: phone on the right, copy on the left. */
.howit-step--reverse .howit-media { order: 2; }
.howit-step--reverse .howit-copy  { order: 1; }
.howit-media {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.howit-media::before {
  content: ""; position: absolute; z-index: 0;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(380px, 78vw); height: min(380px, 78vw); border-radius: 50%;
  background: radial-gradient(circle, rgba(91,192,190,0.16) 0%, transparent 60%);
  filter: blur(14px);
}
.howit-media .device { position: relative; z-index: 1; }
.howit-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-grad);
  color: #07120F; font-weight: 800; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(45,169,169,0.30);
}
.howit-copy h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.025em; margin-bottom: 14px;
}
.howit-copy p {
  color: var(--text-dim);
  font-size: clamp(16px, 1.7vw, 18px); line-height: 1.6;
  margin: 0; max-width: 460px;
}

/* ─── Showcase (replaces video) ─── */
.showcase {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(91,192,190,0.08), transparent 70%),
    var(--bg);
}
.showcase-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-bottom: 44px;
}
.tab {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 12px 18px; border-radius: 999px;
  min-height: 44px;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  cursor: pointer; transition: all 180ms ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { color: var(--text); border-color: var(--border-2); }
.tab .tab-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: var(--text-dim);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  transition: all 180ms ease;
}
.tab[aria-selected="true"] {
  background: var(--teal-grad);
  color: #07120F;
  border-color: transparent;
}
.tab[aria-selected="true"] .tab-num {
  background: rgba(7,18,15,0.20); color: #07120F;
}

.showcase-stage {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.showcase-copy { padding-top: 8px; }
.showcase-copy h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.025em; margin-bottom: 16px;
}
.showcase-copy p { color: var(--text-dim); font-size: 17px; margin-bottom: 22px; }
.showcase-bullets {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.showcase-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--text-2); font-size: 15px;
}
.showcase-bullets li svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  color: var(--teal-bright);
}
.showcase-frame-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative; min-height: 660px;
}
.showcase-frame-wrap::before {
  content: ""; position: absolute;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,192,190,0.22) 0%, transparent 60%);
  filter: blur(12px);
}

/* ─── Device mockup ─── */
.device {
  position: relative; z-index: 1;
  width: 320px; height: 640px;
  border-radius: 44px;
  background: linear-gradient(180deg, #1B2225 0%, #0D1213 100%);
  padding: 12px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.60),
    0 12px 24px -10px rgba(0,0,0,0.50),
    inset 0 0 0 1.5px rgba(255,255,255,0.10);
}
.device::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 24px;
  background: #0A0F10; border-radius: 999px; z-index: 5;
}
.device-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(91,192,190,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(200,230,181,0.06) 0%, transparent 55%),
    var(--bg-2);
  color: var(--text);
  overflow: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 15px;
}
.dv-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 0;
  font-size: 12px; font-weight: 600; color: var(--text);
  position: relative; z-index: 6;
}
.dv-status .icons { display: inline-flex; gap: 5px; align-items: center; }
.dv-status .icons span { display: inline-block; background: var(--text); border-radius: 2px; }
.dv-status .icons .sig { width: 16px; height: 9px; clip-path: polygon(0 65%, 25% 65%, 25% 45%, 50% 45%, 50% 25%, 75% 25%, 75% 5%, 100% 5%, 100% 100%, 0 100%); }
.dv-status .icons .bat { width: 22px; height: 10px; border-radius: 2px; background: transparent; border: 1px solid var(--text); position: relative; }
.dv-status .icons .bat::after { content: ""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 70%; background: var(--text); border-radius: 1px; }

.dv-scroll {
  height: calc(100% - 32px);
  padding: 18px 18px 24px;
  overflow-y: auto;
  scrollbar-width: none;
}
.dv-scroll::-webkit-scrollbar { display: none; }

.dv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dv-greeting { font-size: 11.5px; color: var(--text-dim); margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase; }
.dv-name { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.dv-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal-grad-2);
  color: #07120F; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}

.dv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.dv-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 9px 8px;
  min-width: 0;
}
.dv-kpi .l, .dv-kpi .v, .dv-kpi .t { display: block; }
/* KPI tile labels render in FULL — never truncated to ACT…/REV…/AD….
   At the 320px design width the four tiles each get ~70px and the
   labels ("ACTIVE", "REVIEW", "DUE", "ADHER.") fit comfortably at
   9.5px/0.04em without wrapping. Removed overflow/ellipsis/nowrap
   so unusually long copy wraps cleanly rather than getting clipped. */
.dv-kpi .l { font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-mute); text-transform: uppercase; }
.dv-kpi .v { font-size: 18px; font-weight: 800; color: var(--text); margin-top: 2px; line-height: 1; }
.dv-kpi .t { font-size: 9.5px; color: var(--text-dim); margin-top: 4px; }
.dv-kpi.danger .v { color: var(--danger); }

.dv-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--text);
  margin: 18px 0 10px;
}
.dv-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9.5px; font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(227,100,100,0.15); color: var(--danger);
  border: 1px solid rgba(227,100,100,0.30);
  /* Always single-line: the pill grows horizontally to fit longer
     copy ("Adherence ↓28%", "Plan check-in due") inside its card,
     never wraps to two lines and never gets squeezed by a sibling. */
  white-space: nowrap;
  width: fit-content;
  flex-shrink: 0;
}
.dv-pill.amber { background: rgba(224,164,88,0.14); color: var(--amber); border-color: rgba(224,164,88,0.30); }

.dv-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.dv-card + .dv-card { margin-top: 8px; }
.dv-client-row { display: flex; align-items: center; gap: 10px; }
.dv-client-row .av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #E89AAA, #A85770);
  color: #fff; font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.dv-client-row .av.j { background: linear-gradient(135deg, #5BC0BE, #2DA9A9); }
.dv-client-row .info { flex: 1; min-width: 0; }
.dv-client-row .info .nm { font-size: 13.5px; font-weight: 700; color: var(--text); }
/* Client goal renders in FULL — longer goals like "Build cardio base
   and drop 10 lb" wrap to a second line instead of getting truncated
   mid-phrase ("Build cardio…"). The card grows vertically as needed. */
.dv-client-row .info .gl { font-size: 11.5px; color: var(--text-dim); margin-top: 1px; line-height: 1.35; }
.dv-client-row .info .reason { margin-top: 6px; }
.dv-client-row .review-btn {
  background: var(--teal); color: #fff;
  border: 0; border-radius: 999px;
  padding: 6px 11px; font-size: 11px; font-weight: 700;
  cursor: pointer;
}

.dv-insight {
  margin-top: 8px;
  background: linear-gradient(135deg, rgba(91,192,190,0.10) 0%, rgba(200,230,181,0.04) 100%);
  border: 1px solid rgba(91,192,190,0.25);
  border-radius: 14px; padding: 12px;
}
.dv-insight .head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dv-insight .nm { font-size: 12.5px; font-weight: 700; color: var(--text); }
.dv-insight .drop { margin-left: auto; font-size: 10px; color: var(--danger); display: inline-flex; align-items: center; gap: 3px; }
.dv-insight .body { font-size: 13.5px; line-height: 1.45; color: var(--text); margin-bottom: 10px; }
.dv-actions { display: flex; gap: 6px; }
.dv-actions button {
  flex: 1; padding: 8px 6px;
  font-size: 11.5px; font-weight: 700;
  background: rgba(91,192,190,0.10); color: var(--teal-bright);
  border: 1px solid rgba(91,192,190,0.30);
  border-radius: 9px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}

/* Intake screen */
.dv-intake-title { font-size: 16px; font-weight: 700; color: var(--text-dim); margin-bottom: 14px; }
.dv-bubble { border-radius: 16px; padding: 12px 14px; font-size: 12.5px; line-height: 1.45; margin-bottom: 10px; max-width: 92%; }
.dv-bubble.coach { background: var(--teal); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.dv-bubble.ai { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 4px; }
.dv-typing-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.dv-copilot-mark {
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--teal-grad-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: #07120F; font-weight: 800; font-size: 10px;
  flex-shrink: 0;
}
.dv-copilot-mark::after { content: "w"; }
.dv-dots { display: inline-flex; gap: 4px; padding: 2px 0; }
.dv-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-dim);
  animation: dvBlink 1.2s infinite ease-in-out;
}
.dv-dots span:nth-child(2) { animation-delay: 0.15s; }
.dv-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dvBlink {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}
.dv-tiny { font-size: 10.5px; color: var(--text-mute); margin-top: 2px; }

.dv-profile-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transform: translateY(8px); opacity: 0;
  animation: dvSlideUp 600ms 0.3s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes dvSlideUp { to { transform: translateY(0); opacity: 1; } }
.dv-profile-head {
  padding: 10px 12px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; color: var(--text);
}
.dv-profile-head .saved {
  margin-left: auto; font-size: 10px; color: var(--success);
  display: inline-flex; align-items: center; gap: 4px;
}
.dv-profile-head .saved .dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; }
.dv-profile-body { padding: 14px; }
.dv-profile-id { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dv-profile-id .av-lg {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #E89AAA, #A85770);
  color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.dv-profile-id .nm { font-size: 15px; font-weight: 700; color: var(--text); }
.dv-profile-id .meta { font-size: 10.5px; color: var(--text-dim); margin-top: 1px; }
.dv-section-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-mute); text-transform: uppercase; margin-bottom: 4px; }
.dv-goal { font-size: 12.5px; line-height: 1.45; color: var(--text); margin-bottom: 12px; }
.dv-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 999px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; margin-bottom: 12px;
}
.dv-tag.amber { color: var(--amber); background: rgba(224,164,88,0.14); border: 1px solid rgba(224,164,88,0.30); }
.dv-stats { display: flex; gap: 8px; }
.dv-stat-mini {
  flex: 1; padding: 9px 10px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.dv-stat-mini .l { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-mute); text-transform: uppercase; }
.dv-stat-mini .v { font-size: 15px; font-weight: 800; color: var(--text); margin-top: 2px; }
.dv-stat-mini .s { font-size: 9.5px; color: var(--text-mute); margin-top: 1px; }

/* Check-in — vertical spacing tightened so the full screen (header →
   question → emoji → slider → Energy section → button → "Your coach
   will review this" caption) fits inside the device frame with no
   bottom clip. */
.dv-checkin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dv-progress-dots { display: flex; gap: 5px; }
.dv-progress-dots .pd { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.dv-progress-dots .pd.active { width: 18px; border-radius: 999px; background: var(--teal-bright); }
.dv-checkin-q { text-align: center; font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: 16px; }
.dv-emoji { text-align: center; font-size: 48px; line-height: 1; margin-bottom: 12px; }
.dv-slider { padding: 0 14px; }
.dv-slider-track { position: relative; height: 6px; background: rgba(255,255,255,0.10); border-radius: 999px; margin-bottom: 8px; }
.dv-slider-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 65%; border-radius: 999px; background: var(--teal-grad-2); }
.dv-slider-thumb { position: absolute; top: 50%; left: 65%; width: 18px; height: 18px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 8px rgba(0,0,0,0.30); }
.dv-slider-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-mute); }
.dv-slider-labels .center { color: var(--text); font-weight: 700; font-size: 14px; }
.dv-checkin-options { display: flex; flex-direction: column; gap: 8px; }
.dv-option {
  padding: 11px 14px; border-radius: 12px;
  font-size: 13px; font-weight: 600; color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.dv-option .swatch { width: 9px; height: 9px; border-radius: 50%; }
.dv-option.selected { background: rgba(91,192,190,0.10); border-color: rgba(91,192,190,0.50); color: var(--teal-bright); }
.dv-btn-primary {
  margin-top: auto;
  width: 100%; padding: 13px;
  background: var(--teal-grad-2); color: #07120F;
  border: 0; border-radius: 14px;
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 6px 16px rgba(91,192,190,0.30);
}

/* Flag detail */
.dv-flag-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.dv-flag-head .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #E89AAA, #A85770);
  color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.dv-flag-head .nm { font-size: 15px; font-weight: 700; color: var(--text); }
.dv-flag-head .sub { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
.dv-flag-card {
  background: linear-gradient(135deg, rgba(227,100,100,0.10) 0%, rgba(224,164,88,0.04) 100%);
  border: 1px solid rgba(227,100,100,0.25);
  border-radius: 14px; padding: 12px; margin-bottom: 12px;
}
.dv-flag-card .label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--danger); margin-bottom: 6px; }
.dv-flag-card .body { font-size: 13.5px; color: var(--text); line-height: 1.45; }
.dv-flag-card .signals { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.dv-signal-chip {
  font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--text); display: inline-flex; align-items: center; gap: 4px;
}
.dv-draft-card {
  background: rgba(91,192,190,0.06);
  border: 1px dashed rgba(91,192,190,0.40);
  border-radius: 14px; padding: 12px; margin-bottom: 12px;
}
.dv-draft-card .label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-bright); margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 5px;
}
.dv-draft-card .body { font-size: 13.5px; color: var(--text); line-height: 1.5; font-style: italic; }
.dv-draft-actions { display: flex; gap: 6px; }
.dv-draft-actions .send {
  flex: 1; padding: 9px; border: 0; border-radius: 10px;
  background: var(--teal-grad-2); color: #07120F;
  font-size: 12px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.dv-draft-actions .edit {
  padding: 9px 12px; border: 1px solid var(--border-2);
  background: transparent; color: var(--text);
  border-radius: 10px; font-size: 12px; font-weight: 600; cursor: pointer;
}

.dv-pane { display: none; height: 100%; flex-direction: column; }
.dv-pane.active { display: flex; }
.typing-cursor::after {
  content: "▍"; color: var(--text); margin-left: 1px;
  animation: blink 0.9s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ─── Testimonials ─── */
.testimonials { background: var(--bg); }
.testi-grid {
  display: grid;
  /* All three columns the same width — no featured / lead-quote card. */
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.testimonial {
  /* Warmed surface: keeps the dark theme but adds a faint amber wash
     so the card reads as inviting rather than terminal/stark. */
  background:
    linear-gradient(165deg, rgba(255,236,202,0.025) 0%, rgba(255,255,255,0.012) 100%),
    var(--surface);
  border: 1px solid rgba(255,245,225,0.08);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.testimonial:hover { transform: translateY(-3px); border-color: rgba(255,245,225,0.16); }
.testimonial.lead-quote {
  background:
    linear-gradient(165deg, rgba(91,192,190,0.10) 0%, rgba(255,255,255,0.02) 70%),
    var(--surface);
  border-color: rgba(91,192,190,0.25);
}
.stars { color: var(--amber); margin-bottom: 16px; font-size: 14px; letter-spacing: 1.5px; }
.testimonial blockquote {
  margin: 0 0 22px; font-size: 16px; line-height: 1.55; color: var(--text);
  font-weight: 500;
}
.testimonial.lead-quote blockquote { font-size: 22px; line-height: 1.42; font-weight: 600; letter-spacing: -0.015em; }
/* Subtle quotation-mark glyph at the top of each card — identical on
   all three, drawn from the brand teal, low-opacity so it reads as a
   visual cue (this is a quote) rather than a decoration competing
   with the copy. No avatar or rating — the section is framed as
   paraphrased notes, not solicited reviews. */
.testimonial::before {
  content: "\201C";  /* curly left double quote */
  display: block;
  font-family: "Inter Tight", system-ui, serif;
  font-size: 48px; line-height: 0.8;
  color: var(--teal-bright);
  opacity: 0.32;
  margin-bottom: 6px;
}
.testimonial.lead-quote::before { opacity: 0.42; }

.testimonial-author { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  flex-shrink: 0;
  background: var(--teal-soft);
  color: var(--teal-bright);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(91,192,190,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
/* All three testimonial avatars use the same brand teal/mint frame
   (inherited from .author-avatar above). Only the icon shape differs
   per niche — dumbbell / leaf / heart — so the set reads as one
   cohesive family. The .av-strength / .av-nutrition / .av-wellness
   class names are kept in the markup as semantic hooks; no styling
   diverges from the base. */
.author-name { font-weight: 700; color: var(--text); font-size: 14px; }
.author-role { color: var(--text-dim); font-size: 13px; }

/* Founder proof block — portrait + short note, above the quotes. */
.founder-block {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 36px); align-items: center;
  max-width: 880px; margin: 0 auto clamp(36px, 5vw, 56px);
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(165deg, rgba(91,192,190,0.10) 0%, rgba(255,255,255,0.02) 60%);
  border: 1px solid rgba(91,192,190,0.22);
  border-radius: var(--r-lg);
}
.founder-portrait { flex-shrink: 0; }
.founder-portrait img,
.founder-portrait__placeholder {
  width: clamp(96px, 12vw, 132px); height: clamp(96px, 12vw, 132px);
  border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(91,192,190,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.founder-portrait__placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-bright);
}
.founder-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 12px;
}
.founder-quote {
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; color: var(--text-2);
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.founder-attribution { display: flex; flex-direction: column; gap: 2px; }
.founder-name { font-weight: 700; color: var(--text); font-size: 14px; }
.founder-role { color: var(--text-dim); font-size: 13px; }
.founder-credibility {
  margin: 14px 0 0; font-size: 13px; line-height: 1.5;
  color: var(--text-dim); font-style: italic;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 200ms ease, background 200ms ease;
}
.faq-item:hover { border-color: var(--border-2); }
.faq-item[open] {
  border-color: rgba(91,192,190,0.30);
  background: var(--surface-2);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  font-weight: 700; font-size: 16.5px; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--teal-bright);
  line-height: 1; transition: transform 220ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 24px 22px; color: var(--text-dim);
  font-size: 15.5px; line-height: 1.6;
}

/* ─── Final CTA ─── */
.cta-final {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(91,192,190,0.18), transparent 60%),
    radial-gradient(ellipse 55% 50% at 15% 90%, rgba(200,230,181,0.10), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta-card {
  max-width: 760px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(91,192,190,0.25);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(91,192,190,0.10), transparent 70%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card h2 { margin: 14px 0; }
.cta-card .lead { max-width: 520px; margin: 0 auto 28px; }
.cta-card .inline-form { margin: 0 auto; max-width: 520px; }
.cta-card .micro { margin-top: 18px; font-size: 13px; color: var(--text-dim); }

/* Over a photo background, drop the solid panel and align the content
   to the right half so the coaching scene stays visible on the left. */
.cta-final.has-bg-photo .cta-card {
  max-width: 470px;
  margin-left: auto; margin-right: 0;
  background: none; border: none; box-shadow: none;
  padding: 0; text-align: left; overflow: visible;
}
.cta-final.has-bg-photo .cta-card::before { display: none; }
.cta-final.has-bg-photo .cta-card .lead { margin-left: 0; margin-right: 0; max-width: 100%; }
.cta-final.has-bg-photo .cta-card .inline-form { margin-left: 0; margin-right: 0; max-width: 100%; }
/* Email field gets its own semi-opaque dark surface so it reads
   clearly as an input over the photo. Button is left untouched. */
.cta-final.has-bg-photo .cta-card .inline-form {
  background: rgba(8,9,10,0.66);
  border-color: var(--border-2);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

@media (max-width: 900px) {
  /* Full-width stack: content spans the section again, centered. */
  .cta-final.has-bg-photo .cta-card {
    max-width: 560px; margin-left: auto; margin-right: auto;
    text-align: center;
  }
  .cta-final.has-bg-photo .cta-card .lead { margin-left: auto; margin-right: auto; max-width: 520px; }
  .cta-final.has-bg-photo .cta-card .inline-form { margin-left: auto; margin-right: auto; }
}


/* ─── Footer ─── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  padding: 60px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); max-width: 320px; margin: 0; }
.footer-col h4 {
  color: var(--text); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--text); }
.footer-bot {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-mute);
  flex-wrap: wrap; gap: 12px;
}

/* ─── Reveal on scroll ─── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .features-split { grid-template-columns: 1fr; gap: 20px; }
  .feature-cols { grid-template-columns: 1fr; gap: 18px; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testimonial.lead-quote { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(8,9,10,0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px; gap: 12px;
  }
  .header-cta .btn-sm { padding: 8px 14px; font-size: 13px; }
  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-demo { min-height: 600px; }
  .pains-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .dts-pill { font-size: 12px; padding: 7px 12px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-divider { writing-mode: horizontal-tb; padding: 12px 0; }
  .showcase-stage { grid-template-columns: 1fr; }
  .showcase-frame-wrap { min-height: 680px; order: -1; }
  .showcase-copy { text-align: center; }
  .showcase-bullets li { text-align: left; }
  /* How-it-works steps: single column, phone always above its copy. */
  .howit-step { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; }
  .howit-step .howit-media, .howit-step--reverse .howit-media { order: 0; }
  .howit-step .howit-copy,  .howit-step--reverse .howit-copy  { order: 1; }
  .howit-copy p { max-width: 520px; margin-left: auto; margin-right: auto; }
  .founder-block { grid-template-columns: 1fr; text-align: center; }
  .founder-portrait { margin: 0 auto; }
  .testi-grid { grid-template-columns: 1fr; }
  .testimonial.lead-quote { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .sticky-cta .copy .s { display: none; }
}

/* Stack the inline waitlist forms (input above button) below tablet
   widths. The long primary-button labels squeeze the horizontal row
   here, so stacking keeps the full "you@yourcoaching.com" placeholder
   visible. The input goes full-width; the field/button styling
   (including the CTA's semi-opaque dark field over the photo) is
   unchanged. */
@media (max-width: 768px) {
  .inline-form {
    flex-direction: column; padding: 10px; border-radius: 18px;
  }
  .inline-form input[type="email"] { min-width: 0; width: 100%; padding: 14px 12px; }
  .inline-form .btn { width: 100%; }
}

@media (max-width: 600px) {
  /* The inline header "Join the waitlist" button crowds the header next
     to the brand + hamburger on phones. Hide it here — the hamburger
     menu, the hero email form, and the sticky bottom CTA all carry the
     conversion path on mobile. (Targets only the .btn anchor, not the
     .menu-btn hamburger.) */
  .header-cta .btn { display: none; }
  /* Hide the hero sub-headline on phones to keep the fold tight. */
  .hero-sub { display: none; }
  /* Extra top breathing room in the hero on phones only. */
  .hero { padding-top: 100px; }
  .feature-hero { padding: 22px; }
  .feature-group { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
  /* Phone mockups: render at full DESIGN dimensions on mobile too, and
     scale the whole device as a single unit. This keeps the internal
     layout (KPI labels, card text, pills) identical to desktop — no
     ellipsis, no name wraps, no pill clipping. Negative margin-bottom
     reclaims the layout height the scale leaves unused at the bottom.
     Wrappers keep overflow: hidden so the 320/300-wide layout box can
     never push the page wider than the column it sits in. */
  .hero-demo, .howit-media { overflow: hidden; }
  .hero-device {
    width: 300px; height: 600px;
    border-radius: 42px;
    transform: scale(0.9);
    transform-origin: top center;
    margin-bottom: calc(600px * -0.10);
  }
  .device {
    width: 320px; height: 640px;
    transform: scale(0.875);
    transform-origin: top center;
    margin-bottom: calc(640px * -0.125);
  }
  .hero-demo { min-height: 580px; }
  .sticky-cta .copy .t { font-size: 13px; }
  .trust-row { gap: 20px 28px; }
}

/* Mobile type scale — coherent step-down across eyebrows, headlines,
   body, and the compare-stat number, so the largest elements come
   down together and nothing dominates the screen. Uses clamp() so the
   scale flows smoothly between ~320 and 480 instead of snapping at
   one fixed width. Above 480px the desktop type stays exactly as-is. */
@media (max-width: 480px) {
  h1 { font-size: clamp(26px, 8vw, 32px); }
  h2 { font-size: clamp(22px, 6.5vw, 28px); }
  h3 { font-size: 17px; }
  .lead     { font-size: clamp(15px, 4.4vw, 17px); }
  .hero-sub { font-size: clamp(15px, 4.4vw, 17px); }
  /* All eyebrows scale down for mobile. The hero one carries the
     longest string on the page ("FOR ONLINE FITNESS & WELLNESS
     COACHES"), so it gets a touch smaller font + tighter
     letter-spacing + tighter horizontal padding so it sits cleanly
     on a single line at 360px (with the global white-space: nowrap
     guaranteeing it can never wrap). */
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 5px 10px;
  }
  .hero-eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.06em;
    padding: 5px 12px;
  }
  /* Stat numbers (compare section): stack vertically — number on its
     own line, label beneath — and bring the number down so "~10 min"
     never breaks across two lines. */
  .compare-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .compare-stat .n { font-size: clamp(22px, 7vw, 28px); }
  .compare-stat .l { font-size: 12px; }
}

@media (max-width: 400px) {
  /* Container padding tightens slightly on the narrowest phones; the
     ≤480 type scale already handles headlines + eyebrow. Device scale
     drops a notch further so the visual phones leave a sane gutter
     inside the 360px viewport. */
  .container { padding: 0 18px; }
  .hero-device {
    transform: scale(0.833);
    margin-bottom: calc(600px * -0.167);
  }
  .device {
    transform: scale(0.8125);
    margin-bottom: calc(640px * -0.1875);
  }
  .hero-demo { min-height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-pane { transition: none !important; }
}

/* ─── Fixed waitlist bar clearance ───
   The fixed bottom waitlist bar (.sticky-cta) can cover the last FAQ
   accordion on short viewports. Add bottom room to the FAQ on short
   screens, and make in-page anchor jumps account for the bar height. */
html { scroll-padding-bottom: 96px; }
@media (max-height: 900px) {
  #faq { padding-bottom: 112px; }
}

/* ─── Cookie consent banner ───
   Full-width bar pinned to the bottom, styled like the site header (blurred
   dark surface, thin top border). Sits above the sticky waitlist bar
   (z-index 60) so the one-time consent choice always takes priority. */
.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: rgba(8,9,10,0.85);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-top: 1px solid var(--border-2, rgba(255,255,255,0.12));
  /* Keep the buttons clear of the iOS home indicator. */
  padding-bottom: env(safe-area-inset-bottom);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent .cc-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 54px; padding-top: 10px; padding-bottom: 10px;
}
.cookie-consent .cc-text {
  margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-dim);
}
.cookie-consent .cc-text a { color: var(--text); text-decoration: underline; }
.cookie-consent .cc-actions { display: flex; gap: 8px; flex-shrink: 0; }
/* Mobile: stack the copy above full-width buttons so nothing is cramped. */
@media (max-width: 560px) {
  .cookie-consent .cc-inner {
    flex-direction: column; align-items: stretch; gap: 10px;
    padding-top: 12px; padding-bottom: 12px;
  }
  .cookie-consent .cc-actions { justify-content: stretch; }
  .cookie-consent .cc-actions .btn { flex: 1; justify-content: center; }
}
