/* =============================================================
   Atlas Agents — design system v2 (May 2026)
   Clean, confident, generous whitespace. One accent. Two surfaces.
   ============================================================= */

:root {
  /* surfaces */
  --bg:        #ffffff;
  --surface:   #fafaf7;     /* warm off-white for alt sections */
  --surface-2: #f3efe8;
  --ink:       #0a0a0a;
  --ink-2:     #1a1a1a;
  --muted:     #5b5b66;
  --muted-2:   #8a8a92;
  --line:      rgba(10,10,10,0.08);
  --line-2:    rgba(10,10,10,0.14);

  /* accent (warm, sparingly used) */
  --accent:        #c8825a;
  --accent-dark:   #a86843;
  --accent-tint:   #faf3ec;
  --accent-tint-2: #f3e6d6;

  /* semantic */
  --success: #0a8a44;
  --warn:    #b8860b;
  --err:     #b23a3a;

  /* legacy aliases (kept so old templates keep rendering) */
  --rd-bg: var(--surface);
  --rd-ink: var(--ink);
  --rd-muted: var(--muted);
  --rd-accent: var(--accent);
  --rd-accent-dark: var(--accent-dark);
  --rd-line: var(--line);
  --rd-success: var(--success);
  --rd-warn: var(--warn);
  --rd-err: var(--err);
  --rd-card: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 8px 24px rgba(10,10,10,0.06);
  --shadow-lg: 0 24px 48px rgba(10,10,10,0.10);

  --container: 1120px;
  --container-narrow: 760px;
}

/* ------------------------------ Reset & base ------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 120ms ease; }
a:hover { color: var(--accent-dark); }

/* ------------------------------ Typography ------------------------------ */
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 16px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.015em; }
h4 { font-size: 16px; letter-spacing: -0.01em; }
p  { margin: 0 0 16px; color: var(--ink-2); }
em { font-style: normal; color: var(--accent-dark); }
strong { font-weight: 600; color: var(--ink); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; line-height: 1.55; }
.muted, .fine { color: var(--muted); }
.fine { font-size: 13px; line-height: 1.5; }
.center { text-align: center; }

/* eyebrow — small uppercase pill */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow.center-block, span.eyebrow.center-block { display: block; width: fit-content; margin: 0 auto 16px; }

/* ------------------------------ Layout ------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.surface { background: var(--surface); }

/* ------------------------------ Nav ------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); display: inline-flex; align-items: baseline; gap: 4px;
}
.logo span { font-weight: 400; color: var(--muted); }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a { font-size: 14px; color: var(--muted); font-weight: 500; }
.nav nav a:hover { color: var(--ink); }
.nav nav a.btn { color: #fff; }
@media (max-width: 800px) {
  .nav nav a:not(.btn) { display: none; }
  .nav { padding: 12px 20px; }
}

/* ------------------------------ Buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; line-height: 1;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.accent:hover { background: var(--accent-dark); color: #fff; }
.btn.lg { padding: 15px 26px; font-size: 16px; border-radius: 12px; }
.btn.sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  padding: 96px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero-compact { padding: 80px 0 32px; text-align: center; }
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 70% 0%, var(--accent-tint) 0%, transparent 70%),
    radial-gradient(700px 380px at 10% 100%, var(--accent-tint-2) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 0 24px;
}
.hero-inner.single { grid-template-columns: 1fr; }
.hero-copy { max-width: 560px; }
.hero-copy.center { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-copy.center .hero-cta { justify-content: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .lede { margin: 0 0 32px; }
.hero-copy.center .lede { margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.trust {
  font-size: 14px; color: var(--muted); margin: 0;
  display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.trust strong { color: var(--ink); font-weight: 600; }
.trust .sep { color: var(--muted-2); }

@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-copy { max-width: 720px; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .trust { justify-content: center; }
}

/* Live pulse dot */
.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}
.dot.green { background: #1aa155; }
.dot-pulse { position: relative; }
.dot-pulse::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  color: var(--accent);
  opacity: 0.5;
  animation: dotPulse 1.6s ease-out infinite;
}
.dot-pulse.green::after { color: #1aa155; }
@keyframes dotPulse {
  0%   { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ------------------------------ Hero demo widget ------------------------------ */
.hero-demo {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  perspective: 1000px;
}
.demo-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 18px 20px 16px;
  box-shadow: 0 30px 60px -20px rgba(10,10,10,0.18), 0 8px 24px rgba(10,10,10,0.06);
  transform: rotate(0.5deg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50%      { transform: translateY(-6px) rotate(-0.3deg); }
}
.demo-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.demo-label { font-weight: 600; color: var(--ink); }
.demo-time  { margin-left: auto; color: var(--muted); font-size: 12px; }
.demo-body { display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.bubble {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  animation: bubbleIn 400ms ease-out forwards;
}
.bubble-in  { background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble-out { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble:nth-child(1) { animation-delay: 0.3s; }
.bubble:nth-child(2) { animation-delay: 1.0s; }
.bubble:nth-child(3) { animation-delay: 1.7s; }
.bubble:nth-child(4) { animation-delay: 2.4s; }
.bubble:nth-child(5) { animation-delay: 3.1s; }
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bubble.typing {
  display: inline-flex; gap: 4px; padding: 12px 14px;
}
.bubble.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted-2);
  animation: typingDot 1.2s ease-in-out infinite;
}
.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0);   opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1;   }
}
.demo-foot {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  text-align: center;
}
.chip {
  display: inline-block;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px;
}

.demo-stat {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink); color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  transform: rotate(-0.5deg);
}
.demo-stat strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.demo-stat span   { display: block; font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; letter-spacing: 0.03em; }
.demo-stat .spark svg {
  width: 80px; height: 24px;
  stroke: var(--accent); stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.demo-stat .spark polyline {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: sparkDraw 2.2s ease-out forwards 0.6s;
}
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .hero-demo { max-width: 460px; margin: 0 auto; width: 100%; }
}

