/* =====================================================================
   IntelSDR — landing page
   ---------------------------------------------------------------------
   Dark-default, premium SaaS aesthetic. Mirrors the popup palette:
   warm-neutral text, indigo accent (#5b5ef7 / #8b8dff), layered shadows.
   ===================================================================== */

:root {
  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Dark theme (default) */
  --bg: #080a0f;
  --bg-elevated: #0e1118;
  --bg-inset: #11141c;
  --surface: #14182090;
  --surface-strong: #1a1f2a;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);

  --ink: #fafaf9;
  --text: #d9dde7;
  --text-muted: #9ca3b7;
  --text-faint: #5d6478;

  --accent: #8b8dff;
  --accent-hot: #6366f1;
  --accent-soft: rgba(139, 141, 255, 0.16);
  --accent-glow: rgba(99, 102, 241, 0.55);

  --success: #4ade80;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px -4px rgba(0, 0, 0, 0.45),
    0 18px 40px -16px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 12px 30px -8px rgba(0, 0, 0, 0.55),
    0 32px 80px -24px rgba(0, 0, 0, 0.6);

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --t-fast: 140ms cubic-bezier(0.4, 0, 0.2, 1);
  --t: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* One soft top glow only — let the hero glow carry the spotlight. */
  background-image:
    radial-gradient(60% 40% at 75% -8%, rgba(99, 102, 241, 0.12), transparent 70%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
}

/* ---------- Layout helpers ---------- */

.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 96px 32px;
}

@media (max-width: 680px) {
  .section {
    padding: 72px 20px;
  }
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
/* Tight variant — used when the section's content already supplies its
 * own context (e.g. the Tuesday mirror cards), so we don't need an
 * eyebrow + sub stack chewing up vertical space. */
.section-head-tight {
  margin: 0 auto 32px;
}
.section-head-tight .section-title {
  font-size: 30px;
}
@media (min-width: 768px) {
  .section-head-tight .section-title { font-size: 34px; }
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 680px) {
  .section-title {
    font-size: 30px;
  }
}

.section-sub {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t),
    border-color var(--t), box-shadow var(--t), color var(--t);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 8px 24px -10px var(--accent-glow),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #7375f4 0%, #5a52ea 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 14px 36px -10px var(--accent-glow),
    0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: rgba(8, 10, 15, 0.7);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #1c1917;
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 10px 24px -14px rgba(28, 25, 23, 0.75);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #8b8dff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.brand-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 28px;
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
}

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 32px 96px;
}

@media (max-width: 680px) {
  .hero {
    padding: 64px 20px 72px;
  }
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* One soft glow behind the popup mock. */
  background:
    radial-gradient(38% 42% at 78% 50%, rgba(139, 141, 255, 0.20), transparent 70%);
  filter: blur(6px);
  opacity: 0.9;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 141, 255, 0.28);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  margin: 0 0 22px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 680px) {
  .hero-title {
    font-size: 36px;
  }
}

.grad {
  background: linear-gradient(120deg, #a5b4fc 0%, #6366f1 60%, #818cf8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 0 0 24px;
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 540px;
}

/* ROI / math line — single italic line under the sub. No card, no icon,
 * no border. Just the punch. */
.hero-roi {
  margin: 0 0 28px;
  max-width: 540px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}
.hero-roi strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Hero trust strip — replaces the old 4-bullet hero-meta. Quiet,
 * horizontal, no big check icons screaming for attention. */
.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: -0.005em;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
}
.hero-trust li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
  opacity: 0.6;
  flex-shrink: 0;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  color: var(--success);
  flex-shrink: 0;
}

/* ---------- Hero visual: popup mock ---------- */

.hero-visual {
  position: relative;
}

.popup-mock {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-lg),
    0 0 0 1px rgba(139, 141, 255, 0.08),
    0 0 60px -20px var(--accent-glow);
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
  transform-origin: center;
}

@media (max-width: 980px) {
  .popup-mock {
    transform: none;
    max-width: 480px;
    margin: 0 auto;
  }
}

.popup-mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.popup-mock-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #1c1917;
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.popup-mock-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8b8dff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.20);
}

.popup-mock-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* The live "Generating / Done" indicator that sits in the popup
 * header. Previously it was just naked text + a glowing dot floating
 * against the card edge -- looked unfinished in screenshots. We now
 * wrap it in a proper status pill: subtle indigo-tinted background,
 * thin border, internal padding. The dot keeps its glow but now sits
 * inside a contained chip so the whole header reads as polished UI. */
.popup-mock-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 9px;
  border-radius: 999px;
  background: rgba(139, 141, 255, 0.10);
  border: 1px solid rgba(139, 141, 255, 0.18);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.005em;
  white-space: nowrap;
  flex-shrink: 0;
}

.popup-mock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  flex-shrink: 0;
}

.popup-mock-target {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.popup-mock-target-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-weight: 600;
}

.popup-mock-target-name {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}

.popup-mock-target-domain {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.popup-mock-cta {
  text-align: center;
  padding: 12px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 18px -8px var(--accent-glow);
}

.popup-mock-result {
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
}

.popup-mock-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.popup-mock-stats {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.popup-mock-line {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}

.popup-mock-line:last-child {
  margin-bottom: 0;
}

/* ---------- Animated demo (CSS-only, CSP-safe) ----------
 *
 * The .popup-mock-demo variant turns the static mock into a 12s
 * self-looping demo of the IntelSDR popup running. No JS — the
 * landing page CSP is `script-src 'none'` so every state change
 * is keyframes.
 *
 * Master cycle (all elements share the same 12s clock so they
 * never drift):
 *
 *   0.0s  Idle, target visible, status "Ready"
 *   0.5s  Status flips to "Generating · 0:08", dot turns amber
 *   1.0s  Sentence 1 fades + de-blurs in
 *   2.5s  Sentence 2
 *   4.0s  Sentence 3
 *   5.5s  Sentence 4
 *   6.5s  Status flips to "Done · 8 sec", dot back to green
 *   7.0s  "Copy email" button slides up
 *   8.5s  Press flash
 *   9.0s  Flips to "Copied" (green)
 *   10.5s Reset starts
 *   11.5s Hold blank
 *   12.0s Loop
 *
 * prefers-reduced-motion freezes everything in the "done" state
 * so the user still sees the full email.
 */

/* ---- Caption strip above the mock ---- */
.demo-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.22);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.demo-caption-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #818cf8;
  animation: demo-caption-pulse 2.4s ease-out infinite;
}
@keyframes demo-caption-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(129, 140, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
}

