/* ==========================================================================
   Editorial / index-driven layout. Olive (#74a815) as a deliberate accent on
   warm ink + cream neutrals. Flat surfaces, rules instead of shadows, sharp
   corners, big index numerals. Built to replace a rounded teal/bento system.
   ========================================================================== */

:root {
  --brand: #74a815;
  --brand-600: #628f10;
  --brand-700: #4f720d;
  --brand-800: #3a540a;
  --brand-tint: #eef3df;
  --brand-tint-2: #d7e3b3;
  --brand-glow: rgba(116, 168, 21, .28);

  --ink: #191a13;
  --ink-2: #2c2e21;
  --ink-3: #4a4c3b;
  --deep: #101208;
  --paper: #faf8f1;
  --paper-2: #f1eee0;
  --white: #ffffff;

  --muted: #9a9c86;
  --muted-on-light: #5c5f4c;
  --line-light: #e3e0cf;
  --line-dark: rgba(255, 255, 255, .14);
  --error: #b3401f;

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --radius-pill: 999px;
  --measure: 66ch;
  --shadow-sm: 0 1px 2px rgba(16, 18, 8, .06);
  --shadow-md: 0 16px 40px -22px rgba(16, 18, 8, .35);
  --shadow-lg: 0 30px 70px -30px rgba(16, 18, 8, .45);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.7; text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--brand-700); text-decoration: underline; text-decoration-color: rgba(79,114,13,.35); text-underline-offset: 3px; }
a:hover { color: var(--brand-800); text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top .12s ease;
}
.skip-link:focus { top: 12px; }
.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; }

/* logo: single-tone mark, brand-accented dot */
.logo path, .logo circle, .logo text { fill: currentColor; }
.logo .lg-dot { fill: var(--brand); }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 128px) 0; position: relative; border-top: 1px solid var(--line-light); }
.section--light { background: var(--paper); color: var(--ink); }
.section--dark { background: var(--deep); color: #eef0e6; overflow: hidden; border-top-color: var(--line-dark); }
.section--dark > .wrap { position: relative; }
.section--band { background: var(--white); color: var(--ink); }
.section--dark a { color: var(--brand); text-decoration-color: rgba(116,168,21,.4); }
.section--dark a:hover { color: #9fd449; }

.mono {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
}

/* eyebrow: index numeral + rule, no pill */
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px; color: var(--brand-700);
}
.eyebrow__idx {
  flex: 0 0 auto; font-family: var(--font-mono); font-size: .8125rem; font-weight: 700;
  color: var(--brand-700); letter-spacing: .04em;
}
.eyebrow__rule { display: block; flex: 1 1 auto; height: 1px; max-width: 120px; background: var(--brand-tint-2); }
.section--dark .eyebrow { color: var(--brand); }
.section--dark .eyebrow__rule { background: var(--line-dark); }

.h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; }
h3, .h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); letter-spacing: -0.01em; }
.lede { margin: 18px 0 0; max-width: 58ch; color: var(--muted-on-light); font-size: 1.0625rem; line-height: 1.65; }
.section--dark .lede { color: var(--muted); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }

