/* GYM XYZ landing — chalk & steel. Tokens shared with portal + checkout. */
:root {
  --ink: #0D0D0F;
  --iron: #17181B;
  --iron-2: #1F2024;
  --steel: #2A2C31;
  --steel-2: #3A3D44;
  --ash: #8B8F98;
  --chalk: #F4F2EE;
  --chalk-dim: #CFCCC6;
  --chalk-2: #E6E2DA;
  --ember: #FF5A1F;
  --ember-dk: #D9420C;
  --volt: #C8F94A;
  --danger: #FF4D4D;

  --f-head: "Oswald", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--ink); color: var(--chalk);
  font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  overflow-x: hidden;
}
body.modal-open, body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--f-mono); font-size: .92em; background: rgba(255,90,31,.14); color: var(--ember); padding: 1px 6px; border-radius: 3px; letter-spacing: .02em; }
.num { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ember); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.h2 {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 5.4vw, 64px); line-height: .98; letter-spacing: -.005em; max-width: 18ch;
}
.h2-ink { color: var(--ink); }
.h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 24px; letter-spacing: .01em; margin: 56px 0 18px; }
.lede { color: var(--chalk-dim); font-size: clamp(17px, 1.6vw, 19px); max-width: 58ch; margin-top: 18px; }
.lede-ink { color: #3B3C40; }
.ember { color: var(--ember); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ember);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 2px solid transparent;
  font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; line-height: 1.1; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-dk); }
