/* Better Prompted — Landing styles
   Brand variables live in handoff/07-brand-variables.css. */

:root {
  /* Type scale — tight, deliberate */
  --fs-display: clamp(44px, 7.2vw, 80px);
  --fs-h2:      clamp(32px, 4.4vw, 48px);
  --fs-h3:      22px;
  --fs-lead:    clamp(18px, 1.7vw, 21px);
  --fs-body:    17px;
  --fs-sm:      14px;
  --fs-xs:      12px;

  --lh-tight:  1.05;
  --lh-snug:   1.25;
  --lh-normal: 1.55;
  --lh-body:   1.65;

  --tr-tight:  -0.03em;
  --tr-normal: -0.01em;

  /* Spacing scale — generous by default */
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  36px;
  --sp-7:  52px;
  --sp-8:  80px;
  --sp-9:  128px;
  --sp-10: 192px;

  --maxw-prose:   620px;
  --maxw-content: 840px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: var(--tr-tight); line-height: var(--lh-tight); }
h3 { font-weight: 600; letter-spacing: var(--tr-normal); line-height: var(--lh-snug); }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ─── Nav ───────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 40px);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: var(--tr-normal);
}
/* Reserved space in the nav lockup where the wayfinder docks at scroll 0.
   The chevron itself is rendered once as a fixed-position traveler. */
.wordmark-slot {
  display: inline-block;
  width: 28px;
  height: 21px;
}
.wordmark-text {
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: var(--tr-normal);
}

.nav-cta {
  font-weight: 500;
  font-size: var(--fs-sm);
  text-decoration: none;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.nav-cta:hover { border-color: var(--line-hover); background: var(--surface); }

/* ─── Chevron wayfinder ─────────────────── */
.chevron-guide {
  position: fixed;
  top: 0;
  left: 0;
  width: 64px;
  height: 48px;
  color: var(--accent);
  filter: drop-shadow(0 0 28px color-mix(in oklab, var(--accent) 50%, transparent));
  transform-origin: center center;
  pointer-events: none;
  /* Above the nav (z-index 50) so the docked mark is always visible, including
     on top of the nav's backdrop-filter in dark mode. */
  z-index: 80;
  will-change: transform;
  opacity: 0;
}

/* Inner group carries a small always-on "alive" pulse that stacks on top of
   the scroll-driven transforms on the outer svg. */
.chevron-guide-inner {
  transform-origin: 28px 24px;
  animation: chevron-breathe 2.4s ease-in-out infinite;
}

@keyframes chevron-breathe {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.88; }
}

@media (max-width: 640px) {
  .chevron-guide { width: 44px; height: 33px; }
}

/* ─── Layout shells ─────────────────────── */
.shell {
  max-width: var(--maxw-content);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

/* ─── Hero (cover composition) ──────────── */
.hero {
  /* dvh, not vh. On iOS Safari, vh includes the URL-bar territory so
     content centered in 100vh appears shifted DOWN on initial load
     (while the URL bar is still visible). dvh adapts to the live
     visible area — content stays centered regardless of URL bar
     state. Fallback to vh for browsers that don't support dvh. */
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: clamp(48px, 6vh, 96px);
  padding-bottom: clamp(64px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
}

.cover-mark {
  width: clamp(96px, 12vw, 128px);
  height: auto;
  color: var(--accent);
  filter: drop-shadow(0 0 44px color-mix(in srgb, var(--accent) 32%, transparent));
  display: block;
}

.cover-wordmark {
  margin: 0;
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}

.cover-accent-line {
  width: 72px;
  height: 2px;
  background: var(--accent);
  margin: 6px 0 2px;
}

.cover-tagline {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.45;
  color: var(--mid);
  max-width: 540px;
}

.cover-pitch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 600px;
  margin-top: 4px;
}

.cover-pitch-line {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.cover-hashtag {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-top: 6px;
}

/* Scroll hint — pulsing double-arrow chevron anchored to hero bottom.
   Sits outside the centered flex content via absolute positioning so
   the flex layout itself stays dead-centered.

   Bottom offset is clamp(64px, 12vh, 96px) so the hint clears iOS
   Safari's bottom toolbar (~50px) and the Android Chrome URL bar. On
   desktop the extra breathing room just makes it feel balanced.

   The bounce keyframe animates transform/opacity; when faded, we kill
   the animation so the .is-faded static values take effect (without
   animation: none, keyframes keep winning per frame). */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(64px, 12vh, 96px);
  transform: translateX(-50%);
  color: var(--accent);
  opacity: 0.55;
  animation: scroll-hint-bounce 2.4s ease-in-out infinite;
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
  will-change: transform, opacity;
}
.scroll-hint.is-faded {
  animation: none;
  opacity: 0;
  transform: translate(-50%, 12px);
}
@keyframes scroll-hint-bounce {
  0%, 100% { transform: translate(-50%, 0);    opacity: 0.45; }
  50%      { transform: translate(-50%, 6px);  opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; opacity: 0.55; }
}

/* ─── Form ──────────────────────────────── */
.analyzer {
  display: grid;
  gap: var(--sp-4);
  max-width: 520px;
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.field { display: grid; gap: 6px; }

.field label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.01em;
}

.field input {
  font: inherit;
  font-size: var(--fs-body);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field input::placeholder { color: var(--mute); }
.field input:hover { border-color: var(--line-hover); }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent);
}
.field input:disabled { opacity: 0.6; cursor: not-allowed; }

