/* =========================================================
   THEME VARIABLES: default tokens.
   Each site overrides these in sites/<name>/theme.css.
   Components only ever read tokens, never raw colors.
   ========================================================= */
:root {
  /* Palette */
  --c-ink: #11130e;        /* near-black, olive-biased */
  --c-field: #1b1f15;      /* dark surface */
  --c-field-2: #262b1e;    /* raised dark surface */
  --c-olive: #4b5320;      /* brand accent (fills on light) */
  --c-olive-hi: #a3b35c;   /* accent on dark grounds */
  --c-cream: #eee8d6;      /* light ground */
  --c-paper: #f8f5ec;      /* raised light surface */
  --c-khaki: #bcae86;      /* secondary lines / tags */
  --c-text: #191b13;       /* body text on light */
  --c-muted: #555947;      /* secondary text on light */
  --c-muted-dark: #b3b5a1; /* secondary text on dark */
  --c-line: rgba(17, 19, 14, 0.16);
  --c-line-dark: rgba(238, 232, 214, 0.16);
  --c-error: #9b2c1c;
  --c-error-dark: #f3a492;

  /* Placeholder chips: deliberately loud so nothing ships by accident */
  --c-ph-bg: #ffe7a3;
  --c-ph-text: #4d3a00;
  --c-ph-border: #b8860b;

  /* Type */
  --f-display: "Big Shoulders Stencil", "Big Shoulders Stencil Display", "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.625rem;
  --fs-xl: clamp(1.9rem, 2.2vw + 1.2rem, 2.75rem);
  --fs-2xl: clamp(2.6rem, 4.2vw + 1.2rem, 4.5rem);
  --fs-hero: clamp(3.4rem, 7.5vw + 1rem, 7.25rem);

  /* Space + layout */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 2px;
  --nav-h: 64px;

  --theme-color: #11130e;

  /* Decorative band pattern (SVG data URI). 'none' hides every band. */
  --band-pattern: none;
}

/* =========================================================
   COMPONENT STYLES. Read tokens only (see tokens.css).
   Sections set local "role" variables (--fg, --accent…) so every
   component works on light, dark and olive grounds.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--c-ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
strong { font-weight: 600; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--accent, var(--c-olive)); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--c-cream); color: var(--c-ink); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.mono { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); }

/* ---------- Grounds (section tones) ---------- */
.section { padding-block: var(--section-y); }
.section--light { --fg: var(--c-text); --muted: var(--c-muted); --line: var(--c-line); --accent: var(--c-olive); --surface: var(--c-paper); --btn-bg: var(--c-olive); --btn-fg: var(--c-cream); background: var(--c-cream); color: var(--fg); }
.section--dark  { --fg: var(--c-cream); --muted: var(--c-muted-dark); --line: var(--c-line-dark); --accent: var(--c-olive-hi); --surface: var(--c-field); --btn-bg: var(--c-olive-hi); --btn-fg: var(--c-ink); background: var(--c-ink); color: var(--fg); }
.section--paper { --fg: var(--c-text); --muted: var(--c-muted); --line: var(--c-line); --accent: var(--c-olive); --surface: var(--c-cream); --btn-bg: var(--c-olive); --btn-fg: var(--c-cream); background: var(--c-paper); color: var(--fg); border-block: 1px solid var(--c-line); }
.section--olive { --fg: var(--c-cream); --muted: #d8d5bf; --line: rgba(238,232,214,.22); --accent: var(--c-cream); --surface: rgba(17,19,14,.18); --btn-bg: var(--c-cream); --btn-fg: var(--c-ink); background: var(--c-olive); color: var(--fg); }

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 14px; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0; font-weight: 500; }
.eyebrow span { opacity: 0.7; }
.h1 { font-family: var(--f-display); font-weight: 800; font-size: var(--fs-hero); line-height: 0.88; letter-spacing: 0.005em; text-transform: uppercase; }
.h1--md { font-size: clamp(3rem, 5.2vw + 1rem, 5.75rem); line-height: .9; }
.h2 { font-family: var(--f-display); font-weight: 800; font-size: var(--fs-2xl); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.01em; }
.h3 { font-family: var(--f-display); font-weight: 800; font-size: var(--fs-lg); line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; }
.h4 { font-family: var(--f-body); font-weight: 700; font-size: var(--fs-md); line-height: 1.25; }
.lede { font-size: var(--fs-md); color: var(--muted); line-height: 1.5; max-width: 62ch; margin: 0; }
.accent { color: var(--accent); }