.btn-ghost { background: transparent; color: var(--chalk); border-color: var(--chalk); }
.btn-ghost:hover { background: var(--chalk); color: var(--ink); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 19px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.text-link { background: none; border: 0; padding: 0; color: var(--ember); font: 600 15px var(--f-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.text-link:hover { color: var(--chalk); }

/* ---------- logo (identical to portal) ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; flex: none; }
.logo svg.mark { width: 34px; height: 34px; flex: none; }
.logo .word { font-family: var(--f-head); font-weight: 700; font-size: 24px; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.logo .word b { color: var(--ember); font-weight: 700; }
.apex-dot { width: 18px; height: 18px; flex: none; }

/* ---------- 1. promo ---------- */
.promo { background: var(--ember); color: #fff; font-size: 14px; font-weight: 500; }
.promo p { max-width: var(--max); margin: 0 auto; padding: 9px var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 18px; text-align: center; }
.promo code { background: rgba(13,13,15,.85); color: #fff; }
.promo-sep { width: 1px; height: 14px; background: rgba(255,255,255,.55); }
@media (max-width: 640px) { .promo-sep { display: none; } .promo { font-size: 13px; } }

/* ---------- 2. header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(13,13,15,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--steel); }
.head-row { height: var(--head-h); display: flex; align-items: center; gap: 24px; }
.site-head .wrap { max-width: 1400px; }
.main-nav { flex: 1; min-width: 0; }
.main-nav ul { display: flex; gap: 2px; justify-content: safe center; }
.main-nav a { display: block; padding: 8px 9px; font-size: 14px; font-weight: 500; color: var(--chalk-dim); text-decoration: none; white-space: nowrap; border-radius: var(--r-sm); }
.main-nav a:hover { color: var(--chalk); background: var(--iron-2); }
.nav-cta-mobile { display: none; }
.main-nav .nav-more { display: none; }
.main-nav a[aria-current="page"] { color: var(--chalk); box-shadow: inset 0 -2px 0 var(--ember); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.head-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.head-login { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--chalk); }
.head-login:hover { color: var(--ember); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--steel-2); background: var(--iron); border-radius: var(--r-sm); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--chalk); transition: transform .2s, opacity .2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1360px) {
  .burger { display: block; }
  .head-login { display: none; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 104px); bottom: 0; background: var(--ink);
    padding: 12px var(--gutter) 32px; overflow-y: auto; display: none; border-top: 1px solid var(--steel);
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-family: var(--f-head); font-size: 26px; font-weight: 600; text-transform: uppercase; color: var(--chalk); padding: 14px 0; border-bottom: 1px solid var(--steel); border-radius: 0; }
  .main-nav a:hover { background: none; color: var(--ember); }
  .nav-cta-mobile { display: grid; gap: 12px; margin-top: 24px; }
  .main-nav .nav-more { display: block; }
  .main-nav .nav-more a { font-family: var(--f-body); font-size: 16px; font-weight: 600; text-transform: none; color: var(--chalk-dim); padding: 12px 0; }
  .main-nav li:not(.nav-more) + .nav-more { margin-top: 14px; }
  .main-nav a[aria-current="page"] { color: var(--ember); box-shadow: none; }
}
@media (max-width: 420px) {
  .head-actions .btn-sm { padding: 0 10px; font-size: 13px; min-height: 38px; }
  .head-row { gap: 10px; }
  .head-actions { gap: 8px; }
  .site-head .logo .word { font-size: 20px; }
  .site-head .logo svg.mark { width: 28px; height: 28px; }
}

/* ---------- image placeholders ---------- */
figure { margin: 0; }
.img-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--steel-2); text-align: center; padding: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    radial-gradient(120% 90% at 30% 20%, #23252A, var(--iron) 70%);
}
.img-ph svg { width: 56px; height: 56px; color: var(--steel-2); }
.img-ph span { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--ash); }

/* ---------- 3. hero ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,13,15,.92) 0%, rgba(13,13,15,.7) 45%, rgba(13,13,15,.15) 100%),
              linear-gradient(0deg, var(--ink) 0%, rgba(13,13,15,0) 40%);
}
.hero-media .img-ph span { display: none; }
.hero-media .img-ph svg { position: absolute; right: 8%; top: 18%; width: min(38vw, 420px); height: auto; color: var(--steel); opacity: .7; }
.hero-inner { padding-top: 96px; padding-bottom: 64px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--chalk-dim); margin-bottom: 22px; }
.hero-kicker::before { content: ""; width: 28px; height: 3px; background: var(--ember); }
.hero-h {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(56px, 11vw, 148px); line-height: .86; letter-spacing: -.01em; max-width: 9.5ch;
}
.hero-sub { margin-top: 26px; max-width: 52ch; font-size: clamp(17px, 1.7vw, 20px); color: var(--chalk-dim); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--steel); font-size: 14px; color: var(--ash); max-width: 640px; }
.hero-proof b { color: var(--chalk); font-size: 18px; margin-right: 6px; }
@media (max-width: 560px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 140px; padding-bottom: 48px; }
  .hero-ctas .btn { width: 100%; }
  .hero-media::after { background: linear-gradient(0deg, var(--ink) 30%, rgba(13,13,15,.55) 100%); }
}

/* ---------- 4. products: real Apex MD product shots on a spotlit plate ---------- */
.products { border-bottom: 1px solid var(--steel); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--steel); padding: 0; max-width: none; border-top: 1px solid var(--steel); }
.prod { position: relative; display: flex; flex-direction: column; background: var(--ink); text-decoration: none; color: var(--chalk); overflow: hidden; }
.prod:hover .prod-go { color: var(--ember); }
.prod:hover .prod-go::after { transform: translateX(4px); }
.prod:hover .prod-img img { transform: translateY(-4px) scale(1.03); }
.prod-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.prod-img img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 18px 18px 8px; transition: transform .35s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.plate, .prod-img {
  background:
    radial-gradient(60% 70% at 50% 62%, rgba(255,90,31,.22), transparent 70%),
    radial-gradient(90% 80% at 50% 0%, #24262B, var(--iron) 75%);
}
.prod-img::before, .plate::before {
  content: ""; position: absolute; left: 50%; top: 54%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpolygon points='20,2 35.6,11 35.6,29 20,38 4.4,29 4.4,11' fill='none' stroke='%233A3D44' stroke-width='.6'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.prod-body { padding: 20px 24px 24px; margin-top: auto; position: relative; }
.prod-price { font-size: 13px; color: var(--ash); margin-bottom: 8px; }
.prod-price b { font-family: var(--f-mono); font-weight: 500; color: var(--volt); font-size: 15px; }
.prod h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 26px; line-height: 1; }
.prod p.prod-desc { color: var(--chalk-dim); font-size: 15px; margin-top: 8px; }
.prod-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; transition: color .15s; }
.prod-go::after { content: ""; width: 14px; height: 2px; background: currentColor; transition: transform .15s; }
.prod-chalk { background: var(--chalk); color: var(--ink); }
.prod-chalk .prod-img { background: var(--chalk); }
.prod-chalk .prod-img::before { opacity: .35; }
.prod-chalk .prod-img img { mix-blend-mode: multiply; filter: none; object-fit: cover; padding: 0; }
.prod-chalk p.prod-desc, .prod-chalk .prod-price { color: #47484D; }
.prod-chalk .prod-price b { color: var(--ember-dk); }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .prod-img { aspect-ratio: 4 / 3; }
  .prod-img img { padding: 10px 10px 4px; }
  .prod-body { padding: 14px 14px 18px; }
  .prod h3 { font-size: 19px; }
  .prod p.prod-desc { display: none; }
  .prod-price { font-size: 12px; margin-bottom: 6px; }
  .prod-price b { font-size: 13px; }
  .prod-go { font-size: 13px; margin-top: 10px; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec-chalk { background: var(--chalk); color: var(--ink); }
.sec-iron { background: var(--iron); }

/* ---------- 5. benefits: ticket stubs ---------- */
.ticket-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 36px; }
.ticket {
  position: relative; display: flex; align-items: stretch; background: var(--iron); border: 1px solid var(--steel); border-radius: var(--r-md); overflow: hidden;
}
.ticket::before, .ticket::after { content: ""; position: absolute; left: 112px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 1px solid var(--steel); }
.ticket::before { top: -10px; } .ticket::after { bottom: -10px; }
.ticket-amt {
  flex: none; width: 121px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 8px;
  border-right: 2px dashed var(--steel-2); font-family: var(--f-head); font-weight: 700; font-size: 52px; line-height: .9; color: var(--chalk);
}
.ticket-amt .cur { font-size: 22px; align-self: center; margin-bottom: -4px; color: var(--ash); }
.ticket-amt .off { font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); margin-top: 6px; }
.ticket-txt { padding: 22px 20px; }
.ticket h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 21px; line-height: 1.05; }
.ticket p { color: var(--chalk-dim); font-size: 14px; margin-top: 8px; }
.ticket p a { color: var(--chalk); }
.ticket-hot { border-color: var(--ember); }
.ticket-hot .ticket-amt { background: var(--ember); color: #fff; border-right-color: rgba(255,255,255,.5); }
.ticket-hot .ticket-amt .cur, .ticket-hot .ticket-amt .off { color: rgba(255,255,255,.85); }
.ticket-hot::before, .ticket-hot::after { border-color: var(--ember); }
@media (max-width: 900px) { .ticket-row { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- 6. problem pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 3px solid var(--ink); }
.pillars li { padding: 22px 22px 6px 0; position: relative; }
.pillars li + li { padding-left: 22px; border-left: 1px solid #CFCAC0; }
.pil-n { display: block; font-family: var(--f-head); font-weight: 700; font-size: 64px; line-height: 1; color: #CFCAC0; }
.pillars h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 24px; margin-top: 10px; }
.pillars p { color: #47484D; font-size: 15px; margin-top: 8px; }
.pil-hot { background: var(--ink); color: var(--chalk); padding-bottom: 22px !important; }
.pillars .pil-hot { padding-right: 22px; margin-top: -3px; border-top: 3px solid var(--ember); }
.pil-hot .pil-n { color: var(--ember); }
.pil-hot p { color: var(--chalk-dim); }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillars li:nth-child(n+3) { border-top: 1px solid #CFCAC0; }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding-left: 0; border-left: 0; }
  .pillars li + li { border-top: 1px solid #CFCAC0; }
  .pillars .pil-hot { padding-left: 18px; margin-top: 0; }
  .pil-n { font-size: 48px; }
}

/* ---------- 7. program + transformation board ---------- */
.prog-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 56px; align-items: end; }
.prog-head .lede { margin-top: 0; }
@media (max-width: 900px) { .prog-head { grid-template-columns: 1fr; } }

.board {
  --wk: 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 56px;
  border: 1px solid var(--steel); border-radius: var(--r-md); overflow: hidden; background: var(--iron);
}
.board-photo { position: relative; background: var(--iron); min-height: 520px; }
.board-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.demo-tag {
  position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 2; width: fit-content;
  background: rgba(13,13,15,.86); color: var(--chalk); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 3px; border-left: 3px solid var(--volt);
}
.board-panel { padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; min-width: 0; }
.board-title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3vw, 36px); line-height: 1; }
.board-who { color: var(--chalk-dim); font-size: 15px; margin-top: 12px; max-width: 62ch; }
.board-who strong { color: var(--chalk); }

.weeks { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; border: 1px solid var(--steel-2); border-radius: var(--r-sm); overflow: hidden; }
.wk {
  min-height: 48px; background: transparent; border: 0; color: var(--ash); cursor: pointer;
  font-family: var(--f-head); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .04em;
}
.wk + .wk { border-left: 1px solid var(--steel-2); }
.wk:hover { color: var(--chalk); background: var(--iron-2); }
.wk[aria-selected="true"] { background: var(--ember); color: #fff; }
.wk-range-label { display: block; margin-top: 10px; }
#wk-range { width: 100%; accent-color: var(--ember); height: 24px; margin: 0; }

/* the chalkboard: one memorable surface */
.chalkboard {
  position: relative; margin-top: 18px; padding: 22px 22px 20px; border-radius: var(--r-sm);
  background:
    radial-gradient(140% 120% at 10% 0%, rgba(255,255,255,.05), transparent 55%),
    repeating-linear-gradient(-8deg, rgba(255,255,255,.018) 0 1px, transparent 1px 7px),
    #121315;
  border: 1px solid var(--steel);
  box-shadow: inset 0 0 0 6px #0F1012, inset 0 0 0 7px var(--steel);
}
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; }
.stats > div { padding: 4px 12px 8px; min-width: 0; }
.stats > div + div { border-left: 1px dashed var(--steel-2); }
.stats dt { font-size: 12px; color: var(--ash); font-weight: 600; }
.stats dd { margin: 6px 0 0; font-size: clamp(18px, 1.8vw, 24px); color: var(--chalk); line-height: 1.1; white-space: nowrap; }
.stats dd .u { font-size: .6em; color: var(--ash); margin-left: 2px; }
.stats dd small { display: block; font-family: var(--f-mono); font-size: 13px; color: var(--volt); margin-top: 4px; min-height: 1em; }
.stats .stale { color: var(--ash); }
.board-note { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--steel-2); color: var(--chalk-dim); font-size: 15px; }
.board-quote { margin: 14px 0 0; }
.board-quote p { font-family: var(--f-head); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; text-transform: uppercase; color: var(--chalk); }
.board-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--ash); }
.board-quote cite::before { content: "\2014\00a0"; }
.compliance { margin-top: 16px; font-size: 12.5px; color: var(--ash); line-height: 1.5; }