/* ---- Status badge state stack ----
 * The 3 states ("Ready" / "Generating · 0:08" / "Done · 8 sec") all live
 * in the SAME CSS grid cell, so the pill auto-sizes to the widest of the
 * three (Generating) and never has dead empty space inside it.
 * `justify-items: center` keeps the shorter states centered inside the
 * pill instead of right-clamped, which previously left a visible void
 * in the top-right of the popup once the cycle landed on "Done". */
.popup-mock-demo .popup-mock-status-stack {
  display: inline-grid;
  grid-template-columns: max-content;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
  line-height: 1;
}
.popup-mock-demo .popup-mock-status-state {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
  line-height: 1;
}
.popup-mock-demo .popup-mock-status-state-ready { animation: demo-status-ready 12s linear infinite; }
.popup-mock-demo .popup-mock-status-state-gen   { animation: demo-status-gen   12s linear infinite; color: #fcd34d; }
.popup-mock-demo .popup-mock-status-state-done  { animation: demo-status-done  12s linear infinite; color: #4ade80; }

@keyframes demo-status-ready {
  0%, 2%    { opacity: 1; }
  4%, 88%   { opacity: 0; }
  92%, 100% { opacity: 1; }
}
@keyframes demo-status-gen {
  0%, 4%    { opacity: 0; }
  7%, 52%   { opacity: 1; }
  56%, 100% { opacity: 0; }
}
@keyframes demo-status-done {
  0%, 54%   { opacity: 0; }
  58%, 86%  { opacity: 1; }
  90%, 100% { opacity: 0; }
}

/* Status dot color tracks the same cycle */
.popup-mock-demo .popup-mock-status-dot {
  animation: demo-dot 12s linear infinite;
}
@keyframes demo-dot {
  0%, 4%    { background: var(--success); box-shadow: 0 0 8px var(--success); }
  6%, 52%   { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.7); }
  54%, 86%  { background: var(--success); box-shadow: 0 0 8px var(--success); }
  90%, 100% { background: var(--success); box-shadow: 0 0 8px var(--success); }
}

/* ---- Sentences fade + de-blur in sequence ---- */
.popup-mock-demo .popup-mock-line {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(3px);
  will-change: opacity, transform, filter;
}
.popup-mock-demo .popup-mock-line-1 { animation: demo-line-1 12s ease-out infinite; }
.popup-mock-demo .popup-mock-line-2 { animation: demo-line-2 12s ease-out infinite; }
.popup-mock-demo .popup-mock-line-3 { animation: demo-line-3 12s ease-out infinite; }
.popup-mock-demo .popup-mock-line-4 { animation: demo-line-4 12s ease-out infinite; }

@keyframes demo-line-1 {
  0%, 7%     { opacity: 0; filter: blur(3px); transform: translateY(3px); }
  11%, 88%   { opacity: 1; filter: blur(0);   transform: translateY(0);   }
  92%, 100%  { opacity: 0; filter: blur(2px); transform: translateY(0);   }
}
@keyframes demo-line-2 {
  0%, 19%    { opacity: 0; filter: blur(3px); transform: translateY(3px); }
  23%, 88%   { opacity: 1; filter: blur(0);   transform: translateY(0);   }
  92%, 100%  { opacity: 0; filter: blur(2px); transform: translateY(0);   }
}
@keyframes demo-line-3 {
  0%, 32%    { opacity: 0; filter: blur(3px); transform: translateY(3px); }
  36%, 88%   { opacity: 1; filter: blur(0);   transform: translateY(0);   }
  92%, 100%  { opacity: 0; filter: blur(2px); transform: translateY(0);   }
}
@keyframes demo-line-4 {
  0%, 44%    { opacity: 0; filter: blur(3px); transform: translateY(3px); }
  48%, 88%   { opacity: 1; filter: blur(0);   transform: translateY(0);   }
  92%, 100%  { opacity: 0; filter: blur(2px); transform: translateY(0);   }
}

/* The 4-sentence stat tag also waits until the email is "ready" */
.popup-mock-demo .popup-mock-stats {
  opacity: 0;
  animation: demo-stats 12s ease-out infinite;
}
@keyframes demo-stats {
  0%, 45%   { opacity: 0; }
  49%, 88%  { opacity: 1; }
  92%, 100% { opacity: 0; }
}

/* ---- Copy email button ---- */
.popup-mock-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.popup-mock-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 116px;
  padding: 0 14px;
  border-radius: var(--r-md);
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
}
.popup-mock-copy-stack {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 16px;
}
.popup-mock-copy-state {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  opacity: 0;
}
/* Demo: button slides up + presses + flips to "Copied" */
.popup-mock-demo .popup-mock-copy { animation: demo-copy 12s ease-out infinite; }
.popup-mock-demo .popup-mock-copy-idle { animation: demo-copy-idle 12s linear infinite; }
.popup-mock-demo .popup-mock-copy-done { animation: demo-copy-done 12s linear infinite; }