/* ---------- Placeholder chip ---------- */
.ph {
  display: inline; font-family: var(--f-mono); font-size: 0.78em; font-weight: 500; letter-spacing: 0.02em; text-transform: none;
  background: var(--c-ph-bg); color: var(--c-ph-text); border: 1px dashed var(--c-ph-border);
  padding: 0.1em 0.45em; border-radius: var(--radius); line-height: 1.7;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--btn-bg, var(--c-olive)); --b-fg: var(--btn-fg, var(--c-cream));
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 2px solid var(--b-bg); border-radius: var(--radius);
  background: var(--b-bg); color: var(--b-fg);
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1.1;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { box-shadow: 4px 4px 0 0 var(--line); }
.btn:active { transform: translate(1px, 1px); }
.btn--ghost { --b-fg: var(--fg, var(--c-text)); background: transparent; color: var(--b-fg); border-color: currentColor; }
.btn--light { --b-bg: var(--c-cream); --b-fg: var(--c-ink); }
.btn--ghost-light { background: transparent; color: var(--c-cream); border-color: var(--c-cream); }
.btn--text { background: none; border: 0; padding: 0; min-height: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-transform: none; letter-spacing: 0; font-size: inherit; }
.btn--text:hover { box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn.is-missing { outline: 2px dashed var(--c-ph-border); outline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }
button.btn:disabled { opacity: .6; cursor: progress; }

.badge { display: inline-block; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid currentColor; border-radius: var(--radius); vertical-align: middle; }
.badge--solid { background: var(--accent); color: var(--c-ink); border-color: var(--accent); }

.icon { width: 20px; height: 20px; flex: none; }
.icon--lg { width: 30px; height: 30px; }

/* ---------- Demo banner ---------- */
.demo-banner {
  background: var(--c-ph-bg); color: var(--c-ph-text); border-bottom: 1px dashed var(--c-ph-border);
  padding: 8px var(--gutter); font-size: var(--fs-sm); text-align: center; line-height: 1.4;
}
.demo-banner .mono { font-weight: 600; margin-right: 6px; padding: 1px 6px; border: 1px solid currentColor; }

/* ---------- Nav ---------- */
.nav {
  --fg: var(--c-cream); --accent: var(--c-olive-hi); --btn-bg: var(--c-olive-hi); --btn-fg: var(--c-ink); --line: var(--c-line-dark);
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--c-ink); color: var(--c-cream); border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--c-line-dark); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { font-family: var(--f-display); font-weight: 900; font-size: 1.75rem; line-height: 1; letter-spacing: 0.02em; color: var(--c-cream); }
.brand__mark b { color: var(--c-olive-hi); font-weight: 400; }
.brand__name { font-family: var(--f-body); font-weight: 700; font-size: 0.8125rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.15; max-width: 20ch; }
.brand__img { width: 40px; height: 40px; object-fit: contain; }
.footer__logo { display: inline-block; margin-bottom: 14px; }
.footer__logo img { width: 200px; height: auto; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__links { list-style: none; display: flex; gap: 24px; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--c-muted-dark); padding-block: 8px; }
.nav__links a:hover { color: var(--c-cream); }
.nav__toggle { display: none; background: none; border: 1px solid var(--c-line-dark); color: var(--c-cream); width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); cursor: pointer; }
.nav__close { display: none; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--c-ink);
    flex-direction: column; align-items: stretch; gap: 24px; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--c-line-dark); visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; overflow-y: auto;
  }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding-block: 16px; border-bottom: 1px solid var(--c-line-dark); font-size: 1.25rem; color: var(--c-cream); }
  .nav.is-open .nav__menu { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav.is-open .nav__open { display: none; }
  .nav.is-open .nav__close { display: block; }
  .nav__menu .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 112px); overflow: hidden;
  background-color: var(--c-ink);
  /* map-grid texture */
  background-image:
    linear-gradient(var(--c-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line-dark) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
}
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 20% 40%, transparent 0%, var(--c-ink) 85%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 24px; }
.hero__sub { font-size: clamp(1.125rem, .6vw + 1rem, 1.375rem); color: var(--c-muted-dark); max-width: 36ch; margin: 0; line-height: 1.5; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--c-muted-dark); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 6px; height: 6px; background: var(--c-olive-hi); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Example week (hero visual) ---------- */
.wk { position: relative; background: var(--c-field); border: 1px solid var(--c-line-dark); padding: clamp(16px, 2.5vw, 24px); display: grid; gap: 16px; }
.wk::before, .wk::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--c-olive-hi); }
.wk::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.wk::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.wk__head { display: grid; gap: 12px; }
.wk__title { color: var(--c-olive-hi); margin: 0; }
.wk__tabs { display: grid; gap: 8px; max-width: 100%; }
.wk__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.wk__group { color: var(--c-muted-dark); flex-basis: 100%; text-transform: uppercase; }
.wk__seg { display: flex; flex-wrap: wrap; border: 1px solid var(--c-line-dark); width: fit-content; max-width: 100%; }
.wk__tab { background: none; border: 0; border-right: 1px solid var(--c-line-dark); color: var(--c-muted-dark); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; cursor: pointer; min-height: 40px; }
.wk__tab:last-child { border-right: 0; }
.wk__tab[aria-selected="true"] { background: var(--c-olive-hi); color: var(--c-ink); font-weight: 600; }
.wk__days { list-style: none; display: grid; gap: 4px; }
.wk__day { display: grid; grid-template-columns: 3.2rem 6.4rem minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; background: var(--c-field-2); font-size: 0.9375rem; }
.wk__dow { color: var(--c-cream); font-weight: 500; }
.wk__duty { color: var(--c-muted-dark); }
.wk__focus { color: var(--c-cream); font-weight: 600; }
.wk__time { color: var(--c-muted-dark); }
.wk__day--on { background: repeating-linear-gradient(-45deg, var(--c-field-2) 0 10px, rgba(188,174,134,.09) 10px 20px); }
.wk__day--on .wk__duty { color: var(--c-khaki); }
.wk__day--train .wk__duty { color: var(--c-olive-hi); }
.wk__day--rest .wk__focus { color: var(--c-muted-dark); font-weight: 500; }
.wk__day--high { box-shadow: inset 3px 0 0 var(--c-olive-hi); }
.wk__day--high .wk__duty { color: var(--c-olive-hi); font-weight: 600; }
.wk__day--low .wk__duty { color: var(--c-khaki); }
.wk__note { color: var(--c-muted-dark); font-size: var(--fs-sm); margin: 4px 0 0; }
.wk__legend { color: var(--c-muted-dark); opacity: .85; margin: 0; text-transform: none; letter-spacing: .02em; }
@media (max-width: 480px) {
  .wk__day { grid-template-columns: 2.6rem minmax(0, 1fr) auto; row-gap: 2px; }
  .wk__duty { grid-column: 2; grid-row: 1; }
  .wk__focus { grid-column: 2 / 4; grid-row: 2; }
  .wk__time { grid-column: 3; grid-row: 1; }
  .wk__dow { grid-row: 1 / 3; align-self: start; padding-top: 2px; }
}