@media (max-width: 960px) {
  .board { grid-template-columns: 1fr; }
  .board-photo { aspect-ratio: 4 / 5; max-height: 560px; min-height: 0; }
  .board-photo img { object-position: center 20%; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .stats > div + div { border-left: 0; }
  .stats > div:nth-child(even) { border-left: 1px dashed var(--steel-2); }
  .stats > div:first-child { grid-column: 1 / -1; }
  .stats > div:first-child + div { border-left: 0; }
  .stats > div:nth-child(3) { border-left: 1px dashed var(--steel-2); }
  .stats > div:nth-child(4) { border-left: 0; }
  .stats > div:nth-child(5) { border-left: 1px dashed var(--steel-2); }
  .chalkboard { padding: 18px 14px; }
}

.price-band {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-top: 32px; padding: 22px 26px;
  border-left: 4px solid var(--ember); background: var(--iron);
}
.price-label { font-weight: 600; color: var(--chalk-dim); flex-basis: 100%; font-size: 15px; }
.price { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; }
.price .from { font-size: 18px; color: var(--ash); }
.price .num { font-family: var(--f-head); font-weight: 700; font-size: 60px; line-height: 1; color: var(--chalk); }
.price .per { font-size: 20px; color: var(--chalk-dim); }
.price-note { color: var(--chalk-dim); font-size: 15px; }

.components { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
.components li { padding: 20px 18px; border: 1px solid var(--steel); border-top: 3px solid var(--steel-2); background: var(--ink); }
.components h4 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 19px; line-height: 1.1; }
.components p { color: var(--chalk-dim); font-size: 14px; margin-top: 8px; }
.components .comp-coach { border-top-color: var(--ember); }
.tag { display: inline-block; margin-top: 8px; font-family: var(--f-body); font-size: 11px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ink); background: var(--volt); padding: 3px 7px; border-radius: 3px; vertical-align: middle; }
@media (max-width: 1080px) { .components { grid-template-columns: repeat(2, minmax(0, 1fr)); } .components .comp-coach { grid-column: 1 / -1; } }
@media (max-width: 520px) { .components { grid-template-columns: 1fr; } }