/* ---------- buttons: bordered, square-ish ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px; border: 1.5px solid transparent;
  border-radius: var(--radius-sm); font-family: var(--font-display); font-size: .9375rem;
  font-weight: 600; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--brand); color: var(--deep); border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-600); border-color: var(--brand-600); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand-700); color: var(--brand-700); }
.btn--dark { background: var(--deep); color: var(--white); border-color: var(--deep); }
.btn--dark:hover { background: var(--white); color: var(--deep); border-color: var(--deep); }
.btn[disabled] { opacity: .6; cursor: default; }
.section--dark .btn--ghost, .consent .btn--ghost { background: transparent; color: var(--white); border-color: var(--line-dark); }
.section--dark .btn--ghost:hover, .consent .btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- header: flat bar, bottom rule ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(250,248,241,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-light); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); width: 100%; }
.header--scrolled { box-shadow: var(--shadow-sm); }
.header__logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.header__logo svg { display: block; height: 26px; width: auto; }
.header__nav { margin-left: 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  position: relative; display: block; padding: 10px 15px; color: var(--muted-on-light);
  text-decoration: none; font-size: .9063rem; font-weight: 500;
}
.nav__link::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { transform: scaleX(1); }
.header__cta { margin-left: auto; min-height: 44px; padding: 9px 20px; font-size: .875rem; }
.header__toggle {
  display: none; margin-left: auto; align-items: center; gap: 10px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); color: var(--ink);
  padding: 9px 16px; min-height: 44px; font-family: var(--font-display); font-size: .875rem; font-weight: 600;
}
.header__toggle-bars { display: grid; gap: 4px; width: 16px; }
.header__toggle-bars span { display: block; height: 2px; background: currentColor; }

.overlay {
  position: fixed; inset: 0; z-index: 99; display: none;
  background: var(--deep); padding: calc(var(--header-h) + 28px) var(--gutter) 32px; overflow-y: auto;
}
.overlay.is-open { display: block; }
.overlay__list { list-style: none; display: grid; max-width: 620px; border-top: 1px solid var(--line-dark); }
.overlay__link {
  display: flex; align-items: center; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line-dark);
  color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
}
.overlay__link span { font-family: var(--font-mono); font-size: .75rem; color: var(--brand); font-weight: 700; }
.overlay__cta { margin-top: 32px; display: grid; max-width: 620px; }
body.is-locked { overflow: hidden; }

/* ---------- hero: stacked editorial header + full-bleed framed banner ---------- */
.hero {
  position: relative; background: var(--paper); color: var(--ink);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 80px); border-top: 0;
}
.hero > .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-light); }
.hero__copy { display: grid; justify-items: start; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--brand-700);
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
.hero__eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--brand); }
.hero__title { margin-bottom: 22px; }
.hero__title-main { display: block; font-size: clamp(2.2rem, 4.6vw, 3.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; color: var(--ink); }
.hero__title-main em { font-style: normal; color: var(--brand-700); background: linear-gradient(transparent 78%, var(--brand-tint-2) 78%); }
.hero__title-sub { display: block; margin-top: 16px; font-size: clamp(1rem, 1.6vw, 1.1875rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.45; color: var(--ink-3); font-family: var(--font-display); }
.hero__sub { max-width: 62ch; color: var(--muted-on-light); font-size: 1.0625rem; }
.hero__sub strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { margin: 22px 0 0; max-width: 56ch; color: var(--muted-on-light); font-size: .875rem; }
.hero__note a { color: var(--brand-700); }

.hero__visual { position: relative; display: grid; gap: 14px; align-content: end; justify-items: start; }
.hero__flow { list-style: none; counter-reset: fl; display: grid; gap: 0; width: 100%; border: 1px solid var(--line-light); background: var(--white); }
.hero__flow li { counter-increment: fl; display: flex; align-items: center; gap: 12px; padding: 11px 16px; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .8438rem; }
.hero__flow li + li { border-top: 1px solid var(--line-light); }
.hero__flow li::before { content: counter(fl, decimal-leading-zero); font-family: var(--font-mono); color: var(--brand-700); font-size: .75rem; font-weight: 700; }
.hero__card {
  display: grid; gap: 4px; text-align: left; width: 100%;
  padding: 16px 18px; background: var(--ink); color: var(--white);
  text-decoration: none;
}
.hero__card:hover { color: var(--white); background: var(--brand-800); }
.hero__card .mono { color: var(--brand); }
.hero__card strong { font-family: var(--font-display); font-size: .9688rem; font-weight: 700; }

.hero__media {
  position: relative; overflow: hidden; line-height: 0; margin-top: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line-light); aspect-ratio: 21 / 9;
}
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 42%; filter: grayscale(.15) contrast(1.02); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,8,.55) 0%, transparent 38%); }
.hero__media::before {
  content: "01 → 05"; position: absolute; z-index: 2; left: 20px; top: 18px;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--white);
  padding: 6px 10px; background: rgba(16,18,8,.55); border: 1px solid rgba(255,255,255,.3);
}

