/* ============================================================
   DRIVN MEDIA - Auto Aesthetics Lead Funnel
   Design system + components + animation primitives
   No build step. Pure CSS. GPU-friendly (transform/opacity).
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette - deep gloss black, blue performance accent */
  --bg: #08080a;
  --bg-elev: #0e0e12;
  --bg-elev-2: #15151b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f5f7;
  --text-soft: #b9bcc4;
  --text-mute: #80838d;

  /* Accent - Drivn brand blue into bright cyan */
  --accent: #2882fd;
  --accent-2: #3ee2fe;
  --accent-soft: #91dbff;
  --accent-glow: rgba(40, 130, 253, 0.42);
  --accent-cyan-glow: rgba(62, 226, 254, 0.35);

  /* Functional only - validation errors (intentionally not a brand color) */
  --danger: #ff5468;

  --chrome-1: #ffffff;
  --chrome-2: #c9ccd4;
  --chrome-3: #8a8d96;

  --ok: #38d39f;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing / rhythm */
  --container: 1180px;
  --container-narrow: 820px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-sm: 10px;

  --section-pad: clamp(64px, 11vw, 150px);

  --shadow-soft: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  --shadow-accent: 0 20px 60px -18px var(--accent-glow);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Background texture: subtle grain + radial sheen ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(40, 130, 253, 0.10), transparent 70%),
    radial-gradient(40% 40% at 100% 10%, rgba(120, 130, 255, 0.05), transparent 70%);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
  position: relative;
  z-index: 1;
}
.container.narrow { max-width: var(--container-narrow); }

section { position: relative; }
.section { padding-block: var(--section-pad); }
/* Offset anchor targets so the fixed header never covers a section's top */
[id] { scroll-margin-top: 88px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

h2.title {
  font-size: clamp(30px, 5.4vw, 54px);
}
.lead {
  color: var(--text-soft);
  font-size: clamp(16px, 2.2vw, 19px);
  margin-top: 20px;
  max-width: 60ch;
}
.section-head.center .lead { margin-inline: auto; }

.text-accent { color: var(--accent); }
.text-chrome {
  background: linear-gradient(180deg, var(--chrome-1) 30%, var(--chrome-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--bg-elev-2);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background 0.3s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px -16px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-strong); transform: translateY(-2px); }

.btn-lg { padding: 20px 38px; font-size: 17px; }
.btn-arrow { transition: transform 0.4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-sub {
  display: block;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
/* Always pinned and visible. Only the background/blur fades in on scroll,
   the header position itself never moves. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.scrolled {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
}
.brand .mark svg { width: 30px; height: 30px; }
.brand b { color: var(--accent); font-weight: 700; }

/* Logo image - real PNG with a TRANSPARENT background. No blend mode or
   background treatment; transparency + metallic shading render as-is.
   Intrinsic art (1122x335) is well above the displayed size, so it stays
   crisp on retina/mobile when downscaled. */
.brand-logo {
  height: 30px;
  width: auto;
  display: block;
}
@media (min-width: 720px) { .brand-logo { height: 34px; } }
.footer-brand .brand-logo { height: 40px; }
@media (min-width: 720px) { .footer-brand .brand-logo { height: 46px; } }
.header-cta { display: none; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } .header-cta.btn { padding: 12px 22px; font-size: 14.5px; } }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 101;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* animated gloss mesh */
.hero-bg .mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(35% 45% at 22% 28%, rgba(40, 130, 253, 0.30), transparent 60%),
    radial-gradient(30% 40% at 80% 20%, rgba(62, 226, 254, 0.16), transparent 60%),
    radial-gradient(40% 50% at 65% 90%, rgba(90, 110, 255, 0.10), transparent 60%);
  filter: blur(20px);
  animation: meshFloat 18s var(--ease-in-out) infinite alternate;
}
@keyframes meshFloat {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.08); }
}
/* grid floor */
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(80% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.5;
}
/* light streaks */
.streak {
  position: absolute;
  width: 1px;
  height: 40vh;
  top: -10vh;
  background: linear-gradient(180deg, transparent, var(--accent-soft), transparent);
  opacity: 0.0;
  filter: blur(0.5px);
  animation: streak 7s linear infinite;
}
.streak.s1 { left: 18%; animation-delay: 0s; }
.streak.s2 { left: 52%; height: 55vh; animation-delay: 2.4s; }
.streak.s3 { left: 83%; animation-delay: 4.1s; }
@keyframes streak {
  0% { transform: translateY(-20vh); opacity: 0; }
  12% { opacity: 0.5; }
  60% { opacity: 0.5; }
  100% { transform: translateY(120vh); opacity: 0; }
}