/* ---------- 8. authority ---------- */
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.auth-photo { position: relative; aspect-ratio: 1214 / 1735; max-width: 460px; justify-self: center; width: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--ink); }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; }
.auth-name { margin-top: 18px; font-size: 18px; color: var(--chalk-dim); }
.auth-name strong { color: var(--chalk); }
.creds { margin-top: 22px; display: grid; gap: 0; }
.creds li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--steel); font-weight: 500; }
.creds li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 8px; border-left: 3px solid var(--ember); border-bottom: 3px solid var(--ember); transform: rotate(-45deg); }
.auth-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 22px; }
.auth-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.auth-stats dd { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; color: var(--chalk); text-transform: uppercase; }
.auth-stats dt { font-size: 13px; color: var(--ash); margin-top: 6px; }
@media (max-width: 900px) { .auth-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 420px) { .auth-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- 9. how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 52px 0 40px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--steel-2) 0 8px, transparent 8px 14px); }
.steps li { position: relative; padding-right: 22px; }
.step-n { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--ink); border: 2px solid var(--chalk); border-radius: 50%; font-size: 16px; }
.steps li:last-child .step-n { border-color: var(--ember); color: var(--ember); }
.steps h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 23px; margin-top: 18px; }
.steps p { color: var(--chalk-dim); font-size: 15px; margin-top: 6px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--steel-2) 0 8px, transparent 8px 14px); }
  .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 0 0 26px; }
  .steps li .step-n { grid-row: span 2; }
  .steps h3 { margin-top: 10px; }
}

/* ---------- 10. goals ---------- */
.goals-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.goals-photo { position: relative; aspect-ratio: 4 / 3; margin-top: 36px; border-radius: var(--r-md); overflow: hidden; background: var(--iron); }
.goals-photo img { width: 100%; height: 100%; object-fit: cover; }
.goal-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.goal-list li { background: #fff; border: 1px solid #DDD8CE; border-radius: var(--r-md); transition: box-shadow .2s, border-color .2s; }
.goal-list li > a, .goal-split > div { display: block; padding: 24px 22px 26px; text-decoration: none; color: var(--ink); height: 100%; }
.goal-list li > a:hover { background: var(--ink); color: var(--chalk); border-radius: var(--r-md); }
.goal-list li > a:hover p { color: var(--chalk-dim); }
.goal-list h3 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 28px; line-height: 1; }
.goal-list p { color: #4A4B50; font-size: 15px; margin-top: 10px; }
.goal-split { display: flex; flex-direction: column; }
.goal-split > div { height: auto; padding-bottom: 12px; }
.goal-pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; border-top: 1px solid #DDD8CE; }
.goal-pair a { padding: 12px; text-align: center; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ink); }
.goal-pair a + a { border-left: 1px solid #DDD8CE; }
.goal-pair a:hover { background: var(--ink); color: var(--chalk); }
.goal-list li.is-flagged { border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember); }
@media (max-width: 900px) { .goals-grid { grid-template-columns: 1fr; gap: 36px; } .goals-photo { max-width: 560px; } }
@media (max-width: 520px) { .goal-list { grid-template-columns: 1fr; } .goal-list h3 { font-size: 24px; } }

/* ---------- 11. pricing + trust ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--steel); vertical-align: middle; }
.price-table tr:first-child th, .price-table tr:first-child td { border-top: 2px solid var(--chalk); }
.price-table th { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 19px; padding-left: 0; }
.price-table th a { text-decoration: none; }
.price-table th a:hover { color: var(--ember); }
.price-table td { color: var(--chalk-dim); white-space: nowrap; }
.price-table .num { color: var(--chalk); font-size: 18px; }
.price-table .from { font-size: 13px; color: var(--ash); }
.price-table s { color: var(--ash); margin-left: 8px; font-family: var(--f-mono); font-size: 13px; }
.price-table .code-cell { white-space: normal; font-size: 14px; }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 72px 0 0; border-top: 1px solid var(--steel); }
.trust div { display: flex; flex-direction: column; padding: 26px 20px 0 0; }
.trust div + div { padding-left: 20px; border-left: 1px solid var(--steel); }
.trust dd { margin: 0; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4vw, 52px); line-height: 1; color: var(--chalk); }
.trust dt { color: var(--ash); font-size: 14px; margin-top: 8px; }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust div:nth-child(n+3) { border-top: 1px solid var(--steel); margin-top: 24px; }
}
@media (max-width: 640px) {
  .price-table, .price-table tbody, .price-table tr { display: block; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--steel); }
  .price-table tr:first-child { border-top: 2px solid var(--chalk); }
  .price-table th, .price-table td { padding: 0; border: 0 !important; }
  .price-table .code-cell { grid-column: 1 / -1; }
  .price-table td:nth-child(2) { text-align: right; }
}

/* ---------- 12. FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.faq-list details { border-top: 1px solid var(--steel-2); }
.faq-list details:last-child { border-bottom: 1px solid var(--steel-2); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 21px; line-height: 1.2;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(var(--ember), var(--ember)) center / 16px 3px no-repeat, linear-gradient(var(--ember), var(--ember)) center / 3px 16px no-repeat; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--ember); }
.faq-list details p { padding: 0 44px 22px 0; color: var(--chalk-dim); max-width: 64ch; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; } .faq-list summary { font-size: 19px; } }

/* ---------- closer ---------- */
.closer { padding: clamp(72px, 10vw, 120px) 0; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 80px), var(--ink); border-top: 1px solid var(--steel); }
.closer-h { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(44px, 8vw, 104px); line-height: .9; max-width: 14ch; }

/* ---------- 14. footer ---------- */
.site-foot { background: #08080A; border-top: 4px solid var(--ember); padding: 64px 0 32px; font-size: 14px; color: var(--chalk-dim); }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.powered { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 22px; }
.powered-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.apex-logo { height: 32px; width: auto; }
.foot-trust { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 16px; }
.foot-trust li { font-size: 12px; font-weight: 600; color: var(--chalk-dim); border: 1px solid var(--steel-2); border-radius: 999px; padding: 4px 10px; }
.foot-desc { margin-top: 12px; max-width: 40ch; color: var(--ash); }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-links h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 16px; letter-spacing: .04em; color: var(--chalk); margin-bottom: 12px; }
.foot-links li { margin-bottom: 9px; color: var(--ash); }
.foot-links a { color: var(--chalk-dim); text-decoration: none; }
.foot-links a:hover { color: var(--ember); text-decoration: underline; }
.foot-links .num { font-size: 14px; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--steel); font-size: 12.5px; line-height: 1.65; color: var(--ash); max-width: 110ch; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: 13px; color: var(--ash); }
.foot-base a { color: var(--chalk-dim); margin-left: 18px; }
.foot-base a:first-child { margin-left: 0; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foot-links { grid-template-columns: 1fr 1fr; } }