@keyframes demo-copy {
  0%, 53%    { opacity: 0; transform: translateY(6px) scale(0.96);
               background: var(--surface-strong);
               border-color: var(--border-strong);
               color: var(--text); }
  58%, 67%   { opacity: 1; transform: translateY(0)   scale(1);
               background: var(--surface-strong);
               border-color: var(--border-strong);
               color: var(--text); }
  70%        { opacity: 1; transform: translateY(0)   scale(0.95);
               background: rgba(99, 102, 241, 0.20);
               border-color: rgba(99, 102, 241, 0.55); }
  73%        { opacity: 1; transform: translateY(0)   scale(1);
               background: rgba(74, 222, 128, 0.10);
               border-color: rgba(74, 222, 128, 0.45);
               color: #4ade80; }
  86%        { opacity: 1; transform: translateY(0)   scale(1);
               background: rgba(74, 222, 128, 0.10);
               border-color: rgba(74, 222, 128, 0.45);
               color: #4ade80; }
  92%, 100%  { opacity: 0; transform: translateY(2px) scale(0.96);
               background: var(--surface-strong);
               border-color: var(--border-strong);
               color: var(--text); }
}
@keyframes demo-copy-idle {
  0%, 70%   { opacity: 1; }
  72%, 100% { opacity: 0; }
}
@keyframes demo-copy-done {
  0%, 70%   { opacity: 0; }
  73%, 100% { opacity: 1; }
}

/* ---- prefers-reduced-motion: freeze on the "completed" frame ---- */
@media (prefers-reduced-motion: reduce) {
  .demo-caption-pulse,
  .popup-mock-demo .popup-mock-status-dot,
  .popup-mock-demo .popup-mock-status-state,
  .popup-mock-demo .popup-mock-line,
  .popup-mock-demo .popup-mock-stats,
  .popup-mock-demo .popup-mock-copy,
  .popup-mock-demo .popup-mock-copy-state {
    animation: none !important;
  }
  .popup-mock-demo .popup-mock-line  { opacity: 1; filter: none; transform: none; }
  .popup-mock-demo .popup-mock-stats { opacity: 1; }
  .popup-mock-demo .popup-mock-status-state-ready,
  .popup-mock-demo .popup-mock-status-state-gen { opacity: 0; }
  .popup-mock-demo .popup-mock-status-state-done { opacity: 1; color: #4ade80; }
  .popup-mock-demo .popup-mock-status-dot {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
  }
  .popup-mock-demo .popup-mock-copy {
    opacity: 1; transform: none;
  }
  .popup-mock-demo .popup-mock-copy-idle { opacity: 1; }
  .popup-mock-demo .popup-mock-copy-done { opacity: 0; }
}

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 141, 255, 0.35);
  box-shadow: var(--shadow-md),
    0 0 0 1px rgba(139, 141, 255, 0.12);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(139, 141, 255, 0.28);
}

.step-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.step-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  position: relative;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t);
}

.feature:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.feature-tier {
  border-color: rgba(139, 141, 255, 0.24);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(139, 141, 255, 0.07), transparent 60%),
    var(--bg-elevated);
}

.feature-tier:hover {
  border-color: rgba(139, 141, 255, 0.42);
}

.feature-tier-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.16),
    rgba(168, 85, 247, 0.18)
  );
  color: #a5b4fc;
  border: 1px solid rgba(168, 85, 247, 0.34);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.feature-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Pricing (3-tier grid) ---------- */

.section-pricing {
  display: block;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 980px) {
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 18px;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 32px 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t),
    box-shadow var(--t);
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

/* Pro tier — clean, neutral */
.price-card.price-pro .price-card-tag {
  background: rgba(100, 116, 139, 0.10);
  color: var(--text-muted);
  border-color: rgba(100, 116, 139, 0.22);
}

/* Pro+ — featured, accent-glowing */
.price-card.is-featured {
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(139, 141, 255, 0.18), transparent 70%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border-color: rgba(139, 141, 255, 0.45);
  box-shadow: var(--shadow-lg),
    0 0 0 1px rgba(139, 141, 255, 0.20),
    0 0 80px -20px var(--accent-glow);
  /* Subtle vertical scale to draw the eye on desktop */
  transform: translateY(-6px);
}

@media (max-width: 980px) {
  .price-card.is-featured {
    transform: none;
  }
}

.price-card.is-featured:hover {
  transform: translateY(-9px);
}

@media (max-width: 980px) {
  .price-card.is-featured:hover {
    transform: translateY(-3px);
  }
}

/* Ribbon — Most popular */
.price-card-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

/* Pro+ tag styling matches the ribbon */
.price-card.price-proplus .price-card-tag {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.18),
    rgba(168, 85, 247, 0.20)
  );
  color: #a5b4fc;
  border-color: rgba(168, 85, 247, 0.4);
}

/* Max tier — premium amber/rose accent */
.price-card.price-max {
  border-color: rgba(245, 158, 11, 0.28);
}

.price-card.price-max .price-card-tag {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.18),
    rgba(244, 63, 94, 0.18)
  );
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.42);
}

.price-card.price-max:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

/* Compact comparison strip — replaces the old standalone "math" section.
 * Lives directly under the pricing cards. Quiet table look, no eyebrow,
 * no h2, no sub. Reader has the offer, this just kills the "what about
 * Lavender / Apollo?" objection on the way to checkout. */
.price-compare {
  max-width: 880px;
  margin: 40px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}
.price-compare-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.1fr) minmax(90px, 0.8fr) minmax(180px, 2fr);
  gap: 14px;
  padding: 12px 18px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.005em;
}
.price-compare-row:last-child { border-bottom: none; }
.price-compare-head {
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 700;
  color: var(--text-faint);
  padding-top: 9px;
  padding-bottom: 9px;
}
.price-compare-name {
  color: var(--ink);
  font-weight: 600;
}
.price-compare-price {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.price-compare-price strong {
  font-weight: 700;
  color: var(--ink);
}
.price-compare-us .price-compare-name {
  color: var(--accent);
}
@media (max-width: 640px) {
  .price-compare-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 14px;
  }
  .price-compare-row:not(.price-compare-head) .price-compare-price {
    font-size: 12.5px;
    color: var(--text-muted);
  }
  .price-compare-head { display: none; }
}