.hero-grid {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(56, 211, 159, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56,211,159,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(56,211,159,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,211,159,0); }
}

.hero h1 {
  font-size: clamp(38px, 7.4vw, 76px);
  letter-spacing: -0.03em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero p.hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--text-soft);
  max-width: 52ch;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
/* Mobile: center standalone CTAs and make grouped buttons match width.
   Desktop layout (above 640px) is unaffected. */
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 420px;
  }
  /* higher specificity than the base `.sol-cta` rule so it wins regardless of source order */
  .sol-list .sol-cta { justify-self: center; }
}
.hero-trust {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  color: var(--text-mute);
  font-size: 13.5px;
}
.hero-trust .stars { color: var(--accent); letter-spacing: 2px; }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
/* understated selectivity line under the hero CTA */
.hero-note {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--text-mute); letter-spacing: 0.01em;
}
.hero-note::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent-glow);
  flex: none;
}

/* VSL frame */
.vsl {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.vsl-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 0%, #1b1b22, #0a0a0d 70%);
  display: grid;
  place-items: center;
}
.vsl-screen::after {
  /* glass reflection sweep */
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.10), transparent);
  transform: skewX(-18deg);
  animation: sweep 6s ease-in-out 1.5s infinite;
}
@keyframes sweep { 0%,100% { left: -60%; } 55%,70% { left: 130%; } }
.vsl-play {
  position: relative;
  z-index: 2;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-accent);
  transition: transform 0.4s var(--ease-out);
}
.vsl-play::before {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--accent-glow);
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
.vsl:hover .vsl-play { transform: scale(1.07); }
.vsl-play svg { width: 30px; height: 30px; margin-left: 4px; fill: #fff; }
.vsl-label {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 2;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: flex; align-items: center; gap: 8px;
}
.vsl-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}

/* ---------- Logo / niche marquee ---------- */
.marquee-wrap {
  position: relative;
  border-block: 1px solid var(--line);
  padding-block: 26px;
  overflow: hidden;
  background: var(--bg-elev);
}
.marquee-wrap::before, .marquee-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg-elev), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--bg-elev), transparent); }
.marquee {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(15px, 2.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-mute);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee span::after { content: "•"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-wrap:hover .marquee { animation-play-state: paused; }

/* ============================================================
   REVEAL ANIMATION PRIMITIVES
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* hero word reveal */
.line span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--word-delay, 0ms);
}
.hero.ready .line span { transform: translateY(0); }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }

.pain {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, background 0.4s ease;
}
.pain:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-strong); }
.pain::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}
.pain:hover::before { transform: scaleY(1); }
.pain .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(40, 130, 253, 0.12);
  border: 1px solid rgba(40, 130, 253, 0.25);
  margin-bottom: 20px;
}
.pain .ico svg { width: 22px; height: 22px; stroke: var(--accent-soft); }
.pain h3 { font-size: 19px; margin-bottom: 10px; }
.pain p { color: var(--text-soft); font-size: 15.5px; }

.problem-punch {
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(40,130,253,0.08), transparent);
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 500;
  line-height: 1.4;
}
.problem-punch b { color: var(--accent); }

/* ============================================================
   SOLUTION
   ============================================================ */