/* ---------- Problem ---------- */
.problem__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.problem__item { border-top: 3px solid var(--c-ink); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.problem__item p { color: var(--muted); }
.problem__closer { margin-top: clamp(40px, 5vw, 64px); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: var(--fs-xl); line-height: 1; max-width: 22ch; color: var(--c-olive); }
@media (max-width: 800px) { .problem__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 2.5vw, 32px); display: grid; gap: 16px; align-content: start; }
.pillar__top { display: flex; align-items: center; justify-content: space-between; color: var(--accent); }
.pillar__num { margin: 0; color: var(--muted); }
.pillar__rows { margin: 0; display: grid; gap: 14px; }
.pillar__rows div { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.pillar__rows dt { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.pillar__rows dd { margin: 0; color: var(--muted); font-size: 0.975rem; }
.pillar__rows div:last-child dd { color: var(--fg); }
@media (max-width: 900px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier {
  --t-fg: var(--c-text); --t-muted: var(--c-muted); --t-line: var(--c-line); --t-accent: var(--c-olive);
  position: relative; background: var(--c-paper); color: var(--t-fg); border: 1px solid var(--t-line);
  padding: clamp(22px, 2.5vw, 32px); display: flex; flex-direction: column; gap: 18px;
}
.tier--featured { --t-fg: var(--c-cream); --t-muted: var(--c-muted-dark); --t-line: var(--c-line-dark); --t-accent: var(--c-olive-hi); --accent: var(--c-olive-hi); --fg: var(--c-cream); --btn-bg: var(--c-olive-hi); --btn-fg: var(--c-ink); background: var(--c-ink); border-color: var(--c-ink); }
.tier__corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--t-accent); }
.tier__corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.tier__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.tier__head { display: grid; gap: 6px; }
.tier__label { color: var(--t-accent); margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tier__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.75rem, 1.4vw + 1.2rem, 2.25rem); line-height: 1; text-transform: uppercase; }
.tier__length { color: var(--t-muted); margin: 0; }
/* Weekly-first price stack: $XX/week (headline) → program → $XXX total investment (secondary). */
.tier__price { display: grid; padding-block: 22px 18px; border-block: 1px solid var(--t-line); }
.tier__weekly, .qr-card__weekly, .ap__weekly { margin: 0; display: flex; align-items: baseline; gap: 2px; line-height: .85; }
.tier__wk-amt, .qr-card__wk-amt, .ap__wk-amt { font-family: var(--f-display); font-weight: 800; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.tier__wk-amt { font-size: clamp(3.25rem, 2.2vw + 2.25rem, 4.25rem); }
.tier__wk-unit, .qr-card__wk-unit, .ap__wk-unit { font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; letter-spacing: .02em; opacity: .62; }
.tier__program, .qr-card__program, .ap__program { margin: 12px 0 0; font-size: .8125rem; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; }
.tier__program { color: var(--t-accent); }
.tier__total, .qr-card__total, .ap__total { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--t-line, var(--c-line-dark)); font-size: .9375rem; line-height: 1.4; }
.tier__total { color: var(--t-muted); }
.tier__total strong, .qr-card__total strong, .ap__total strong { font-weight: 700; color: var(--t-fg, var(--c-cream)); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.tier__alt, .qr-card__alt, .ap__alt { margin: 6px 0 0; font-size: var(--fs-sm); line-height: 1.4; opacity: .8; }
.tier__alt { color: var(--t-muted); }
.tier__summary { margin: 0; }
.tier__fit { margin: 0; font-size: 0.9375rem; color: var(--t-muted); }
.tier__fit .mono { color: var(--t-fg); }
.tier .checklist { flex: 1; align-content: start; }
.tier__cta { display: grid; gap: 12px; }
.tier__cta .btn { width: 100%; }
.call-link { margin: 0; font-size: var(--fs-sm); color: var(--t-muted, var(--muted)); }
.call-link a { color: var(--t-accent, var(--accent)); font-weight: 600; text-underline-offset: 3px; }
.tiers__foot { margin-top: 28px; display: grid; gap: 16px; }
.tiers__notes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); text-transform: none; letter-spacing: .02em; }
.tiers__notes li::before { content: "— "; color: var(--accent); }
.tiers__unsure { margin: 0; font-size: var(--fs-md); }
@media (max-width: 960px) { .tiers { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.9688rem; line-height: 1.45; }
.checklist .icon { color: var(--t-accent, var(--accent)); margin-top: 2px; width: 18px; height: 18px; }
.checklist--dark li { color: var(--c-cream); }

/* ---------- Benefits ---------- */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.benefit { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); }
.benefit p { color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; display: grid; gap: 16px; align-content: start; padding: 0 20px 0 0; }
.step::before { content: ""; position: absolute; top: 22px; left: 52px; right: 8px; height: 1px; background: var(--c-line); }
.step:last-child::before { display: none; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid var(--c-ink); font-weight: 600; font-size: 0.875rem; background: var(--c-cream); position: relative; z-index: 1; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.9688rem; margin: 0; }
.step__note { margin-top: 8px !important; color: var(--c-olive) !important; text-transform: none; letter-spacing: .02em; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 620px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding: 0 0 32px; }
  .step::before { top: 44px; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__media { display: grid; gap: 12px; position: sticky; top: calc(var(--nav-h) + 24px); }
.about__caption { color: var(--muted); margin: 0; }
.about__body { display: grid; gap: 20px; }
.about__bio p { font-size: var(--fs-md); line-height: 1.55; max-width: 60ch; }
.about__sub { margin-top: 12px; }
.proofs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.proof { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px; background: var(--c-paper); border: 1px solid var(--c-line); }
.proof .icon { color: var(--c-olive); }
.proof__label { font-weight: 700; margin: 0; }
.proof__detail { margin: 2px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.philosophy { list-style: none; display: grid; gap: 10px; }
.philosophy li { padding-left: 18px; position: relative; color: var(--muted); }
.philosophy li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--c-olive); }
.philosophy strong { color: var(--fg); }
.results-note { border: 1px dashed var(--c-khaki); padding: 18px 20px; display: grid; gap: 6px; }
.results-note .mono { color: var(--c-olive); margin: 0; }
.results-note p:last-child { color: var(--muted); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { position: static; max-width: 420px; }
  .proofs { grid-template-columns: minmax(0, 1fr); }
}

.photo { margin: 0; width: 100%; max-width: 100%; overflow: hidden; background: var(--c-field); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--empty {
  display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
  border: 2px dashed var(--c-khaki);
  background: repeating-linear-gradient(-45deg, var(--c-paper) 0 12px, rgba(188,174,134,.18) 12px 24px);
}

/* ---------- Quiz (lead capture) ---------- */
.quiz__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 64px); align-items: center;
  border: 1px solid var(--c-line-dark); padding: clamp(24px, 5vw, 56px); background: var(--c-field);
}
.quiz__panel::before, .quiz__panel::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--c-olive-hi); }
.quiz__panel::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.quiz__panel::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.quiz__panel { --fg: var(--c-cream); --muted: var(--c-muted-dark); --line: var(--c-line-dark); --accent: var(--c-olive-hi); --btn-bg: var(--c-olive-hi); --btn-fg: var(--c-ink); color: var(--fg); }
.quiz__copy { display: grid; gap: 18px; }
.quiz__action { display: grid; gap: 14px; justify-items: start; }
.quiz__trust { color: var(--c-muted-dark); margin: 0; text-transform: none; letter-spacing: .02em; }
.quiz__embed { width: 100%; }
.quiz__embed iframe { width: 100%; min-height: 560px; border: 0; background: var(--c-cream); }
@media (max-width: 900px) { .quiz__panel { grid-template-columns: minmax(0, 1fr); } .quiz__action .btn { width: 100%; } .quiz__action { justify-items: stretch; } }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--c-line); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; font-weight: 700; font-size: 1.125rem; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--c-olive); transition: transform .2s ease; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 48px 24px 0; color: var(--muted); max-width: 70ch; }
.faq__call { margin-top: 28px; }