/* ROI math line — anchored above the dim privacy footnote so it
 * lands as a primary statement, not a footnote. */
.price-grid-roi {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 18px 22px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.005em;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 60%),
    var(--bg-elevated);
}

.price-grid-roi strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 680px) {
  .price-grid-roi {
    font-size: 14.5px;
    padding: 16px 18px;
  }
}

/* Footer line under the grid */
.price-grid-foot {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 0 16px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

.price-grid-foot a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed currentColor;
}

.price-grid-foot a:hover {
  color: var(--ink);
  border-bottom-style: solid;
}

.price-card-head {
  text-align: center;
  margin-bottom: 24px;
}

.price-card-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(139, 141, 255, 0.28);
  margin-bottom: 16px;
}

.price-card-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.price-card-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.price-card-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.amount-currency {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 600;
}

.amount-figure {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.amount-period {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-card-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0 0 22px;
  border-bottom: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.price-card-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}

.price-card-list li strong {
  color: var(--ink);
  font-weight: 650;
}

.price-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
}

.price-card-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

.price-card-foot {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform var(--t), background var(--t);
}

.faq-item[open] .faq-q::after {
  content: "−";
  transform: rotate(0deg);
}

.faq-a {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.faq-a p {
  margin: 0 0 10px;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(139, 141, 255, 0.4);
}

.faq-a a:hover {
  text-decoration-color: var(--accent);
}

/* ---------- Final CTA ---------- */

.section-cta {
  padding-bottom: 120px;
}

.cta-card {
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(99, 102, 241, 0.22), transparent 70%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.cta-title {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

@media (max-width: 680px) {
  .cta-title {
    font-size: 28px;
  }
}

.cta-sub {
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 540px;
}

/* ---------- Footer ---------- */

.footer {
  padding: 40px 32px 56px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.footer-tag {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-left: 4px;
}

@media (max-width: 680px) {
  .footer-tag {
    display: none;
  }
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--ink);
}

/* =====================================================================
   COMPONENTS — added in the v2 copy/visual pass
   --------------------------------------------------------------------- */

/* Hero — emphasis word ("In 8 seconds.") */
.hero-bold {
  color: var(--ink);
  font-weight: 700;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(99, 102, 241, 0.18) 60%,
    rgba(99, 102, 241, 0.18) 100%
  );
  padding: 0 2px;
}

/* ---------- Scene (the "9:47am" moment) ---------- */

/* ---------- Before / After ---------- */

.section-proof {
  /* slightly tighter rhythm than default sections so the cards breathe */
  padding-bottom: 80px;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 760px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}

.ba-card {
  position: relative;
  padding: 22px 22px 26px;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.ba-card:hover {
  transform: translateY(-2px);
}

.ba-bad {
  border-color: rgba(244, 63, 94, 0.22);
  background: linear-gradient(
    180deg,
    rgba(244, 63, 94, 0.04) 0%,
    var(--bg-elevated) 60%
  );
}

.ba-good {
  border-color: rgba(139, 141, 255, 0.32);
  background: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.06) 0%,
    var(--bg-elevated) 60%
  );
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 141, 255, 0.10);
}

.ba-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ba-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ba-stamp {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ba-stamp-bad {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.32);
}

.ba-stamp-good {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 141, 255, 0.32);
}

.ba-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}

.ba-bad .ba-body {
  color: var(--text-muted);
}

/* ---------- Stat Strip ---------- */

.stat-strip {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 880px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .stat-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.stat-num {
  font-size: 56px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #b8baeb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 880px) {
  .stat-num {
    font-size: 44px;
  }
}

.stat-label {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-muted);
  letter-spacing: -0.005em;
  max-width: 230px;
}

/* ---------- Comparison Table ---------- */

.compare {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elevated);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  align-items: center;
}

.compare-row:last-child {
  border-bottom: none;
}

@media (max-width: 680px) {
  .compare-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 6px 16px;
  }
  .compare-row > :nth-child(3) {
    grid-column: 1 / -1;
    color: var(--text-muted);
    font-size: 13.5px;
  }
}

.compare-head {
  background: var(--bg-inset);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 22px;
}

.compare-row-hero {
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.10) 0%,
    rgba(139, 141, 255, 0.04) 100%
  );
  font-weight: 600;
  color: var(--ink);
}

.compare-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.compare-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.compare-mark::after {
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
}

.compare-price {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.compare-row-hero .compare-price strong {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.compare-foot {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Founder Letter ---------- */

.section-founder {
  padding-bottom: 60px;
}

.founder-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 44px 44px;
  border-radius: var(--r-xl);
  background: linear-gradient(
    180deg,
    var(--bg-elevated) 0%,
    var(--bg-inset) 100%
  );
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-hot) 0%,
    var(--accent) 60%,
    transparent 100%
  );
}

@media (max-width: 680px) {
  .founder-card {
    padding: 32px 24px 36px;
  }
}

