/* ============================================================
   Owner Acquisition Engine — design system
   "The operator's prospectus": Capsule AI black, gold accent,
   editorial serif numerals, ledger hairlines. Mobile-first.
   ============================================================ */

:root {
  /* palette — Capsule AI brand: near-black neutrals, white text, silver + gold chromatics */
  --ink-950: #050505;
  --ink-900: #0d0d0d;
  --ink-850: #131313;
  --ink-800: #1f1f1f;
  --paper: #ffffff;
  --paper-dim: #ccced4;
  --muted: #96999f;
  --silver: #c3c6cd;
  --brass: #cea571;
  --brass-deep: #c2924f;
  --rule: color-mix(in oklab, var(--paper) 13%, transparent);
  --rule-strong: color-mix(in oklab, var(--paper) 26%, transparent);

  /* type */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", sans-serif;
  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.88rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.11rem);
  --step-1: clamp(1.19rem, 1.12rem + 0.35vw, 1.38rem);
  --step-2: clamp(1.44rem, 1.3rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.86rem, 1.6rem + 1.3vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.5vw, 3.9rem);
  --step-5: clamp(2.4rem, 1.7rem + 2.7vw, 3.6rem);

  /* space */
  --s-1: clamp(0.5rem, 0.45rem + 0.25vw, 0.65rem);
  --s0: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  --s1: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --s2: clamp(2.6rem, 2.2rem + 2vw, 3.8rem);
  --s3: clamp(4.2rem, 3.4rem + 4vw, 6.8rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-quint */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* keep anchor targets clear of the sticky topbar (~70px) when scrolled to */
:target, [id] { scroll-margin-top: 5.5rem; }

body {
  /* quiet near-black base with a faint neutral lift — no color washes */
  background:
    radial-gradient(110rem 60rem at 50% -8%, oklch(30% 0.008 72 / 0.5), transparent 62%),
    var(--ink-950);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* film grain — kills the flat digital feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--brass); color: var(--ink-950); }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass) !important; /* Marc 7/23: beats .guarantee p color override */
}
/* Marc 7/23: same eyebrow→headline gap everywhere, matching .section-head's grid gap.
   Scoped to eyebrows directly followed by an h2 outside .section-head (which already has the gap)
   and outside the hero (its grid gap already spaces the h1). */
:not(.section-head, .hero-center) > .eyebrow + h2,
:not(.hero-center) > .eyebrow + h1 { margin-top: var(--s0); }

h1, h2, h3 { font-family: var(--serif); font-weight: 460; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: var(--step-5); font-variation-settings: "SOFT" 40, "opsz" 100; }
h2 { font-size: var(--step-4); font-variation-settings: "SOFT" 40, "opsz" 60; }
h3 { font-size: var(--step-2); line-height: 1.2; }

.serif-accent { font-style: italic; color: var(--brass); font-variation-settings: "SOFT" 80; }
.tm { font-family: var(--sans); font-size: var(--step-1); font-style: normal; color: var(--brass); }
.tm-white { color: var(--paper); }
.lede { font-size: var(--step-1); color: var(--paper-dim); line-height: 1.55; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 640;
  font-size: var(--step-0);
  text-decoration: none;
  padding: 0.9em 1.9em;
  border-radius: 10px; /* Marc's mockup: "rectangle, not full pill" — Letter page stays pill until he locks the shape in */
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn-primary { background: var(--brass); color: var(--ink-950); }
.btn-primary:hover { background: var(--brass-deep); transform: translateY(-2px); }
.btn-outline {
  background: var(--ink-900);
  border: 1.75px solid color-mix(in oklab, var(--brass) 55%, transparent);
  color: var(--paper);
}
.btn-outline:hover {
  border-color: var(--brass);
  background: var(--ink-850);
  transform: translateY(-2px);
}
.btn-ghost { border: 1px solid var(--rule); color: var(--paper-dim); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }
.btn-arrow { display: inline-flex; align-items: center; margin-left: 0.5em; transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-note { display: block; margin-top: 0.7rem; font-size: var(--step--1); color: var(--muted); }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--ink-950) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.topbar.scrolled {
  background: color-mix(in oklab, var(--ink-950) 96%, transparent);
  border-bottom-color: var(--rule-strong);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; }
/* Capsule AI wordmark (the client's own logo file) — top left, nothing else */
.wordmark { display: flex; align-items: center; text-decoration: none; }
.wordmark .logo { display: block; height: clamp(20px, 1.1rem + 0.6vw, 26px); width: auto; }
.topbar .btn { padding: 0.6em 1.3em; font-size: var(--step--1); }

/* ---------- hero ---------- */
/* Fills the first viewport exactly: 100svh minus the measured topbar (--topbar-h set in main.js).
   One toned-down background image, copy centered on top — per Marc's 7/22 feedback. */
.hero {
  position: relative;
  min-height: calc(100svh - var(--topbar-h, 4.6rem));
  display: grid;
  align-content: center;
  justify-items: center;
  padding-block: var(--s2);
  overflow: clip;
  text-align: center;
}
/* background ported from the VSL slide deck (Marc 08-10: same bg as the deck):
   gold radial glow top-right + soft paper lift bottom-left, over masked grid lines */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: clamp(48px, 6.25vw, 100px) clamp(48px, 6.25vw, 100px);
  opacity: 0.38;
  -webkit-mask-image: linear-gradient(135deg, black, transparent 72%);
  mask-image: linear-gradient(135deg, black, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(75% 120% at 100% 0%, color-mix(in oklab, var(--brass) 14%, transparent), transparent 55%),
    radial-gradient(60% 90% at 0% 100%, color-mix(in oklab, var(--paper) 5%, transparent), transparent 60%);
  pointer-events: none;
}
.hero-center {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: 56rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 1.6rem + 3vw, 4.1rem);
  margin-block: 0.7rem var(--s0);
  text-wrap: balance;
}
.hero .accent { font-style: italic; color: var(--brass); font-variation-settings: "SOFT" 80; }

