/* =========================================================================
   Virtual Mechanical Physical Therapy, PLLC
   Design system + site styles.
   One stylesheet: tokens, then primitives, then components.
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand */
  --ink:        #0d1b2a;
  --ink-2:      #33475b;
  --ink-3:      #5a6c7f;

  --brand-900:  #0f3a66;
  --brand-800:  #14497f;
  --brand-700:  #1a5ca8;   /* primary action - 6.7:1 on white */
  --brand-500:  #4b86c7;
  --brand-300:  #a8c6e6;
  --brand-100:  #e7f0fa;
  --brand-50:   #f4f8fd;

  --accent-700: #c2410c;   /* warm highlight - 5.2:1 on white */
  --accent-500: #ea8c4b;
  --accent-100: #fdf1e7;

  --good-700:   #12694f;
  --good-100:   #e6f4ef;

  --surface:    #ffffff;
  --surface-2:  #f7f9fc;
  --line:       #e2e9f1;
  --line-2:     #cfdbe8;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.10vw, 0.90rem);
  --step-0:  clamp(1.00rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.09rem + 0.30vw, 1.33rem);
  --step-2:  clamp(1.38rem, 1.26rem + 0.58vw, 1.75rem);
  --step-3:  clamp(1.66rem, 1.44rem + 1.05vw, 2.30rem);
  --step-4:  clamp(2.00rem, 1.62rem + 1.85vw, 3.05rem);
  --step-5:  clamp(2.35rem, 1.75rem + 2.90vw, 3.90rem);

  /* Space */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;

  --container: 1180px;
  --radius:   14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13,27,42,.06), 0 1px 3px rgba(13,27,42,.05);
  --shadow-md: 0 4px 10px rgba(13,27,42,.06), 0 12px 28px rgba(13,27,42,.07);
  --shadow-lg: 0 10px 24px rgba(13,27,42,.08), 0 28px 60px rgba(13,27,42,.10);

  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-4);
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
.h3 { font-size: var(--step-2); }  /* an h2 that should look like an h3 */
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--brand-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-900); }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }
li + li { margin-top: .4em; }

strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

:focus-visible {
  outline: 3px solid var(--brand-700);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-900); color: #fff; padding: .75rem 1.1rem;
  border-radius: 0 0 10px 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout primitives ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--tint { background: var(--surface-2); }
.section--brand {
  background: linear-gradient(160deg, var(--brand-900) 0%, #16467a 55%, var(--brand-800) 100%);
  color: #fff;
}
.section--brand h1, .section--brand h2, .section--brand h3 { color: #fff; }
/* Buttons carry their own colour: never let the section link colour win. */
.section--brand a:not(.btn) { color: #cfe3f8; }

.section-head { max-width: 46rem; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-size: var(--step--1); font-weight: 650;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-700); margin: 0 0 var(--sp-3);
}
.section--brand .eyebrow { color: var(--brand-300); }

.lede { font-size: var(--step-1); color: var(--ink-2); line-height: 1.6; }
.section--brand .lede { color: #d8e6f6; }
.muted { color: var(--ink-3); }
.small { font-size: var(--step--1); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose > :first-child { margin-top: 0; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.center { text-align: center; }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-700);
  --btn-fg: #fff;
  --btn-bd: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem;
  min-height: 48px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius-pill);
  font: inherit; font-weight: 650; font-size: var(--step-0);
  line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  box-shadow: var(--shadow-sm);
}
a.btn, button.btn { color: var(--btn-fg); }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1rem 1.9rem; font-size: var(--step-1); min-height: 56px; }
.btn--sm { padding: .5rem 1rem; min-height: 40px; font-size: var(--step--1); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand-900); --btn-bd: var(--line-2); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--brand-50); }

.btn--onbrand { --btn-bg: #fff; --btn-fg: var(--brand-900); --btn-bd: #fff; }
.btn--onbrand-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); box-shadow: none; }
.btn--onbrand-ghost:hover { --btn-bg: rgba(255,255,255,.12); }