.hero__stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line-light); }
.hero__stats li { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 26px 0; }
.hero__stats li + li { padding-left: 24px; border-left: 1px solid var(--line-light); }
.hero__stats b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.hero__stats span { color: var(--muted-on-light); font-size: .8438rem; line-height: 1.3; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- overview: full-width intro row + spec table + newspaper prose ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 44px); }
.about__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line-light); }
.spec { border: 1px solid var(--ink); padding: clamp(20px, 2.6vw, 28px); }
.spec__head { margin-bottom: 16px; color: var(--brand-700); }
.spec__list { list-style: none; display: grid; }
.spec__list li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line-light); }
.spec__list li:first-child { border-top: 0; }
.spec__k { color: var(--muted-on-light); font-size: .875rem; flex: 0 0 auto; }
.spec__v { text-align: right; font-weight: 600; font-size: .9375rem; color: var(--ink); }

.about__prose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.about__card { padding: 0; border-top: 3px solid var(--brand); padding-top: 18px; }
.about__card h3 { margin-bottom: 10px; color: var(--ink); font-size: 1.0625rem; }
.about__card p { color: var(--muted-on-light); font-size: .9375rem; }

.runs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: run; border: 1px solid var(--line-light); }
.run { position: relative; padding: clamp(24px, 3vw, 32px); counter-increment: run; }
.run + .run { border-left: 1px solid var(--line-light); }
.run::before {
  content: counter(run, decimal-leading-zero); display: block; margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--brand-700);
}
.run__idx { display: none; }
.run h3 { margin: 0 0 8px; }
.run p { color: var(--muted-on-light); font-size: .9375rem; max-width: 34ch; }