.form-error {
  font-size: var(--fs-sm);
  color: #B91C1C;
  min-height: 0;
}
@media (prefers-color-scheme: dark) {
  .form-error { color: #FCA5A5; }
}

/* ─── SMS consent (toll-free carrier verification compliance) ─────
   Unchecked by default — required for carriers to approve the
   sending number. Copy text is the exact compliance language.
   Never pre-fill this box programmatically. */
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--mid);
  line-height: 1.45;
  cursor: pointer;
  padding: 2px 0;
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid var(--line-hover);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  flex-shrink: 0;
}
.consent input[type="checkbox"]:hover { border-color: var(--accent); }
.consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.consent input[type="checkbox"]:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--surface);
  clip-path: polygon(14% 44%, 0 60%, 38% 100%, 100% 18%, 86% 6%, 38% 70%);
}
.consent-text a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-text a:hover { color: var(--accent-hover); }

/* ─── Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 500;
  font-size: var(--fs-sm);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  line-height: 1;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover:not(:disabled) {
  background: var(--ink-soft);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -14px rgba(0,0,0,0.4);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }

.btn-large {
  font-size: var(--fs-body);
  padding: 16px 28px;
  min-height: 48px;
}

.btn-chev {
  width: 18px;
  height: 13px;
  display: block;
  color: currentColor;
}

.btn.is-loading .btn-label { opacity: 0.75; }
.btn.is-loading .btn-chev { display: none; }
.btn.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Reading stops ─────────────────────── */
.stops { display: grid; gap: 0; }

.stop {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
  padding-right: clamp(20px, 4vw, 40px);
}