.hero .lede { max-width: 68ch; margin-bottom: var(--s1); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; justify-content: center; }

/* ---------- section scaffolding ---------- */
section { padding-block: var(--s3); }
.section-head { display: grid; gap: var(--s0); margin-bottom: var(--s2); }
.section-head h2 { max-width: 22ch; text-wrap: balance; }
.section-num {
  font-family: var(--serif); font-style: italic; font-size: var(--step-1);
  color: var(--muted);
}
.ruled { border-top: 1px solid var(--rule); }
/* translucent band — lets the body's ambient gradients glow through */
.alt {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--paper) 4.5%, transparent),
    color-mix(in oklab, var(--paper) 2%, transparent)
  );
}

/* ---------- faded background imagery ---------- */
.has-bg { position: relative; }
.has-bg > * { position: relative; z-index: 1; }
.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  /* pull residual navy tint out of the generated imagery — B/W with the page's own gold/silver */
  filter: saturate(0.25);
}
.bg-engine::before {
  background-image: url("../images/bg-blueprint.png");
  opacity: 0.13;
  -webkit-mask-image: radial-gradient(85rem 55rem at 88% 15%, black, transparent 72%);
  mask-image: radial-gradient(85rem 55rem at 88% 15%, black, transparent 72%);
}
.bg-final::before {
  background-image: url("../images/bg-city-night.png");
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, black 60%);
  mask-image: linear-gradient(180deg, transparent 4%, black 60%);
}

/* ---------- VSL / video ---------- */
.vsl { padding-block: var(--s3); } /* Marc 7/23: equal top/bottom */
.video-frame {
  position: relative; border: 1px solid var(--rule-strong); border-radius: 4px; overflow: clip;
  aspect-ratio: 16 / 9; background: var(--ink-900);
}
.video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; }
.video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: saturate(0.3); transition: transform 0.9s var(--ease); }
.video-frame:hover img { transform: scale(1.04); }
.video-frame .video-note {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 0.5rem; padding: var(--s0);
}
.play-ring {
  width: 74px; height: 74px; margin-inline: auto; border-radius: 50%;
  border: 1px solid var(--brass); display: grid; place-content: center;
  color: var(--brass); font-size: 1.3rem;
  transition: transform 0.35s var(--ease);
}
.video-frame:hover .play-ring { transform: scale(1.08); }