.btn--block { width: 100%; }
.btn .icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- 5. Header / nav --------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 38px; height: auto; border-radius: 7px; }
.brand__name {
  font-family: var(--font-serif); font-weight: 650;
  font-size: 1.06rem; line-height: 1.15; letter-spacing: -.01em;
}
.brand__tag {
  display: block; font-family: var(--font-sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .05em; color: var(--ink-3); text-transform: uppercase;
}

/* Keep the header one line tall at every width. */
.site-header .brand__name,
.site-header .brand__tag,
.site-header .nav a,
.site-header .header-actions .btn { white-space: nowrap; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  display: block; padding: .5rem .7rem; border-radius: 9px;
  color: var(--ink-2); font-weight: 550; font-size: .95rem; text-decoration: none;
}
.nav a:hover { background: var(--brand-50); color: var(--brand-900); }
.nav a[aria-current="page"] { color: var(--brand-900); background: var(--brand-100); }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.header-phone { display: none; font-weight: 650; color: var(--brand-900); text-decoration: none; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }
.header-actions .btn { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 12px;
  color: var(--brand-900); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: var(--sp-4) 0 var(--sp-5);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0 0 var(--sp-4); padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem .25rem; color: var(--ink); font-weight: 600;
  text-decoration: none; font-size: 1.05rem;
}
.mobile-nav a:not(.btn)[aria-current="page"] { color: var(--brand-700); }
.mobile-nav__cta { display: grid; gap: var(--sp-3); }

@media (min-width: 1000px) {
  .nav { display: block; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .header-actions .btn { display: inline-flex; }
}

/* The phone number only earns its place once the nav has room to spare. */
@media (min-width: 1180px) {
  .header-phone { display: inline; }
}

/* ---------- 6. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 82% -8%, var(--brand-100) 0%, rgba(231,240,250,0) 70%),
    linear-gradient(180deg, var(--brand-50) 0%, #fff 78%);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: var(--sp-8); }
}
.hero h1 { margin-bottom: var(--sp-5); }
.hero .lede { max-width: 34rem; }
.hero__cta { margin-top: var(--sp-6); gap: var(--sp-4); }

.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .85rem;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-size: var(--step--1); font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--good-700); flex: none; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-6); padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  list-style: none; padding-left: 0;
}
.trust-row li {
  display: flex; align-items: center; gap: .5rem; margin: 0;
  font-size: var(--step--1); font-weight: 600; color: var(--ink-2);
}
.trust-row .icon { width: 1.15rem; height: 1.15rem; color: var(--good-700); flex: none; }

/* Clinician card */
.clinician {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; max-width: 420px; margin-inline: auto; width: 100%;
}
.clinician picture { display: block; }
.clinician img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 20%; }
.clinician__body { padding: var(--sp-5); }
.clinician__name { font-family: var(--font-serif); font-size: var(--step-2); font-weight: 650; margin: 0 0 .15rem; }
.clinician__creds {
  font-size: var(--step--1); font-weight: 650; letter-spacing: .03em;
  color: var(--brand-700); text-transform: uppercase; margin: 0 0 var(--sp-3);
}

/* ---------- 7. Cards ----------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; }
.card--tint { background: var(--brand-50); border-color: var(--brand-100); }
.card h3 { margin-bottom: var(--sp-3); }
.card p:last-child { margin-bottom: 0; }

.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: var(--sp-4);
  border-radius: 12px; background: var(--brand-100); color: var(--brand-800);
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--warm { background: var(--accent-100); color: var(--accent-700); }
.card__icon--good { background: var(--good-100); color: var(--good-700); }

/* Numbered steps */
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: var(--sp-4);
  border-radius: 50%; background: var(--brand-700); color: #fff;
  font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem;
}

/* Stat tiles */
.stat__num {
  display: block; font-family: var(--font-serif); font-weight: 650;
  font-size: var(--step-4); line-height: 1.05; color: var(--brand-800);
  letter-spacing: -.02em; margin-bottom: .35rem;
}
.section--brand .stat__num { color: #fff; }
.stat__label { font-size: var(--step--1); color: var(--ink-2); line-height: 1.5; }
.section--brand .stat__label { color: #cfe0f3; }

/* ---------- 8. Comparison ----------------------------------------------- */
.compare { display: grid; gap: var(--sp-5); align-items: stretch; }
@media (min-width: 880px) { .compare { grid-template-columns: repeat(3, 1fr); } }

.plan {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.plan--feature { border: 2px solid var(--brand-700); box-shadow: var(--shadow-lg); position: relative; }
.plan__flag {
  position: absolute; top: -.85rem; left: var(--sp-5);
  background: var(--brand-700); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--radius-pill);
}
.plan__name { font-family: var(--font-serif); font-size: var(--step-2); margin: 0 0 .2rem; }
.plan__sub { font-size: var(--step--1); color: var(--ink-3); margin: 0 0 var(--sp-4); }
.plan__price {
  font-family: var(--font-serif); font-size: var(--step-3); font-weight: 650;
  color: var(--brand-900); line-height: 1.1;
}
.plan__price span {
  display: block; font-family: var(--font-sans); font-size: var(--step--1);
  font-weight: 600; color: var(--ink-3); letter-spacing: .02em;
  text-transform: uppercase; margin-top: .3rem;
}
.plan__list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; border-top: 1px solid var(--line); }
.plan__list li {
  display: flex; gap: .6rem; padding: .7rem 0; margin: 0;
  border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.5;
}
.plan__list li:last-child { border-bottom: 0; }
.plan__list .icon { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .2rem; color: var(--ink-3); }
.plan--feature .plan__list .icon { color: var(--good-700); }
.plan__foot { margin-top: auto; padding-top: var(--sp-5); }

/* ---------- 9. Quotes / video ------------------------------------------- */
.quote {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--brand-500);
  border-radius: var(--radius); padding: var(--sp-5); margin: 0;
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.02rem; color: var(--ink-2); }
.quote footer { margin-top: var(--sp-4); font-size: var(--step--1); font-weight: 650; color: var(--ink); }
.stars { color: var(--accent-500); letter-spacing: .08em; font-size: .95rem; }