/* ---------- 13. modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,5,6,.82); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--iron); border: 1px solid var(--steel-2); border-top: 4px solid var(--ember); border-radius: var(--r-md);
  padding: 28px clamp(18px, 4vw, 34px) 26px; animation: pop .22s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; background: none; border: 0; color: var(--ash); font-size: 30px; line-height: 1; cursor: pointer; border-radius: var(--r-sm); }
.modal-x:hover { color: var(--chalk); background: var(--iron-2); }
.modal-h { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 32px; line-height: 1; padding-right: 40px; }
.as-progress { margin: 18px 0 22px; }
.as-progress p { font-family: var(--f-mono); font-size: 13px; color: var(--ash); }
.as-bar { height: 6px; background: var(--steel); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.as-bar span { display: block; height: 100%; width: 0; background: var(--volt); transition: width .3s; }
.as-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.as-step legend { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 22px; line-height: 1.15; margin-bottom: 14px; padding: 0; }
.as-opts { display: grid; gap: 8px; }
.as-opts label { position: relative; display: block; cursor: pointer; }
.as-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.as-opts span { display: block; padding: 14px 16px 14px 46px; border: 1px solid var(--steel-2); border-radius: var(--r-sm); font-weight: 500; position: relative; transition: border-color .15s, background .15s; }
.as-opts span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid var(--ash); border-radius: 50%; }
.as-opts label:hover span { border-color: var(--chalk-dim); background: var(--iron-2); }
.as-opts input:checked + span { border-color: var(--ember); background: rgba(255,90,31,.1); }
.as-opts input:checked + span::before { border-color: var(--ember); background: radial-gradient(var(--ember) 0 4px, transparent 5px); }
.as-opts input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 2px; }
.as-result { outline: none; }
.as-rec-label { font-size: 13px; color: var(--volt); font-weight: 600; }
.as-result h3 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 34px; line-height: 1; margin-top: 6px; }
.as-result p { color: var(--chalk-dim); margin-top: 12px; }
.as-result .as-rec-offer { color: var(--chalk); font-weight: 600; }
.as-go { width: 100%; margin-top: 22px; }
.as-result .as-fine { font-size: 12.5px; color: var(--ash); }
.as-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; min-height: 0; }
.as-nav [hidden] { display: none; }

/* mobile refinements */
@media (max-width: 560px) {
  .hero-inner { padding-top: 64px; }
  .hero-media .img-ph svg { display: none; }
}
img.img-loading { opacity: 0; }
/* backdrop-filter makes the header a containing block for fixed children; drop it on mobile so the menu covers the viewport */
@media (max-width: 1360px) { .site-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); } }

/* goal cards: product thumbnails */
.goal-list li > a, .goal-split > div { position: relative; padding-right: 96px; }
.goal-thumb { position: absolute; right: 14px; top: 16px; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(13,13,15,.22)); transition: transform .25s; }
.goal-list li > a:hover .goal-thumb { transform: rotate(-6deg) scale(1.06); }
@media (max-width: 520px) { .goal-thumb { width: 60px; height: 60px; } .goal-list li > a, .goal-split > div { padding-right: 84px; } }

/* =====================================================================
   SUBPAGES — program, info and utility pages share these components
   ===================================================================== */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-dim); }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--ember); flex: none; }
.kicker .num { color: var(--ember); letter-spacing: 0; }
.sec-chalk .kicker { color: #47484D; }
.sec-head { margin-bottom: 44px; }
.sec-head .kicker { margin-bottom: 18px; }
.sec-head .h2 { max-width: 20ch; }
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; }
.sec-head-split .lede { margin-top: 0; }
@media (max-width: 900px) { .sec-head-split { grid-template-columns: 1fr; } }
.fine { font-size: 12.5px; line-height: 1.55; color: var(--ash); margin-top: 22px; max-width: 90ch; }
.sec-chalk .fine { color: #6A6B70; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 560px) { .btn-row .btn { width: 100%; } }

/* ---------- page hero ---------- */
.p-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--steel); isolation: isolate;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 96px),
    radial-gradient(70% 90% at 85% 10%, rgba(255,90,31,.10), transparent 60%),
    var(--ink); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.p-hero h1 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(46px, 7.4vw, 104px); line-height: .9; letter-spacing: -.01em; margin-top: 22px; max-width: 12ch; }
.p-hero h1 .ember { display: inline; }
.p-hero .hero-sub { margin-top: 24px; max-width: 54ch; }
.p-hero-copy { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.p-hero-side { animation: rise .7s .12s cubic-bezier(.2,.7,.2,1) both; min-width: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--steel); max-width: 620px; }
.facts div { padding: 16px 16px 0 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--steel); }
.facts dt { font-size: 12px; color: var(--ash); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 6px 0 0; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: clamp(18px, 2vw, 24px); line-height: 1.05; }
@media (max-width: 960px) { .p-hero-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .facts div { padding-right: 8px; } .facts div + div { padding-left: 10px; } .facts dd { font-size: 16px; } }
.p-hero-simple .p-hero-grid { grid-template-columns: minmax(0, 1fr); }
.p-hero-simple h1 { max-width: 16ch; }