.solution-grid {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 920px) { .solution-grid { grid-template-columns: 0.95fr 1.05fr; } }

.sol-visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-elev-2), var(--bg-elev));
  padding: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.sol-visual .glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  top: -120px; right: -120px; filter: blur(20px); opacity: 0.5;
}
.sol-visual-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.sol-visual-label {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(16px, 2.2vw, 18px);
  letter-spacing: -0.01em; color: var(--text);
}
.sol-visual-pill {
  flex: none;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-soft);
  padding: 5px 11px; border-radius: 999px;
  background: rgba(40,130,253,0.12); border: 1px solid rgba(40,130,253,0.28);
}
.sol-visual-sub {
  position: relative; z-index: 1;
  margin: 8px 0 22px;
  font-size: 13.5px; color: var(--text-mute);
}
.gauge {
  position: relative;
  display: grid;
  gap: 18px;
}
.gauge-row {
  display: grid; gap: 8px;
}
.gauge-row .gauge-top { display: flex; justify-content: space-between; align-items: baseline; }
.gauge-row .gauge-top span:first-child { color: var(--text-soft); font-size: 14px; }
.gauge-row .gauge-top b { font-family: var(--font-display); font-size: 18px; }
.gauge-bar {
  height: 8px; border-radius: 999px;
  background: var(--bg-elev-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gauge-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 1.4s var(--ease-out);
}
.sol-list { display: grid; gap: 22px; margin-top: 8px; }
.sol-cta { margin-top: 6px; justify-self: start; }
.sol-item { display: flex; gap: 16px; }
.sol-item .num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--accent-soft);
}
.sol-item h3 { font-size: 18.5px; margin-bottom: 6px; }
.sol-item p { color: var(--text-soft); font-size: 15.5px; }

/* ============================================================
   PROOF / RESULTS
   ============================================================ */
.proof { background: linear-gradient(180deg, var(--bg), var(--bg-elev) 50%, var(--bg)); }
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 920px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff, var(--accent-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { margin-top: 12px; color: var(--text-mute); font-size: 13.5px; letter-spacing: 0.02em; }
/* NOTE: .stats / .stat styles above are retained on purpose, the stat bar
   markup is parked in saved/stat-bar.html and reuses these when restored. */

/* ---------- Guarantee (proof section anchor) ---------- */
.guarantee {
  position: relative;
  max-width: 880px;
  margin: 0 auto clamp(48px, 7vw, 72px);
  padding: clamp(40px, 6vw, 60px) clamp(26px, 5vw, 56px) clamp(34px, 5vw, 48px);
  text-align: center;
  border-radius: var(--radius-lg);
  /* gradient border via padding-box / border-box layering */
  border: 1.5px solid transparent;
  background:
    radial-gradient(90% 130% at 50% -10%, rgba(40,130,253,0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev)) padding-box,
    linear-gradient(120deg, var(--accent), var(--accent-2)) border-box;
  box-shadow: 0 30px 90px -32px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.guarantee::before {
  /* faint grid floor for premium depth */
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 80% at 50% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000, transparent 72%);
  opacity: 0.35;
}
.guarantee-inner { position: relative; z-index: 1; }
.guarantee-seal {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 40px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.guarantee-seal::before {
  content: "";
  position: absolute; inset: -7px;
  border-radius: 50%;
  border: 1px solid var(--accent-glow);
  animation: ring 2.8s ease-out infinite;
}
.guarantee-seal svg { width: 30px; height: 30px; stroke: #fff; position: relative; z-index: 1; }
.guarantee-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.guarantee-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 17ch;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff 40%, #cfe4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.guarantee-sub {
  margin-top: 20px;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-soft);
}
.guarantee-fine {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.case {
  display: grid;
  gap: 30px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) { .case { grid-template-columns: 1fr 1fr; align-items: center; } }
.case-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-soft); margin-bottom: 18px;
}
.case h3 { font-size: clamp(22px, 3.4vw, 30px); margin-bottom: 16px; }
.case .case-copy p { color: var(--text-soft); }
.case-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.case-metric {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}
.case-metric b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--accent-soft); }
.case-metric span { font-size: 13px; color: var(--text-mute); }

