/* ===========================================================
   SPEX — Ad Landing Pages · shared brand stylesheet
   Tokens & components sampled from spex.do
   =========================================================== */
:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --surface: #1a1a1a;
  --border: #262626;
  --text: #f5f5f5;
  --text-dim: #a3a3a3;
  --text-muted: #737373;
  --brand: #00FF60;
  --brand-dim: #00CC4C;
  --brand-soft: rgba(0, 255, 96, 0.14);
  --brand-glow: rgba(0, 255, 96, 0.45);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.15s;
  --dur: 0.25s;
  --dur-slow: 0.4s;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.display {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.92;
  text-transform: uppercase;
}

.eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  color: var(--brand);
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 640px) { .wrap { padding: 0 1.25rem; } }

/* ---------- BUTTONS ---------- */
.btn-primary,
.btn-outline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--brand);
  color: #000;
  border: 2px solid var(--brand);
  font-weight: 600;
}
.btn-primary:hover { background: transparent; color: var(--brand); transform: translateY(-2px); }
.btn-primary svg { transition: transform var(--dur) var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }

/* ---------- TOP BAR (minimal) ---------- */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(1.1rem + env(safe-area-inset-top)) 1.5rem 0.9rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,10,10,0.6);
  border-bottom: 1px solid transparent;
  transition: background var(--dur), border-color var(--dur);
}
.lp-nav.scrolled { background: rgba(10,10,10,0.9); border-bottom-color: var(--border); }
.lp-nav .logo { height: 30px; width: auto; }
.lp-nav .nav-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: #000; background: var(--brand);
  padding: 0.55rem 1.1rem; text-decoration: none;
  border: 1.5px solid var(--brand);
  transition: all var(--dur) var(--ease);
}
.lp-nav .nav-cta:hover { background: transparent; color: var(--brand); }
@media (max-width: 640px) { .lp-nav .nav-cta { display: none; } }
.lp-nav .prog-logo { width: auto; opacity: 0.92; display: block; }

/* ---------- REEL / PHONE FRAME ---------- */
.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}
.reel video,
.reel img.poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.reel .reel-sound {
  position: absolute; bottom: 0.9rem; right: 0.9rem; z-index: 4;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; cursor: pointer; backdrop-filter: blur(6px);
  transition: background var(--dur), border-color var(--dur);
}
.reel .reel-sound:hover { background: var(--brand); color: #000; border-color: var(--brand); }
.reel .reel-sound svg { width: 18px; height: 18px; }
.reel .reel-tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 4;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Bebas Neue', sans-serif; font-size: 0.8rem; letter-spacing: 0.16em;
  color: #fff; background: rgba(0,0,0,0.45); backdrop-filter: blur(6px);
  padding: 0.3rem 0.65rem; border: 1px solid rgba(255,255,255,0.15);
}
.reel .reel-tag .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 0 var(--brand-glow); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--brand-glow); }
  70% { box-shadow: 0 0 0 8px rgba(0,255,96,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,255,96,0); }
}
/* phone-bezel variant */
.reel-phone {
  border-radius: 32px;
  border: 8px solid #1c1c1c;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.04);
}

/* play overlay (tap-to-play poster, dir C) */
.reel .reel-play {
  position: absolute; inset: 0; z-index: 5; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
}
.reel .reel-play .play-btn {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #000;
  box-shadow: 0 0 0 0 var(--brand-glow); animation: pulse 2.4s infinite;
}
.reel .reel-play .play-btn svg { width: 30px; height: 30px; margin-left: 4px; }

