/* =============================================================
   MARCUS COLE — Strength Coaching
   System A "Iron Editorial" — dark, athletic, screenshot-worthy.

   Token-driven CSS. Single file, no build step.
   Fonts: Archivo (display) · Inter (body) · JetBrains Mono (stats)
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --coal:      #101311;  /* page bg (near-black, warm green undertone) */
  --coal-2:    #171B18;  /* raised surfaces / cards */
  --bone:      #F2EFE7;  /* primary text on dark */
  --bone-dim:  #A9A79E;  /* muted text */
  --volt:      #C8F542;  /* THE accent — CTAs, key stats, underlines */
  --volt-deep: #9CC42E;  /* hover / small-text-safe variant */
  --rule:      #2A2F2B;  /* hairlines */

  --radius: 10px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1140px;
}

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

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

body {
  margin: 0;
  background: var(--coal);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.05rem + 0.25vw, 1.1875rem); /* 18–19px */
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

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

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--bone); text-decoration: none; }
a:hover { color: var(--volt); }

ul, ol { margin: 0; padding: 0; }

button { font: inherit; cursor: pointer; }

::selection { background: var(--volt); color: var(--coal); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--volt); color: var(--coal);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

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

/* ---------- Layout ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

section { padding-block: clamp(72px, 9vw, 128px); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
}
.section-head .lede {
  color: var(--bone-dim);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  max-width: 58ch;
}

/* Mono section marker — `01 / PROOF` */
.marker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volt);
  margin: 0 0 18px;
}
.marker::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--rule);
}

/* Hairline section separators */
.hairline-top { border-top: 1px solid var(--rule); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              color 0.18s var(--ease), border-color 0.18s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--volt);
  color: var(--coal);
}
.btn-primary:hover {
  background: var(--volt-deep);
  color: var(--coal);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--rule);
}
.btn-ghost:hover {
  color: var(--volt);
  border-color: var(--volt);
}
.btn-lg { padding: 18px 36px; font-size: 1.08rem; }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 19, 17, 0.86);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: rgba(16, 19, 17, 0.94);
  border-bottom-color: var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
}
.brand .brand-dot { color: var(--volt); }
.brand:hover { color: var(--bone); }

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}
.header-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bone-dim);
  padding: 8px 2px;
}
.header-nav a:hover { color: var(--bone); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta { padding: 11px 22px; min-height: 42px; font-size: 0.92rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--bone);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 20px 24px;
  background: var(--coal);
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a {
  padding: 15px 4px;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
  color: var(--bone);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .mobile-nav-cta {
  margin-top: 14px;
  border-bottom: 0;
}
.mobile-nav:not([hidden]) { display: flex; }
body.menu-open { overflow: hidden; }

@media (max-width: 859px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(88px, 12vw, 168px) clamp(64px, 8vw, 112px);
  overflow: hidden;
  /* faint blueprint grid — hairlines only, no image needed */
  background-image:
    radial-gradient(ellipse 900px 480px at 78% -10%, rgba(200, 245, 66, 0.07), transparent 62%),
    repeating-linear-gradient(to right, transparent 0 119px, rgba(42, 47, 43, 0.55) 119px 120px),
    repeating-linear-gradient(to bottom, transparent 0 119px, rgba(42, 47, 43, 0.55) 119px 120px);
}
.hero-inner { max-width: 900px; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 26px;
}
.hero-eyebrow .volt { color: var(--volt); }
.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.4em;
  max-width: 18ch;
}
.hero h1 .underline-volt {
  background-image: linear-gradient(to top, rgba(200, 245, 66, 0.32) 0 0.18em, transparent 0.18em);
  background-repeat: no-repeat;
}
.hero-sub {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  color: var(--bone-dim);
  max-width: 52ch;
  margin-bottom: 2.2em;
}
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-ctas .cta-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--bone-dim);
  margin: 0;
}

/* Trust strip — mono stat treatment */
.trust-strip {
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--coal-2);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: clamp(20px, 3vw, 30px) clamp(14px, 2vw, 26px);
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item:first-child { border-left: 0; }
.trust-item strong {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.25rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--bone);
  letter-spacing: 0.02em;
}
.trust-item span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
@media (max-width: 700px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- Cards (shared) ---------- */
.card {
  background: var(--coal-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: #3A423C;
}

/* ---------- 01 / PROOF ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.result-card { display: flex; flex-direction: column; }
.result-stat {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--volt);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.result-stat-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 22px;
}
.result-story {
  color: var(--bone-dim);
  font-size: 0.98rem;
  flex-grow: 1;
}
.result-client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.result-avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coal);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--volt);
}
.result-client strong { font-size: 0.95rem; display: block; }
.result-client span { font-size: 0.8rem; color: var(--bone-dim); }

/* Video testimonial placeholder slot */
.video-slot {
  margin-top: clamp(16px, 2vw, 24px);
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  display: grid;
  place-items: center;
  /* dark duotone placeholder — replace with real client-interview embed */
  background:
    radial-gradient(ellipse 60% 120% at 20% 0%, rgba(200, 245, 66, 0.10), transparent 60%),
    linear-gradient(140deg, #1B211C 0%, #121613 55%, #171B18 100%);
}
.video-slot::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(42, 47, 43, 0.6) 46px 47px);
  pointer-events: none;
}
.video-slot-inner {
  position: relative;
  text-align: center;
  padding: 24px;
}
.video-play {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--volt);
  color: var(--coal);
  display: grid; place-items: center;
  transition: transform 0.2s var(--ease);
}
.video-slot:hover .video-play { transform: scale(1.06); }
.video-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-slot-inner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.video-slot-inner span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr; }
  .video-slot { aspect-ratio: 16 / 9; }
}

