/* ==========================================================================
   VidSlicers — landing page styles
   Brand palette (VidSlicers Color Palette.pdf):
   #000C66 navy · #4583DD bright blue · #DEAB45 gold
   #607AA1 slate · #FAFCFF near-white · #000000 black
   Direction (per Adam, 2026-07): bolder and flashier than the original spec —
   full palette in play, display font for headings, skewed parallelogram
   accents echoing the logo mark. Copy voice stays anti-hype.
   ========================================================================== */

:root {
  --navy: #000c66;
  --blue: #4583dd;
  --gold: #deab45;
  --slate: #607aa1;
  --ink: #05071f;             /* near-black text, cool cast */
  --ink-soft: #46516b;        /* secondary text — darkened brand slate */
  --surface: #fafcff;         /* brand near-white */
  --surface-alt: #eff3fa;     /* cool section background */
  --surface-blue: #e6eefb;    /* light blue tint */
  --line: #d9e0ee;
  --radius-card: 14px;
  --radius-btn: 10px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-card: 0 2px 6px rgba(0, 12, 102, 0.06), 0 12px 32px rgba(0, 12, 102, 0.08);
  --shadow-hover: 0 4px 10px rgba(0, 12, 102, 0.1), 0 20px 44px rgba(0, 12, 102, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

main { transition: opacity 0.16s ease; }
body.is-navigating main { opacity: 0.42; }
body.has-floating-player .footer { margin-bottom: 330px; }

body.has-expanded-player::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  background: rgba(5, 7, 31, 0.58);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

body.has-expanded-player .nav { z-index: 130; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.container-narrow { max-width: 580px; }

section, header.hero { padding: 96px 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 21ch; margin: 0 auto 24px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 28px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; font-weight: 700; }

p + p { margin-top: 16px; }

a { color: var(--blue); }

.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;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  color: #fff;
  background: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

main:focus { outline: none; }

section[id] { scroll-margin-top: 80px; }

/* Gold slash under section headings — echoes the logo's parallelogram */
.how h2::after,
.pricing h2::after,
.strategy h2::after,
.faq h2::after,
.final-cta h2::after,
.intake h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 10px;
  background: var(--gold);
  transform: skewX(-24deg);
  margin: 20px auto 0;
}

.guarantee h2::after,
.zero-calls h2::after,
.who h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 10px;
  background: var(--gold);
  transform: skewX(-24deg);
  margin: 20px 0 0;
}

/* ---------- Scroll reveal (script.js adds .visible) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  main, .btn, .price-card, .strategy-card, .skip-link, .nav-burger span, .example-card, .example-play, .example-thumbnail, .library-card, .library-path, .library-play-mark, .floating-player, .floating-player-action, .privacy-consent { transition: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  font-size: 1.02rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

/* Primary: clean solid navy fill */
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 12, 102, 0.16);
}

.btn-primary:hover {
  background: #0b1785;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 12, 102, 0.24);
}

/* Secondary: soft blue-tinted fill, no hard border */
.btn-secondary {
  background: var(--surface-blue);
  color: var(--navy);
}

.btn-secondary:hover {
  background: #d6e3fb;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding-top: 110px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface-blue) 0%, var(--surface) 78%);
}

/* Skewed parallelograms floating behind the hero — the logo motif, blown up */
.hero-shape {
  position: absolute;
  transform: skewX(-24deg);
  pointer-events: none;
}

.hero-shape-1 {
  width: 420px;
  height: 720px;
  left: -180px;
  top: -160px;
  background: rgba(69, 131, 221, 0.1);
}

.hero-shape-2 {
  width: 300px;
  height: 560px;
  right: -120px;
  top: -60px;
  background: rgba(0, 12, 102, 0.07);
}

.hero-shape-3 {
  width: 120px;
  height: 200px;
  right: 14%;
  bottom: -70px;
  background: rgba(222, 171, 69, 0.28);
}

.hero-logo {
  height: 56px;
  width: auto;
  margin-bottom: 22px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--slate);
  margin-bottom: 20px;
}