.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-placeholder {
  display: grid; place-content: center; gap: .6rem; text-align: center;
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--brand-50); border: 2px dashed var(--line-2);
  color: var(--ink-3); padding: var(--sp-5); font-size: var(--step--1);
}
.video-placeholder svg { width: 34px; height: 34px; margin-inline: auto; color: var(--brand-500); }

/* ---------- 10. Evidence timeline ---------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--brand-300), var(--brand-100));
}
.timeline > li { position: relative; margin: 0 0 var(--sp-6); padding-left: 2.6rem; }
.timeline > li::before {
  content: ""; position: absolute; left: 2px; top: .5rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand-700);
}
.timeline__year {
  display: inline-block; font-family: var(--font-sans); font-weight: 700;
  font-size: var(--step--1); letter-spacing: .08em; color: var(--accent-700);
  margin-bottom: .35rem;
}
.timeline h3 { font-size: var(--step-1); margin-bottom: var(--sp-3); }
.citation {
  display: block; margin-top: var(--sp-3);
  font-size: .84rem; line-height: 1.55; color: var(--ink-3);
  padding-top: var(--sp-3); border-top: 1px dashed var(--line-2);
}

/* ---------- 11. FAQ ------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding: 1.15rem .25rem; cursor: pointer; list-style: none;
  font-family: var(--font-serif); font-size: var(--step-1); font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.2rem; height: 1.2rem; margin-top: .3rem;
  background: var(--brand-700);
  transition: transform .2s ease;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>");
  mask: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>");
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-800); }
.faq__body { padding: 0 .25rem 1.3rem; max-width: 68ch; color: var(--ink-2); }

/* ---------- 12. Fit check (self-assessment) ------------------------------ */
.fitcheck { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .fitcheck { grid-template-columns: 1fr 1fr; align-items: start; } }

.fitcheck__form { display: grid; gap: var(--sp-2); }
.check {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .9rem 1rem;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 12px; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.check:hover { border-color: var(--brand-300); background: var(--brand-50); }
.check:has(input:checked) { border-color: var(--brand-700); background: var(--brand-50); }
.check:has(input:focus-visible) { outline: 3px solid var(--brand-700); outline-offset: 2px; }
.check input { width: 1.3rem; height: 1.3rem; margin: .18rem 0 0; accent-color: var(--brand-700); flex: none; }
.check span { font-weight: 550; line-height: 1.5; }

.fitcheck__result {
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg); padding: var(--sp-5);
}
@media (min-width: 900px) {
  .fitcheck__result { position: sticky; top: calc(var(--header-h) + 1rem); }
}
.fitcheck__meter {
  height: 10px; border-radius: 999px; background: var(--brand-100);
  overflow: hidden; margin-bottom: var(--sp-4);
}
.fitcheck__meter i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-800));
  transition: width .35s ease;
}

/* ---------- 13. Callouts ------------------------------------------------- */
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--accent-700);
  background: var(--accent-100); border-radius: var(--radius);
  padding: var(--sp-5);
}
.callout--good { border-left-color: var(--good-700); background: var(--good-100); }
.callout--info { border-left-color: var(--brand-700); background: var(--brand-50); }
.callout h3 { margin-bottom: var(--sp-3); }
.callout p:last-child { margin-bottom: 0; }

.signature { font-family: var(--font-serif); font-style: italic; font-size: var(--step-1); color: var(--ink-2); }

.ticklist { list-style: none; padding: 0; margin: 0; }
.ticklist li { display: flex; gap: .7rem; margin: 0 0 .8rem; line-height: 1.55; }
.ticklist li:last-child { margin-bottom: 0; }
.ticklist .icon { width: 1.25rem; height: 1.25rem; flex: none; margin-top: .25rem; color: var(--good-700); }
.ticklist--x .icon { color: var(--accent-700); }

/* Credentials: label column + description column, so the text lines up. */
.creds { margin: 0; display: grid; grid-template-columns: max-content 1fr; column-gap: 1.25rem; row-gap: .75rem; align-items: baseline; }
.creds dt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.creds dd { margin: 0; color: var(--text-2, inherit); line-height: 1.55; }
@media (max-width: 480px) {
  .creds { grid-template-columns: 1fr; row-gap: .15rem; }
  .creds dd { margin-bottom: .7rem; }
}