/* ------------------------------ Section heading ------------------------------ */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { color: var(--muted); font-size: 17px; }

/* ------------------------------ Cards (deliverables / agents) ------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid.two   { grid-template-columns: repeat(2, 1fr); }
.card-grid.four  { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid, .card-grid.four, .card-grid.two { grid-template-columns: 1fr; } }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 150ms ease, transform 150ms ease;
}
.card:hover { border-color: var(--line-2); }
.card h3 { margin: 14px 0 8px; font-size: 18px; }
.card p  { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }

/* outcome-icon (used on /#what cards) */
.icon-tile {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-tint);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.icon-tile::after {
  content: ""; position: absolute; inset: 9px;
  background: var(--accent-dark);
  -webkit-mask: var(--svg) center/contain no-repeat;
          mask: var(--svg) center/contain no-repeat;
}
.icon-phone        { --svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.37 1.9.72 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.35 1.85.59 2.81.72A2 2 0 0 1 22 16.92z'/></svg>"); }
.icon-refresh      { --svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='23 4 23 10 17 10'/><polyline points='1 20 1 14 7 14'/><path d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/></svg>"); }
.icon-pen          { --svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19l7-7 3 3-7 7-3-3z'/><path d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/><path d='M2 2l7.586 7.586'/></svg>"); }
.icon-chat         { --svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/></svg>"); }
.icon-trending-up  { --svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='23 6 13.5 15.5 8.5 10.5 1 18'/><polyline points='17 6 23 6 23 12'/></svg>"); }
.icon-calendar     { --svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>"); }

/* ------------------------------ Steps (how-it-works) ------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin: 0 0 8px; }
.step p  { color: var(--muted); font-size: 15px; margin: 0; }

/* ------------------------------ Pricing card ------------------------------ */
.pricing-wrap {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 380px);
  gap: 32px;
  align-items: start;
  justify-content: center;
}
@media (max-width: 900px) { .pricing-wrap { grid-template-columns: 1fr; } }

.plan {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  box-shadow: var(--shadow);
}
.plan.featured { border-color: var(--ink); box-shadow: 0 24px 60px rgba(10,10,10,0.08); }
.plan .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 7px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.plan h3 { margin: 0 0 12px; font-size: 22px; }
.price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-row .amount { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-row .cadence { font-size: 16px; color: var(--muted); }
.plan .setup { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.plan .setup strong { color: var(--ink); }
.plan ul.check { margin: 0 0 24px; }
.plan .fine { margin-top: 14px; }

/* check list (clean checkmark) */
.check { list-style: none; padding: 0; margin: 0; }
.check li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.check li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a86843' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/16px no-repeat;
}
.check.inline { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin: 0; }
.check.inline li { padding: 0 0 0 24px; font-size: 14px; color: var(--muted); }
.check.inline li::before { top: 1px; width: 16px; height: 16px; background-size: 14px; }

/* ROI calculator side-card */
.roi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.roi-card h4 { margin: 0 0 6px; font-size: 16px; }
.roi-card .fine { margin-bottom: 18px; }
.roi-calc label {
  display: block;
  font-size: 13px; font-weight: 500; color: var(--muted);
  margin-bottom: 14px;
}
.roi-calc input {
  display: block; width: 100%;
  margin-top: 6px; padding: 10px 12px;
  font: inherit; font-size: 15px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.roi-calc input:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}
.roi-output {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
.roi-output strong { font-size: 18px; }
.roi-output .net { color: var(--success); font-weight: 700; }

/* ------------------------------ FAQ ------------------------------ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 4px;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px; font-weight: 400; color: var(--muted);
  transition: transform 200ms ease;
  width: 22px; text-align: center;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 14px 0 4px; color: var(--muted); font-size: 15px; }

/* ------------------------------ CTA strip ------------------------------ */
.cta {
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 80% 20%, rgba(200,130,90,0.18), transparent 70%),
    radial-gradient(500px 240px at 20% 80%, rgba(200,130,90,0.12), transparent 70%);
  pointer-events: none;
}
.cta .container { position: relative; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p  { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 28px; font-size: 17px; }
.cta .btn.primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn.primary:hover { background: var(--accent-tint); color: var(--ink); }

/* ------------------------------ Footer ------------------------------ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 48px 24px 28px;
  color: var(--muted);
}
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-grid > div { font-size: 14px; line-height: 1.8; }
.footer-grid strong { color: var(--ink); display: block; margin-bottom: 8px; font-size: 14px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
.footer-base {
  max-width: var(--container);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ------------------------------ Forms (qualify) ------------------------------ */
.form-card {
  max-width: 720px; margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
@media (max-width: 600px) { .form-card { padding: 28px 22px; } }
.qualify-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}
.qualify-form input,
.qualify-form select,
.qualify-form textarea {
  display: block; width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font-size: 15px; font-family: inherit;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.qualify-form input:focus,
.qualify-form select:focus,
.qualify-form textarea:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}
.qualify-form textarea { resize: vertical; min-height: 90px; }
.qualify-form .form-row.two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 600px) { .qualify-form .form-row.two { grid-template-columns: 1fr; gap: 0; } }
.qualify-form .btn.block { margin-top: 12px; padding: 16px; font-size: 16px; }

/* ------------------------------ Misc utilities ------------------------------ */
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.center-block { display: block; text-align: center; margin: 0 auto; }

/* ============================================================
   Legacy components — preserved for non-marketing pages
   (report.html, dashboard.html, exit-modal, audit_form, etc.)
   ============================================================ */

/* Score banner / report */
.report-head { margin-bottom: 28px; }
.score-banner {
  display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center;
  background: #fff; padding: 32px; border-radius: 16px; border: 1px solid var(--line);
}
.score-circle {
  width: 180px; height: 180px; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p,50%)*1%), var(--line) 0);
  display: grid; place-items: center; margin: 0 auto;
  position: relative;
}
.score-circle::before { content: ""; position: absolute; inset: 16px; background: #fff; border-radius: 50%; }
.score-circle .score-num, .score-circle .score-lbl { position: relative; z-index: 1; }
.score-num { font-size: 48px; font-weight: 700; line-height: 1; }
.score-lbl { color: var(--muted); font-size: 14px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-top: 16px; }
.panel h3 { margin-top: 0; }
.risk-high { color: var(--err); }
.risk-medium { color: var(--warn); }
.risk-low { color: var(--success); }
.sample { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.sample summary { cursor: pointer; }
.sample-body { padding-top: 16px; border-top: 1px dashed var(--line); margin-top: 16px; }
.progress { background: var(--line); height: 8px; border-radius: 4px; overflow: hidden; margin: 24px 0; }
.progress .bar { background: var(--accent); height: 100%; transition: width 0.4s; }
.status { text-transform: capitalize; color: var(--muted); }
.callout { padding: 16px 20px; border-radius: 8px; margin: 16px 0; }
.callout.success { background: #e8f5ed; color: #1a5a2d; border: 1px solid #b7dec4; }
.err { color: var(--err); }

/* Dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.dash-head h1 { margin: 0; font-size: 32px; }
.audits-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.audits-table th, .audits-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.audits-table th { background: var(--surface); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

/* Audit form */
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.form label { display: flex; flex-direction: column; font-size: 14px; color: var(--ink); font-weight: 600; }
.form input, .form select, .form textarea {
  margin-top: 6px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  font-size: 16px; background: #fff; font-family: inherit;
}
.form small { font-weight: 400; color: var(--muted); margin-top: 4px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* Exit-intent modal */
.exit-modal[hidden] { display: none; }
.exit-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.exit-overlay { position: absolute; inset: 0; background: rgba(20,20,30,0.55); animation: exitFade 200ms ease both; }
.exit-card { position: relative; background: #fff; max-width: 460px; width: 100%; border-radius: 14px; padding: 32px 28px 24px; box-shadow: 0 30px 80px rgba(0,0,0,0.25); animation: exitPop 240ms cubic-bezier(.2,.9,.3,1.2) both; }
.exit-card .eyebrow { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.exit-card h2 { font-size: 22px; line-height: 1.25; margin: 8px 0 12px; }
.exit-card p { color: var(--muted); margin-bottom: 16px; }
.exit-card p.fine { font-size: 12px; margin-top: 12px; }
.exit-form input[type=email] { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: 10px; font-size: 15px; }
.exit-form button { width: 100%; }
.exit-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; padding: 6px 10px; }
.exit-close:hover { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes exitFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes exitPop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Treatment sample page */
.treatment-page { background: var(--surface); padding: 32px; border-radius: 8px; }
.treatment-page h1 { font-size: 32px; }
.treatment-page .cta { display: inline-block; background: var(--accent); color: white; padding: 12px 20px; border-radius: 8px; margin-top: 16px; }

/* Legacy aliases used by audit_form / report layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .grid-3, .grid-2, .two-col { grid-template-columns: 1fr; } }
.card-callout { background: var(--ink); color: #fff; padding: 36px 32px; border-radius: var(--radius-lg); }
.card-callout h3 { color: #fff; margin-top: 0; }
.card-callout p { color: rgba(255,255,255,0.78); }
.cta-strip { background: var(--ink); color: #fff; padding: 60px 0; text-align: center; }
.cta-strip h2 { color: #fff; }
.cta-strip .btn.primary { background: #fff; color: var(--ink); border-color: #fff; }

/* ------------------------------ Integration logo strip ------------------------------ */
.logos {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--line);
}
.logos-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.logos-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px 44px;
}
.logos-row span {
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--muted-2);
  opacity: 0.8;
  transition: color 200ms ease, opacity 200ms ease;
}
.logos-row span:hover { color: var(--ink); opacity: 1; }

/* ------------------------------ Card grid hover/reveal ------------------------------ */
.card { position: relative; overflow: hidden; }
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, transparent, var(--accent-tint));
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
  z-index: -1;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card:hover::after { opacity: 1; }
.card-arrow {
  position: absolute; right: 22px; bottom: 22px;
  font-size: 18px; color: var(--accent-dark);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.card:hover .card-arrow { opacity: 1; transform: translateX(0); }

.icon-tile {
  transition: transform 250ms ease, background 250ms ease;
}
.card:hover .icon-tile { transform: rotate(-4deg) scale(1.06); background: var(--accent-tint-2); }

/* ------------------------------ Steps numbered ------------------------------ */
.step { transition: border-color 200ms ease, transform 200ms ease; }
.step:hover { border-color: var(--ink); transform: translateY(-2px); }
.step .num {
  width: 40px; height: 40px;
  font-size: 14px;
  background: var(--ink);
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.how-cta {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.how-cta .trust { font-size: 13px; }

/* ------------------------------ Plan card animated border ------------------------------ */
.plan.featured {
  position: relative;
  border-color: transparent;
}
.plan.featured::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--ink) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: gradientShift 6s ease infinite;
  pointer-events: none;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.plan .ribbon {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
}
.plan .price-row .amount {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ------------------------------ ROI output rows ------------------------------ */
.roi-output { padding: 18px; }
.roi-row {
  display: flex; align-items: baseline; justify-content: center;
  gap: 8px; padding: 4px 0;
}
.roi-num {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.roi-row.net .roi-num { color: var(--success); }
.roi-cap { font-size: 13px; color: var(--muted); }
.roi-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.roi-meta strong { color: var(--ink); }

/* ------------------------------ Qualify page ------------------------------ */
.qualify-section { padding: 32px 0 96px; background: var(--surface); }
.form-card { background: #fff; }
.form-row.two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 600px) { .form-row.two { grid-template-columns: 1fr; gap: 0; } }

/* ------------------------------ Reveal-on-scroll ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms),
              transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms);
}
.reveal-in { opacity: 1; transform: translateY(0); }

/* ------------------------------ FAQ polish ------------------------------ */
.faq details { transition: background 200ms ease; }
.faq details:hover summary { color: var(--accent-dark); }
.faq details[open] { background: var(--surface); }
.faq details > p { animation: faqIn 250ms ease-out; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------ Footer polish ------------------------------ */
footer { padding: 64px 24px 32px; }
.footer-grid { gap: 56px; }
.footer-grid > div { font-size: 14px; line-height: 1.7; display: flex; flex-direction: column; gap: 4px; }
.footer-grid > div strong { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-grid > div p { color: var(--muted); margin: 0 0 8px; }
.footer-grid a { color: var(--ink-2); }
.footer-grid a:hover { color: var(--accent-dark); }
.footer-base { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
/* atlas-v12 1779310126 */


/* ------------------------------ Transparent billing card ------------------------------ */
.billing-card {
  margin: 64px auto 0;
  max-width: 980px;
  background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px 32px;
  box-shadow: 0 24px 60px -32px rgba(10,10,10,0.18);
}
.billing-head { text-align: center; margin-bottom: 32px; }
.billing-head h3 { margin: 10px 0 10px; font-size: 26px; letter-spacing: -0.02em; }
.billing-head p { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: 15px; }

.billing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bill-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 24px;
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.bill-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px -18px rgba(200,130,90,0.35);
}
.bill-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.bill-price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 14px;
}
.bill-price span {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 6px;
}
.bill-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.bill-title .typical {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  padding: 3px 7px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: 2px;
}
.bill-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.billing-zero {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
}
.billing-zero .zero-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--success);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.billing-zero strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.billing-zero > div > span {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

.billing-notes {
  list-style: none !important;
  padding: 24px 0 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.billing-notes li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  list-style: none;
}
.billing-notes li::before { content: none !important; }
.billing-notes .chk {
  color: var(--success);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .billing-card { padding: 32px 22px 24px; margin-top: 48px; }
  .billing-grid { grid-template-columns: 1fr; }
  .billing-zero { flex-direction: column; align-items: flex-start; text-align: left; }
  .billing-notes { grid-template-columns: 1fr; }
}

/* ------------------------------ Hero stat card v2 (override) ------------------------------ */
.demo-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
}
.demo-stat-num { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.demo-stat-num .cap {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.demo-stat-num strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.demo-stat-num .delta {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.02em;
}
.demo-stat .spark {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.demo-stat .spark svg { width: 92px; height: 28px; }
.spark-cap {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Footer meta line */
.footer-meta {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin-top: 6px !important;
}


/* ------------------------------ Terms page ------------------------------ */
.terms-doc {
  max-width: 780px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.terms-doc h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.terms-doc h2:first-of-type { margin-top: 24px; }
.terms-doc p { margin: 0 0 14px; }
.terms-doc p strong { color: var(--ink); font-weight: 700; }
.terms-doc .terms-foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.terms-doc a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.terms-doc a:hover { color: var(--accent); }
.hero-compact .micro {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}


/* Terms callout */
.terms-doc .terms-callout {
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: 10px;
  margin: 0 0 32px;
  font-size: 14.5px;
  color: var(--ink);
}
.terms-doc .terms-callout strong { color: var(--ink); }

/* ------------------------------ Hero demo-stat illustrative variant ------------------------------ */
.demo-stat.illustrative {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  display: block;
  padding: 18px 22px 20px;
  transform: rotate(-0.5deg);
  box-shadow: 0 10px 30px rgba(20,20,30,0.06);
}
.demo-stat.illustrative .demo-stat-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 12px;
}
.demo-stat.illustrative .demo-stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-stat.illustrative .demo-stat-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}
.demo-stat.illustrative .check-dot {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

/* ------------------------------ Sticky mobile CTA bar ------------------------------ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 220ms cubic-bezier(.2,.9,.3,1);
  box-shadow: 0 -8px 24px rgba(20,20,30,0.08);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-copy {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.sticky-cta-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.sticky-cta-copy span {
  font-size: 11px;
  color: var(--muted);
}
.sticky-cta .btn {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 14px;
}
@media (max-width: 820px) {
  .sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 76px; }
}

/* ------------------------------ Exit-intent: dual-CTA layout ------------------------------ */
.exit-card h2 em {
  font-style: italic;
  color: var(--accent-dark);
}
.exit-cta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 16px;
}
.exit-cta-row .btn.primary.lg {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
}
.exit-secondary {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 8px;
}
.exit-secondary-lead {
  font-size: 13px !important;
  color: var(--muted);
  margin: 0 0 10px !important;
  line-height: 1.45;
}
.exit-form .btn.ghost {
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
}
body.modal-open { overflow: hidden; }