/* ---------- fit: single-column ledger rows ---------- */
.fit { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line-dark); }
.fit__col { padding: clamp(28px, 3.4vw, 40px); }
.fit__col--yes { border-bottom: 1px solid var(--line-dark); }
.fit__head { margin-bottom: 20px; font-family: var(--font-display); font-size: 1.25rem; text-transform: none; letter-spacing: -0.015em; font-weight: 700; }
.fit__col--yes .fit__head { color: var(--brand); }
.fit__col--no .fit__head { color: var(--muted); }
.fit__list { list-style: none; display: grid; }
.fit__list li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: baseline; font-size: .9688rem; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.fit__list li:first-child { border-top: 0; }
.fit__mark { flex: 0 0 auto; font-family: var(--font-mono); font-size: .8125rem; font-weight: 800; }
.fit__col--yes .fit__mark { color: var(--brand); }
.fit__col--no .fit__mark { color: var(--muted); }
.fit__col--yes li { color: #eef0e6; }
.fit__col--no li { color: var(--muted); }

/* ---------- advantages: numbered index list, alternating alignment ---------- */
.adv { display: grid; border-top: 1px solid var(--line-light); }
.adv__card {
  position: relative; display: grid; grid-template-columns: 100px minmax(0,1fr) 52px; gap: clamp(16px, 3vw, 32px);
  align-items: start; padding: clamp(24px, 2.8vw, 34px) 0; border-bottom: 1px solid var(--line-light);
}
.adv__card::before {
  content: attr(data-idx); font-family: var(--font-mono); font-size: .9375rem; font-weight: 700; color: var(--brand-700);
  padding-top: 4px;
}
.adv__icon { width: 44px; height: 44px; padding: 10px; border: 1.5px solid var(--line-light); color: var(--brand-700); justify-self: end; }
.adv__card h3 { margin-bottom: 8px; }
.adv__card p { color: var(--muted-on-light); font-size: .9375rem; margin: 0; max-width: 62ch; }
.adv__card p span[data-figure] { color: var(--brand-700); font-weight: 700; }

/* ---------- program: numbered vertical index + bordered detail panel ---------- */
.tl { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 0; border: 1px solid var(--line-dark); }
.tl__ruler, .tl__playhead { display: none; }
.tl__track { list-style: none; display: grid; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; border-right: 1px solid var(--line-dark); }
.tl__clip {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  width: 100%; text-align: left; cursor: pointer; padding: 16px 20px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-dark);
  color: #dfe2d3;
}
.tl__clip:hover { background: rgba(255,255,255,.04); }
.tl__clip[aria-expanded="true"] { background: var(--brand); color: var(--deep); }
.tl__tc { display: none; }
.tl__no { font-family: var(--font-mono); font-weight: 700; font-size: .9375rem; color: var(--muted); }
.tl__clip[aria-expanded="true"] .tl__no { color: var(--deep); }
.tl__name { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; line-height: 1.3; letter-spacing: -0.01em; }
.tl__meta { display: flex; }
.tl__bar { display: none; }
.tl__chip { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tl__clip[aria-expanded="true"] .tl__chip { color: var(--deep); }

.tl__panels { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.tl__panel { display: none; padding: clamp(28px, 3.4vw, 44px); background: var(--white); color: var(--ink); }
.tl__panel.is-open { display: grid; gap: 24px; }
.tl__panel h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin-bottom: 18px; }
.tl__panel-tc { display: block; margin-bottom: 14px; color: var(--brand-700); }
.tl__lessons { list-style: none; counter-reset: l; display: grid; }
.tl__lessons li {
  counter-increment: l; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: baseline;
  padding: 13px 0; border-top: 1px solid var(--line-light); color: var(--ink-2); font-size: .9375rem;
}
.tl__lessons li:first-child { border-top: 0; }
.tl__lessons li::before { content: counter(l, decimal-leading-zero); color: var(--brand-700); font-weight: 700; font-family: var(--font-mono); font-size: .8125rem; }
.tl__deliver { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--ink); }
.tl__deliver .mono { flex: 0 0 auto; color: var(--brand-700); margin: 0; }
.tl__deliver p { margin: 0; font-size: .9375rem; font-weight: 500; }