/* ---------- TRUST STRIP ---------- */
.trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  align-items: center;
}
.trust span {
  font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem; letter-spacing: 0.1em;
  color: var(--text-dim); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.trust span::before { content: ''; width: 6px; height: 6px; background: var(--brand); border-radius: 50%; flex: none; }

/* ---------- META CHIPS ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips .chip {
  font-family: 'Bebas Neue', sans-serif; font-size: 0.9rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text); white-space: nowrap;
  border: 1px solid var(--border); padding: 0.4rem 0.85rem;
  background: var(--surface);
}
.chips .chip.brand { color: var(--brand); border-color: rgba(0,255,96,0.35); background: var(--brand-soft); }

/* ---------- STEPS ---------- */
.steps { display: grid; gap: 1rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem; background: var(--bg-soft); border: 1px solid var(--border);
}
.step .num {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 1.5rem;
  color: var(--brand); line-height: 1; min-width: 1.4ch;
}
.step h4 { margin: 0 0 0.3rem; font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.08em; font-size: 1.25rem; font-weight: 400; text-transform: uppercase; }
.step p { margin: 0; color: var(--text-dim); font-size: 0.95rem; }

/* ---------- INCLUDES GRID ---------- */
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.includes .inc {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 1rem; background: var(--bg-soft); border: 1px solid var(--border);
  font-size: 0.95rem; color: var(--text);
}
.includes .inc svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 1px; }
@media (max-width: 520px) { .includes { grid-template-columns: 1fr; } }

/* ---------- COACH CARD ---------- */
.coach {
  display: flex; gap: 1.1rem; align-items: center;
  padding: 1.1rem; background: var(--bg-soft); border: 1px solid var(--border);
}
.coach img { width: 84px; height: 84px; object-fit: cover; flex: none; border-radius: 2px; filter: grayscale(0.2); }
.coach .c-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 0.06em; }
.coach .c-role { color: var(--brand); font-size: 0.85rem; letter-spacing: 0.05em; }
.coach .c-bio { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.3rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--brand); transition: transform var(--dur); flex: none; font-size: 1.4rem; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.2rem; color: var(--text-dim); font-size: 0.95rem; max-width: 60ch; }

/* ---------- STICKY MOBILE CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,0.95) 30%);
  display: none;
  transform: translateY(130%);
  transition: transform 0.35s var(--ease);
}
.sticky-cta .btn-primary { width: 100%; }
.sticky-cta.show { transform: translateY(0); }
@media (max-width: 820px) { .sticky-cta { display: block; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- SECTION HELPERS ---------- */
.section { padding: 5rem 0; }
.section.tight { padding: 3.5rem 0; }
@media (max-width: 640px) { .section { padding: 3.5rem 0; } }
.muted { color: var(--text-dim); }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--text-dim); max-width: 56ch; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* footer */
.lp-footer { padding: 2.5rem 0 7rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; }
.lp-footer a { color: var(--text-dim); text-decoration: none; }
.lp-footer a:hover { color: var(--brand); }
@media (max-width: 820px) { .lp-footer { padding-bottom: 8rem; } }

/* ===========================================================
   LANDING PAGE LAYOUT — "Direction C" (offer-first)
   Used by /hyrox /nexus /prime and any new program landing.
   Lives here so the design is edited in ONE place.
   =========================================================== */
.lp-nav .logo { height: 28px; }
.lp-nav .prog-logo { height: 30px; }   /* hyrox overrides inline to 15px (wide logo) */