/* ---------- problem ---------- */
.split { display: grid; gap: var(--s2); align-items: center; }
.split img { border-radius: 4px; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(0.3); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
.problem-inner { max-width: 980px; }
.problem-card { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-radius: 18px; background: var(--ink-900); overflow: hidden; margin-top: var(--s2); }
.problem-col { padding: 2rem 1.85rem; border-left: 1px solid var(--rule); transition: background .35s var(--ease); }
.problem-col:first-child { border-left: 0; }
.problem-col:hover { background: var(--ink-850); }
.problem-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.problem-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: .78rem; font-weight: 600; padding: .4rem .75rem; border-radius: 8px; background: color-mix(in oklab, #b3453c 16%, var(--ink-900)); color: color-mix(in oklab, #b3453c 80%, var(--paper)); white-space: nowrap; }
.problem-tag svg { width: 12px; height: 12px; flex-shrink: 0; }
.problem-col p { font-family: var(--sans); font-size: var(--step--1); line-height: 1.6; color: var(--paper-dim); margin: 0; }
.problem-col p strong { display: block; font-family: var(--serif); font-weight: 460; font-size: var(--step-1); line-height: 1.3; color: var(--paper); margin-bottom: .5rem; }
.problem-callout { font-family: var(--serif); font-size: var(--step-1); color: var(--paper-dim); text-align: center; margin-top: var(--s2); }
.problem-callout em { color: var(--brass); font-style: normal; }
@media (max-width: 780px) {
  .problem-card { grid-template-columns: 1fr; }
  .problem-col { border-left: 0; border-top: 1px solid var(--rule); }
  .problem-col:first-child { border-top: 0; }
}
.problem-list { display: grid; gap: var(--s0); margin-top: var(--s1); }
.problem-list li {
  list-style: none; padding-left: 1.6rem; position: relative; color: var(--paper-dim);
}
.problem-list li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }

/* ---------- engine machine (four stations) ---------- */
.engine-intro { display: grid; gap: var(--s0); max-width: 66ch; }
.machine { margin-top: var(--s1); position: relative; border: 1px solid var(--rule); border-radius: 18px; background: var(--ink-900); overflow: hidden; }
.machine::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--silver) 65%, transparent), transparent); }
.machine-head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--rule); background: var(--ink-850); }
.machine-head span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.machine-head span strong { color: var(--muted); font-weight: 700; }
.layer { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1.1rem; row-gap: .85rem; padding: 1.6rem 1.5rem; border-top: 1px solid var(--rule); border-left: 2px solid color-mix(in oklab, var(--brass) 22%, transparent); transition: background .35s var(--ease), border-color .35s var(--ease); }
.layer:first-child { border-top: 0; }
.layer:hover { background: var(--ink-850); border-left-color: color-mix(in oklab, var(--brass) 65%, transparent); }
.layer-rail { position: relative; display: flex; flex-direction: column; align-items: center; }
.station-num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--brass); opacity: .9; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.layer:hover .station-num { transform: translateY(-2px); opacity: 1; }
.layer-focus { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.station-icon { width: 2.6rem; height: 2.6rem; flex: 0 0 auto; border-radius: 12px; border: 1px solid color-mix(in oklab, var(--brass) 32%, transparent); background: var(--ink-900); display: grid; place-items: center; color: var(--brass); transition: border-color .35s var(--ease), background .35s var(--ease); }
.layer:hover .station-icon { border-color: color-mix(in oklab, var(--brass) 60%, transparent); background: var(--ink-850); }
.station-icon svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.layer-focus h3 { font-size: 1.4rem; margin: 0; line-height: 1.1; }
.station-out { display: block; margin-top: .3rem; font-family: var(--sans); font-size: .67rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
.station-out::before { content: "→"; margin-right: .4rem; opacity: .75; }
.layer-copy { min-width: 0; }
.layer-copy ul { list-style: none; margin: 0; padding: 0; max-width: 56ch; }
.layer-copy li { position: relative; padding-left: 1rem; margin: 0 0 .45rem; font-size: .93rem; color: var(--paper-dim); line-height: 1.45; }
.layer-copy li:last-child { margin-bottom: 0; }
.layer-copy li::before { content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: color-mix(in oklab, var(--brass) 75%, transparent); }
.machine-foot { border-top: 1px solid var(--rule); padding: 1.4rem 1.75rem; background: var(--ink-850); text-align: center; }
.machine-foot p { margin: 0 auto; font-size: .95rem; color: var(--paper-dim); max-width: 58ch; text-wrap: balance; }
@media (min-width: 860px) {
  .layer { grid-template-columns: 2.75rem minmax(0, .75fr) minmax(0, 1.3fr); column-gap: 1.25rem; align-items: start; padding: 1.7rem 1.75rem; }
  .layer-rail, .layer-focus { align-self: center; }
}
@media (max-width: 859px) { .layer-copy { grid-column: 2; } }

/* ---------- stats strip ---------- */
.stats { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); padding-block: var(--s2); justify-content: center; text-align: center; }
.stat .n { font-family: var(--serif); font-size: var(--step-4); font-style: italic; color: var(--brass); line-height: 1; }
.stat .l { font-size: var(--step--1); color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-top: 0.4rem; }

/* ---------- qualification ---------- */
.bg-fit::before {
  background-image: url("../images/fit-mailboxes.png");
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(75rem 45rem at 86% 10%, black, transparent 68%);
  mask-image: radial-gradient(75rem 45rem at 86% 10%, black, transparent 68%);
}

.qualify-cols { display: grid; gap: var(--s1); }
@media (min-width: 780px) { .qualify-cols { grid-template-columns: 1fr 1fr; } }
.qualify-cols > div { padding: var(--s1); border-radius: 20px; border: 1px solid var(--rule); }
.for-panel {
  background: color-mix(in oklab, var(--brass) 6%, transparent);
  border-color: color-mix(in oklab, var(--brass) 26%, transparent);
}
.not-panel { background: color-mix(in oklab, var(--paper) 2.5%, transparent); }
.qualify-cols h3 { margin-bottom: var(--s0); }
.qualify-cols ul { display: grid; gap: 0.7rem; }
.qualify-cols li { list-style: none; padding-left: 1.7rem; position: relative; color: var(--paper-dim); }
.for li::before { content: "✓"; position: absolute; left: 0; color: var(--brass); font-weight: 700; }
.not li::before { content: "✕"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }

/* ---------- founder ---------- */
/* Layout per Marc's 08-11 mockup (section 4): left column = headshot + small italic headline +
   name-line; right column = body copy + letter CTA. Block centered per his "should be centered" note. */
.founder-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; max-width: 62rem; margin-inline: auto; }
.founder-intro { display: grid; justify-items: start; gap: var(--s0); }
.founder-headshot { width: clamp(12rem, 18vw, 16.25rem); height: clamp(12rem, 18vw, 16.25rem); object-fit: cover; border-radius: 50%; box-shadow: 0 1.25rem 3rem color-mix(in oklab, var(--ink-950) 70%, transparent); }
.founder-headline { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: var(--step-2); line-height: 1.25; color: var(--paper); max-width: 18ch; font-variation-settings: "SOFT" 80; }
.founder-name { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.founder-body { color: var(--paper-dim); display: grid; gap: var(--s0); max-width: 60ch; }
.founder-body .btn { justify-self: start; margin-top: 0.3rem; }
@media (min-width: 860px) { .founder-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .founder-body { padding-top: 0.5rem; } }

.fineprint { font-size: var(--step--1); color: var(--muted); margin-top: var(--s0); }

/* ---------- FAQ ---------- */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s0); padding-block: var(--s0); font-weight: 600; font-size: var(--step-1);
  transition: color 0.25s var(--ease);
}
.faq summary:hover { color: var(--brass); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); color: var(--brass); font-size: 1.4em; transition: rotate 0.3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq details[open] .a { grid-template-rows: 1fr; }
.faq .a > div { overflow: hidden; }
.faq .a p { color: var(--paper-dim); padding-bottom: var(--s0); max-width: 62ch; }