/* ---------- Final CTA ---------- */
.final { padding-block: clamp(72px, 10vw, 128px); background: var(--c-olive); color: var(--c-cream); text-align: center; }
.final__inner { display: grid; gap: 24px; justify-items: center; }
.final__title { font-family: var(--f-display); font-weight: 900; font-size: var(--fs-hero); line-height: .88; text-transform: uppercase; }
.final__body { font-size: var(--fs-md); max-width: 46ch; color: #e2dec9; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--c-ink); color: var(--c-muted-dark); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-sm); --accent: var(--c-olive-hi); --line: var(--c-line-dark); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--c-line-dark); }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--c-cream); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__h { color: var(--c-olive-hi); margin-bottom: 12px; }
.brand--footer { color: var(--c-cream); margin-bottom: 14px; }
.footer__tag { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--c-cream); line-height: 1; margin-bottom: 10px; }
.footer__blurb { max-width: 40ch; }
.footer__legal { padding-top: 24px; display: grid; gap: 8px; font-size: var(--fs-xs); line-height: 1.6; max-width: 90ch; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Price gate ---------- */
.gate { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 32px; align-items: start; padding: clamp(18px, 2.5vw, 28px); margin-bottom: 20px; background: var(--c-paper); border: 1px solid var(--c-line); }
.gate__step { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.gate__step legend, .gate__step > p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 12px; padding: 0; }
.gate__step > p:first-child { margin: 0; }
.gate__num { color: var(--c-olive); border: 1px solid currentColor; padding: 2px 6px; }
.gate__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gate__chip { position: relative; display: inline-flex; }
.gate__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gate__chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--c-line); background: var(--c-cream); font-weight: 600; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.gate__chip span:hover { border-color: var(--c-olive); }
.gate__chip input:checked + span { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.gate__chip input:focus-visible + span { outline: 3px solid var(--c-olive); outline-offset: 2px; }
.gate.needs-role .gate__chip span { border-color: var(--c-error); }
.gate__hint { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.gate__hint .icon { width: 16px; height: 16px; }
.gate__status { grid-column: 1 / -1; margin: 0; font-weight: 600; color: var(--c-olive); min-height: 0; }
.gate__status:empty { display: none; }
.gate.needs-role .gate__status { color: var(--c-error); }
.tier__lock { display: flex; gap: 10px; align-items: center; padding-block: 16px; border-block: 1px solid var(--t-line); color: var(--t-muted); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }
.tier__lock .icon { color: var(--t-accent); width: 18px; height: 18px; }
.tier.is-picked:not(.tier--featured) { border-color: var(--c-olive); box-shadow: 0 0 0 1px var(--c-olive); }
.tier.is-picked .tier__price { animation: reveal .35s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) { .gate { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Training paths ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.path { position: relative; background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 2.5vw, 32px); display: grid; gap: 14px; align-content: start; }
.path__top { display: flex; align-items: center; justify-content: space-between; color: var(--accent); }
.path__role { margin: 0; color: var(--muted); }
.path__body { margin: 0; color: var(--muted); }
.path__list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.path__list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.9688rem; line-height: 1.35; }
.path__focus { margin: 4px 0 0; color: var(--fg); text-transform: none; letter-spacing: .02em; }
.path__focus span { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }
.paths__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 20px 24px; border: 1px dashed var(--c-khaki); }
.paths__foot p { margin: 0; max-width: 70ch; }
@media (max-width: 900px) { .paths { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Story ---------- */
.story__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.story__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.story__copy { display: grid; gap: 18px; }
.story__body p { font-size: var(--fs-md); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.story__body p:first-child { color: var(--fg); }
.story__signoff { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: var(--fs-lg); color: var(--accent); margin: 0; }
.story__media { display: grid; gap: 10px; }
.story__caption { color: var(--muted); margin: 0; text-transform: none; letter-spacing: .02em; }
@media (max-width: 900px) { .story__grid { grid-template-columns: minmax(0, 1fr); } }

.final__contact { margin: 8px 0 0; font-size: var(--fs-base); color: #e2dec9; max-width: 60ch; }
.final__contact a { color: var(--c-cream); font-weight: 600; text-underline-offset: 3px; }
.final .eyebrow { color: var(--c-cream); }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(48px, 7vw, 88px); }
.page-head .wrap { display: grid; gap: 16px; }
.draft-note { display: flex; gap: 10px; align-items: flex-start; background: var(--c-ph-bg); color: var(--c-ph-text); border: 1px dashed var(--c-ph-border); padding: 12px 16px; font-size: var(--fs-sm); margin-bottom: 32px; }
.draft-note .icon { width: 18px; height: 18px; margin-top: 2px; }
.notice { padding: 16px; border: 1px solid var(--c-line); }

.accept__choose { display: grid; gap: 20px; }
.accept__options { list-style: none; display: grid; gap: 10px; }
.accept__option { display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; background: var(--c-paper); border: 1px solid var(--c-line); text-decoration: none; }
.accept__option:hover { border-color: var(--c-olive); }
.accept__option .mono { color: var(--c-olive); }
.accept__opt-price { display: grid; justify-items: end; gap: 2px; text-align: right; }
.accept__opt-price b { font-family: var(--f-display); font-weight: 800; font-size: 1.625rem; line-height: 1; }
.accept__opt-price small { font-size: var(--fs-sm); color: var(--c-muted); }
.accept__panel { display: grid; gap: 28px; }
.accept__summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 22px 24px; background: var(--c-ink); color: var(--c-cream); }
.accept__summary .mono { color: var(--c-olive-hi); margin: 0; grid-column: 1 / -1; }
.accept__price { margin: 10px 0 0; grid-column: 1; }
.ap__wk-amt { font-size: 3rem; }
.accept__summary .ap__program { color: var(--c-olive-hi); margin: 12px 0 0; }
.ap__total { color: var(--c-muted-dark); border-top-color: var(--c-line-dark); }
.ap__alt { color: var(--c-muted-dark); }
.accept__change { grid-column: 2; grid-row: 2 / 4; align-self: end; color: var(--c-olive-hi); font-size: var(--fs-sm); font-weight: 600; }
.accept__steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--fs-sm); color: var(--muted); }
.accept__steps li { display: inline-flex; gap: 8px; align-items: center; }
.accept__steps li .mono { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border: 1px solid currentColor; }
.accept__steps li:first-child, .accept__steps li.is-current { color: var(--c-text); font-weight: 600; }
.accept__steps li.is-done { text-decoration: line-through; }
.accept__panel:has(.accept__pay:not([hidden])) .accept__steps li:first-child { color: var(--muted); font-weight: 400; }
.accept__form { display: grid; gap: 20px; }
.accept__form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.accept__form legend { margin-bottom: 14px; }
.check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; background: var(--c-paper); border: 1px solid var(--c-line); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-olive); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--c-error); outline-offset: 2px; }
.check label { cursor: pointer; line-height: 1.5; }
.check label a { color: var(--c-olive); font-weight: 600; }
.accept__error { color: var(--c-error); font-weight: 600; margin: 0; min-height: 1.5em; }
.accept__small { display: flex; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.accept__small .icon { width: 16px; height: 16px; }
.accept__form .btn { justify-self: start; }
.accept__pay { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--c-line); background: var(--c-paper); }
@media (max-width: 560px) {
  .accept__form .btn { width: 100%; }
  .accept__option { grid-template-columns: minmax(0, 1fr) auto; }
  .accept__option .mono { grid-column: 1 / -1; }
}