.stop-text {
  max-width: 22ch;
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: var(--tr-tight);
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.stop.is-visible .stop-text {
  opacity: 1;
  transform: translateY(0);
}

.stop-letter {
  /* The chevron targets the left edge of this element — leave it styled
     identically to the surrounding text. */
  color: inherit;
}

/* Staggered horizontal positions. The parent .stop shifts the whole text
   block so max-width on the text itself stays intact. */
.stop[data-stop="1"] { padding-left: clamp(64px, 10vw, 140px); }
.stop[data-stop="1"] .stop-text { max-width: 20ch; }
.stop[data-stop="2"] {
  padding-left: clamp(240px, 42vw, 640px);
  justify-content: flex-start;
}
.stop[data-stop="2"] .stop-text { max-width: 20ch; }
.stop[data-stop="3"] { padding-left: clamp(80px, 7vw, 120px); }
.stop[data-stop="3"] .stop-text { max-width: 18ch; }

@media (max-width: 640px) {
  .stop { min-height: 78vh; }
  .stop-text { font-size: clamp(24px, 7vw, 36px); }
  /* Keep enough left padding for the chevron tip + breathing room so no
     stop feels like it's falling off the screen. */
  .stop[data-stop="1"] { padding-left: clamp(64px, 16vw, 96px); }
  .stop[data-stop="2"] { padding-left: clamp(96px, 24vw, 160px); }
  .stop[data-stop="3"] { padding-left: clamp(64px, 16vw, 96px); }
}

/* ─── Form stop (final wayfinder destination) ─── */
.form-stop {
  min-height: 100vh;
  padding-top: clamp(128px, 18vh, 240px);
  padding-bottom: clamp(96px, 14vh, 180px);
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
  display: grid;
  gap: var(--sp-6);
  align-content: center;
  justify-items: center;
  text-align: center;
}

.form-stop-head {
  max-width: 22ch;
}

.form-stop-explainer {
  max-width: 54ch;
}

.form-stop .analyzer {
  width: 100%;
}

.form-stop-head,
.form-stop-explainer,
.form-stop .analyzer {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.form-stop.is-visible .form-stop-head,
.form-stop.is-visible .form-stop-explainer,
.form-stop.is-visible .analyzer {
  opacity: 1;
  transform: translateY(0);
}

.form-stop-head {
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: var(--tr-tight);
  color: var(--ink);
  max-width: 22ch;
  margin: 0;
}

.form-stop-explainer {
  font-size: var(--fs-lead);
  line-height: var(--lh-normal);
  color: var(--mid);
  max-width: 48ch;
  margin: 0;
}

.form-stop .analyzer {
  margin: 0;
}

@media (max-width: 640px) {
  .form-stop {
    padding-left: clamp(20px, 5vw, 32px);
    padding-right: clamp(20px, 5vw, 32px);
    justify-items: center;
    text-align: center;
  }
  .form-stop-head,
  .form-stop-explainer { text-align: center; }
  .form-stop .analyzer { width: 100%; max-width: 420px; }
}

/* ─── Meme cycle — #BetterWhenPrompted ─────
   Second section, right after the hero. Full-bleed ink band. One
   meme visible at a time; others stack behind with opacity:0. The
   chevron's first scroll-stop lands here. */
.memes {
  background: #0A0A0A;
  color: #FAFAF9;
  padding: clamp(var(--sp-8), 12vw, var(--sp-10)) clamp(20px, 5vw, 40px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.memes-inner {
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  /* Reserve space below the dots so the chevron sits cleanly below
     them — not on top of / between them. Matches clearance in JS. */
  padding-bottom: clamp(72px, 10vh, 120px);
}
.memes-stage {
  position: relative;
  width: 100%;
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
}
@media (max-width: 640px) {
  .memes-stage { min-height: 420px; }
}
.meme {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 18px);
  padding: clamp(8px, 2vw, 16px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
}
.meme.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.meme-beat {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
  max-width: 42ch;
  color: #FAFAF9;
}
.meme-beat-1 { color: #C9C9C9; font-size: clamp(16px, 2vw, 20px); }
.meme-beat-2 { font-weight: 500; letter-spacing: -0.012em; }
.meme-beat-3 {
  font-weight: 600;
  font-size: clamp(20px, 2.8vw, 28px);
  letter-spacing: -0.015em;
}
.meme-beat-4 {
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(15px, 1.8vw, 18px);
  color: #FAFAF9;
}
.meme-hashtag {
  margin: 8px 0 0;
  font-family: var(--font);
  color: #06B6D4;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: clamp(14px, 1.6vw, 17px);
}
.memes-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 320px;
}
.memes-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.memes-dot:hover { background: rgba(6,182,212,0.55); }
.memes-dot.is-active {
  background: #06B6D4;
  transform: scale(1.3);
}
@media (prefers-reduced-motion: reduce) {
  .meme { transition: opacity .15s ease; transform: none; }
  .meme.is-active { transform: none; }
}

/* ─── Text-us modal ───────────────────────
   <dialog> that captures phone before opening the native SMS app. Brand
   surfaces + cyan primary action; ghost cancel. */
.text-us-modal {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  width: min(440px, calc(100vw - 32px));
  max-width: 440px;
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.45);
}
.text-us-modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
.text-us-form {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-6);
  margin: 0;
}
.text-us-title {
  margin: 0;
  font-size: clamp(20px, 3.2vw, 24px);
  font-weight: 500;
  letter-spacing: var(--tr-tight);
  color: var(--ink);
}
.text-us-body {
  margin: 0;
  color: var(--mid);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}
.text-us-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: flex-end;
  margin-top: var(--sp-2);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--line-hover); }

/* ─── Content slot (idle + results) ─────── */
.content-slot {
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-10);
}

.idle-paragraph {
  font-size: var(--fs-lead);
  line-height: var(--lh-normal);
  color: var(--mid);
  max-width: var(--maxw-prose);
}