.founder-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.founder-avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-inset);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.founder-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-greeting {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.founder-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.founder-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.founder-body p {
  margin: 0 0 14px;
}

.founder-body p:last-child {
  margin-bottom: 0;
}

.founder-body em {
  color: var(--text-muted);
  font-style: italic;
}

/* "Quick one." opener. The casual hand-on-shoulder lead-in to the
 * letter. Slightly larger, slightly bolder than the body — pulls the
 * eye in but doesn't shout. */
.founder-hook {
  font-size: 17px !important;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px !important;
  letter-spacing: -0.01em;
}

.founder-sig {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px !important;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif;
}

/* ---------- Final CTA — meta line ---------- */

.cta-meta {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.005em;
}

.cta-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================================================================
   COMPONENTS — Sabri-style sales copy modules (v3)
   ===================================================================== */

/* ---------- The 4-Sentence Formula (mechanism reveal) ---------- */

.formula {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 760px) {
  .formula {
    grid-template-columns: 1fr;
  }
}

.formula-step {
  position: relative;
  padding: 24px 26px 26px;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color var(--t), transform var(--t),
    box-shadow var(--t);
}

.formula-step:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 141, 255, 0.32);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 141, 255, 0.08);
}

.formula-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 141, 255, 0.32);
}

.formula-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.formula-body em {
  color: var(--ink);
  font-style: italic;
  font-weight: 600;
}

.footer-copy {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

@media (max-width: 680px) {
  .footer-copy {
    flex-basis: 100%;
    text-align: center;
  }
}

/* =====================================================================
   MIRROR / OUTCOME — Tuesday before & after, split-screen
   ===================================================================== */

.section-mirror {
  padding-top: 56px;
}

.mirror-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 880px) {
  .mirror-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 540px;
  }
}

.mirror-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}

.mirror-before {
  background:
    linear-gradient(180deg, #11141c 0%, #0d1018 100%);
  border-color: rgba(255, 255, 255, 0.07);
}

.mirror-before::after {
  /* Subtle desaturated mood */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(244, 63, 94, 0.06), transparent 70%);
  pointer-events: none;
}

.mirror-after {
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(99, 102, 241, 0.18), transparent 70%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border-color: rgba(139, 141, 255, 0.30);
  box-shadow:
    var(--shadow-md),
    0 0 0 1px rgba(139, 141, 255, 0.10),
    0 0 64px -28px var(--accent-glow);
}

.mirror-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.mirror-time {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.mirror-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mirror-tag-before {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.10);
  border: 1px solid rgba(244, 63, 94, 0.28);
}

.mirror-tag-after {
  color: #a5b4fc;
  background: rgba(139, 141, 255, 0.14);
  border: 1px solid rgba(139, 141, 255, 0.40);
}

.mirror-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.mirror-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}

.mirror-list li strong {
  color: var(--ink);
  font-weight: 650;
}

.mirror-list li em {
  font-style: italic;
  color: var(--text-muted);
}

.mirror-bullet {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.mirror-bullet-bad {
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.45);
  position: relative;
}

.mirror-bullet-bad::before {
  content: "";
  width: 7px;
  height: 1.6px;
  background: #fb7185;
  border-radius: 1px;
}

.mirror-bullet-good {
  background: rgba(74, 222, 128, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.5);
  color: #4ade80;
}

.mirror-foot {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  position: relative;
  z-index: 1;
}

.mirror-stat {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .mirror-stat {
    font-size: 28px;
  }
}

.mirror-before .mirror-stat {
  color: #fb7185;
}

.mirror-after .mirror-stat {
  color: #4ade80;
}

.mirror-stat-label {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* A calmer alternative to .mirror-stat. The aggressive red-vs-green
 * commission counter felt too "Hormozi ad" — this softer label keeps
 * the contrast between the two cards (the BAD card stays red-tinted
 * via the parent .mirror-before, and the AFTER card stays green via
 * .mirror-after) without shouting a dollar figure. */
.mirror-stat-soft {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mirror-before .mirror-stat-soft {
  color: #fb7185;
}

.mirror-after .mirror-stat-soft {
  color: #4ade80;
}

@media (max-width: 480px) {
  .mirror-stat-soft { font-size: 19px; }
}

/* =====================================================================
   HOW IT WORKS -- three plain-English steps. Built for the 50yo VP
   of Sales test: anyone who has used a Chrome extension once should
   understand the workflow without reading more than 30 seconds.
   ===================================================================== */

.section-how {
  padding-top: 56px;
  padding-bottom: 56px;
}

.how-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0 16px;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how-card {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.08), transparent 55%),
    var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--t), transform var(--t);
}

.how-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.how-step {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.how-icon {
  color: var(--accent);
  opacity: 0.85;
  margin: 4px 0 6px;
}

.how-h {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}

.how-p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.how-foot {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 0 16px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 880px) {
  .how-grid { grid-template-columns: 1fr; gap: 12px; }
  .how-card { padding: 24px 22px 22px; }
}

/* =====================================================================
   BUILT AROUND ONE PROMISE -- positioning / craft section.
   Same structural beat as a "what it isn't" section, but framed as
   four deliberate design decisions instead of four denials. Cards
   use big indigo numerals (01..04) instead of red X badges, since
   the whole point is to elevate the buyer's choice not apologise.
   ===================================================================== */

.section-promise {
  padding-top: 56px;
  padding-bottom: 56px;
}

.promise-grid {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.promise-card {
  position: relative;
  padding: 26px 26px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.08), transparent 55%),
    var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t), transform var(--t);
}

.promise-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.promise-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.promise-h {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.3;
  padding-right: 36px;
}

.promise-p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.promise-foot {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 0 16px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .promise-grid { grid-template-columns: 1fr; gap: 12px; }
  .promise-card { padding: 22px 24px; }
}

/* =====================================================================
   REAL VIDEO DEMO — placeholder + iframe slot. The container locks
   the 16:9 aspect ratio on every viewport so any standard recording
   slots in cleanly. The placeholder is shown until a real video is
   embedded. Designed to make the page feel "real / honest" rather
   than the previous CSS popup-mock-only state which felt too slick
   for a non-technical 50yo manager evaluating it.
   ===================================================================== */

.section-video {
  padding-top: 56px;
  padding-bottom: 56px;
}