.legal .lede { margin-bottom: 32px; }
.legal__block { padding-block: 24px; border-top: 1px solid var(--c-line); display: grid; gap: 10px; }
.legal__block p, .legal__block li { color: var(--muted); max-width: 70ch; }
.legal__block ul { padding-left: 20px; display: grid; gap: 6px; }

.ty__panel { display: grid; gap: 20px; }
.ty__steps { padding-left: 22px; display: grid; gap: 10px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 90;
  background: var(--c-ink); color: var(--c-cream); border: 1px solid var(--c-olive-hi); padding: 12px 18px; font-size: var(--fs-sm);
  max-width: calc(100% - 32px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

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

/* Placeholder photo slot on dark grounds */
.section--dark .photo--empty { border-color: var(--c-khaki); background: repeating-linear-gradient(-45deg, var(--c-field) 0 12px, var(--c-field-2) 12px 24px); }

/* Framed photo (coach headshot): thin khaki frame + brand-green base bar */
.photo--framed { border: 1px solid var(--c-khaki); border-bottom: 6px solid var(--c-olive-hi); box-shadow: 0 18px 40px -24px rgba(17, 19, 14, .55); }
.photo--framed img { image-rendering: auto; }

/* ---------- Tattoo band (decorative) ----------
   Off by default. A site theme turns it on with  .band { display: block; }  and sets --band-pattern. */
.band {
  display: none; height: var(--band-h, 24px); background-color: var(--band-color, var(--c-olive-hi));
  -webkit-mask-image: var(--band-pattern); mask-image: var(--band-pattern);
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  -webkit-mask-size: auto 100%; mask-size: auto 100%;
  -webkit-mask-position: left center; mask-position: left center;
}
.band--hero { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; --band-h: 28px; opacity: .95; }
.band--photo { --band-h: 26px; margin-top: 6px; }
.footer { position: relative; }
.band--footer { position: absolute; left: 0; right: 0; top: 0; --band-h: 22px; opacity: .8; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 12px; }
.quote { margin: 0; padding: 22px 24px; background: var(--c-paper); border: 1px solid var(--c-line); border-left: 4px solid var(--c-olive); display: grid; gap: 14px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: var(--fs-md); line-height: 1.5; color: var(--c-text); }
.quote blockquote p::before { content: "“"; } .quote blockquote p::after { content: "”"; }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.quote__name { font-weight: 700; }
.quote__role { color: var(--c-muted); text-transform: none; letter-spacing: .02em; }
.quote__disclosure { flex-basis: 100%; font-size: var(--fs-xs); color: var(--c-muted); }

.quote { border-left-width: 4px; }
.quote__pull { font-weight: 500; }
.quote figcaption { align-items: center; gap: 12px; }
.quote__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.quote__avatar--initials { display: inline-flex; align-items: center; justify-content: center; background: var(--c-ink); color: var(--c-olive-hi); font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; }
.quote__who { display: flex; flex-direction: column; gap: 2px; }
.quote__more summary { cursor: pointer; font-weight: 600; color: var(--c-olive); font-size: var(--fs-sm); }
.quote__more p { color: var(--c-muted); margin-top: 10px; max-width: 65ch; }
.tiers__proof { margin-top: 20px; max-width: 820px; }
.quote--compact { background: var(--c-paper); }
.quote--compact .quote__pull { font-size: var(--fs-lg); line-height: 1.35; font-family: var(--f-display); font-weight: 700; text-transform: none; }

/* Story: character reference */
.story__quote { margin: 4px 0 0; padding: 18px 20px; border: 1px solid var(--c-line-dark); border-left: 4px solid var(--c-olive-hi); background: var(--c-field); display: grid; gap: 10px; }
.story__quote blockquote { margin: 0; }
.story__quote blockquote p { color: var(--c-cream); font-size: var(--fs-md); line-height: 1.5; font-style: italic; }
.story__quote blockquote p::before { content: "“"; } .story__quote blockquote p::after { content: "”"; }
.story__quote figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.story__quote .quote__name { color: var(--c-cream); }
.story__quote .mono { color: var(--c-muted-dark); text-transform: none; letter-spacing: .02em; }

/* ---------- Readiness quiz ---------- */
.quizpage { min-height: 70vh; }
.qz { position: relative; display: grid; gap: 20px; padding: clamp(22px, 4vw, 44px); background: var(--c-field); border: 1px solid var(--c-line-dark); }
.qz::before, .qz::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2px solid var(--c-olive-hi); }
.qz::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.qz::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.qz__bar { height: 4px; background: var(--c-line-dark); }
.qz__bar span { display: block; height: 100%; width: 0; background: var(--c-olive-hi); transition: width .3s ease; }
.qz__screen { display: grid; gap: 18px; }
.qz__count { color: var(--c-olive-hi); margin: 0; }
.qz__q { font-family: var(--f-display); font-weight: 800; font-size: var(--fs-xl); line-height: 1.05; text-transform: uppercase; outline: none; }
.qz__opts { display: grid; gap: 10px; }
.qz__opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; min-height: 56px; padding: 14px 18px; background: var(--c-field-2); color: var(--c-cream); border: 1.5px solid var(--c-line-dark); font: 600 1.0625rem/1.35 var(--f-body); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.qz__opt .icon { color: var(--c-olive-hi); opacity: 0; transition: opacity .15s ease, transform .15s ease; }
.qz__opt:hover { border-color: var(--c-olive-hi); }
.qz__opt:hover .icon, .qz__opt:focus-visible .icon { opacity: 1; transform: translateX(3px); }
.qz__opt[aria-pressed="true"] { background: var(--c-olive-hi); color: var(--c-ink); border-color: var(--c-olive-hi); }
.qz__opt[aria-pressed="true"] .icon { color: var(--c-ink); opacity: 1; }
.qz__back { justify-self: start; display: inline-flex; gap: 8px; align-items: center; background: none; border: 0; color: var(--c-muted-dark); font: 600 var(--fs-sm) var(--f-body); cursor: pointer; padding: 8px 0; }
.qz__back:hover { color: var(--c-cream); }
.icon--flip { transform: scaleX(-1); width: 16px; height: 16px; }
.qz__trust { color: var(--c-muted-dark); margin: 0; text-transform: none; letter-spacing: .02em; }
.qz__trust a { color: var(--c-olive-hi); }
.qz__form { display: grid; gap: 14px; max-width: 520px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--c-cream); }
.field__opt { color: var(--c-muted-dark); font-weight: 400; }
.field input { min-height: 48px; padding: 10px 14px; background: var(--c-ink); color: var(--c-cream); border: 1.5px solid var(--c-line-dark); font: 1rem var(--f-body); border-radius: var(--radius); }
.field input:focus { border-color: var(--c-olive-hi); outline: none; box-shadow: 0 0 0 3px rgba(138, 166, 92, .25); }
.check--dark { background: var(--c-ink); border-color: var(--c-line-dark); color: var(--c-muted-dark); font-size: var(--fs-sm); }
.check--dark input { accent-color: var(--c-olive-hi); }
.qz__error { color: var(--c-error-dark); font-weight: 600; margin: 0; min-height: 0; }
.qz__error:empty { display: none; }
.qz__form .btn { justify-self: start; }
/* results */
.qz__results h1 { outline: none; }
.qr-why { color: var(--c-cream); }
.qr-card { display: grid; gap: 10px; padding: 20px 22px; background: var(--c-field-2); border: 1px solid var(--c-line-dark); }
.qr-card--best { border: 2px solid var(--c-olive-hi); padding: 24px; }
.qr-card__label { color: var(--c-olive-hi); margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qr-card__name { font-family: var(--f-display); font-weight: 800; font-size: var(--fs-lg); text-transform: uppercase; line-height: 1; }
.qr-card--best .qr-card__name { font-size: var(--fs-xl); }
.qr-card__price { display: grid; padding-block: 14px 12px; border-block: 1px solid var(--c-line-dark); }
.qr-card__wk-amt { font-size: 2.5rem; }
.qr-card--best .qr-card__price { padding-block: 20px 16px; }
.qr-card--best .qr-card__wk-amt { font-size: clamp(3.25rem, 3vw + 2rem, 4.25rem); }
.qr-card__program { color: var(--c-olive-hi); white-space: normal; }
.qr-card__total { color: var(--c-muted-dark); }
.qr-card__alt { color: var(--c-muted-dark); }
.qr-note { margin: 12px 0 0; font-size: .75rem; color: var(--c-muted-dark); }
.qr-card__sum { margin: 0; color: var(--c-muted-dark); }
.qr-card--best .qr-card__sum { color: var(--c-cream); }
.qr-card .btn { justify-self: start; margin-top: 6px; }
.qr-card .call-link { color: var(--c-muted-dark); }
.qr-card .call-link a { color: var(--c-olive-hi); }
.qr-sub { margin-top: 12px; color: var(--c-cream); }
.qr-others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .qr-others { grid-template-columns: minmax(0, 1fr); } }
.qr-profile { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--c-line-dark); }
.qr-profile div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-line-dark); }
.qr-profile dt { color: var(--c-muted-dark); font-size: var(--fs-sm); }
.qr-profile dd { margin: 0; color: var(--c-cream); font-weight: 600; font-size: var(--fs-sm); }
.qr-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.qr-proof li { padding: 6px 12px; border: 1px solid var(--c-line-dark); color: var(--c-cream); font-size: var(--fs-sm); font-weight: 600; }
.qr-quote { margin: 4px 0 0; padding: 16px 18px; border-left: 4px solid var(--c-olive-hi); background: var(--c-field-2); }
.qr-quote blockquote { margin: 0; }
.qr-quote p { color: var(--c-cream); font-style: italic; }
.qr-quote p::before { content: "“"; } .qr-quote p::after { content: "”"; }
.qr-quote figcaption { margin-top: 8px; color: var(--c-muted-dark); font-size: var(--fs-sm); }
.qr-faq a { color: var(--c-olive-hi); font-weight: 600; }
.qr-head { font-size: clamp(2rem, 2.6vw + 1.2rem, 3.1rem); }