.bonus { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.bonus__label { color: var(--brand); }
.bonus__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; }
.bonus__list li { position: relative; padding: 6px 0; color: #dfe2d3; font-size: .9063rem; font-weight: 500; }
.bonus + .bonus { margin-top: 8px; padding-top: 24px; border-top: 0; }
.bonus + .bonus .bonus__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.bonus + .bonus .bonus__list li { padding: 10px 0; border-top: 1px solid var(--line-dark); color: #dfe2d3; font-weight: 400; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 28px; padding: clamp(24px, 3vw, 32px); background: var(--brand); color: var(--deep); }
.callout p { margin: 0; font-size: 1.0625rem; font-weight: 700; font-family: var(--font-display); flex: 1 1 320px; }
.callout p + p { font-weight: 400; font-family: var(--font-body); opacity: .85; font-size: .9375rem; }
.callout__link { flex: 0 0 auto; padding: 11px 20px; background: var(--deep); color: var(--white) !important; font-weight: 600; font-size: .875rem; text-decoration: none; }

/* ---------- tools: data-table rows ---------- */
.tools__grid { display: grid; grid-template-columns: minmax(0,1fr); border-top: 1px solid var(--line-light); }
.tool { display: grid; grid-template-columns: 44px minmax(0,1.2fr) minmax(0,1.6fr) auto; align-items: center; gap: 6px 20px; padding: 18px 4px; border-bottom: 1px solid var(--line-light); }
.tool:hover { background: var(--paper-2); }
.tool__cat { display: contents; }
.tool__ico { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--brand-700); color: var(--brand-700); font-family: var(--font-mono); font-weight: 700; font-size: .8125rem; }
.tool h3 { font-size: .9688rem; }
.tool__role { grid-column: 3; color: var(--muted-on-light); font-size: .875rem; margin: 0; }
.tool__opts { grid-column: 3; font-size: .8438rem; font-weight: 500; color: var(--ink-3); margin: 4px 0 0; }
.tool__cost { justify-self: end; font-family: var(--font-mono); color: var(--brand-700); font-size: .8125rem; font-weight: 700; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px; align-items: stretch; border: 1px solid var(--ink); }
.tier { padding: 30px 26px; background: var(--white); }
.tier + .tier { border-left: 1px solid var(--line-light); }
.tier:nth-child(2) { background: var(--ink); color: var(--white); position: relative; }
.tier:nth-child(2)::before { content: "Populaire"; position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); color: var(--brand); font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tier:nth-child(2) .tier__label { color: var(--brand); }
.tier:nth-child(2) p { color: var(--muted); }
.tier:nth-child(2) .tier__price { color: var(--white); }
.tier__label { color: var(--brand-700); }
.tier__price { display: block; margin: 12px 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; letter-spacing: -0.02em; line-height: 1.1; }
.tier__price .mono { font-size: .8125rem; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .7; }
.tier p { color: var(--muted-on-light); font-size: .9375rem; }
.notes { margin-top: 32px; display: grid; gap: 10px; max-width: var(--measure); padding: 18px 22px; border-left: 3px solid var(--brand); background: var(--paper-2); }
.notes p { color: var(--muted-on-light); font-size: .875rem; }

/* ---------- numbers: single ticker strip ---------- */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: clamp(22px, 2.6vw, 30px) clamp(14px, 1.6vw, 20px); }
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat:first-child { background: var(--brand); }
.stat:first-child .stat__fig, .stat:first-child .stat__label { color: var(--deep); }
.stat:first-child .stat__note { color: rgba(16,18,8,.72); }
.stat__fig { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; line-height: 1; color: var(--white); }
.stat__label { display: block; margin: 12px 0 6px; color: var(--brand); font-family: var(--font-mono); }
.stat__note { color: var(--muted); font-size: .8125rem; }
.numbers__foot { margin-top: 32px; display: grid; gap: 10px; max-width: var(--measure); }
.numbers__foot .mono { color: var(--brand); text-transform: none; letter-spacing: 0; font-size: .8125rem; }
.numbers__foot p { color: var(--muted); font-size: .9375rem; }

/* ---------- enrollment: vertical ledger with ghost numerals ---------- */
.steps { display: grid; grid-template-columns: minmax(0,1fr); border-top: 1px solid var(--line-light); counter-reset: stp; max-width: 780px; margin-inline: auto; }
.step { position: relative; display: grid; grid-template-columns: 84px minmax(0,1fr); gap: clamp(16px, 3vw, 32px); align-items: start; padding: clamp(20px, 2.6vw, 28px) 0; border-bottom: 1px solid var(--line-light); counter-increment: stp; }
.step::before {
  content: counter(stp, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--brand-tint-2); line-height: 1;
}
.step:first-child::before { color: var(--brand-700); }
.step__idx { display: none; }
.step h3 { grid-column: 2; margin: 0 0 6px; }
.step p { grid-column: 2; color: var(--muted-on-light); font-size: .9375rem; margin: 0; }
.enroll__note { margin: 40px auto 0; max-width: 60ch; padding: 14px 20px; border: 1px solid var(--line-light); text-align: center; color: var(--muted-on-light); font-size: .9063rem; }
#enrollment .section-head { margin-inline: auto; text-align: center; }
#enrollment .section-head .eyebrow { justify-content: center; }
#enrollment .section-head .lede { margin-inline: auto; }