.video-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 60%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* When the live Loom embed is mounted (.video-frame-live), Loom's iframe
 * always renders its own comment / emoji composer in a 56px bar across
 * the bottom that no URL param can hide. We extend the iframe height by
 * that exact amount and rely on the parent's overflow:hidden + 16:9
 * aspect-ratio to clip the chrome out of view, leaving only the video. */
.video-frame-live iframe {
  top: 0;
  height: calc(100% + 56px);
}

/* ---------- Loom facade ---------------------------------------
 *
 * A lightweight clickable "poster" that stands in for the Loom
 * iframe until the visitor actually presses play. Swapping in the
 * iframe later inherits the .video-frame iframe rules above, so we
 * don't have to re-style it here.
 *
 * Visual goals: clear "this is a video, click to play", premium
 * dark aesthetic that matches the rest of the site, no third-party
 * branding, no images-as-assets — pure CSS, sub-1KB on the wire.
 * ------------------------------------------------------------ */
.loom-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: block;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.loom-facade-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(99, 102, 241, 0.32), transparent 65%),
    radial-gradient(60% 70% at 50% 100%, rgba(99, 102, 241, 0.18), transparent 60%),
    linear-gradient(180deg, #11141c 0%, #080a10 100%);
}

/* Subtle film-grain so the panel doesn't look flat. SVG noise as a
 * data URI — about 600 bytes vs a tiled PNG. */
.loom-facade-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.45;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.loom-facade-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

.loom-facade-play {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.45));
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* Soft pulsing halo so the play button reads as alive, not static.
 * Pauses if the OS asks us to reduce motion. */
.loom-facade-play::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  animation: loom-pulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes loom-pulse {
  0%   { transform: scale(0.86); opacity: 0; }
  35%  { opacity: 0.55; }
  100% { transform: scale(1.45); opacity: 0; }
}

.loom-facade-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink);
  letter-spacing: -0.005em;
  pointer-events: none;
}
.loom-facade-label strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.loom-facade-label span {
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 720px) {
  .loom-facade-play { width: 96px; height: 96px; }
  .loom-facade-label strong { font-size: 17px; }
  .loom-facade-label span   { font-size: 14px; }
}

.loom-facade:hover .loom-facade-play,
.loom-facade:focus-visible .loom-facade-play {
  transform: scale(1.06);
}
.loom-facade:active .loom-facade-play {
  transform: scale(0.97);
}

.loom-facade:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .loom-facade-play::before { animation: none; }
  .loom-facade:hover .loom-facade-play,
  .loom-facade:focus-visible .loom-facade-play { transform: none; }
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 28px;
  color: var(--text-muted);
}

.video-placeholder-icon {
  color: var(--accent);
  opacity: 0.85;
}

.video-placeholder-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.video-placeholder-meta {
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 480px;
  color: var(--text-muted);
}

.video-placeholder-meta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

.video-placeholder-meta a:hover {
  color: var(--ink);
  border-bottom-style: solid;
}

.video-trust {
  max-width: 720px;
  margin: 22px auto 0;
  padding: 0 16px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-faint);
}

@media (max-width: 560px) {
  .video-placeholder-label { font-size: 16px; }
  .video-placeholder-meta { font-size: 13.5px; }
}

/* =====================================================================
   HERO ATMOSPHERE CANVAS — Canvas 2D drifting particles behind hero
   text. Pointer-events disabled so it doesn't intercept clicks. The
   canvas is purely decorative and the hero reads identically without
   it (script may not load, browser may be reduced-motion, etc).
   ===================================================================== */