/* ---------- Payment options (Plans) ---------- */
.payopts { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1.2fr); gap: 16px 28px; align-items: start; padding: 20px 24px; background: var(--c-paper); border: 1px solid var(--c-line); }
.payopts__head { display: flex; gap: 10px; align-items: center; color: var(--c-olive); }
.payopts__head .h4 { color: var(--c-text); }
.payopts__list { list-style: none; display: grid; gap: 8px; }
.payopts__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: .9688rem; line-height: 1.45; }
.payopts__list .icon { width: 18px; height: 18px; color: var(--c-olive); margin-top: 2px; }
.payopts__links { display: grid; gap: 10px; font-size: var(--fs-sm); }
.payopts__links > a { color: var(--c-olive); font-weight: 700; text-underline-offset: 3px; }
.payopts .call-link { color: var(--c-muted); }
.payopts .call-link a { color: var(--c-olive); }
@media (max-width: 900px) { .payopts { grid-template-columns: minmax(0, 1fr); } }

.qr-pay { padding: 14px 18px; border: 1px dashed var(--c-line-dark); display: grid; gap: 8px; }
.qr-pay__t { color: var(--c-olive-hi); margin: 0; }
.qr-pay ul { padding-left: 18px; display: grid; gap: 4px; color: var(--c-cream); font-size: var(--fs-sm); }
.qr-pay__links { margin: 0; font-size: var(--fs-sm); color: var(--c-muted-dark); }
.qr-pay__links a { color: var(--c-olive-hi); font-weight: 600; }