/* Before / After slider */
/* NOTE: these styles are retained on purpose. The slider markup is parked in
   saved/before-after-slider.html and reuses them if you add it back elsewhere. */
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba-layer { position: absolute; inset: 0; display: grid; place-items: center; }
.ba-after {
  background:
    radial-gradient(120% 120% at 30% 20%, #143a5e, #0a1622),
    #0a1622;
}
.ba-before {
  background:
    radial-gradient(120% 120% at 30% 20%, #24262c, #131418),
    #131418;
  clip-path: inset(0 50% 0 0);
}
.ba-tag {
  position: absolute; bottom: 14px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); border: 1px solid var(--line);
}
.ba-before .ba-tag { left: 14px; color: var(--text-mute); }
.ba-after .ba-tag { right: 14px; color: var(--accent-soft); }
.ba-ph { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 16px rgba(255,255,255,0.5);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff; color: #111;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  font-size: 14px;
}

/* ---------- Ad-account screenshot frame ---------- */
/* NOTE: these .shot* styles are retained on purpose. The screenshot-frame markup is
   parked in saved/ads-screenshot-frame.html and reuses them if you restore it. */
.shot { margin: 0; }
.shot-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.85);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev));
  border-bottom: 1px solid var(--line);
}
.shot-dots { display: inline-flex; gap: 6px; flex: none; }
.shot-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.shot-label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-live {
  flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
}
.shot-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 36px);
  min-height: 280px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(40, 130, 253, 0.07), transparent 60%),
    var(--bg);
}
/* Real screenshot: hidden until it successfully loads. object-fit:contain keeps a
   wide/short strip undistorted; max-height caps a tall image without stretching. */
.shot-img {
  display: none;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.shot-img.loaded { display: block; }
.shot-img.loaded + .shot-placeholder { display: none; }
.shot-placeholder {
  width: 100%;
  max-width: 320px;
  text-align: center;
  padding: 30px 24px;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--text-mute);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0 12px, transparent 12px 24px);
}
.shot-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}