/* ─── Results ───────────────────────────── */
.results {
  display: grid;
  gap: var(--sp-7);
  max-width: var(--maxw-prose);
}

.results-intro {
  font-size: var(--fs-lead);
  line-height: var(--lh-normal);
  color: var(--mid);
  max-width: 40ch;
}

.ad-mockup {
  display: grid;
  gap: var(--sp-3);
  max-width: 380px;
}

.ad-mockup-label {
  font-size: var(--fs-xs);
  color: var(--mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feed-ad {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px -28px rgba(0,0,0,0.4);
}

.feed-ad-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.feed-ad-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: grid;
  place-items: center;
}

.feed-ad-name { font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.25; }
.feed-ad-sub { font-size: 12px; color: var(--mute); line-height: 1.3; }

.feed-ad-more {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--mute);
  cursor: default;
  padding: 4px 8px;
}

.feed-ad-copy {
  padding: 0 12px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.feed-ad-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #06B6D4 0%, #0E7490 60%, #0A0A0A 100%);
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.feed-ad-image::before {
  /* Subtle chevron watermark in the corner — on-brand styling even
     without a real generated image. Dims further once a real hero
     photo lands so the mark doesn't fight the photo. */
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  height: 105px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-3 0 64 48'><g fill='none' stroke='white' stroke-width='7' stroke-linecap='square' stroke-linejoin='miter' opacity='0.14'><polyline points='6,6 26,24 6,42'/><polyline points='30,6 50,24 30,42'/></g></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.feed-ad-image.has-hero::before { opacity: 0.6; }

.feed-ad-image-fallback {
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  max-width: 90%;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}

/* ─── Video ad (HeyGen render) ─────────── */
.video-ad-holder {
  margin-top: var(--sp-6);
  background: #0A0A0A;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  color: #FAFAF9;
}
.video-ad-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.video-ad-pending {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #A3A3A3;
  line-height: 1.55;
  margin: 0;
}
.video-ad-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(6,182,212,0.25);
  border-top-color: #06B6D4;
  animation: video-ad-spin 0.9s linear infinite;
  flex-shrink: 0;
}
@keyframes video-ad-spin {
  to { transform: rotate(360deg); }
}
.video-ad-player {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto;
}
.video-ad-upsell {
  margin: var(--sp-4) auto 0;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.55;
  color: #A3A3A3;
  text-align: center;
}
.video-ad-upsell em {
  color: #FAFAF9;
  font-style: normal;
  font-weight: 600;
}
.video-ad-upsell a {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.video-ad-upsell a:hover { text-decoration: underline; }

/* ─── Gated video-request card ───────────────────────────────
   Sits between the automation card and the exclusivity line.
   Same dark surface as the video-ad-holder so it reads as the
   same "video ad" unit — just pre-render instead of post. */
.video-request-card {
  margin-top: var(--sp-6);
  background: #0A0A0A;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  color: #FAFAF9;
}
.video-request-kicker {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.video-request-title {
  font-family: var(--font-display, inherit);
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 var(--sp-2);
  color: #FAFAF9;
}
.video-request-copy {
  font-size: 14px;
  line-height: 1.55;
  color: #D4D4D4;
  margin: 0 0 var(--sp-4);
}
.video-request-form .field { margin-bottom: var(--sp-3); }
.video-request-form .field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #A3A3A3;
  font-weight: 600;
  margin-bottom: 6px;
}
.video-request-form .field-hint {
  text-transform: none;
  letter-spacing: 0;
  color: #737373;
  font-weight: 400;
}
.video-request-form .field input {
  width: 100%;
  background: #141414;
  border: 1px solid #262626;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #FAFAF9;
  font: inherit;
  font-size: 15px;
}
.video-request-form .field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.25);
}
.video-request-form .btn-primary {
  width: 100%;
  margin-top: var(--sp-2);
}
.video-request-form .btn-primary.is-loading {
  opacity: 0.7;
  cursor: progress;
}
.video-request-form .form-error:empty { display: none; }
.video-request-form .form-error {
  color: #FCA5A5;
  font-size: 13px;
  margin: 0 0 var(--sp-2);
}