/* ---------- registration: stacked, full-width form ---------- */
.reg__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.reg__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.reg__intro .section-head { margin-bottom: 28px; }
.reassure { padding: 24px 26px; border: 1px solid var(--line-dark); }
.reassure__head { color: var(--brand); padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); margin-bottom: 14px; }
.reassure__list { list-style: none; display: grid; gap: 14px; }
.reassure__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: #eef0e6; }
.reassure__list li::before { content: "→"; flex: 0 0 auto; color: var(--brand); font-weight: 800; }

.form { display: grid; gap: 20px; padding: clamp(28px, 3.4vw, 44px); background: var(--white); border: 1px solid var(--ink); }
.form__row { display: grid; gap: 8px; }
.form__row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form label { font-size: .8438rem; font-weight: 600; color: var(--ink); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-light); border-radius: var(--radius-sm);
}
.form textarea { min-height: 110px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted-on-light) 50%), linear-gradient(135deg, var(--muted-on-light) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--brand-tint-2); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background-color: var(--white); box-shadow: 0 0 0 3px var(--brand-glow); }
.form [aria-invalid="true"] { border-color: var(--error); }
.form__hint { color: var(--muted-on-light); font-size: .8125rem; }
.form__err { display: none; color: var(--error); font-size: .8125rem; font-weight: 500; }
.form__err.is-shown { display: block; }
.form__count { justify-self: end; color: var(--muted-on-light); font-size: .75rem; text-transform: none; letter-spacing: 0; }
.form__check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.form__check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.form__check label { font-weight: 400; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: .9063rem; color: var(--muted-on-light); line-height: 1.55; }
.form__check label a { color: var(--brand-700); }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__summary { display: none; border: 1px solid #e3b09e; background: #fbeee9; padding: 14px 16px; color: var(--error); font-size: .9375rem; }
.form__summary.is-shown { display: block; }
.form__submit { display: grid; gap: 14px; justify-items: start; }
.form__submit .btn { width: 100%; }
.form__submit .mono { color: var(--muted-on-light); text-transform: none; letter-spacing: 0; font-size: .8125rem; font-weight: 400; line-height: 1.6; }

/* ---------- faq: flat single-column ledger accordion ---------- */
.faq__layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq { display: grid; counter-reset: faqc; border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq details[open] summary { color: var(--brand-700); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.0125rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 1.125rem; font-weight: 600; color: var(--brand-700); border: 1.5px solid var(--line-light);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; transform: rotate(180deg); border-color: var(--brand); }
.faq summary:hover { color: var(--brand-700); }
.faq__body { padding: 0 4px 24px; }
.faq__body p { color: var(--muted-on-light); font-size: .9688rem; }
.faq__body p + p { margin-top: .8em; }

/* ---------- company: bordered info panel ---------- */
.company__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 0; border: 1px solid var(--line-dark); }
.company__logo { display: grid; align-content: center; justify-items: start; gap: 20px; padding: clamp(32px, 4vw, 48px); background: var(--brand); color: var(--deep); }
.company__logo svg { height: auto; width: auto; }
.company__logo .logo-mark { color: var(--deep); }
.company__prose { padding: clamp(28px, 4vw, 44px); border-left: 1px solid var(--line-dark); }
.company__prose p { color: var(--muted); }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; border: 1px solid var(--line-dark); }
.details div { padding: 14px 18px; border-top: 1px solid var(--line-dark); }
.details div:nth-child(-n+2) { border-top: 0; }
.details div:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.details dt { color: var(--brand); font-family: var(--font-mono); font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.details dd { margin: 4px 0 0; font-size: .9375rem; color: var(--white); word-break: break-word; }
.company__link { display: inline-flex; margin-top: 24px; font-weight: 700; }

/* ---------- final CTA: full-bleed bordered band ---------- */
.final { padding: 0; background: var(--paper); }
.final__inner {
  position: relative; display: grid; gap: 20px; justify-items: center; text-align: center;
  padding: clamp(56px, 8vw, 108px) clamp(24px, 5vw, 64px);
  background: var(--ink); color: var(--white);
}
.final h2 { max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3.25rem); color: var(--white); }
.final h2 em { font-style: normal; color: var(--brand); }
.final p { font-size: 1.125rem; max-width: 46ch; color: rgba(255,255,255,.82); }
.final p.mono { font-size: .8125rem; text-transform: none; letter-spacing: 0; font-weight: 500; opacity: .85; }
.final p.mono a { color: var(--brand); text-decoration-color: rgba(116,168,21,.5); }
.final .btn--primary { margin-top: 6px; }