/* ---------- Trickle vs flood visual (Featured Result media slot) ---------- */
.tvf { margin: 0; }
.tvf-eyebrow {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.tvf-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tvf-zone {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.tvf-flood {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(40, 130, 253, 0.08), transparent);
}
.tvf-zone-label {
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 600;
  color: var(--text-soft);
}
.tvf-field {
  position: relative;
  min-height: 156px;
}
.tvf-cap {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.tvf-flood .tvf-cap {
  color: var(--accent-soft);
  font-weight: 600;
}

/* dots */
.tvf-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}
/* sparse, loosely scattered, muted gray (referrals) */
.tvf-trickle .tvf-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--text-mute);
  opacity: 0.55;
}
/* dense, tight grid, brand blue with glow (paid ads) */
.tvf-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px 14px;
  place-items: center;
  align-content: center;
  padding: 0 4px;
}
.tvf-grid .tvf-dot {
  box-shadow: 0 0 8px rgba(62, 226, 254, 0.45);
}
/* horizontal blue gradient across the 6 columns (#2882fd to #3ee2fe) */
.tvf-grid .tvf-dot:nth-child(6n + 1) { background: #2882fd; }
.tvf-grid .tvf-dot:nth-child(6n + 2) { background: #2c95fd; }
.tvf-grid .tvf-dot:nth-child(6n + 3) { background: #31a8fd; }
.tvf-grid .tvf-dot:nth-child(6n + 4) { background: #35bcfe; }
.tvf-grid .tvf-dot:nth-child(6n + 5) { background: #3acffe; }
.tvf-grid .tvf-dot:nth-child(6n + 6) { background: #3ee2fe; }

/* Flood entrance animation. Default (and reduced motion / no-JS) = final visible
   state. JS adds `.armed` (only when motion is allowed) to hide the blue dots first,
   then `.in` on scroll to pop them in, staggered by the per-dot --d delay. */
@media (prefers-reduced-motion: no-preference) {
  .tvf.armed .tvf-flood .tvf-dot { opacity: 0; transform: scale(0.3); }
  .tvf.in .tvf-flood .tvf-dot {
    animation: floodPop 0.5s var(--ease-out) both;
    animation-delay: var(--d, 0ms);
  }
  /* gray dots fade in gently with the same trigger */
  .tvf.armed .tvf-trickle .tvf-dot { opacity: 0; }
  .tvf.in .tvf-trickle .tvf-dot {
    transition: opacity 0.7s var(--ease-out);
    opacity: 0.55;
  }
}
@keyframes floodPop {
  0%   { opacity: 0; transform: scale(0.3); }
  60%  { opacity: 1; transform: scale(1.14); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 640px) {
  .tvf-zones { grid-template-columns: 1fr; }
  .tvf-dot { width: 11px; height: 11px; }
  .tvf-field { min-height: 132px; }
}

/* Testimonials */
/* NOTE: these styles are retained on purpose, the testimonial carousel markup
   is parked in saved/testimonials.html and reuses them when restored. */
.testimonials { margin-top: 56px; }
.testi-track-wrap { overflow: hidden; }
.testi-track {
  display: flex;
  gap: 18px;
  transition: transform 0.7s var(--ease-out);
}
.testi {
  flex: 0 0 100%;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
@media (min-width: 760px) { .testi { flex-basis: calc(50% - 9px); } }
.testi .stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 16px; }
.testi blockquote { font-size: 17px; color: var(--text); line-height: 1.6; margin: 0; }
.testi .who { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.testi .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff;
}
.testi .who b { display: block; font-size: 15px; }
.testi .who span { font-size: 13px; color: var(--text-mute); }
.testi-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.testi-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line-strong); transition: all 0.3s ease;
}
.testi-dots button.active { background: var(--accent); width: 24px; border-radius: 999px; }

/* ============================================================
   NICHE / AUTHORITY
   ============================================================ */
.niche { background: var(--bg-elev); border-block: 1px solid var(--line); }
.niche-grid { display: grid; gap: clamp(30px, 5vw, 56px); align-items: center; }
@media (min-width: 920px) { .niche-grid { grid-template-columns: 1.1fr 0.9fr; } }
.niche-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.niche-chip {
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-family: var(--font-display); font-weight: 500; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 9px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.niche-chip:hover { transform: translateY(-3px); border-color: var(--accent); }
.niche-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.compare {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-elev-2);
}
.compare-head { display: grid; grid-template-columns: 1fr 1fr; }
.compare-head div {
  padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
.compare-head .us { background: linear-gradient(120deg, rgba(40,130,253,0.16), transparent); color: #fff; }
.compare-head .them { color: var(--text-mute); border-left: 1px solid var(--line); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.compare-row div { padding: 16px 22px; font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.compare-row .them { color: var(--text-mute); border-left: 1px solid var(--line); }
.compare-row svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.compare-row .us svg { stroke: var(--ok); }
.compare-row .them svg { stroke: var(--text-mute); }

/* ============================================================
   PROCESS
   ============================================================ */
.steps { display: grid; gap: 18px; position: relative; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.3s;
}
.step:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.step .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  background: linear-gradient(180deg, var(--line-strong), transparent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.step h3 { font-size: 21px; margin-bottom: 12px; }
.step p { color: var(--text-soft); font-size: 15.5px; }
.step .step-dot {
  position: absolute; top: 34px; right: 30px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px var(--accent-glow);
}

/* ============================================================
   BOOKING (money section)
   ============================================================ */
.booking { background: linear-gradient(180deg, var(--bg), var(--bg-elev)); }
.booking-grid { display: grid; gap: clamp(24px, 4vw, 40px); }
@media (min-width: 980px) { .booking-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Sequential two-step flow: one step visible at a time, centered, capped width */
.booking-steps { max-width: 680px; margin-inline: auto; }
.booking-step[hidden] { display: none; }
/* Step 2 fades/slides in when revealed after form submit */
#bookingStep2 {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
#bookingStep2.shown { opacity: 1; transform: none; }

.booking-panel {
  padding: clamp(22px, 3.5vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.booking-panel h3 { font-size: 22px; margin-bottom: 8px; }
.booking-panel .sub { color: var(--text-soft); font-size: 15px; margin-bottom: 24px; }

/* Step badge (Step 1 of 2 / Step 2 of 2) */
.step-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-soft);
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(40, 130, 253, 0.12);
  border: 1px solid rgba(40, 130, 253, 0.28);
  margin-bottom: 16px;
}

/* selectivity lead-in above the booking panels */
.booking-selectivity {
  margin: 24px auto 0;
  max-width: 600px;
  padding: 16px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(40,130,253,0.08), transparent);
  color: var(--text-soft);
  font-size: clamp(14px, 1.9vw, 15.5px);
  line-height: 1.55;
}

/* Calendar embed slot (wrapper only, the bright card provides the visual) */
.calendar-embed { position: relative; }
/* Bright booking card: light panel for the light GHL widget, sitting on the dark page */
.booking-card {
  max-width: 660px;
  margin-inline: auto;
  background: #ffffff;
  border-radius: var(--radius);
  padding: clamp(8px, 1.6vw, 14px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 30px 80px -42px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.booking-card iframe {
  display: block;
  width: 100%;
  /* Pre-load fallback only. Kept below the widget's real height so form_embed.js
     fully controls the final height (no leftover white space, no inner scrollbar). */
  min-height: 420px;
  border: 0;
  border-radius: 10px;
  background: #fff;
}
/* On small phones, trim padding so the GHL calendar gets the width it needs */
@media (max-width: 480px) {
  .booking-step .booking-panel { padding: 18px 14px; }
  .booking-card { padding: 6px; }
}
.embed-hint { color: var(--text-mute); font-size: 14px; max-width: 320px; }
.embed-hint code {
  display: inline-block; margin-top: 10px;
  font-size: 12.5px; color: var(--accent-soft);
  background: rgba(40,130,253,0.1); padding: 6px 10px; border-radius: 8px;
}

/* Form */
.lead-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--text-soft); font-weight: 500; letter-spacing: 0.02em; }
.field label .req { color: var(--accent); }
.field input, .field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 15.5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2380838d' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(40,130,253,0.14);
  background: var(--bg-elev);
}
.field input::placeholder { color: var(--text-mute); }
.field-row { display: grid; gap: 16px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field.error input, .field.error select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255,84,104,0.16); }
.field .err-msg { font-size: 12.5px; color: var(--danger); display: none; }
.field.error .err-msg { display: block; }

.form-submit { margin-top: 6px; width: 100%; }
.form-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-note { font-size: 12.5px; color: var(--text-mute); text-align: center; margin-top: 4px; }
.form-status { font-size: 14px; text-align: center; min-height: 20px; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--danger); }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite; display: none;
}
.form-submit.loading .spinner { display: inline-block; }
.form-submit.loading .label { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item.open { border-color: var(--line-strong); background: var(--surface-strong); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px;
  background: transparent; border: 0; color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 2.4vw, 18.5px);
  text-align: left;
}
.faq-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  position: relative; transition: background 0.3s, border-color 0.3s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--accent-soft); border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.5s var(--ease-out); }
.faq-a-inner { padding: 0 26px 24px; color: var(--text-soft); font-size: 15.5px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-card {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(40,130,253,0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev));
  overflow: hidden;
}
.final-card .grid-floor {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 80% at 50% 120%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 120%, #000, transparent 70%);
  opacity: 0.4;
}
.final-card > * { position: relative; z-index: 1; }
.final h2 { font-size: clamp(30px, 6vw, 60px); }
.final p { color: var(--text-soft); margin: 22px auto 0; max-width: 56ch; font-size: clamp(16px, 2.4vw, 19px); }
.final .hero-actions { justify-content: center; }
.final-assure { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; color: var(--text-mute); font-size: 13.5px; }
.final-assure span { display: inline-flex; gap: 7px; align-items: center; }
.final-assure svg { width: 15px; height: 15px; stroke: var(--ok); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 36px;
  background: var(--bg-elev);
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand p { color: var(--text-mute); font-size: 14.5px; margin-top: 16px; max-width: 36ch; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px;
}
.footer-col a, .footer-col li { color: var(--text-soft); font-size: 15px; margin-bottom: 11px; display: block; transition: color 0.25s; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--text-mute); font-size: 13px;
}
.footer-bottom a { color: var(--text-soft); transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--accent-soft); }
.footer-legal-links { display: inline-flex; gap: 10px; align-items: center; }
.footer-legal-links .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

/* ============================================================
   LEGAL / DOCUMENT PAGES (privacy, terms)
   Readability first: single narrow column, generous line height.
   ============================================================ */
.legal { padding: 124px 0 80px; }
.legal-doc { max-width: 700px; margin-inline: auto; }
.legal-doc h1 {
  font-size: clamp(30px, 6vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.legal-meta {
  color: var(--text-mute);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal-meta b { color: var(--text-soft); font-weight: 600; }
.legal-doc h2 {
  font-size: clamp(20px, 3vw, 25px);
  color: var(--text);
  margin: 46px 0 14px;
  letter-spacing: -0.01em;
}
.legal-doc p {
  color: var(--text-soft);
  font-size: 16.5px;
  line-height: 1.85;
  margin: 0 0 18px;
}
.legal-doc ul { display: grid; gap: 11px; margin: 0 0 20px; padding: 0; }
.legal-doc li {
  position: relative;
  color: var(--text-soft);
  font-size: 16.5px;
  line-height: 1.7;
  padding-left: 24px;
}
.legal-doc li::before {
  content: "";
  position: absolute; left: 3px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.legal-doc a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}
.legal-doc a:hover { color: var(--accent); }
.legal-contact { display: grid; gap: 6px; }
.legal-contact p { margin: 0; }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.ty {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ty-check {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 32px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(56,211,159,0.3), transparent 60%), var(--bg-elev-2);
  border: 1px solid rgba(56,211,159,0.4);
  box-shadow: 0 0 0 8px rgba(56,211,159,0.06), 0 20px 60px -20px rgba(56,211,159,0.5);
}
.ty-check svg { width: 46px; height: 46px; stroke: var(--ok); }
.ty-check svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.8s var(--ease-out) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ty h1 { font-size: clamp(32px, 6vw, 60px); }
.ty .lead { margin: 22px auto 0; }
.ty-steps {
  margin: 50px auto 0;
  display: grid; gap: 16px; max-width: 760px;
  grid-template-columns: 1fr; text-align: left;
}
@media (min-width: 720px) { .ty-steps { grid-template-columns: repeat(3, 1fr); } }
.ty-step {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.ty-step .ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: rgba(40,130,253,0.12); border: 1px solid rgba(40,130,253,0.25);
}
.ty-step .ico svg { width: 21px; height: 21px; stroke: var(--accent-soft); }
.ty-step h3 { font-size: 17px; margin-bottom: 8px; }
.ty-step p { color: var(--text-soft); font-size: 14.5px; }
.ty-actions { margin-top: 44px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .line span { transform: none !important; }
}

/* Utility */
.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;
}
.center-text { text-align: center; }
.mt-gap { margin-top: clamp(40px, 6vw, 64px); }