/* ---------- opt-in (marketing route) ---------- */
.optin-grid { display: grid; gap: var(--s2); align-items: center; }
@media (min-width: 900px) { .optin-grid { grid-template-columns: 1.05fr 1fr; } }
.optin h2 { max-width: 16ch; text-wrap: balance; }
.optin .lede { max-width: 46ch; margin-block: var(--s0); }
.optin .problem-list { margin-top: var(--s0); }
.optin-form {
  border: 1px solid color-mix(in oklab, var(--brass) 30%, transparent);
  background: color-mix(in oklab, var(--brass) 6%, transparent);
  border-radius: 24px;
  padding: var(--s1);
  min-height: 430px;
  display: grid;
}
.form-slot {
  border: 1px dashed var(--rule-strong);
  border-radius: 16px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: var(--s1);
}
.optin-form iframe { width: 100%; height: 100%; min-height: 400px; border: none; border-radius: 16px; }

/* roadmap opt-in — native fields, not the GHL widget. Labels carry the uppercase eyebrow
   treatment; the controls reset back to sentence case so typed input reads normally. */
.optin-fields { display: grid; gap: var(--s0); align-content: center; }
.optin-fields .eyebrow { margin-bottom: calc(-1 * var(--s-1)); }
.optin-fields label {
  display: grid;
  gap: 0.45rem;
  font-size: var(--step--1);
  color: var(--paper-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.optin-fields input,
.optin-fields select {
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--paper);
  background: color-mix(in oklab, var(--ink-950) 55%, transparent);
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  padding: 0.7em 0.85em;
  width: 100%;
  transition: border-color 0.35s var(--ease);
}
.optin-fields input::placeholder { color: var(--muted); }
.optin-fields input:focus-visible,
.optin-fields select:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-color: var(--brass); }
.optin-fields select { cursor: pointer; }
.optin-fields select:invalid { color: var(--muted); }
.optin-fields option { background: var(--ink-900); color: var(--paper); }
.optin-fields button.btn { width: 100%; border: 0; cursor: pointer; }
.optin-fields button.btn[disabled] { opacity: 0.55; cursor: default; transform: none; }
.form-status { font-size: var(--step--1); color: var(--muted); min-height: 1.2em; margin: 0; }
.form-status[data-state="error"] { color: #e6a5a5; }

/* ---------- final CTA ---------- */
.final { text-align: center; padding-block: var(--s3); }
.final h2 { margin-inline: auto; margin-bottom: var(--s1); }
.final .lede { margin-inline: auto; margin-bottom: var(--s1); max-width: 52ch; text-wrap: balance; } /* Marc 7/23: 3 lines, no orphans */

/* ---------- booking page ---------- */
.book-hero { padding-block: var(--s2) var(--s1); }
/* Marc 7/30: "add a space between the headline and sub-headline so its not crowded" (booking page).
   .page-title only set font-size, so the gap was 0 on every sub-page — book, letter, apply,
   book-vsl — while .hero h1 and .legal h1 both carry var(--s0). Fixed once here. */
.page-title { font-size: var(--step-4); margin-bottom: var(--s0); }
/* Marc 7/23: "Book your owner acquisition call." must fit on one line (desktop) */
.book-hero .page-title { font-size: clamp(1.7rem, 3.4vw, 2.9rem); white-space: nowrap; }
@media (max-width: 700px) { .book-hero .page-title { white-space: normal; } }
.subsection-title { font-size: var(--step-3); }
.calendar-slot {
  border: 1px dashed var(--rule-strong); border-radius: 4px; min-height: 560px;
  display: grid; place-content: center; text-align: center; gap: 0.6rem; padding: var(--s1);
  background: var(--ink-900);
}
.steps { counter-reset: step; display: grid; gap: var(--s1); }
.step { display: grid; grid-template-columns: 3.2rem 1fr; gap: var(--s0); align-items: baseline; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-style: italic; font-size: var(--step-2); color: var(--brass);
}
.step p { color: var(--paper-dim); }

/* ---------- pre-call ---------- */
.checklist { display: grid; gap: 0.8rem; }
.checklist li { list-style: none; padding-left: 1.8rem; position: relative; color: var(--paper-dim); }
.checklist li::before { content: "□"; position: absolute; left: 0; color: var(--brass); }

/* ---------- legal pages ---------- */
.legal { padding-block: var(--s2); }
.legal h1 { font-size: var(--step-3); margin-bottom: var(--s0); }
.legal h2 { font-size: var(--step-1); font-family: var(--serif); font-weight: 560; margin: var(--s1) 0 0.5rem; }
.legal p, .legal li { color: var(--paper-dim); margin-bottom: 0.6rem; font-size: var(--step-0); }
.legal ul { padding-left: 1.2rem; }
.draft-banner {
  background: color-mix(in oklab, var(--brass) 16%, var(--ink-900));
  border: 1px solid var(--brass-deep); border-radius: 3px;
  padding: var(--s0); font-size: var(--step--1); color: var(--paper); margin-block: var(--s1);
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); padding-block: var(--s2); font-size: var(--step--1); color: var(--muted); }
.foot-grid { display: flex; flex-wrap: wrap; gap: var(--s0) var(--s2); justify-content: space-between; align-items: baseline; }
footer a { color: var(--paper-dim); text-decoration: none; }
footer a:hover { color: var(--brass); }

/* Scroll-reveal motion removed per Marc's 7/22 feedback (no moving graphics) —
   .reveal / .img-wipe classes remain in the markup as inert hooks. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .play-ring, .video-frame img, .layer, .station-num, .station-icon, .topbar { transition: none; }
}