/* ---------- footer: flat rule-driven columns, unique structure ---------- */
.footer { position: relative; margin-top: 0; padding: 0; background: var(--ink); color: #dfe2d3; }
.footer > .wrap { position: relative; }
.footer__brandband {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line-dark);
}
.footer__brand { display: grid; gap: 14px; max-width: 560px; }
.footer__brand svg { height: 34px; width: auto; color: var(--white); }
.footer__brand .logo-mark { color: var(--brand); }
.footer__brand p { margin: 0; color: var(--muted); font-size: .9375rem; }
.footer__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.footer__rail { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 0; padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line-dark); }
.footer__col { padding: 0 clamp(20px, 2.4vw, 32px); }
.footer__col:first-child { padding-left: 0; }
.footer__col + .footer__col { border-left: 1px solid var(--line-dark); }
.footer__col h2 { margin-bottom: 20px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--brand); }
.footer__col ul { list-style: none; display: grid; gap: 12px; }
.footer__col p { color: var(--muted); font-size: .875rem; line-height: 1.65; margin: 0 0 16px; }
.footer__col a, .footer__col button.footer__linkbtn {
  color: #dfe2d3; text-decoration: none; font-size: .9375rem; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-family: var(--font-body);
}
.footer__col a:hover, .footer__col button.footer__linkbtn:hover { color: var(--brand); }
.footer__col:last-child a { color: var(--brand); font-weight: 600; }
.footer__legal-data { display: grid; gap: 8px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.footer__legal-data strong { color: var(--white); font-family: var(--font-display); font-size: 1rem; }

.footer__disclaimer { padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line-dark); }
.footer__disclaimer h2 { margin-bottom: 20px; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; color: var(--white); }
.footer__disclaimer div.footer__disc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.footer__disclaimer p { color: var(--muted); font-size: .875rem; }
.footer__disclaimer p + p { margin-top: .9em; }
.footer__disclaimer strong { color: var(--white); font-weight: 700; }