/* ---------- offer card (product shot sits on top of it) ---------- */
.offer { position: relative; background: var(--iron); border: 1px solid var(--steel-2); border-top: 4px solid var(--ember); border-radius: var(--r-md); }
.offer-shot { position: relative; height: 230px; border-bottom: 1px dashed var(--steel-2); border-radius: 4px 4px 0 0; overflow: hidden; }
.offer-shot img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 16px; filter: drop-shadow(0 20px 26px rgba(0,0,0,.6)); }
.offer-body { padding: 22px 24px 24px; }
.offer-label { font-size: 13px; font-weight: 600; color: var(--volt); }
.offer-code { font-size: 14px; color: var(--chalk-dim); margin-top: 4px; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 14px; }
.offer-price .big { font-family: var(--f-head); font-weight: 700; font-size: 58px; line-height: .95; color: var(--chalk); }
.offer-price s { font-family: var(--f-mono); font-size: 18px; color: var(--ash); }
.offer-price .per { font-size: 14px; color: var(--chalk-dim); flex-basis: 100%; }
.offer-rows { margin-top: 14px; display: grid; gap: 0; }
.offer-rows > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 14px; padding: 12px 0; border-top: 1px solid var(--steel); }
.offer-rows .p { font-family: var(--f-head); font-weight: 700; font-size: 34px; line-height: 1; grid-row: span 2; }
.offer-rows .p s { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 13px; color: var(--ash); margin-bottom: 4px; }
.offer-rows .p small { font-family: var(--f-body); font-size: 13px; font-weight: 500; color: var(--ash); }
.offer-rows .what { font-weight: 600; font-size: 15px; }
.offer-rows .after { font-size: 13px; color: var(--ash); }
.checks { margin-top: 16px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--chalk-dim); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2.5px solid var(--volt); border-bottom: 2.5px solid var(--volt); transform: rotate(-45deg); }
.sec-chalk .checks li { color: #3B3C40; }
.sec-chalk .checks li::before { border-color: var(--ember); }
.offer .btn { width: 100%; margin-top: 20px; }
.offer-alt { display: block; margin-top: 12px; text-align: center; font-size: 14px; }
.offer-note { font-size: 12.5px; color: var(--ash); margin-top: 14px; line-height: 1.5; }
@media (max-width: 960px) { .offer { max-width: 520px; } }
@media (max-width: 480px) { .offer-shot { height: 190px; } .offer-body { padding: 18px 16px 20px; } .offer-price .big { font-size: 50px; } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 24px 22px; background: var(--iron); border: 1px solid var(--steel); border-top: 3px solid var(--steel-2); border-radius: 0 0 var(--r-sm) var(--r-sm); min-width: 0; }
.card.hot { border-top-color: var(--ember); }
.card .n { display: block; font-family: var(--f-mono); font-size: 13px; color: var(--ember); margin-bottom: 12px; }
.card h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.card p { color: var(--chalk-dim); font-size: 15px; margin-top: 8px; }
.card .sub { font-size: 13px; color: var(--ash); margin-top: 4px; }
.card .chips { margin-top: 14px; }
.sec-chalk .card { background: #fff; border-color: #DDD8CE; border-top-color: #CFCAC0; }
.sec-chalk .card.hot { border-top-color: var(--ember); }
.sec-chalk .card p { color: #47484D; }
.sec-chalk .card .sub { color: #6A6B70; }
@media (max-width: 1080px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards, .cards-4, .cards-2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12.5px; font-weight: 500; padding: 4px 9px; border-radius: 3px; background: var(--iron-2); border: 1px solid var(--steel-2); color: var(--chalk-dim); }
.sec-chalk .chips li { background: var(--chalk); border-color: #DDD8CE; color: #3B3C40; }

/* ---------- split: text + image ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-rev .split-media { order: -1; }
.split-media { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--iron); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.plate { aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
.split-media.plate img { position: relative; object-fit: contain; padding: 28px; filter: drop-shadow(0 22px 28px rgba(0,0,0,.6)); }
.split p + p { margin-top: 14px; }
.split .body { color: var(--chalk-dim); font-size: 17px; margin-top: 18px; max-width: 58ch; }
.sec-chalk .split .body { color: #3B3C40; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split-rev .split-media { order: 0; } }

/* ---------- big stat callout ---------- */
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--steel); border-left: 6px solid var(--ember); background: var(--iron); border-radius: var(--r-sm); }
.callout .big { font-family: var(--f-head); font-weight: 700; font-size: clamp(64px, 11vw, 150px); line-height: .85; color: var(--ember); }
.callout h2 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); line-height: 1; }
.callout p { color: var(--chalk-dim); margin-top: 12px; max-width: 60ch; }
@media (max-width: 700px) { .callout { grid-template-columns: 1fr; } }

/* ---------- compare (others vs Apex MD) ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.compare > div { padding: 26px 24px; border-radius: var(--r-sm); border: 1px solid var(--steel); background: var(--iron); }
.compare h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 22px; }
.compare ul { margin-top: 16px; display: grid; gap: 10px; }
.compare li { position: relative; padding-left: 28px; color: var(--chalk-dim); }
.compare .them li::before { content: "\00d7"; position: absolute; left: 4px; top: -3px; font-size: 22px; color: var(--ash); }
.compare .them h3 { color: var(--ash); }
.compare .us { border-color: var(--ember); background: linear-gradient(180deg, rgba(255,90,31,.08), transparent 60%), var(--iron); }
.compare .us li { color: var(--chalk); }
.compare .us li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 12px; height: 7px; border-left: 3px solid var(--volt); border-bottom: 3px solid var(--volt); transform: rotate(-45deg); }
.sec-chalk .compare > div { background: #fff; border-color: #DDD8CE; }
.sec-chalk .compare li { color: #3B3C40; }
.sec-chalk .compare .us { border-color: var(--ember); }
.sec-chalk .compare .us li { color: var(--ink); }
.sec-chalk .compare .us li::before { border-color: var(--ember); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.plan { display: flex; flex-direction: column; background: var(--iron); border: 1px solid var(--steel); border-radius: var(--r-md); overflow: hidden; min-width: 0; }
.plan.hot { border-color: var(--ember); }
.plan-shot { position: relative; height: 170px; }
.plan-shot img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 14px; filter: drop-shadow(0 14px 18px rgba(0,0,0,.55)); }
.plan-shot.photo img { object-fit: cover; padding: 0; filter: none; }
.plan-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.plan-type { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--volt); }
.plan h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 23px; line-height: 1.05; margin-top: 6px; }
.plan p { font-size: 14px; color: var(--chalk-dim); margin-top: 8px; }
.plan .tagline { font-size: 11px; font-weight: 700; color: var(--ink); background: var(--volt); padding: 3px 7px; border-radius: 3px; vertical-align: middle; margin-left: 6px; letter-spacing: 0; font-family: var(--f-body); }
.plan-price { margin-top: auto; padding-top: 18px; }
.plan-price s { font-family: var(--f-mono); font-size: 14px; color: var(--ash); }
.plan-price .big { display: block; font-family: var(--f-head); font-weight: 700; font-size: 44px; line-height: 1; margin-top: 2px; }
.plan-price .big small { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--chalk-dim); }
.plan-price .after { display: block; font-size: 13px; color: var(--ash); margin-top: 4px; }
.plan .btn { margin-top: 16px; width: 100%; }
.plan ul.checks { margin-top: 14px; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans, .plans-2 { grid-template-columns: 1fr; } }

/* ---------- timeline / numbered process ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--chalk); }
.timeline > li { padding: 22px 22px 8px 0; min-width: 0; }
.timeline > li + li { padding-left: 22px; border-left: 1px solid var(--steel); }
.timeline .when { font-family: var(--f-mono); font-size: 13px; color: var(--ember); }
.timeline h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 24px; margin-top: 8px; }
.timeline p { color: var(--chalk-dim); font-size: 15px; margin-top: 8px; }
.timeline .notice { font-size: 12px; font-weight: 600; color: var(--ash); text-transform: uppercase; letter-spacing: .08em; margin-top: 16px; }
.timeline .chips { margin-top: 8px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .timeline > li:nth-child(n+3) { border-top: 1px solid var(--steel); }
}
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } .timeline > li, .timeline > li + li { padding-left: 0; border-left: 0; } .timeline > li + li { border-top: 1px solid var(--steel); } }

.process { display: grid; gap: 0; counter-reset: p; border-top: 1px solid var(--steel); }
.process > li { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 300px); gap: 12px 40px; padding: 34px 0; border-bottom: 1px solid var(--steel); align-items: start; }
.process .n { font-family: var(--f-head); font-weight: 700; font-size: 84px; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--steel-2); }
.process > li:hover .n { -webkit-text-stroke-color: var(--ember); }
.process h2 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; }
.process p { color: var(--chalk-dim); margin-top: 12px; max-width: 60ch; }
.process aside { padding: 16px 18px; background: var(--iron); border-left: 3px solid var(--volt); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.process aside b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--volt); margin-bottom: 6px; }
.process aside p { margin: 0; font-size: 14.5px; }
@media (max-width: 900px) { .process > li { grid-template-columns: 64px minmax(0, 1fr); } .process .n { font-size: 52px; } .process aside { grid-column: 2; } }
@media (max-width: 480px) { .process > li { grid-template-columns: 1fr; gap: 10px; } .process aside { grid-column: auto; } }

/* ---------- program picker list ---------- */
.picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--steel-2); }
.picker a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--steel-2); text-decoration: none; }
.picker a span { color: var(--chalk-dim); }
.picker a b { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 18px; white-space: nowrap; color: var(--chalk); }
.picker a b::after { content: " \2192"; color: var(--ember); }
.picker a:hover b { color: var(--ember); }
.sec-chalk .picker, .sec-chalk .picker a { border-color: #CFCAC0; }
.sec-chalk .picker a span { color: #3B3C40; }
.sec-chalk .picker a b { color: var(--ink); }
@media (max-width: 760px) { .picker { grid-template-columns: 1fr; } .picker a { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ---------- stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.stat-strip div { padding: 22px 18px; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat-strip div + div { border-left: 1px solid var(--steel); }
.stat-strip dd { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1; text-transform: uppercase; }
.stat-strip dt { font-size: 13px; color: var(--ash); margin-top: 6px; }
@media (max-width: 760px) { .stat-strip { grid-template-columns: 1fr 1fr; } .stat-strip div:nth-child(3) { border-left: 0; } .stat-strip div:nth-child(n+3) { border-top: 1px solid var(--steel); } }

/* ---------- FAQ groups (faq page) ---------- */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group-h { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 15px; letter-spacing: .14em; color: var(--ember); margin-bottom: 8px; }
.faq-side { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; }
.faq-side ul { margin-top: 24px; display: grid; gap: 6px; }
.faq-side a { color: var(--chalk-dim); text-decoration: none; font-weight: 500; }
.faq-side a:hover { color: var(--ember); }
@media (max-width: 900px) { .faq-side { position: static; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--steel); }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid var(--steel); }
.contact-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ash); font-weight: 600; }
.contact-list dd { margin: 6px 0 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { color: var(--ember); }
.contact-list dd.email { text-transform: none; font-family: var(--f-body); font-size: 19px; }
.hq { margin-top: 28px; padding: 20px; background: var(--iron); border: 1px solid var(--steel); border-radius: var(--r-sm); color: var(--chalk-dim); font-size: 15px; }
.hq h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 18px; color: var(--chalk); margin-bottom: 8px; }
.form-card { background: var(--iron); border: 1px solid var(--steel-2); border-top: 4px solid var(--ember); border-radius: var(--r-md); padding: clamp(20px, 3.4vw, 34px); }
.form-card h2 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 30px; line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--chalk-dim); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--ink); color: var(--chalk); border: 1px solid var(--steel-2); border-radius: var(--r-sm); font: 400 16px var(--f-body); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255,90,31,.25); }
.field .err { display: none; font-size: 12.5px; color: var(--danger); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--danger); }
.field.is-bad .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--chalk-dim); }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--ember); flex: none; }
.form-card .btn { margin-top: 20px; }
.form-ok { outline: none; text-align: left; }
.form-ok .tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--volt); color: var(--ink); }
.form-ok h2 { margin-top: 18px; }
.form-ok p { color: var(--chalk-dim); margin-top: 10px; }
.demo-pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--volt); padding: 3px 8px; border-radius: 3px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- prose (privacy / terms) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 24px; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--chalk-dim); }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.prose a { color: var(--ember); }
.notice-panel { padding: 18px 20px; border: 1px dashed var(--volt); border-radius: var(--r-sm); background: rgba(200,249,74,.06); color: var(--chalk); font-size: 15px; }
.notice-panel b { color: var(--volt); }