/* Gradient highlight on the headline's key phrase */
.hl {
  background: linear-gradient(100deg, var(--blue) 10%, var(--navy) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto;
}

.hero-sub-emphasis {
  color: var(--navy);
  font-weight: 600;
  margin-top: 10px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------- VSL video ---------- */

.vsl {
  padding: 8px 0 96px;
}

.vsl .container { max-width: 920px; }

.vsl-heading {
  text-align: center;
  margin-bottom: 32px;
}

.vsl-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-hover);
  background: var(--surface-blue);
}

.vsl-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.video-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.video-poster:hover img,
.video-poster:focus-visible img {
  filter: brightness(0.88);
  transform: scale(1.015);
}

.video-poster:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: -6px;
}

.video-poster:hover .example-play,
.video-poster:focus-visible .example-play {
  color: var(--navy);
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-privacy-note {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-align: center;
}

/* ---------- Stats ---------- */

.stats {
  padding: 56px 0;
  background: var(--navy);
  color: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.stat-unit {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: 700;
  color: #fff;
}

.stat-number::after {
  content: "";
  display: block;
  width: 34px;
  height: 7px;
  background: var(--gold);
  transform: skewX(-24deg);
  margin: 10px auto 12px;
}

.stat-label {
  display: block;
  font-size: 0.98rem;
  color: rgba(250, 252, 255, 0.75);
  max-width: 26ch;
  margin: 0 auto;
}

/* ---------- How it works ---------- */

.how h2 { text-align: center; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  counter-reset: step;
}

.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  transform: skewX(-12deg);
  border-radius: 8px;
  margin-bottom: 18px;
}

.steps p { color: var(--ink-soft); }

.how-closing {
  margin-top: 56px;
  text-align: center;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-soft);
}

/* ---------- Pricing ---------- */

.pricing { background: var(--surface-alt); }

.pricing h2 { text-align: center; margin-bottom: 56px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* Featured card goes full navy */
.price-card-featured {
  background: linear-gradient(160deg, #001080 0%, var(--navy) 60%);
  border: none;
  color: var(--surface);
}

.price-card-featured h3,
.price-card-featured .price {
  color: #fff;
}

/* On the navy featured card, flip the primary button to white so it stays legible */
.price-card-featured .btn-primary {
  background: #fff;
  color: var(--navy);
}

.price-card-featured .btn-primary:hover {
  background: #eaf0fb;
}

.price-card-featured .price-period { color: rgba(250, 252, 255, 0.7); }
.price-card-featured .price-sub { color: rgba(250, 252, 255, 0.78); }
.price-card-featured li { border-color: rgba(250, 252, 255, 0.16); }
.price-card-featured li::before { border-color: var(--gold); }

.badge {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  transform: skewX(-12deg);
  border-radius: 6px;
  margin-bottom: 18px;
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  margin: 6px 0 10px;
}

.price-period {
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--ink-soft);
}

.price-custom {
  font-size: 1.3rem;
  line-height: 1.35;
}

.price-sub {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-card li {
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line);
}

.price-card li:last-child { border-bottom: none; }

.price-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

/* Real capacity tag — stated plainly, no fake-urgency styling */
.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--slate);
  background: var(--surface-blue);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.availability::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Custom offer — a full-width band below the three tiers */
.custom-band {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.custom-band h3 { margin-bottom: 6px; }

.custom-band p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
  max-width: 70ch;
}

.custom-band .btn { flex-shrink: 0; }