.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  /* Soft mask that fades the dots out near the right side so they don't
   * compete visually with the popup-mock-demo. */
  mask-image: radial-gradient(120% 100% at 30% 50%, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(120% 100% at 30% 50%, #000 35%, transparent 90%);
}

@media (max-width: 720px) {
  .hero-scene { display: none; }
}

/* Hero stacking — keep all the existing hero content above the canvas
 * regardless of source order. */
.hero .hero-glow,
.hero .hero-inner {
  position: relative;
  z-index: 1;
}

/* =====================================================================
   COUNTER ANIMATIONS — `[data-counter]` elements get a subtle glow
   while ticking and a brief flash when they finish, drawing the eye
   to the moment the number lands.
   ===================================================================== */

[data-counter] {
  /* Reserve the final character width so the page doesn't reflow as
   * the digits change. tabular-nums keeps each glyph identical width. */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.counter-running {
  text-shadow: 0 0 18px currentColor;
}

.counter-done {
  animation: counter-pop 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes counter-pop {
  0%   { text-shadow: 0 0 24px currentColor; transform: scale(1); }
  40%  { transform: scale(1.045); }
  100% { text-shadow: 0 0 0 transparent; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .counter-running,
  .counter-done {
    text-shadow: none;
    animation: none;
  }
}

/* =====================================================================
   ANATOMY SECTION — "The 4 sentences that get replies"
   ---------------------------------------------------------------------
   The unique-mechanism reveal. 4 cards in a 2x2 grid (single column on
   mobile), then a side-by-side comparison strip showing what ChatGPT
   writes vs what IntelSDR writes for the same prospect.
   ===================================================================== */

.section-anatomy {
  position: relative;
}

.anatomy-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1024px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.anatomy-card {
  position: relative;
  padding: 24px 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  transition: border-color var(--t), background var(--t);
}

.anatomy-card:hover {
  border-color: var(--border-strong);
}

.anatomy-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.anatomy-h {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.anatomy-example {
  margin: 0 0 12px;
  padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", monospace;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.anatomy-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

/* ----- Side-by-side comparison strip ----- */

.anatomy-compare {
  max-width: 1024px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.anatomy-compare-card {
  border-radius: var(--r-md);
  padding: 22px 24px 18px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.anatomy-compare-bad {
  border-color: rgba(251, 113, 133, 0.28);
  background:
    radial-gradient(circle at 0% 0%, rgba(251, 113, 133, 0.08), transparent 65%),
    var(--bg-elevated);
}

.anatomy-compare-good {
  border-color: rgba(99, 102, 241, 0.32);
  background:
    radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.10), transparent 65%),
    var(--bg-elevated);
}

.anatomy-compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.anatomy-compare-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.anatomy-compare-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.anatomy-compare-tag-bad {
  color: #fb7185;
  background: rgba(251, 113, 133, 0.14);
  border: 1px solid rgba(251, 113, 133, 0.28);
}

.anatomy-compare-tag-good {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.28);
}

.anatomy-compare-body {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", monospace;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 16px 4px;
}

.anatomy-compare-bad .anatomy-compare-body {
  color: var(--text-muted);
}

.anatomy-compare-body p {
  margin: 0 0 10px;
}

.anatomy-banlist {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 16px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

.anatomy-banlist strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 560px) {
  .anatomy-banlist {
    font-size: 13px;
    padding: 14px 18px;
  }
}

/* =====================================================================
   ACTIVATION / ANTI-CHURN PLAYBOOK — first-7-days numbered list
   The Sabri-Suby move: future-pace the buyer through the first week
   so they know exactly what to expect AND know how to get value
   fast. Reduces "didn't use it" churn at the source.
   ===================================================================== */

.section-activation {
  position: relative;
}

/* Wrap holds both the progress rail and the day cards so the rail lines
 * up perfectly with the day-badge column. */
.activation-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* Vertical rail anchored to the day-badge column. Fills as you scroll
 * (height set via JS). Pure decoration — falls back to invisible if JS
 * never runs. */
.activation-progress {
  position: absolute;
  top: 28px;
  bottom: 28px;
  /* Line up with the centre of the DAY badge column on desktop
   * (grid-template-columns: 96px 1fr; padding-left: 24px;
   *  centre = 24 + 96/2 = 72px). */
  left: 72px;
  width: 2px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.activation-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(
    180deg,
    var(--accent-hot) 0%,
    var(--accent) 100%
  );
  border-radius: 2px;
  box-shadow: 0 0 14px var(--accent-glow);
  transition: height 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 560px) {
  /* On mobile cards collapse to single-column, so rail is meaningless. */
  .activation-progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .activation-progress-fill {
    transition: none;
  }
}

.activation-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: activation;
  position: relative;
  z-index: 1;
}

/* When a day card is in the "active" zone (its top has crossed the
 * viewport mid-line), brighten its day-badge. Toggled by JS. */
.activation-item-active .activation-day {
  color: var(--ink);
  text-shadow: 0 0 16px var(--accent-glow);
}

.activation-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  transition: border-color var(--t), background var(--t);
}

.activation-item:hover {
  border-color: var(--border-strong);
}

.activation-item-finale {
  border-color: rgba(99, 102, 241, 0.32);
  background:
    radial-gradient(circle at 0% 50%, var(--accent-soft), transparent 65%),
    var(--bg-elevated);
}

.activation-day {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 2px;
  white-space: nowrap;
}

.activation-body {
  min-width: 0;
}

.activation-h {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.activation-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.activation-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(139, 141, 255, 0.4);
}

.activation-body a:hover {
  text-decoration-color: var(--accent);
}

.activation-foot {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 0 16px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.activation-foot a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed currentColor;
}

.activation-foot a:hover {
  color: var(--ink);
  border-bottom-style: solid;
}

@media (max-width: 560px) {
  .activation-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 22px;
  }
  .activation-day {
    padding-top: 0;
  }
}

/* =====================================================================
   ANNUAL TOGGLE — pure CSS via :has()
   ===================================================================== */

.bill-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.bill-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -16px auto 56px;
  position: relative;
  z-index: 2;
}

.bill-toggle {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  user-select: none;
  isolation: isolate;
}

.bill-toggle-track {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.20));
  border: 1px solid rgba(139, 141, 255, 0.42);
  box-shadow: 0 4px 14px -6px rgba(99, 102, 241, 0.45);
  transition: transform var(--t);
  z-index: -1;
}

.bill-toggle-option {
  /* Both options now contain ONLY the word "Monthly" or "Annual" — the
     "2 months free" badge sits OUTSIDE the toggle as a sibling. With
     equal-text-width options the track-slide math (width: calc(50% - 5px),
     translateX(100%)) lands cleanly on each option without alignment
     drift. Don't move the badge back inside without re-thinking the
     track sizing. */
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  white-space: nowrap;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.bill-toggle-monthly {
  color: var(--ink);
}

.bill-toggle-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px -2px rgba(99, 102, 241, 0.55);
}

/* Bouncing arrow on the Save pill — impulse cue to nudge readers toward
 * Annual. Drawn as part of the pill so it never collides visually with
 * the toggle. Disabled on reduced-motion and when Annual is already
 * selected (the user already took the cue, no need to keep nudging). */
.bill-toggle-save-arrow {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  animation: nudge-bounce 1.4s ease-in-out infinite;
}

@keyframes nudge-bounce {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-3px); }
}

.section-pricing:has(.bill-toggle-input:checked) .bill-toggle-save-arrow {
  animation: none;
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .bill-toggle-save-arrow {
    animation: none;
  }
}

/* Annual mode (when input is checked) */
.section-pricing:has(.bill-toggle-input:checked) .bill-toggle-track {
  transform: translateX(100%);
}

.section-pricing:has(.bill-toggle-input:checked) .bill-toggle-monthly {
  color: var(--text-muted);
}

.section-pricing:has(.bill-toggle-input:checked) .bill-toggle-annual {
  color: var(--ink);
}