.hero-c { padding: 6.5rem 0 3.5rem; text-align: center; position: relative; overflow: hidden; }
.hero-c::before {
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(0,255,96,0.12), transparent 60%);
}
.hero-c .wrap { position: relative; z-index: 1; }
.kicker {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.75rem;
  font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.3em; font-size: 0.95rem;
  color: var(--brand); text-transform: uppercase; margin-bottom: 1.6rem; line-height: 1;
}
.kicker::before { content: ''; width: 38px; height: 2px; background: var(--brand); }
.hero-c h1 { margin: 0 auto 1.25rem; max-width: 14ch; font-size: clamp(3.2rem, 11vw, 6.5rem); }
.hero-c h1 em { font-style: normal; color: var(--brand); }
.hero-c .promise { font-size: 1.2rem; color: var(--text-dim); max-width: 46ch; margin: 0 auto 2rem; }
.hero-c .hero-cta { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.hero-c .hero-cta .btn-primary { font-size: 1.35rem; padding: 1.2rem 2.6rem; }
.hero-c .reassure { color: var(--text-muted); font-size: 0.9rem; }

.reel-wrap { max-width: 320px; margin: 2.75rem auto 0; }

.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.stat-row .stat { background: var(--bg); padding: 1.6rem 1rem; text-align: center; }
.stat-row .stat .n { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(1.8rem,5vw,2.6rem); color: var(--brand); line-height: 1; }
.stat-row .stat .n.sm { font-size: clamp(1.5rem,5vw,2.2rem); }
.stat-row .stat .l { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.1em; font-size: 0.9rem; color: var(--text-dim); text-transform: uppercase; margin-top: 0.5rem; }

h2.sec-title { font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 1.75rem; text-align: center; }
.section.tight .steps { max-width: 640px; margin: 0 auto; }
[id] { scroll-margin-top: 84px; }

.final-cta { text-align: center; background: var(--bg-soft); border-top: 1px solid var(--border); }
.final-cta h2 { font-size: clamp(2.4rem, 8vw, 4.5rem); margin: 0 0 1rem; }
.final-cta .lead { margin: 0 auto 2rem; }

/* ---------- LEAD FORM (Prime / any form-capture landing) ---------- */
.book { background: var(--bg-soft); border-top: 1px solid var(--border); }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .book-grid { grid-template-columns: 1fr; gap: 2.25rem; } }
.book h2 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 1rem; }
.book-head { text-align: center; max-width: 58ch; margin: 0 auto 2.5rem; }
.book-head .eyebrow { margin-bottom: 0.75rem; }
.book-head .lead { margin: 0 auto; }
.form-reel { max-width: 230px; margin: 1.75rem auto 0; }
.aside-col { display: flex; flex-direction: column; }
@media (max-width: 820px) { .aside-col { order: 2; } .form-col { order: 1; } }
.book .bullets { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.8rem; }
.book .bullets li { display: flex; gap: 0.65rem; color: var(--text-dim); font-size: 0.98rem; }
.book .bullets li svg { color: var(--brand); flex: none; width: 20px; height: 20px; margin-top: 3px; }

.lead-form { display: grid; gap: 1.05rem; background: var(--bg); border: 1px solid var(--border); padding: 1.85rem; }
.lead-form .field { display: flex; flex-direction: column; gap: 0.4rem; }
.lead-form label, .lead-form legend { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.08em; font-size: 0.95rem; color: var(--text-dim); text-transform: uppercase; }
.lead-form input, .lead-form select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 0.85rem 1rem; font-family: 'Inter', sans-serif; font-size: 1rem; width: 100%;
}
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--brand); }
.lead-form fieldset { border: 0; padding: 0; margin: 0; }
.lead-form .radios { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.55rem; }
.lead-form .radios label {
  display: flex; align-items: center; gap: 0.45rem; border: 1px solid var(--border);
  padding: 0.5rem 0.95rem; cursor: pointer; color: var(--text);
  font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0; font-size: 0.92rem;
  transition: all var(--dur-fast) var(--ease);
}
.lead-form .radios input { accent-color: var(--brand); }
.lead-form .radios label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.wa-alt { display: inline-block; margin-top: 1rem; color: var(--text-dim); font-size: 0.9rem; text-decoration: none; }
.wa-alt:hover { color: var(--brand); }
.form-success { display: none; text-align: center; padding: 2.5rem 2rem; border: 1px solid var(--brand); background: var(--brand-soft); }
.form-success.show { display: block; }
.form-success .ic { width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #000; display: grid; place-items: center; margin: 0 auto 1rem; }
.form-success h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: 0.04em; margin: 0 0 0.5rem; }
.hp { position: absolute; left: -9999px; }