/* ---------- 02 / METHOD ---------- */
.method { background: var(--coal-2); }
.method .card { background: var(--coal); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  list-style: none;
  counter-reset: step;
}
.step { counter-increment: step; }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--volt);
  display: block;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.step p { color: var(--bone-dim); font-size: 0.98rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}
.method-note {
  margin-top: clamp(28px, 4vw, 44px);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--bone-dim);
  letter-spacing: 0.04em;
}
.method-note .volt { color: var(--volt); }

/* ---------- 03 / PROGRAMS ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-featured {
  border-color: var(--volt);
}
.plan-featured:hover { border-color: var(--volt); }
.plan-flag {
  position: absolute;
  top: -13px; left: 26px;
  background: var(--volt);
  color: var(--coal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan-for {
  color: var(--bone-dim);
  font-size: 0.9rem;
  margin-bottom: 22px;
  min-height: 2.6em;
}
.plan-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.1rem, 1.7rem + 1.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--bone);
  margin-bottom: 2px;
}
.plan-featured .plan-price { color: var(--volt); }
.plan-cadence {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 26px;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--bone-dim);
}
.plan-features li strong { color: var(--bone); font-weight: 500; }
.plan-features .tick {
  flex-shrink: 0;
  color: var(--volt-deep);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-top: 1px;
}
.plan-features .no {
  color: var(--bone-dim);
}
.plan-features li.excluded { color: var(--bone-dim); }
.plan .btn { width: 100%; }

.pricing-note {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 20px 24px;
  border-left: 2px solid var(--volt);
  background: var(--coal-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--bone-dim);
  font-size: 0.95rem;
  max-width: 720px;
}
.pricing-note strong { color: var(--bone); }
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .plan-for { min-height: 0; }
}

/* ---------- 04 / THE COACH ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(200, 245, 66, 0.08), transparent 65%),
    linear-gradient(160deg, #1C221D 0%, #121613 60%, #181D19 100%);
}
.about-media svg { width: 100%; height: 100%; }
.about-media-tag {
  position: absolute;
  left: 18px; bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: rgba(16, 19, 17, 0.8);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--rule);
}
.about-copy .quote {
  border-left: 2px solid var(--volt);
  padding-left: 18px;
  color: var(--bone);
  font-size: 1.08rem;
  font-style: italic;
  margin: 1.4em 0;
}
.about-copy p { color: var(--bone-dim); }
.about-copy p.lead-p { color: var(--bone); }
.credentials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.credentials li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--coal-2);
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; }
}

/* ---------- 05 / APPLY ---------- */
.apply { background: var(--coal-2); }
.apply .section-head { margin-inline: auto; text-align: center; }
.apply .marker { justify-content: center; }
.apply .marker::after { display: none; }

.apply-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--coal);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.apply-shell-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
}
.apply-shell-avatar {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coal-2);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--volt);
  font-size: 0.95rem;
}
.apply-shell-meta strong { display: block; font-size: 0.98rem; }
.apply-shell-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.apply-shell-meta span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--volt);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.apply-shell-slots {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* GHL embed wrapper — min-height reservation is load-bearing (see the
   CRITICAL override block at the bottom of this file). */
.ghl-embed {
  position: relative;
  min-height: 640px;
  overflow: visible;
  background: var(--coal);
}
.ghl-embed iframe { display: block; background: var(--coal); }
.ghl-embed-lead { min-height: 380px; }
@media (max-width: 640px) {
  .ghl-embed { min-height: 780px; }
  .ghl-embed-lead { min-height: 420px; }
}

/* Placeholder shown until a real FORM_ID is pasted */
.ghl-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--coal);
  border: 2px dashed var(--rule);
  border-radius: var(--radius);
  margin: 16px;
  pointer-events: none;
  padding: 24px;
}
.ghl-placeholder-inner { text-align: center; max-width: 440px; color: var(--bone-dim); }
.ghl-placeholder strong { display: block; font-size: 1.05rem; color: var(--bone); margin-bottom: 8px; }
.ghl-placeholder code {
  background: var(--coal-2);
  border: 1px solid var(--rule);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--volt);
}
.ghl-placeholder p { font-size: 0.92rem; }
.ghl-embed.loaded .ghl-placeholder { display: none; }

/* Fallback if the iframe genuinely fails to load */
.ghl-fallback {
  margin: 16px;
  padding: 28px 24px;
  background: var(--coal);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
}
.ghl-fallback strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.ghl-fallback p { color: var(--bone-dim); margin-bottom: 18px; font-size: 0.95rem; }