.fine-print {
  margin-top: 32px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Audit & launch strategy ---------- */

.strategy h2 {
  text-align: center;
  margin-bottom: 56px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

/* Single centered strategy card (Channel Audit) */
.strategy-solo {
  max-width: 520px;
  margin: 0 auto;
}

.strategy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--blue);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.strategy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.strategy-card:last-child { border-top-color: var(--gold); }

.strategy-tag {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

.strategy-card ul {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.strategy-card li {
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line);
}

.strategy-card li:last-child { border-bottom: none; }

.strategy-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.strategy-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* ---------- Guarantee (navy block, gold accents) ---------- */

.guarantee {
  background: linear-gradient(160deg, #001080 0%, var(--navy) 55%);
  color: var(--surface);
  position: relative;
  overflow: hidden;
}

.guarantee::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 640px;
  right: -140px;
  top: -120px;
  background: rgba(69, 131, 221, 0.14);
  transform: skewX(-24deg);
  pointer-events: none;
}

.guarantee::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 190px;
  left: 6%;
  bottom: -60px;
  background: rgba(222, 171, 69, 0.22);
  transform: skewX(-24deg);
  pointer-events: none;
}

.guarantee .container { max-width: 780px; }

.guarantee h2 { color: #fff; }

.guarantee p { color: rgba(250, 252, 255, 0.88); }

.guarantee-fine-print {
  margin-top: 24px;
  font-size: 0.88rem;
  color: rgba(250, 252, 255, 0.65);
}

/* ---------- Zero calls / Who this is for ---------- */

.zero-calls .container,
.who .container { max-width: 780px; }

.zero-calls p { color: var(--ink-soft); }

.who { background: var(--surface-blue); }

.who-list {
  list-style: none;
  margin: 0 0 28px;
}

.who-list li {
  padding: 14px 0 14px 34px;
  position: relative;
  border-bottom: 1px solid rgba(96, 122, 161, 0.25);
  font-weight: 500;
}

.who-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 23px;
  width: 13px;
  height: 8px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.who-closing { margin-bottom: 28px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq h2 { text-align: center; }

.faq .container { max-width: 780px; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}

.faq summary {
  padding: 20px 52px 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; }

.final-cta .container {
  background: linear-gradient(160deg, #001080 0%, var(--navy) 55%);
  border-radius: 20px;
  padding: 72px 32px;
  max-width: 920px;
  overflow: hidden;
}

.final-cta .container::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 460px;
  right: -80px;
  top: -80px;
  background: rgba(69, 131, 221, 0.16);
  transform: skewX(-24deg);
  pointer-events: none;
}

.final-cta h2 { color: #fff; }

.final-cta h2::after { margin: 20px auto 0; }

.final-cta p {
  color: rgba(250, 252, 255, 0.85);
  margin-bottom: 36px;
}

.final-cta .btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.final-cta .btn-primary:hover {
  background: #e6bd60;
}

/* ---------- Intake form ---------- */

.intake { background: var(--surface-alt); }

.intake h2 { text-align: center; }

#intake-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  margin-top: 16px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-btn);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(69, 131, 221, 0.25);
}

.field input:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.botcheck { display: none !important; }

.confirmation {
  text-align: center;
  padding: 48px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

.form-error {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid #b42318;
  border-radius: 6px;
  color: #7a271a;
  background: #fef3f2;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 2px 0 20px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 252, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.nav-brand img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] { color: var(--navy); }

.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.btn-nav {
  padding: 10px 22px;
  font-size: 0.95rem;
}

/* Mobile hamburger */
.nav-burger { display: none; }

/* ---------- Card extras ---------- */

.card-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 18px;
}

.card-link::after { content: " \2192"; }

/* ---------- Subpages ---------- */

.page-hero {
  text-align: center;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface-blue) 0%, var(--surface) 85%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 auto 18px;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 10px;
  background: var(--gold);
  transform: skewX(-24deg);
  margin: 22px auto 0;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto;
  font-size: 1.1rem;
}

.page-content { padding: 72px 0; }

.prose { max-width: 720px; margin: 0 auto; }

.prose h2 {
  font-size: 1.5rem;
  margin: 48px 0 16px;
}

.prose h2:first-child { margin-top: 0; }

.prose p, .prose li { color: var(--ink-soft); }

.prose ul { padding-left: 22px; margin: 12px 0; }

.prose li { margin-bottom: 8px; }

.prose .cta-row { justify-content: flex-start; }

/* ---------- Examples grid ---------- */

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.examples-intro {
  max-width: 56ch;
  margin: 0 auto 32px;
  color: var(--ink-soft);
  text-align: center;
}

.example-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.example-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.example-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.example-poster {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  display: block;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.example-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.example-poster:hover .example-thumbnail,
.example-poster:focus-visible .example-thumbnail {
  transform: scale(1.015);
  filter: brightness(0.88);
}

.example-poster:hover .example-play,
.example-poster:focus-visible .example-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--gold);
}

.example-poster:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -5px;
}

.example-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, background 0.18s ease;
}