/* ---------- 404 ---------- */
.nf-code { font-family: var(--f-head); font-weight: 700; font-size: clamp(120px, 26vw, 300px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--steel-2); letter-spacing: -.02em; }
.nf-code b { -webkit-text-stroke: 2px var(--ember); }

/* ---------- people (about) ---------- */
.values { counter-reset: v; }
.logo-wall { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-wall li { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 15px; letter-spacing: .04em; color: var(--chalk-dim); padding: 10px 14px; border: 1px solid var(--steel-2); border-radius: var(--r-sm); }

.kicker + .h2 { margin-top: 18px; }
.sec-chalk .timeline { border-top-color: var(--ink); }
.sec-chalk .timeline > li + li { border-color: #CFCAC0; }
.sec-chalk .timeline p { color: #3B3C40; }
.sec-chalk .timeline .notice { color: #6A6B70; }
.sec-chalk .timeline a { color: var(--ember-dk); }
@media (max-width: 900px) { .sec-chalk .timeline > li:nth-child(n+3) { border-top-color: #CFCAC0; } }

/* ---------- before/after pair (weight-loss) ---------- */
.story-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: none; overflow: visible; }
.story-pair figure { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; background: var(--ink); }
.story-pair img { width: 100%; height: 100%; object-fit: cover; }
.story-pair figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-family: var(--f-mono); font-size: 13px; color: var(--chalk); background: linear-gradient(0deg, rgba(13,13,15,.92), transparent); z-index: 2; }
.story-pair figure:last-child figcaption { color: var(--volt); }

/* ---------- page-specific variants ---------- */
.timeline-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .timeline-3 { grid-template-columns: 1fr; }
  .timeline-3 > li, .timeline-3 > li + li { padding-left: 0; border-left: 0; }
  .timeline-3 > li + li { border-top: 1px solid var(--steel); }
}
.picker-static li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--steel-2); }
.picker-static li b { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 20px; color: var(--chalk); }
.picker-static li span { color: var(--chalk-dim); text-align: right; }
@media (max-width: 760px) { .picker-static li { flex-direction: column; gap: 2px; } .picker-static li span { text-align: left; } }
.compare-solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.compare-solo .kicker { margin-bottom: 14px; }
.compare-solo h3 { color: var(--chalk) !important; font-size: clamp(26px, 3.4vw, 38px); line-height: 1; }
.compare-solo .them li::before { content: "\2715"; font-size: 14px; top: 3px; color: var(--ember); }
.plate-photo { padding: 0; }
.plate-photo::before { display: none; }
.offer-shot.plate-photo img { object-fit: cover; padding: 0; filter: none; }
.offer-price .big.big-text { font-size: clamp(30px, 3.6vw, 40px); text-transform: uppercase; }
.callout .chips { margin-top: 16px; }
.form-card form > h2 { margin-top: 12px; }
.chips-lg { margin-top: 20px; }
.chips-lg li { font-size: 14px; padding: 6px 12px; }
.p-hero .stat-strip { margin-top: 44px; }
.faq-side .kicker { margin-bottom: 0; }
.faq-side .btn-row { flex-direction: column; align-items: stretch; }
.p-hero .nf-code { margin-bottom: 18px; }
.offer-alt.text-link { font-size: 14px; }
.head-actions .btn { white-space: nowrap; }
.main-nav { min-width: 0; }

/* header: "Powered by Apex MD" stacked under the GYM XYZ logo */
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; flex: none; }
.powered-top { display: inline-flex; align-items: center; gap: 6px; padding-left: 44px; font-family: var(--f-body); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); white-space: nowrap; line-height: 1; }
.powered-top img { height: 15px; width: auto; display: block; }
@media (max-width: 600px) { .powered-top { font-size: 8.5px; gap: 5px; } .powered-top img { height: 14px; } }