.apply-shell-footer {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap;
  padding: 16px 24px;
  border-top: 1px solid var(--rule);
}
.apply-shell-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.apply-shell-footer .tick { color: var(--volt-deep); font-weight: 700; }

/* ---------- Email capture strip ---------- */
.lead-magnet {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 700px 320px at 85% 50%, rgba(200, 245, 66, 0.06), transparent 65%),
    var(--coal);
}
.lead-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.lead-copy .marker { color: var(--bone-dim); }
.lead-copy h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem); }
.lead-copy h2 .volt { color: var(--volt); }
.lead-copy p { color: var(--bone-dim); max-width: 46ch; }
.lead-points {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lead-points li {
  display: flex; gap: 10px;
  font-size: 0.95rem;
  color: var(--bone-dim);
}
.lead-points .tick { color: var(--volt-deep); font-family: var(--font-mono); font-weight: 700; }
.lead-form-card {
  background: var(--coal-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.lead-form-card .ghl-embed,
.lead-form-card .ghl-embed iframe { background: var(--coal-2); }
@media (max-width: 860px) {
  .lead-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
details {
  border-bottom: 1px solid var(--rule);
  padding: 4px 0;
}
details:first-child { border-top: 1px solid var(--rule); }
summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 4px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--bone);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--volt);
  transition: transform 0.2s var(--ease);
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
summary:hover { color: var(--volt); }
details > p {
  padding: 0 4px 24px;
  color: var(--bone-dim);
  max-width: 68ch;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 800px 400px at 50% 120%, rgba(200, 245, 66, 0.08), transparent 65%),
    var(--coal);
}
.final-cta h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); max-width: 22ch; margin-inline: auto; }
.final-cta p { color: var(--bone-dim); margin-bottom: 2em; }
.final-cta .cta-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--bone-dim);
  margin: 18px 0 0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--coal-2);
  padding-block: clamp(48px, 6vw, 72px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.footer-brand-col p { color: var(--bone-dim); font-size: 0.95rem; max-width: 38ch; margin-top: 14px; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--bone-dim); font-size: 0.95rem; }
.footer-col a:hover { color: var(--volt); }
.footer-base {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--bone-dim);
  font-size: 0.85rem;
}
.footer-demo-line {
  color: var(--bone-dim);
  font-size: 0.85rem;
}
.footer-demo-line a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--volt-deep); }
.footer-demo-line a:hover { color: var(--volt); }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

/* ---------- Demo badge (fixed) ---------- */
.demo-badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 27, 24, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
}
.demo-badge a {
  color: var(--volt);
  font-weight: 700;
}
.demo-badge a:hover { color: var(--volt-deep); }
@media (max-width: 759px) {
  /* keep clear of the sticky mobile CTA bar */
  .demo-badge { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)) 14px;
  background: rgba(16, 19, 17, 0.94);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-top: 1px solid var(--rule);
}
.sticky-mobile-cta .btn-primary { flex: 1; }
.sticky-mobile-cta .btn-ghost { min-width: 104px; padding-inline: 16px; font-size: 0.9rem; }
@media (min-width: 760px) {
  .sticky-mobile-cta { display: none; }
}
@media (max-width: 759px) {
  /* Reserve space so the fixed CTA bar never covers page-end content —
     only on pages that actually have the bar. */
  body:has(.sticky-mobile-cta) { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  /* Fallback for browsers without :has() — over-reserve everywhere. */
  @supports not selector(body:has(a)) {
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  }
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .apply-shell-meta span::before { animation: none; }
}

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(56px, 8vw, 96px);
}
.legal-page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.legal-page h2 { font-size: 1.25rem; margin-top: 2em; }
.legal-page p, .legal-page li { color: var(--bone-dim); }
.legal-page ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.legal-page .legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 2.5em;
}
.legal-page .demo-note {
  margin: 2em 0;
  padding: 16px 20px;
  background: var(--coal-2);
  border-left: 2px solid var(--volt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--bone-dim);
}
.legal-page .demo-note a { color: var(--volt-deep); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   CRITICAL OVERRIDE — ported from demo-pawsh (hard-won fix).
   GHL's form_embed.js hides its iframe with
   `left:-9999px; opacity:0; visibility:hidden` during initial
   sizing, then is supposed to move it back via cross-origin
   postMessage. That handshake sometimes never completes
   (observed: iframe stays at left:-9999px indefinitely with
   opacity:0). These !important rules force the iframe to render
   in-place regardless of form_embed.js's off-screen positioning
   attempts. Auto-resize keeps working because height stays
   flexible. Do not remove.
   ============================================================= */
.ghl-embed iframe {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  width: 100% !important;
  min-height: 640px !important;
}
.ghl-embed-lead iframe { min-height: 380px !important; }
@media (max-width: 640px) {
  .ghl-embed iframe { min-height: 780px !important; }
  .ghl-embed-lead iframe { min-height: 420px !important; }
}