.example-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--navy);
}

.example-video iframe,
.example-video img {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.example-meta { padding: 18px 20px 22px; }

.example-meta h3 { font-size: 1.05rem; margin-bottom: 4px; }

.example-meta p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- B2B video library ---------- */

.library-hero {
  padding: 84px 0 76px;
  background:
    linear-gradient(180deg, rgba(69, 131, 221, 0.22) 0%, rgba(250, 252, 255, 0.96) 88%),
    repeating-linear-gradient(118deg, transparent 0 72px, rgba(222, 171, 69, 0.1) 72px 84px);
}

.library-hero .eyebrow {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.library-hero h1 { max-width: 18ch; }
.library-hero > .container > p:not(.eyebrow) { max-width: 64ch; }

.library-status {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.library-status span {
  padding: 8px 13px;
  border: 1px solid rgba(0, 12, 102, 0.14);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.library-paths { padding: 76px 0 84px; }

.library-intro,
.library-section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.library-intro h2,
.library-section-heading h2 {
  margin-bottom: 14px;
}

.library-intro > p:last-child,
.library-section-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 1rem;
}

.library-kicker {
  margin-bottom: 10px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.library-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.library-path {
  position: relative;
  min-height: 190px;
  padding: 24px 22px 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius-card);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.library-path:nth-child(2) { border-top-color: var(--gold); }
.library-path:nth-child(3) { border-top-color: var(--slate); }
.library-path:nth-child(4) { border-top-color: var(--navy); }

.library-path:hover,
.library-path:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.library-path::after {
  content: "\2192";
  position: absolute;
  right: 20px;
  bottom: 15px;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 800;
}

.library-path-number {
  display: block;
  margin-bottom: 22px;
  color: var(--slate);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.library-path strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.25;
}

.library-path > span:last-of-type {
  display: block;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.library-section {
  --library-accent: var(--gold);
  padding: 88px 0 96px;
}

.library-section-alt { background: var(--surface-alt); }
.library-section--pipeline { --library-accent: var(--blue); }
.library-section--performance { --library-accent: var(--slate); }
.library-section--platform { --library-accent: #7aa6e5; }

.library-section .library-kicker,
.library-card-topic { color: var(--library-accent); }

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.library-grid--compact { max-width: 100%; }

.library-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.library-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.library-video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 74% 24%, color-mix(in srgb, var(--library-accent) 58%, transparent), transparent 31%),
    linear-gradient(138deg, #05071f 4%, #000c66 64%, #0c278b 100%);
}

.library-video-placeholder::before,
.library-video-placeholder::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 180%;
  top: -42%;
  background: var(--library-accent);
  opacity: 0.9;
  transform: rotate(25deg);
}

.library-video-placeholder::before { right: 11%; }
.library-video-placeholder::after {
  right: 27%;
  width: 16px;
  opacity: 0.62;
}

.library-video-number {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.library-play-mark {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.library-card:hover .library-play-mark {
  transform: scale(1.06);
  background: color-mix(in srgb, var(--library-accent) 82%, transparent);
}

.library-play-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
  transform: translate(-40%, -50%);
}

.library-video-status {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(5, 7, 31, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.library-card-body {
  flex: 1;
  padding: 22px 22px 25px;
}

.library-card-topic {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.library-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.28;
}

.library-card-body > p:last-child {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.library-cta {
  padding: 88px 0;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(0, 12, 102, 0.97), rgba(9, 38, 143, 0.96)),
    repeating-linear-gradient(118deg, transparent 0 84px, rgba(222, 171, 69, 0.4) 84px 96px);
}

.library-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.library-cta .library-kicker { color: var(--gold); }
.library-cta h2 { max-width: 18ch; margin-bottom: 14px; }

.library-cta p:not(.library-kicker) {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.76);
}

.library-cta-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.library-cta .btn-primary {
  color: var(--navy);
  background: var(--gold);
}

.library-cta .btn-primary:hover { background: #ecc36e; }

.library-cta .btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.library-cta .btn-secondary:hover { background: rgba(255, 255, 255, 0.22); }

@media (max-width: 1000px) {
  .library-path-grid,
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .library-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .library-cta-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .library-hero { padding: 68px 0 60px; }
  .library-paths,
  .library-section,
  .library-cta { padding: 64px 0; }
  .library-path-grid,
  .library-grid { grid-template-columns: 1fr; }
  .library-path { min-height: 0; }
  .library-cta-actions,
  .library-cta .btn { width: 100%; }
}

/* ---------- Persistent floating video player ---------- */

.floating-player[hidden] { display: none; }

.floating-player {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  width: min(430px, calc(100vw - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 12, 102, 0.3), 0 8px 20px rgba(5, 7, 31, 0.22);
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.28s ease, width 0.28s ease, right 0.28s ease, bottom 0.28s ease;
}

.floating-player.is-open {
  opacity: 1;
  transform: none;
}

.floating-player.is-expanded {
  right: 50%;
  bottom: 50%;
  width: min(1000px, calc(100vw - 48px), calc(177.78vh - 189px));
  transform: translate(50%, 50%);
  transform-origin: center;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46), 0 12px 34px rgba(0, 12, 102, 0.34);
}

.floating-player-topbar {
  min-height: 58px;
  padding: 10px 11px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  background: linear-gradient(120deg, var(--navy), #071b8f 68%, #1238ab);
}

.floating-player-label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-player-label small,
.floating-player-label strong { display: block; }

.floating-player-label small {
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.floating-player-label strong {
  max-width: 240px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-player.is-expanded .floating-player-label strong {
  max-width: min(720px, calc(100vw - 230px));
  white-space: normal;
}

.floating-player-accent {
  flex: 0 0 auto;
  width: 13px;
  height: 30px;
  border-radius: 2px;
  background: var(--gold);
  transform: skewX(-20deg);
  box-shadow: 9px 0 0 var(--blue);
}

.floating-player-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
}

.floating-player-action {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.floating-player-action:hover,
.floating-player-action:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.floating-player-action:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.expand-icon,
.close-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
}

.expand-icon::before,
.expand-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
}

.expand-icon::before {
  top: 0;
  left: 0;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.expand-icon::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.close-icon::before,
.close-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 1px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.close-icon::before { transform: rotate(45deg); }
.close-icon::after { transform: rotate(-45deg); }

.floating-player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: #000;
}

.floating-player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Fit check (low-friction CTA) ---------- */

.fitcheck {
  background: var(--surface-blue);
}

.fitcheck h2 { text-align: center; }

.fitcheck-lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto 32px;
}

#fitcheck-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 32px 28px;
  box-shadow: var(--shadow-card);
}

.fitcheck-promise {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- How we work: scope terms ---------- */

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 8px 0 8px;
}

.scope-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 26px;
}

.scope-card h3 { font-size: 1.1rem; margin-bottom: 12px; }

.scope-card ul { list-style: none; }

.scope-card li {
  padding: 7px 0 7px 24px;
  position: relative;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.scope-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 11px;
  height: 6px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

/* Exclusions get a muted marker instead of a checkmark */
.scope-card.scope-out { border-top-color: var(--slate); }

.scope-card.scope-out li::before {
  border: none;
  width: 12px;
  height: 2px;
  background: var(--slate);
  transform: none;
  top: 16px;
}

.sop-line {
  margin: 12px auto 0;
  max-width: 720px;
  background: #fff;
  border-left: 6px solid var(--gold);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

/* Reusable placeholder slot for media that goes live later
   (process Loom, the YouTube channel embed) */
.media-slot {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--line);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--slate);
  background: #fff;
}

.media-slot strong {
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.media-slot span { max-width: 44ch; font-size: 0.95rem; }

/* Section background helper */
.section-alt { background: var(--surface-alt); }

/* Vertical rhythm between stacked blocks inside one content section */
.page-content .container + .container { margin-top: 28px; }
.page-content .container.prose + .container { margin-top: 8px; }

/* ---------- Footer ---------- */

.footer {
  padding: 52px 0 36px;
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-logo {
  height: 30px;
  width: auto;
}

.footer-tagline {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a,
.footer-privacy-button {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-privacy-button {
  padding: 0;
  border: 0;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

.footer-nav a:hover,
.footer-privacy-button:hover { color: var(--navy); }

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p { margin: 0; }

.footer-bottom a {
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.footer-bottom a:hover { color: var(--navy); }

/* ---------- Branded 404 ---------- */

.not-found {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(69, 131, 221, 0.2), transparent 32%),
    radial-gradient(circle at 82% 70%, rgba(222, 171, 69, 0.2), transparent 28%),
    var(--surface);
}

.not-found h1 { margin-bottom: 20px; }
.not-found p:not(.eyebrow) { max-width: 48ch; margin: 0 auto; color: var(--ink-soft); }
.not-found .cta-row { justify-content: center; }

/* ---------- Privacy choices ---------- */

.privacy-consent {
  position: fixed;
  z-index: 220;
  left: 50%;
  bottom: 18px;
  width: min(1040px, calc(100vw - 32px));
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, var(--ink), var(--navy));
  box-shadow: 0 24px 70px rgba(5, 7, 31, 0.42);
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.privacy-consent.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.privacy-consent-copy { max-width: 680px; }

.privacy-consent-kicker {
  margin: 0 0 3px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.privacy-consent h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 1.25rem;
}

.privacy-consent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.5;
}

.privacy-consent a { color: #fff; }

.privacy-consent-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.privacy-consent .btn {
  min-width: 168px;
  padding: 12px 18px;
  font-size: 0.9rem;
}

.privacy-consent .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.privacy-consent .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }
.privacy-consent .btn-primary { color: var(--ink); background: var(--gold); }
.privacy-consent .btn-primary:hover { background: #edc470; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  section, header.hero { padding: 64px 0; }

  .steps,
  .pricing-grid,
  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid { gap: 20px; }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .example-grid { grid-template-columns: 1fr; }

  .scope-grid { grid-template-columns: 1fr; }

  .custom-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .custom-band .btn { width: 100%; text-align: center; }

  .nav-links { gap: 16px; }

  .vsl { padding-bottom: 64px; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
  }

  .footer-brand { align-items: center; }

  /* Featured card first on mobile */
  .price-card-featured { order: -1; }

  .final-cta .container { padding: 56px 24px; }

  .privacy-consent {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .privacy-consent-actions { width: 100%; }
  .privacy-consent .btn { flex: 1 1 0; }
}

/* Mobile nav: collapse links into a hamburger dropdown */
@media (max-width: 760px) {
  body.has-floating-player .footer { margin-bottom: 285px; }

  .floating-player {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    border-radius: 14px;
  }

  .floating-player.is-expanded {
    left: 50%;
    right: auto;
    bottom: 50%;
    width: min(calc(100vw - 24px), calc(177.78vh - 146px));
    transform: translate(-50%, 50%);
  }

  .floating-player-topbar { padding-left: 14px; }
  .floating-player-label strong { max-width: 155px; }

  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 40px;
    padding: 9px 8px;
    cursor: pointer;
    border: 0;
    border-radius: 8px;
    color: inherit;
    background: transparent;
  }

  .nav-burger span[aria-hidden="true"] {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 12, 102, 0.08);
    display: none;
  }

  .nav-links.nav-open { display: flex; }
  .nav-links.nav-links-static { display: flex; }

  .nav-links a:not(.btn) {
    padding: 13px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .btn-nav { margin-top: 14px; text-align: center; }

  /* Burger morphs into an X when open */
  .nav-burger[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(3) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 420px) {
  body { font-size: 16px; }

  .cta-row .btn { width: 100%; }

  .hero-shape-1 { width: 260px; left: -140px; }
  .hero-shape-2 { width: 180px; right: -100px; }

  #intake-form,
  #fitcheck-form { padding: 28px 20px; }

  .privacy-consent {
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 18px;
  }

  .privacy-consent-actions { flex-direction: column; }
  .privacy-consent .btn { width: 100%; }
}