/* ---------- 14. CTA band -------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .container { max-width: 760px; }
.cta-band .cluster { justify-content: center; margin-top: var(--sp-6); }

/* ---------- 15. Footer ---------------------------------------------------- */
.site-footer {
  background: var(--ink); color: #b9c6d4;
  padding-block: var(--sp-8) var(--sp-6);
  font-size: .94rem;
}
.site-footer a { color: #dce7f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--sp-7); } }
.site-footer h2 {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #7f93a8; margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer .brand { color: #fff; margin-bottom: var(--sp-4); }
.site-footer .brand__tag { color: #7f93a8; }
.footer-bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; line-height: 1.6; color: #8fa1b3;
}
.footer-bottom p { margin-bottom: .6rem; }

/* ---------- 16. Mobile sticky action bar ---------------------------------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(13,27,42,.08);
}
.action-bar .btn { min-height: 46px; padding-inline: .75rem; font-size: .95rem; box-shadow: none; }
body { padding-bottom: 78px; }
@media (min-width: 1000px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 17. Utilities -------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mb-0 { margin-bottom: 0; }
.img-frame {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden; background: #fff;
}
.img-frame img { width: 100%; }

@media print {
  .site-header, .action-bar, .site-footer, .nav-toggle { display: none !important; }
  body { padding-bottom: 0; }
}

/* ---------- 18. Card used as a link -------------------------------------- */
a.card {
  display: block; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-300); color: inherit; }
a.card h3 { color: var(--brand-800); }

/* ---------- 19. Staging banner (emitted only by `node build.mjs --staging`) */
.staging-banner {
  margin: 0;
  padding: .6rem clamp(1rem, 4vw, 2rem);
  background: var(--accent-700);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  text-align: center;
  letter-spacing: .01em;
}

/* ---------- 20. Click-to-play video ---------------------------------------
   Nothing is requested from YouTube or Vimeo until the visitor presses play:
   a much lighter first load, and no third-party tracking for the majority who
   never watch. With JavaScript off, the poster is a plain link to the video. */
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, opacity .3s ease;
}
.video-facade:hover img { transform: scale(1.03); opacity: .88; }

.video-facade__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  transition: transform .2s ease, background-color .2s ease;
}
.video-facade__play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  color: var(--brand-900);
}
.video-facade:hover .video-facade__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-facade:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 3px; }

.video-source {
  display: block;
  margin-top: .35rem;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ink-3);
}

/* ---------- 21. Hero secondary action ------------------------------------
   One primary button. The alternative is a sentence, not a competing CTA. */
.hero__alt {
  max-width: 30rem;
  margin: var(--sp-4) 0 0;
  font-size: var(--step--1);
  color: var(--ink-3);
  line-height: 1.55;
}

/* ---------- 22. Objection handler ---------------------------------------- */
.objection {
  display: grid;
  gap: var(--sp-6);
  padding: var(--sp-6);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg);
}
@media (min-width: 860px) {
  .objection { grid-template-columns: 1.25fr 1fr; gap: var(--sp-7); align-items: center; }
}
.objection__q {
  font-size: var(--step-2);
  margin-bottom: var(--sp-4);
}
.objection__math {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.objection__row {
  display: grid;
  gap: .1rem;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.objection__row span {
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.objection__row strong {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 650;
  line-height: 1.1;
  color: var(--ink-2);
}
.objection__row em {
  font-style: normal;
  font-size: var(--step--1);
  color: var(--ink-3);
}
.objection__row--win strong { color: var(--brand-800); }
.objection__row--win span { color: var(--brand-700); }

/* ---------- 23. Forms ----------------------------------------------------- */
.field { display: grid; gap: .35rem; margin-bottom: var(--sp-4); }
.field label { font-size: var(--step--1); font-weight: 650; color: var(--ink-2); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line-2);
  border-radius: 11px;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6c7f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
}
.field input::placeholder { color: #9aa9b8; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--brand-700);
  outline: 3px solid var(--brand-100);
  outline-offset: 0;
}
.field input:user-invalid { border-color: var(--accent-700); }

.optin { margin: 0; }
.optin__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.optin__note {
  margin: var(--sp-4) 0 0;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.optin__status {
  margin: var(--sp-4) 0 0;
  padding: .8rem 1rem;
  border-radius: 11px;
  background: var(--good-100);
  border-left: 4px solid var(--good-700);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-2);
}
.optin__status[data-state="error"] {
  background: var(--accent-100);
  border-left-color: var(--accent-700);
}
.optin[data-state="sent"] > *:not(.optin__status) { display: none; }

/* The opt-in always sits on a light surface (a card or a callout), even when
   that surface is inside the dark band, so labels keep their default colour. */