.footer__t3 { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; padding: 20px 0; color: var(--muted); text-transform: none; letter-spacing: 0; font-size: .8125rem; font-weight: 500; }
.footer__t3 span:last-child { font-family: var(--font-mono); color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.footer__buttons { display: none; }

/* ---------- consent ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none; }
.consent.is-open { display: flex; justify-content: center; padding: 0 var(--gutter) 20px; }
.consent__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; align-items: center;
  padding: 20px 24px; max-width: 980px; width: 100%; background: var(--ink); color: #eef0e6;
  border: 1px solid var(--line-dark);
}
.consent p { font-size: .9375rem; color: var(--muted); max-width: 70ch; margin: 0; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.consent .btn { min-height: 44px; padding: 9px 22px; font-size: .875rem; }
.consent__link { font-size: .8125rem; color: var(--brand); }

/* ---------- inner pages: legal docs, contact, thank-you ---------- */
.page { padding: clamp(40px, 6vw, 88px) 0; background: var(--paper); }
.doc { max-width: var(--measure); }
.doc__meta { display: grid; gap: 6px; margin: 24px 0 40px; padding: 16px 22px; border-left: 3px solid var(--brand); background: var(--brand-tint); color: var(--brand-800); }
.doc h1.h2 { font-size: clamp(2rem, 4vw, 3rem); }
.doc h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 44px 0 14px; color: var(--ink); padding-top: 28px; border-top: 1px solid var(--line-light); }
.doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h3 { margin: 26px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { list-style: none; margin: 14px 0; display: grid; gap: 10px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 8px; height: 8px; background: var(--brand); }
.doc__toc { list-style: none; display: grid; gap: 8px; margin: 0 0 44px; padding: 22px; border: 1px solid var(--line-light); background: var(--white); }
.contact__card { background: var(--white); border: 1px solid var(--ink); padding: clamp(24px, 3vw, 38px); max-width: 760px; }
.contact__mail { display: inline-block; margin: 6px 0 26px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.75rem); letter-spacing: -0.02em; color: var(--brand-700); }
.contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line-light); }
.contact__grid div { padding: 14px 18px; border-top: 1px solid var(--line-light); }
.contact__grid div:nth-child(-n+2) { border-top: 0; }
.contact__grid dt { color: var(--brand-700); font-family: var(--font-mono); font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact__grid dd { margin: 4px 0 0; font-size: .9375rem; }
.page .details { border-color: var(--line-light); }
.page .details div { border-color: var(--line-light); }
.page .details dt { color: var(--brand-700); }
.page .details dd { color: var(--ink); }
.thanks { max-width: 640px; }

/* ---------- reveal / motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- breakpoints ---------- */
@media (max-width: 1080px) {
  .footer__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col:nth-child(3) { border-left: 0; }
  .footer__col:nth-child(3), .footer__col:nth-child(4) { padding-left: 0; border-top: 1px solid var(--line-dark); margin-top: 24px; padding-top: 24px; }
}
@media (max-width: 992px) {
  .header__nav, .header__cta { display: none; }
  .header__toggle { display: flex; }
  .about__top, .reg__grid, .faq__layout, .company__grid, .tl { grid-template-columns: 1fr; }
  .spec, .reg__intro, .faq__layout .section-head { position: static; }
  .about__prose { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
  .adv__card { grid-template-columns: 60px minmax(0,1fr); }
  .adv__icon { display: none; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:first-child { grid-column: 1 / -1; }
  .stat + .stat { border-left: 1px solid var(--line-dark); }
  .stats > .stat:nth-child(4) { border-left: 0; }
  .step { grid-template-columns: 60px minmax(0,1fr); }
  .tl__track { position: static; display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .tl__clip { flex: 0 0 auto; width: auto; max-width: 280px; border-bottom: 0; border-right: 1px solid var(--line-dark); }
  .tl__meta { display: none; }
  .tl__panels { position: static; }
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--line-light); }
  .footer__disclaimer div.footer__disc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --gutter: 16px; --header-h: 68px; }
  .header__logo svg { height: 22px; }
  .runs { grid-template-columns: 1fr; }
  .run + .run { border-left: 0; border-top: 1px solid var(--line-light); }
  .form__row--2, .details, .contact__grid, .bonus, .bonus + .bonus .bonus__list { grid-template-columns: 1fr; }
  .footer__rail { grid-template-columns: 1fr; }
  .footer__col { border-left: 0 !important; padding-left: 0 !important; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
  .footer__col:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
  .footer__brandband { flex-direction: column; align-items: flex-start; }
  .footer__t3 { flex-direction: column; align-items: flex-start; }
  .consent__inner { flex-direction: column; align-items: flex-start; }
  .tl__deliver { flex-direction: column; align-items: flex-start; }
  .hero__grid { padding-bottom: 32px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2n+1) { border-left: 0; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .hero__stats li:nth-child(2n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .hero__actions .btn, .footer__cta .btn { width: 100%; }
}

/* mobile overflow guards */
body { overflow-x: clip; }
.tl > *, .about__top > *, .reg__grid > *, .faq__layout > *, .company__grid > *, .fit > *, .hero__grid > * { min-width: 0; }
@media (max-width: 992px) {
  .about__top, .reg__grid, .faq__layout, .tl, .fit { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- print ---------- */
@media print {
  .header, .footer__buttons, .consent, .overlay, .hero__actions { display: none; }
  body { background: #fff; color: #000; }
}