/* ---------- Testimonial carousel ---------- */
.tcar__head { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.tcar__head .eyebrow, .tcar__head .h2 { grid-column: 1; }
.tcar__nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; align-self: end; }
.tcar__btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--fg); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.tcar__btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.tcar__btn:disabled { opacity: .35; cursor: default; }
.tcar__btn .icon--flip { width: 20px; height: 20px; }
.tcar__track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.tcar__track::-webkit-scrollbar { display: none; }
.tcar__track:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.tcar__slide { scroll-snap-align: start; min-width: 0; display: flex; }
.tcar__card { margin: 0; flex: 1; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.tcar__mark { width: 28px; height: 28px; color: var(--accent); }
.tcar__card blockquote { margin: 0; flex: 1; }
.tcar__card blockquote p { font-size: clamp(1.15rem, 1vw + 1rem, 1.6rem); line-height: 1.45; color: var(--fg); max-width: 60ch; }
.tcar__card blockquote p::before { content: "“"; } .tcar__card blockquote p::after { content: "”"; }
.tcar__more summary { cursor: pointer; font-weight: 600; color: var(--accent); font-size: var(--fs-sm); }
.tcar__more p { color: var(--muted); margin-top: 10px; font-size: .9688rem; }
.tcar__card figcaption { display: flex; align-items: center; gap: 14px; }
.tcar__card .quote__avatar { width: 52px; height: 52px; }
.tcar__name { font-weight: 700; color: var(--fg); font-size: 1.0625rem; }
.tcar__role { color: var(--muted); text-transform: none; letter-spacing: .02em; }
.tcar__note { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.tcar__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.tcar__dot { width: 28px; height: 6px; padding: 0; border: 0; background: var(--line); cursor: pointer; transition: background-color .15s ease, width .15s ease; }
.tcar__dot[aria-current="true"] { background: var(--accent); width: 44px; }
@media (max-width: 800px) {
  .tcar__track { grid-auto-columns: 100%; gap: 14px; }
  .tcar__head { grid-template-columns: minmax(0, 1fr); }
  .tcar__nav { grid-column: 1; grid-row: auto; }
}

/* Horizontal logo lockup */
.brand__lockup { height: 40px; width: auto; display: block; }
@media (max-width: 480px) { .brand__lockup { height: 32px; } }
.footer__logo img { width: 240px; height: auto; }

/* Four tiers: 4 across on wide screens, 2x2 in the middle, stacked on phones */
.tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 700px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier__fit { font-style: italic; }
.tier__fine { margin: 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--t-muted); padding-top: 12px; border-top: 1px dashed var(--t-line); }
.qr-others { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .qr-others { grid-template-columns: minmax(0, 1fr); } }

/* ===== Buy now, pay later ===== */
.bnpl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 20px; padding: 14px 18px; background: var(--c-paper); border: 1px solid var(--c-line); border-left: 4px solid var(--c-olive); }
.bnpl-bar p { margin: 0; font-weight: 600; }
.bnpl-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--c-ink); color: var(--c-cream); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.bnpl-badge .icon { width: 16px; height: 16px; color: var(--c-olive-hi); }
.bnpl-link { background: none; border: 0; padding: 0; font: 600 var(--fs-sm) var(--f-body); color: var(--t-accent, var(--c-olive)); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bnpl-link:hover { text-decoration-thickness: 2px; }
.bnpl-bar .bnpl-link { margin-left: auto; }
.bnpl-line { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-sm); color: var(--t-muted, var(--c-muted)); }
.bnpl-line .icon { width: 16px; height: 16px; color: var(--t-accent, var(--c-olive)); }
.bnpl-line--dark, .accept__summary .bnpl-line { color: var(--c-muted-dark); }
.bnpl-line--dark .icon, .bnpl-line--dark .bnpl-link, .accept__summary .bnpl-line .icon, .accept__summary .bnpl-link,
.qr-pay .bnpl-link, .qr-final .bnpl-link { color: var(--c-olive-hi); }

/* Shared pop-up (native popover; .pop--fallback for older browsers) */
.pop { width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; margin: auto; padding: 26px 26px 22px; background: var(--c-ink); color: var(--c-cream); border: 1px solid var(--c-line-dark); border-top: 4px solid var(--c-olive-hi); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.pop::backdrop { background: rgba(17, 19, 14, .6); }
.pop--fallback { position: fixed; inset: 0; height: fit-content; z-index: 1000; }
.pop h2 { margin: 6px 0 10px; }
.pop p { margin: 0 0 12px; color: var(--c-muted-dark); }
.pop p:first-of-type + h2 + p, .pop h2 + p { color: var(--c-cream); }
.pop__eyebrow { color: var(--c-olive-hi); margin: 0; }
.pop__steps { margin: 0 0 12px; padding-left: 1.25em; display: grid; gap: 8px; }
.pop__steps li::marker { color: var(--c-olive-hi); font-family: var(--f-mono); }
.pop__fine { font-size: .8125rem; border-top: 1px dashed var(--c-line-dark); padding-top: 12px; }
.pop .btn { margin-top: 4px; }

/* ===== TrainHeroic delivery window ===== */
.deliver { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: start; padding: 18px 22px; background: var(--c-paper); border: 1px solid var(--c-line); }
.deliver__icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--c-ink); color: var(--c-olive-hi); }
.deliver__icon .icon { width: 24px; height: 24px; }
.deliver__body p { margin: 0 0 6px; }
.deliver__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.deliver__tag { padding: 3px 8px; border: 1px solid var(--c-olive); color: var(--c-olive); }
.deliver__sub { font-size: var(--fs-sm); color: var(--c-muted); }
.deliver__more summary { cursor: pointer; font-weight: 600; font-size: var(--fs-sm); color: var(--c-olive); width: fit-content; }
.deliver__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.deliver__chips li { padding: 4px 10px; background: var(--c-cream); border: 1px solid var(--c-line); font-size: .8125rem; }
.accept .deliver { margin-top: 0; }