.feed-ad-frame {
  background: color-mix(in oklab, var(--bg) 70%, var(--surface));
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.feed-ad-frame-url {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feed-ad-frame-headline {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

.feed-ad-frame-cta {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: default;
  white-space: nowrap;
}

.feed-ad-reactions {
  display: flex;
  gap: 18px;
  padding: 10px 12px 12px;
  font-size: 13px;
  color: var(--mute);
  border-top: 1px solid var(--line);
}

/* ─── Automation cards ──────────────────── */
.automation-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-4);
  max-width: 560px;
}

.automation-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: var(--sp-5);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  opacity: 0;
  transform: translateY(8px);
  animation: card-in .5s ease forwards;
}

@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}

.automation-card:hover {
  border-color: var(--line-hover);
  border-left-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -24px rgba(0,0,0,0.35);
}

.automation-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.automation-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-2);
  color: var(--ink);
}

.automation-desc {
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--mid);
  margin-bottom: var(--sp-4);
}

.automation-block {
  margin-top: var(--sp-4);
}
.automation-block[hidden] { display: none; }

.automation-block-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.automation-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.automation-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 32px;
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--mid);
}
.automation-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.automation-example-copy {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--mid);
  padding: var(--sp-3);
  background: color-mix(in oklab, var(--accent) 6%, transparent);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0;
}

.automation-outcome {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--ink);
  font-weight: 500;
}
.automation-outcome[hidden] { display: none; }
.automation-outcome-label {
  color: var(--mute);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-right: 6px;
}

.automation-timeline {
  margin-top: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--mid);
  font-weight: 500;
}
.automation-timeline-chev {
  width: 16px;
  height: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

.automation-rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--sp-4) 0;
}

.automation-reason {
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--mid);
  line-height: var(--lh-normal);
}

/* ─── Exclusivity + results CTA ─────────── */
.results-rule {
  border: none;
  border-top: 1px solid var(--line);
  max-width: 560px;
  margin: 0;
}

.exclusivity {
  font-size: var(--fs-sm);
  color: var(--mute);
  max-width: 48ch;
  line-height: var(--lh-normal);
}

.results-cta { justify-self: start; }

.results-supporting {
  font-size: var(--fs-sm);
  color: var(--mute);
  margin-top: calc(var(--sp-4) * -1);
}

/* ─── Footer ───────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--sp-5) clamp(20px, 4vw, 40px);
  font-size: var(--fs-sm);
  color: var(--mute);
  text-align: center;
}
.site-footer a { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--ink); }

/* ─── Reduced motion ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .chevron-guide { transform: translate(calc(100vw - 80px), 140px) !important; }
  .automation-card { opacity: 1; transform: none; }
}

/* ─── Results page header ───────────────── */
.results-header {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
  max-width: var(--maxw-prose);
}
.results-heading {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.results-subheading {
  margin: 0;
  font-size: var(--fs-lead);
  color: var(--mid);
  line-height: var(--lh-normal);
}
.results-subheading a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.results-loading {
  font-size: var(--fs-lead);
  color: var(--mute);
}
.wordmark-mark {
  display: inline-block;
  width: 28px;
  height: 21px;
  color: var(--accent);
}

/* ─── Legal pages (privacy, terms) ─────────────── */
.legal {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: var(--sp-8);
  max-width: var(--maxw-prose);
  color: var(--mid);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.legal-header { margin-bottom: var(--sp-6); }
.legal-heading {
  margin: 0 0 var(--sp-3);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.legal-meta {
  margin: 0;
  color: var(--mute);
  font-size: var(--fs-sm);
}
.legal-body h2 {
  color: var(--ink);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: var(--sp-6) 0 var(--sp-3);
}
.legal-body p { margin: 0 0 var(--sp-4); }
.legal-body ul {
  margin: 0 0 var(--sp-4);
  padding-left: 22px;
}
.legal-body li { margin-bottom: var(--sp-2); }
.legal-body a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--accent-hover); }
.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.legal-callout {
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 6%, var(--surface));
  border-radius: 10px;
  padding: var(--sp-4) var(--sp-5);
  margin: var(--sp-5) 0;
}
.legal-callout-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin: 0 0 var(--sp-3);
}
.legal-callout p { margin: 0 0 var(--sp-3); color: var(--ink); }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-callout-aside {
  font-size: var(--fs-sm);
  color: var(--mid) !important;
}
.legal-contact {
  font-style: normal;
  color: var(--mid);
}