/* Focus ring */
.bill-toggle-input:focus-visible ~ .bill-toggle-wrap .bill-toggle {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Bill show/hide: monthly default visible, annual hidden */
.bill-show-annual {
  display: none !important;
}

/* Annual mode: hide monthly */
.section-pricing:has(.bill-toggle-input:checked) .bill-show-monthly {
  display: none !important;
}

/* Annual mode: show annual — restore display per element type */
.section-pricing:has(.bill-toggle-input:checked) .price-card-amount.bill-show-annual {
  display: flex !important;
}

.section-pricing:has(.bill-toggle-input:checked) p.bill-show-annual {
  display: flex !important;
}

.section-pricing:has(.bill-toggle-input:checked) a.bill-show-annual {
  display: inline-flex !important;
}

/* Savings line under price */
.price-card-savings {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.price-card-savings.bill-show-annual {
  /* Default state: hidden via .bill-show-annual rule above */
}

.savings-equiv {
  color: var(--text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.savings-amount {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(74, 222, 128, 0.28);
}

/* =====================================================================
   SOCIAL PROOF — testimonials
   ===================================================================== */

.section-social {
  padding-top: 64px;
  padding-bottom: 64px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 980px) {
  .social-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    gap: 16px;
  }
}

.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 26px 24px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t);
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.social-card-feature {
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(139, 141, 255, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border-color: rgba(139, 141, 255, 0.30);
}

.social-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1;
  color: rgba(139, 141, 255, 0.22);
  pointer-events: none;
}

/* Stat headline above each quote — gives a concrete number to anchor
 * the testimonial in. Replaces vague "what customers say" wording with
 * a measurable outcome the reader scans first. */
.social-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  margin: 0 0 18px;
  border-radius: var(--r-md);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.social-stat-num {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.social-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  font-weight: 600;
}

.social-card-feature .social-stat {
  background: rgba(139, 141, 255, 0.16);
  border-color: rgba(139, 141, 255, 0.40);
}

.social-quote {
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}

.social-quote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  letter-spacing: -0.005em;
}

.social-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}

.social-avatar {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), rgba(168, 85, 247, 0.18));
  border: 1px solid rgba(139, 141, 255, 0.35);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.social-attrib {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-name {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}

.social-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* =====================================================================
   FINAL CTA — urgency badge + soft pulse
   ===================================================================== */

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(74, 222, 128, 0.10);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.30);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}

.cta-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: cta-pulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.cta-pulse {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(99, 102, 241, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cta-badge-dot {
    animation: none;
  }
  .bill-toggle-track {
    transition: none;
  }
  .sticky-cta-pulse {
    animation: none !important;
  }
}

/* =====================================================================
   IMPULSE-CONVERSION ELEMENTS
   ---------------------------------------------------------------------
   Three additions that target the moments when an impulse buyer is
   most ready to commit but the page hasn't given them a 1-tap path:

   1. Sticky bottom CTA pill — always-tap-away after the hero
   2. Hero "skip ahead" link — direct-to-Gumroad for already-sold readers
   3. Cost-of-waiting line — names the dollar tax of inaction near pricing
   4. Annual savings nudge — "Save $98 / yr" annotation on the toggle
   ===================================================================== */

/* ---------- 1. Sticky bottom CTA ---------- */
.sticky-cta {
  position: fixed;
  z-index: 50;
  bottom: 22px;
  right: 22px;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  text-decoration: none;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 14px 36px -10px var(--accent-glow),
    0 4px 14px -4px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  /* Slide-up entry. The .is-hidden state below keeps it parked off-screen
   * until JS removes the class, so it never flashes during page load. */
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--t);
}

.sticky-cta:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 22px 48px -10px var(--accent-glow),
    0 6px 18px -4px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px);
}

.sticky-cta.is-hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta-inner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 20px;
  position: relative;
  z-index: 1;
}

.sticky-cta-line {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  line-height: 1.2;
}

.sticky-cta-line strong {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #fff;
}

.sticky-cta-meta {
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}

.sticky-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background var(--t-fast);
}

.sticky-cta:hover .sticky-cta-arrow {
  background: rgba(255, 255, 255, 0.26);
}

/* (Sticky-CTA pulse halo removed -- the constant pulse read as MLM /
 * scammy on a B2B SaaS landing page. The pill itself is loud enough
 * to be noticed without animation.) */

@media (max-width: 560px) {
  /* On mobile a centred bar trumps a corner pill — finger reach is
   * easier to the bottom edge, and a wider tap target converts better. */
  .sticky-cta {
    bottom: 14px;
    left: 14px;
    right: 14px;
    border-radius: var(--r-md);
  }
  .sticky-cta-inner {
    padding: 13px 18px;
    justify-content: space-between;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta-pulse { animation: none; }
  .sticky-cta { transition: opacity 200ms linear; }
  .sticky-cta.is-hidden { transform: translateY(0); opacity: 0; }
}

/* ---------- 2. Hero skip-ahead 1-click link ---------- */
.hero-shortcut {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--text-faint);
  letter-spacing: -0.005em;
}

.hero-shortcut a {
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
  border-bottom: 1px dashed currentColor;
  transition: color var(--t-fast), border-bottom-color var(--t-fast);
}

.hero-shortcut a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* ---------- 3. Cost-of-waiting line ---------- */
.cost-of-waiting {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 14px 22px;
  border: 1px solid rgba(251, 113, 133, 0.32);
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 0% 50%, rgba(251, 113, 133, 0.10), transparent 70%),
    var(--bg-elevated);
  text-align: center;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

.cost-of-waiting strong {
  color: #fb7185;
  font-weight: 600;
}

@media (max-width: 560px) {
  .cost-of-waiting {
    font-size: 13.5px;
    padding: 14px 18px;
    margin: 4px 16px 24px;
  }
}

/* (Annual savings nudge has been merged into .bill-toggle-save itself
 * with .bill-toggle-save-arrow above — having a separate floating
 * nudge collided visually with the existing pill.) */