/* ===== Quiz additions ===== */
.qz__hint { margin: -4px 0 0; color: var(--c-muted-dark); max-width: 60ch; }
.qz__other { display: grid; gap: 10px; max-width: 520px; padding: 16px; background: var(--c-field-2); border: 1.5px solid var(--c-olive-hi); }
.qz__other-l { font-weight: 600; color: var(--c-cream); }
.qz__other input { min-height: 48px; padding: 10px 14px; background: var(--c-ink); color: var(--c-cream); border: 1.5px solid var(--c-line-dark); font: 1rem var(--f-body); border-radius: var(--radius); }
.qz__other input:focus { border-color: var(--c-olive-hi); outline: none; box-shadow: 0 0 0 3px rgba(138, 166, 92, .25); }
.qz__other .qz__error:empty { display: none; }
.qz__other .btn { justify-self: start; }
.qz__sms { border: 1px solid var(--c-line-dark); padding: 14px 16px 16px; margin: 4px 0 0; display: grid; gap: 12px; }
.qz__sms legend { color: var(--c-olive-hi); padding: 0 6px; }
.qz__sms .check { padding: 12px; }
.qz__sms .check a { color: var(--c-olive-hi); }
.qz__restart { background: none; border: 0; padding: 0; color: var(--c-muted-dark); font: 600 var(--fs-sm) var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qr-final { margin-top: 12px; display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); background: var(--c-ink); border: 2px solid var(--c-olive-hi); }
.qr-final h2 { margin: 0; }
.qr-final__lede { margin: 0; color: var(--c-cream); font-weight: 600; }
.qr-final .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.qr-final__assure { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--c-line-dark); display: grid; gap: 8px; color: var(--c-muted-dark); font-size: var(--fs-sm); }
.qr-final__assure li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.qr-final__assure .icon { width: 18px; height: 18px; color: var(--c-olive-hi); margin-top: 1px; }
@media (max-width: 560px) { .qr-final .btn { width: 100%; justify-content: center; } }

/* ===== Accept: backup checkout ===== */
.accept__backup { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.accept__backup a { color: var(--c-olive); font-weight: 600; }
@media (max-width: 700px) { .bnpl-bar .bnpl-link { margin-left: 0; } .deliver { grid-template-columns: minmax(0, 1fr); } }
/* In plan cards, keep the pay-later line to two tidy lines */
.tier .bnpl-line { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 2px 8px; }
.tier .bnpl-line > span[aria-hidden] { display: none; }
.tier .bnpl-line .bnpl-link { grid-column: 2; justify-self: start; }

/* ===== Tier 1: PDF + monthly option ===== */
.tier__tagline { margin: 0; color: var(--t-muted); font-size: var(--fs-sm); font-weight: 600; }
.tier__subhead, .qr-card__subhead { margin: 12px 0 0; font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; line-height: 1; text-transform: uppercase; }
.tier__subnote, .qr-card__subnote { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--t-muted, var(--c-muted-dark)); }
.qr-card__subhead { color: var(--c-cream); }
.tier__deliv { margin: 0; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: var(--fs-sm); font-weight: 600; }
.tier__deliv .icon { width: 18px; height: 18px; color: var(--t-accent); margin-top: 2px; }
.tier__payline { margin: 0; font-size: var(--fs-sm); color: var(--t-muted); }
.payopts__weekly { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px dashed var(--c-line); font-size: .8125rem; color: var(--c-muted); }
.pop__sub { margin: 4px 0 6px; color: var(--c-olive-hi); font-size: .75rem; }
.bnpl-bar__scope { font-weight: 500; color: var(--c-muted); }
.accept__terms { padding: 16px 18px; border: 1.5px solid var(--c-olive); background: var(--c-paper); display: grid; gap: 6px; }
.accept__terms p { margin: 0; }
.accept__terms .mono { color: var(--c-olive); }
.accept__terms a { color: var(--c-olive); font-weight: 600; }

/* Soft launch notice above the plans */
.soft-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 12px 16px; background: var(--c-ink); color: var(--c-cream); font-weight: 600; }
.soft-note .icon { color: var(--c-olive-hi); flex: none; margin-top: 2px; }

/* Testimonial with a results image */
.tcar__card--img { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 32px); align-items: start; }
.tcar__img img { width: 100%; height: auto; max-width: 100%; display: block; border: 1px solid var(--c-line-dark); }
.tcar__body { display: grid; gap: 18px; align-content: start; }
@media (max-width: 760px) { .tcar__card--img { grid-template-columns: minmax(0, 1fr); } .tcar__img img { max-height: 420px; object-fit: cover; object-position: top; } }

/* Long email addresses must wrap on phones (no sideways scroll). */
a[href^="mailto:"]{overflow-wrap:anywhere;word-break:break-word}

/* ---- site theme: sites/back-forty/theme.css ---- */
/* =========================================================
   THEME VARIABLES: Back Forty
   Olive + black + cream. Modern tactical type:
     Headlines  Saira Condensed (squared, condensed, heavy)
     Body       Barlow (DIN-style, easy to read)
     Labels     Share Tech Mono (HUD / gear-tag feel)
   Google Fonts @import lines are turned into <link> tags by the build.
   ========================================================= */


:root {
  --f-display: "Saira Condensed", "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Share Tech Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --c-ink: #11130e;
  --c-field: #1b1f15;
  --c-field-2: #252a1d;
  --c-olive: #4b5320;
  --c-olive-hi: #8aa65c; /* matched to the logo green */
  --c-cream: #eee8d6;
  --c-paper: #f8f5ec;
  --c-khaki: #bcae86;

  --theme-color: #11130e;
}

/* Tactical type tuning: tighter headline tracking, crisper labels */
.h1, .h2, .h3, .tier__name, .final__title { letter-spacing: -0.005em; }
.h1 { font-weight: 800; line-height: 0.9; }
.eyebrow { letter-spacing: 0.16em; }