/* ---------- portal screens flip-through (bloodwork: "Track everything in one place") ---------- */
.shots { margin: 0; min-width: 0; }
.shots-frame { border: 1px solid var(--steel); border-radius: var(--r-md); overflow: hidden; background: var(--iron); box-shadow: 0 24px 60px -24px rgba(0,0,0,.7); }
.shots-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--steel); background: var(--iron); }
.shots-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--steel); }
.shots-bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shots-view { position: relative; aspect-ratio: 16 / 10; touch-action: pan-y; }
.shots-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; transition: opacity .45s ease; }
.shots-view img.on { opacity: 1; }
.shots-cap { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 12px; align-items: center; margin-top: 14px; }
.shots-label { margin: 0; text-align: center; min-height: 3em; }
.shots-label b { display: block; font-family: var(--f-head); text-transform: uppercase; letter-spacing: .04em; font-size: 17px; color: var(--chalk); }
.shots-label span { font-size: 14px; color: var(--chalk-dim); }
.shots-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--steel); background: var(--iron); color: var(--chalk); display: grid; place-items: center; cursor: pointer; }
.shots-nav:hover { border-color: var(--ember); color: var(--ember); }
.shots-dots { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.shots-dots button { width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.shots-dots button::after { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--steel); transition: background .2s; }
.shots-dots button[aria-selected="true"]::after { background: var(--ember); }
.shots-nav:focus-visible, .shots-dots button:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .shots-view img { transition: none; } }
