/* ==================================================================
   DIRECTION A3 — OWL NAVY & CRITERION GOLD
   Every colour below is sampled from the Operant Learner logo
   (images/operant-learner-logo.svg): navy rgb(0,56,118) = #003876,
   blue rgb(14,72,143) = #0E488F, gold rgb(219,141,3) = #DB8D03,
   pale blue rgb(140,167,208) = #8CA7D0, cream rgb(239,200,132) = #EFC884.
   They are the same values the portal already uses (css/styles.css
   --primary-color / --primary-light / --secondary-color / --secondary-light).
   Shared by / (landing.html) and /ceu (ceu.html).
   ================================================================== */
:root {
  /* brand scale — taken from css/ol-brand.css (one source of truth) */
  --navy-950: var(--ol-navy-950); --navy-900: var(--ol-navy-900); --navy-850: var(--ol-navy-850); --navy-800: var(--ol-navy-800);
  --navy-700: var(--ol-navy-700); --navy-400: var(--ol-navy-400); --navy-200: var(--ol-navy-200); --navy-100: var(--ol-navy-100);
  --gold-700: var(--ol-gold-700); --gold-600: var(--ol-gold-600); --gold-500: var(--ol-gold-500); --gold-300: var(--ol-gold-300);
  --gold-200: #EFC884; --gold-100: var(--ol-gold-100);

  /* light theme roles */
  --bg: #F6F8FB; --bg-2: #EAF0F7; --surface: #FFFFFF;
  --ink: #0B1B33; --ink-2: #3A4960; --ink-3: #56657B;
  --rule: #D6DFEB; --rule-2: #B9C7DA;
  --accent-text: var(--gold-700);         /* gold as TEXT on light (5.7:1) */
  --accent-mark: var(--gold-500);         /* gold as fill / mark (decorative) */
  --primary: var(--navy-800); --primary-ink: #FFFFFF; --primary-hover: var(--navy-700);
  --focus: var(--navy-700);
  --fig-ink: #0B1B33; --fig-open: #FFFFFF; --fig-phase: var(--gold-600); --fig-crit: #56657B; --fig-label: #3A4960;
  /* RBT tile: warm cream (the logo's second colour gets a home) */
  --rbt-bg: var(--gold-100); --rbt-ink: #0B1B33; --rbt-ink-2: #3A4960; --rbt-rule: #E9D3A6; --rbt-card: #FFFFFF; --rbt-minus: var(--gold-700);
  /* elevation (navy-tinted) */
  --sh-1: 0 1px 2px rgba(3, 24, 56, .06), 0 2px 6px -2px rgba(3, 24, 56, .08);
  --sh-2: 0 2px 4px rgba(3, 24, 56, .06), 0 14px 32px -14px rgba(3, 24, 56, .28);
  --grid-line: rgba(14, 72, 143, .055);

  /* the navy band (hero, teams, footer) is navy in BOTH themes */
  --band: #04214A; --band-2: #021A3A; --panel: #072B5C; --panel-rule: rgba(140, 167, 208, .26);
  --band-ink: #FFFFFF; --band-ink-2: #C3D1E6; --band-ink-3: #9FB3D1; --band-gold: #F2C063;


  /* type: the T2 families from ol-brand.css */
  /* One product: the public site uses the app's display face (Duanne, board #384 D1). */
  --display: var(--ol-font-display);
  --text: var(--ol-font-text);
  --max: 1240px;
  --gutter: clamp(16px, 3.4vw, 40px);
  --gap: clamp(12px, 1.4vw, 18px);
  --r-tile: 18px; --r-inner: 12px; --r-btn: 10px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071429; --bg-2: #0A1A33; --surface: #0D2140;
    --ink: #EEF2F8; --ink-2: #B9C6D9; --ink-3: #93A4BD;
    --rule: #1E3457; --rule-2: #2C4670;
    --accent-text: #F2B544; --accent-mark: #F2B544;
    --primary: #F2B544; --primary-ink: #021A3A; --primary-hover: #F7C868;
    --focus: #F2B544;
    --fig-ink: #EEF2F8; --fig-open: #0D2140; --fig-phase: #F2B544; --fig-crit: #93A4BD; --fig-label: #B9C6D9;
    --rbt-bg: #2A2213; --rbt-ink: #F6EBD3; --rbt-ink-2: #D5C3A0; --rbt-rule: #4A3B1E; --rbt-card: #1F190E; --rbt-minus: #F2B544;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .3); --sh-2: 0 2px 4px rgba(0, 0, 0, .3), 0 16px 34px -14px rgba(0, 0, 0, .6);
    --grid-line: rgba(140, 167, 208, .05);
    --band: #030F24; --band-2: #020B1B; --panel: #06193A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #071429; --bg-2: #0A1A33; --surface: #0D2140;
  --ink: #EEF2F8; --ink-2: #B9C6D9; --ink-3: #93A4BD;
  --rule: #1E3457; --rule-2: #2C4670;
  --accent-text: #F2B544; --accent-mark: #F2B544;
  --primary: #F2B544; --primary-ink: #021A3A; --primary-hover: #F7C868;
  --focus: #F2B544;
  --fig-ink: #EEF2F8; --fig-open: #0D2140; --fig-phase: #F2B544; --fig-crit: #93A4BD; --fig-label: #B9C6D9;
  --rbt-bg: #2A2213; --rbt-ink: #F6EBD3; --rbt-ink-2: #D5C3A0; --rbt-rule: #4A3B1E; --rbt-card: #1F190E; --rbt-minus: #F2B544;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3); --sh-2: 0 2px 4px rgba(0, 0, 0, .3), 0 16px 34px -14px rgba(0, 0, 0, .6);
  --grid-line: rgba(140, 167, 208, .05);
  --band: #030F24; --band-2: #020B1B; --panel: #06193A;
  color-scheme: dark;
}
/* CE state is driven by real data (js/landing.js + /api/ace-status), fail closed:
   [data-ce-gated] ships `hidden` and is revealed only with a provider number;
   [data-ce-pending] ships visible and is hidden only with one. `hidden` must
   beat every display rule below (the empty-pill bug). html.ce-live is set by
   the same script once a provider number exists. */
[hidden], [data-ce-gated][hidden], [data-ce-pending][hidden], .ace-badge[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--text);
  font-feature-settings: "kern", "liga"; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-band :focus-visible { outline-color: var(--band-gold); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold-500); color: var(--navy-950); padding: 10px 14px; z-index: 30; font-weight: 700; }
.skip:focus { left: 8px; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.kicker { font: 600 14px/1.3 var(--display); letter-spacing: .01em; color: var(--accent-text); margin: 0; }


/* ---------- the navy band ---------- */
.band {
  position: relative; isolation: isolate; overflow: clip; color: var(--band-ink);
  background-color: var(--band);
  /* graph paper: 24px minor / 120px major, drawn in the logo's pale blue */
  background-image:
    linear-gradient(rgba(140, 167, 208, .085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 167, 208, .085) 1px, transparent 1px),
    linear-gradient(rgba(140, 167, 208, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 167, 208, .045) 1px, transparent 1px),
    radial-gradient(120% 90% at 85% 0%, rgba(14, 72, 143, .55), transparent 60%);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px, 100% 100%;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px, 0 0;
}
.band + .main-rest, .teams-band { box-shadow: 0 -1px 0 var(--panel-rule); }
.band .construct { position: absolute; z-index: -1; pointer-events: none; color: var(--navy-400); opacity: .22; }


/* ---------- masthead ---------- */
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-chip { width: 46px; height: 46px; border-radius: 12px; background: #FEFEFF; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 6px 16px -8px rgba(0,0,0,.5); }
.brand-chip img { width: 38px; height: 38px; }
.brand .wordmark { display: block; height: 38px; width: auto; }
.lockup { display: grid; gap: 1px; line-height: 1; }
.lockup .w1 { font: 700 20px/1 var(--display); letter-spacing: .07em; }
.lockup .w2 { display: flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--display); letter-spacing: .42em; color: var(--band-gold); padding-left: 1px; }
.lockup .w2::before, .lockup .w2::after { content: ""; height: 1.5px; width: 10px; background: var(--gold-500); border-radius: 2px; }
.lockup .w2::after { margin-left: -.42em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .theme-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 500 15px/1 var(--text); text-decoration: none; color: var(--band-ink-2); background: none; border: 0; cursor: pointer; white-space: nowrap; border-radius: 8px; transition: color .18s, background-color .18s; }
.nav a:hover, .theme-btn:hover { color: #fff; background: rgba(140, 167, 208, .12); }
.nav .signin { border: 1.5px solid var(--gold-500); color: #fff; padding: 0 18px; margin-left: 8px; border-radius: var(--r-btn); font-weight: 700; }
.nav .signin:hover { background: var(--gold-500); color: var(--navy-950); }
.theme-btn { gap: 6px; min-width: 44px; justify-content: center; font-size: 13.5px; }
.theme-btn svg { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); font: 700 15.5px/1 var(--text); letter-spacing: .005em; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; transition: background-color .18s, color .18s, border-color .18s, box-shadow .2s var(--ease-out), translate .2s var(--ease-out); }
.btn svg { width: 16px; height: 16px; flex: none; transition: translate .2s var(--ease-out); }
.btn:hover svg { translate: 3px 0; }
.btn:active { translate: 0 1px; }
.btn-gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 20px -10px rgba(219, 141, 3, .8); }
.btn-gold:hover { background: #E89C12; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 26px -10px rgba(219, 141, 3, .9); translate: 0 -1px; }
.btn-line { border-color: rgba(195, 209, 230, .55); color: #fff; background: rgba(255,255,255,.02); }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); translate: 0 -1px; }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--sh-2); translate: 0 -1px; }
.btn-ghost { border-color: var(--rule-2); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); translate: 0 -1px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-underline-offset: 4px; text-decoration-color: var(--accent-mark); text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--ink); }

/* ---------- tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.tile { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-tile); padding: clamp(20px, 2.2vw, 32px); min-width: 0; position: relative; box-shadow: var(--sh-1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lift { transition: translate .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s; }
  .lift:hover { translate: 0 -4px; box-shadow: var(--sh-2); border-color: var(--rule-2); }
}

/* ---------- ROW 1: hero (inside the band) ---------- */
.hero { padding: 10px 0 clamp(28px, 3.4vw, 44px); }
.hero .bento { align-items: stretch; }
.hero-tile { grid-column: span 5; container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: clamp(8px, 1.4vw, 20px) clamp(0px, 1vw, 12px) 4px 0; }
.hero-kicker { display: flex; align-items: center; gap: 10px; font: 600 14.5px/1.3 var(--display); color: var(--band-gold); margin: 0; }
.hero-kicker::before { content: ""; width: 22px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.hero h1 { font-weight: 700; font-size: clamp(34px, 10.6cqi, 60px); line-height: 1.02; letter-spacing: -.022em; margin: 16px 0 0; color: #fff; text-wrap: balance; }
.hero h1 .l2 { display: block; color: var(--band-gold); }
.hero h1 .w { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .wi { display: inline-block; will-change: transform; }
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--band-ink-2); margin: 18px 0 0; max-width: 30em; }
.aud { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--panel-rule); }
.aud li { border-bottom: 1px solid var(--panel-rule); }
.aud a { display: grid; grid-template-columns: 118px minmax(0, 1fr) 16px; gap: 12px; align-items: center; min-height: 48px; text-decoration: none; border-radius: 6px; padding: 0 6px; margin: 0 -6px; transition: background-color .18s; }
.aud a:hover { background: rgba(140, 167, 208, .1); }
.aud a:hover svg { color: var(--band-gold); translate: 3px 0; }
.aud svg { width: 16px; height: 16px; transition: translate .2s var(--ease-out); color: var(--band-ink-3); }
.aud-k { font: 700 14px/1 var(--display); color: var(--band-gold); }
.aud-t { font-size: 15px; color: var(--band-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.fig-tile { grid-column: span 7; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--panel-rule); border-radius: var(--r-tile); padding: clamp(16px, 1.8vw, 26px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255,255,255,.05); margin: 0; }
.fig-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--panel-rule); }
.fig-head b { font: 700 14px/1 var(--display); color: #fff; }
.fig-head span { font-size: 13px; color: var(--band-ink-3); }
.fig-body { flex: 1; display: flex; align-items: center; justify-content: center; padding-top: 12px; min-height: 0; }
#fig1 { width: 100%; height: auto; max-height: max(200px, calc(100svh - 318px)); }
.fig-tile figcaption { font-size: 14.5px; line-height: 1.5; color: var(--band-ink-2); margin: 10px 0 0; }
.fig-tile figcaption b { font-family: var(--display); color: #fff; margin-right: 6px; }

/* Fig. 1 on the band */
#fig1 text { font-family: var(--text); fill: var(--band-ink-3); font-variant-numeric: tabular-nums; }
#fig1 .axis, #fig1 .tick { stroke: var(--band-ink-2); stroke-width: 1.25; fill: none; }
#fig1 .tick { stroke-width: 1; }
#fig1 .phase { stroke: var(--gold-500); stroke-width: 1.75; stroke-dasharray: 6 5; fill: none; }
#fig1 .crit { stroke: var(--navy-400); stroke-width: 1.25; stroke-dasharray: 1.5 5; stroke-linecap: round; fill: none; }
#fig1 .series { stroke: #fff; stroke-width: 1.75; fill: none; stroke-linejoin: round; stroke-linecap: round; }
#fig1 .pt { fill: #fff; }
#fig1 .pt-open { fill: var(--panel); stroke: #fff; stroke-width: 1.75; }
#fig1 .cond { font-family: var(--display); font-weight: 600; font-style: italic; font-size: 17px; fill: #fff; }
#fig1 .cond-accent { fill: var(--band-gold); }
#fig1 .flag-pole { stroke: var(--gold-500); stroke-width: 2; stroke-linecap: round; }
#fig1 .flag { fill: var(--gold-500); }
#fig1 .flag-label { fill: var(--band-gold); font-size: 11.5px; font-weight: 700; }

/* light figures (Fig. 2 reversal) */
.fig-l text { font-family: var(--text); fill: var(--fig-label); }
.fig-l .axis { stroke: var(--fig-ink); stroke-width: 1.25; fill: none; }
.fig-l .phase { stroke: var(--fig-phase); stroke-width: 1.6; stroke-dasharray: 5 4; fill: none; }
.fig-l .series { stroke: var(--fig-ink); stroke-width: 1.6; fill: none; stroke-linejoin: round; }
.fig-l .pt { fill: var(--fig-ink); }
.fig-l .pt-open { fill: var(--fig-open); stroke: var(--fig-ink); stroke-width: 1.6; }
.fig-l .cond { font-family: var(--display); font-weight: 600; font-style: italic; fill: var(--fig-ink); }
.fig-l .cond-accent { fill: var(--accent-text); }

/* motion initial states (only when motion is allowed and Motion is present) */
.motion-ok .hero h1 { opacity: 0; }
.motion-ok [data-reveal]:not(.is-in) { opacity: 0; }
.motion-ok [data-stagger] > .rv:not(.is-in) { opacity: 0; }
.motion-ok [data-plot] .pt, .motion-ok [data-plot] .pt-open, .motion-ok [data-plot] .phase,
.motion-ok [data-plot] .cond, .motion-ok [data-plot] .flag-g, .motion-ok [data-plot] .crit-g,
.motion-ok [data-plot] .labels { opacity: 0; }
.motion-ok [data-plot] .series, .motion-ok [data-plot] .axis { stroke-dasharray: 1; stroke-dashoffset: var(--dash, 1); }
.motion-ok [data-plot].is-in .pt, .motion-ok [data-plot].is-in .pt-open { opacity: 1; }
.motion-ok [data-sheet] .mark { opacity: 0; }
[data-plot] .pt, [data-plot] .pt-open, [data-plot] .flag { transform-box: fill-box; transform-origin: center; }
[data-plot] .flag { transform-origin: left center; }
[data-plot] .phase { transform-box: fill-box; transform-origin: top center; }
[data-plot] .crit { transform-box: fill-box; transform-origin: left center; }

/* ---------- ROW 2: RBT + CE ---------- */
.row2 { padding: clamp(28px, 3.4vw, 44px) 0 0; }
.rbt-tile { grid-column: span 5; background: var(--rbt-bg); color: var(--rbt-ink); border-color: var(--rbt-rule); display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.rbt-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--gold-500); }
.rbt-tile .kicker { color: var(--rbt-minus); }
.rbt-tile h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.06; letter-spacing: -.02em; margin: 8px 0 0; }
.rbt-tile h2 span { display: block; font-weight: 500; font-style: italic; color: var(--rbt-ink-2); font-size: .6em; letter-spacing: -.005em; margin-top: 6px; }
.rbt-facts { display: grid; grid-template-columns: 1.15fr 1fr 1.1fr; margin: 0; border-top: 1px solid var(--rbt-rule); border-bottom: 1px solid var(--rbt-rule); }
.rbt-facts div { padding: 12px 12px 12px 0; }
.rbt-facts div + div { padding-left: 14px; border-left: 1px solid var(--rbt-rule); }
.rbt-facts dt { font-size: 13px; color: var(--rbt-ink-2); }
.rbt-facts dd { margin: 2px 0 0; font: 800 clamp(26px, 2.4vw, 34px)/1.05 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.rbt-facts dd.sm { font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.25; padding-top: 4px; }
.rbt-facts dd small { display: block; font: 400 13px/1.3 var(--text); color: var(--rbt-ink-2); letter-spacing: 0; margin-top: 3px; }
.disclaimer { font-size: 13.5px; line-height: 1.55; color: var(--rbt-ink-2); border-left: 3px solid var(--gold-500); padding: 2px 0 2px 12px; margin: 0; }
.rbt-pd { font-size: 15px; margin: 0; padding-top: 14px; border-top: 1px solid var(--rbt-rule); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: space-between; }
.rbt-pd b { font-weight: 700; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent-mark); }
.rbt-tile .soon { color: var(--rbt-ink-2); }
.rbt-tile .text-link { color: var(--rbt-ink); }
/* data-sheet motif */
.sheet { background: var(--rbt-card); border: 1px solid var(--rbt-rule); border-radius: var(--r-inner); padding: 10px 12px 8px; }
.sheet svg { width: 100%; height: auto; }
.sheet text { font-family: var(--text); fill: var(--rbt-ink-2); }
.sheet .h { font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.sheet .v { fill: var(--rbt-ink); font-size: 12px; font-weight: 700; }
.sheet .v.minus { fill: var(--rbt-minus); }
.sheet .grid { stroke: var(--rbt-rule); stroke-width: 1; }
.sheet-cap { font-size: 12.5px; color: var(--rbt-ink-2); margin: 6px 0 0; }

.ce-tile { grid-column: span 7; display: flex; flex-direction: column; gap: 16px; }
.ce-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ce-tile h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.06; letter-spacing: -.02em; margin: 8px 0 0; }
.ace-badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font: 700 12.5px/1.2 var(--text); background: var(--navy-800); color: #fff; }
.ace-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 0 3px rgba(242, 192, 99, .25); }
:root[data-theme="dark"] .ace-badge, :root[data-theme="dark"] .sec .sec-mark .n, :root[data-theme="dark"] .initials { background: #16335F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ace-badge, :root:not([data-theme="light"]) .sec .sec-mark .n, :root:not([data-theme="light"]) .initials { background: #16335F; } }
.ce-lede { font-size: 17.5px; line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 36em; }
.ce-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; align-items: end; }
html:not(.ce-live) .ce-split { grid-template-columns: 1fr; flex: 1; align-items: center; justify-items: center; }
html:not(.ce-live) .ce-fig { width: 100%; max-width: 520px; }
.ce-types { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ce-types li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.ce-types li b { font: 700 19px/1.2 var(--display); }
.ce-types li span { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.ce-types li.total b, .ce-types li.total span { color: var(--accent-text); }
.ce-fig svg { width: 100%; height: auto; }
.ce-fig figcaption { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 0; text-align: center; }
.ce-fig figcaption b { font-family: var(--display); color: var(--ink); margin-right: 6px; }
.ce-new { list-style: none; margin: 0; padding: 0; }
.ce-new li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; min-height: 44px; padding: 9px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.ce-new li a:hover .t { text-decoration: underline; text-decoration-color: var(--accent-mark); text-underline-offset: 4px; }
.ce-new .t { font: 600 16.5px/1.35 var(--display); }
.ce-new .u { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.ce-price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); }
.ce-price p { margin: 0; font-size: 15px; color: var(--ink-2); }
.ce-price p b { font: 800 28px/1 var(--display); color: var(--ink); margin-right: 6px; }
.label-sm { font: 700 13px/1.3 var(--display); color: var(--ink-3); margin: 0 0 6px; }

/* ---------- sections ---------- */
section.sec { padding: clamp(56px, 7.5vw, 104px) 0 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 36px); }
.sec-mark { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 12.5px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2); }
.sec-mark .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--navy-800); color: var(--gold-300); letter-spacing: 0; font-size: 14px; }
.sec-mark::after { content: ""; width: 40px; height: 2px; border-radius: 2px; background: var(--accent-mark); }
.sec-head h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -.024em; margin: 0; text-wrap: balance; }
.sec-head p { font-size: 18.5px; line-height: 1.55; color: var(--ink-2); margin: 12px 0 0; max-width: 38em; }

/* ---------- catalog storefront ---------- */
.free-note { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--rule); border-left: 5px solid var(--accent-mark); border-radius: var(--r-inner); padding: 14px 18px; margin-bottom: var(--gap); box-shadow: var(--sh-1); }
.free-note p { margin: 0; font: 600 19px/1.3 var(--display); }
.bundles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-bottom: 40px; }
.bundle { display: flex; flex-direction: column; gap: 10px; }
.bundle h3 { font-size: 22px; line-height: 1.15; margin: 0; }
.bundle p { margin: 0; color: var(--ink-2); font-size: 15px; }
.bundle .bprice { font: 800 36px/1 var(--display); letter-spacing: -.02em; margin-top: auto; padding-top: 14px; font-variant-numeric: lining-nums; }
.bundle .bprice small { font: 400 14px/1 var(--text); color: var(--ink-2); letter-spacing: 0; }
.bundle.feat { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.bundle.feat .kicker { color: var(--gold-300); }
.bundle.feat p, .bundle.feat .bprice small { color: var(--band-ink-2); }
.bundle.feat .bprice { color: var(--gold-300); }
.bundle.feat .btn-buy { background: var(--gold-500); color: var(--navy-950); }
.bundle.feat .btn-buy:hover { background: #E89C12; }
:root[data-theme="dark"] .bundle.feat { background: #0F2E5E; border-color: #1E4580; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bundle.feat { background: #0F2E5E; border-color: #1E4580; } }
.bundle.rbt { background: var(--rbt-bg); border-color: var(--rbt-rule); color: var(--rbt-ink); }
.bundle.rbt .kicker { color: var(--rbt-minus); }
.bundle .fine { font-size: 12.5px; line-height: 1.5; color: var(--rbt-ink-2); }
.bundle.rbt .bprice small { color: var(--rbt-ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--rule-2); background: var(--surface); color: var(--ink); font: 700 14.5px/1 var(--text); cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.chip[aria-pressed="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
:root[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--gold-300); color: var(--navy-950); border-color: var(--gold-300); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-pressed="true"] { background: var(--gold-300); color: var(--navy-950); border-color: var(--gold-300); } }
.chip:hover { border-color: var(--ink); }
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.course-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-inner); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--sh-1); }
.course-card[hidden] { display: none; }
.cc-kind { font: 700 13px/1.3 var(--display); color: var(--accent-text); margin: 0; display: flex; align-items: center; gap: 8px; }
.cc-kind::before { content: ""; width: 12px; height: 10px; background: currentColor; -webkit-mask: var(--stair) center / contain no-repeat; mask: var(--stair) center / contain no-repeat; }
.cc-title { font-weight: 700; font-size: 19.5px; line-height: 1.22; letter-spacing: -.008em; margin: 0; }
.cc-sub { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-meta { margin: 0; color: var(--ink-3); font-size: 13.5px; }
.cc-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-price { font: 800 24px/1 var(--display); letter-spacing: -.01em; }
.cc-incl { font-size: 14px; color: var(--ink-2); }
.cc-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14.5px; text-underline-offset: 4px; text-decoration-color: var(--accent-mark); }
.btn-buy { min-height: 44px; padding: 0 18px; font-size: 14.5px; background: var(--primary); color: var(--primary-ink); }
.btn-buy:hover { background: var(--primary-hover); }
.course-card .btn-buy { background: transparent; color: var(--ink); border-color: var(--rule-2); box-shadow: none; }
.course-card .btn-buy:hover { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.buy-note { font-size: 13px; color: var(--accent-text); margin: 0; font-weight: 700; }
.bundle.feat .buy-note { color: var(--gold-300); }
.show-all { display: none; margin: 18px auto 0; }
.store-fine { font-size: 13.5px; color: var(--ink-3); margin: 20px 0 0; max-width: 60em; }
:root { --stair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M0 10V7h4V4h4V0h4v10z'/%3E%3C/svg%3E"); }

/* ---------- course page teaser ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.detail-main { padding: clamp(22px, 2.8vw, 40px); }
.detail-main h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 8px; }
.detail-main .sub { font-size: 18px; color: var(--ink-2); margin: 0 0 20px; }
.detail-main h4 { font-size: 14px; color: var(--ink-3); margin: 0 0 8px; }
.objectives { margin: 0; padding: 0; list-style: none; counter-reset: obj; border-top: 1px solid var(--rule); }
.objectives li { counter-increment: obj; display: grid; grid-template-columns: 38px minmax(0, 1fr); padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); }
.objectives li::before { content: counter(obj); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--bg-2); color: var(--accent-text); font: 800 13px/1 var(--display); margin-top: 1px; }
.detail-side { background: var(--bg-2); border-left: 1px solid var(--rule); padding: clamp(22px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.detail-side dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); border-top: 2px solid var(--ink); }
.detail-side dt, .detail-side dd { padding: 10px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.detail-side dt { font-size: 13.5px; font-weight: 700; color: var(--ink-3); padding-right: 18px; padding-top: 12px; }
.detail-side dd { font-size: 15.5px; }
.detail-side .dprice { font: 800 38px/1 var(--display); letter-spacing: -.02em; }
.detail-side .dprice small { font: 400 14px/1 var(--text); color: var(--ink-2); letter-spacing: 0; }
.detail-side .disclaimer-plain { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); border-left: 3px solid var(--accent-mark); padding-left: 12px; margin: 0; }

/* ---------- teams shelf (second navy band) ---------- */
.teams-band { margin-top: clamp(56px, 7.5vw, 104px); padding: clamp(48px, 6vw, 88px) 0; overflow: hidden; }
.shelf-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.teams-band .sec-mark { color: var(--band-ink-2); }
.teams-band .sec-mark .n { background: var(--gold-500); color: var(--navy-950); }
.teams-band h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -.024em; margin: 0 0 16px; text-wrap: balance; color: #fff; }
.teams-band .lede-2 { font-size: 18.5px; line-height: 1.55; color: var(--band-ink-2); margin: 0 0 22px; }
.caps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--panel-rule); }
.caps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--panel-rule); }
.caps li::before { content: ""; width: 16px; height: 13px; margin-top: 5px; background: var(--gold-500); -webkit-mask: var(--stair) center / contain no-repeat; mask: var(--stair) center / contain no-repeat; }
.caps b { display: block; font: 700 16.5px/1.3 var(--display); color: #fff; }
.caps p { margin: 3px 0 0; color: var(--band-ink-2); font-size: 15px; }
.shelf-right { display: flex; flex-direction: column; gap: var(--gap); }
.mb-fig { background: var(--panel); border: 1px solid var(--panel-rule); border-radius: var(--r-tile); padding: 16px 18px 14px; margin: 0; }
.mb-fig svg { width: 100%; height: auto; }
.mb-fig figcaption { font-size: 14.5px; line-height: 1.5; color: var(--band-ink-2); margin: 8px 0 0; }
.mb-fig figcaption b { font-family: var(--display); color: #fff; margin-right: 6px; }
#fig3 text { font-family: var(--text); fill: var(--band-ink-3); font-variant-numeric: tabular-nums; }
#fig3 .axis, #fig3 .tick { stroke: var(--band-ink-2); stroke-width: 1.2; fill: none; }
#fig3 .phase { stroke: var(--gold-500); stroke-width: 1.75; stroke-dasharray: 6 5; fill: none; }
#fig3 .series { stroke: #fff; stroke-width: 1.6; fill: none; stroke-linejoin: round; }
#fig3 .pt { fill: #fff; }
#fig3 .pt-open { fill: var(--panel); stroke: #fff; stroke-width: 1.6; }
#fig3 .cond { font-family: var(--display); font-weight: 600; font-style: italic; font-size: 16px; fill: #fff; }
#fig3 .cond-accent { fill: var(--band-gold); }
#fig3 .tier-name { font-family: var(--display); font-weight: 700; font-size: 14.5px; fill: #fff; }

.rep-card { background: var(--surface); color: var(--ink); border-radius: var(--r-tile); padding: clamp(20px, 2.4vw, 32px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border-top: 5px solid var(--gold-500); }
.rep-card :focus-visible { outline-color: var(--focus); }
.rep-card h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; margin: 0 0 8px; }
.rep-card .sub { color: var(--ink-2); font-size: 15.5px; margin: 0 0 16px; }
.mailto { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 0; }
.mailto a { display: inline-block; padding: 12px 0; font-weight: 700; text-decoration-color: var(--accent-mark); text-underline-offset: 4px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.seg-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg-field legend, .field label { font: 700 13.5px/1.3 var(--text); color: var(--ink-2); }
.seg-field legend { padding: 0; margin-bottom: 6px; }
.seg-radio { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.seg-radio label { position: relative; }
.seg-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-radio span { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1.5px solid var(--rule-2); border-radius: var(--r-btn); background: var(--surface); font: 700 15px/1 var(--text); font-variant-numeric: lining-nums; transition: background-color .18s, color .18s, border-color .18s; }
.seg-radio input:checked + span { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.seg-radio input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { font: 400 16px/1.4 var(--text); color: var(--ink); background: var(--bg); border: 1.5px solid var(--rule-2); border-radius: var(--r-btn); padding: 11px 12px; min-height: 48px; width: 100%; transition: border-color .18s, box-shadow .18s; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 28%, transparent); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
[data-rep-status] { font-size: 14.5px; color: var(--ink-2); font-weight: 700; }
[data-rep-status][data-kind="error"] { color: #B42318; }
:root[data-theme="dark"] [data-rep-status][data-kind="error"] { color: #FDA29B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [data-rep-status][data-kind="error"] { color: #FDA29B; } }

/* ---------- people + method ---------- */
.pm .tile h3.th { font-size: 14px; color: var(--accent-text); margin: 0 0 16px; }
.people { grid-column: span 5; }
.method-tile { grid-column: span 7; }
.person { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.initials { width: 60px; height: 60px; border-radius: 16px; background: var(--navy-800); color: var(--gold-300); display: grid; place-items: center; font: 800 20px/1 var(--display); letter-spacing: .04em; }
.person h4 { font-size: 20px; margin: 0; line-height: 1.2; }
.person p { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; }
.method { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.method li { background: var(--bg-2); border-radius: var(--r-inner); padding: 16px; border-top: 3px solid var(--navy-800); }
.method li:nth-child(2) { border-top-color: var(--navy-700); }
.method li:nth-child(3) { border-top-color: var(--gold-500); }
/* the three steps rise like the logo's staircase */
@media (min-width: 961px) { .method li:nth-child(1) { margin-top: 48px; } .method li:nth-child(2) { margin-top: 24px; } }
.method .step { font: 800 30px/1 var(--display); color: var(--accent-text); }
.method h4 { font-size: 18px; margin: 10px 0 6px; }
.method p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 62px; padding: 12px 0; font: 700 clamp(18px, 1.5vw, 21px)/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--bg-2) no-repeat center / 14px; background-image: linear-gradient(var(--accent-text), var(--accent-text)), linear-gradient(var(--accent-text), var(--accent-text)); background-size: 14px 2px, 2px 14px; transition: rotate .25s var(--ease-out), background-color .18s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover::after { background-color: var(--navy-100); }
:root[data-theme="dark"] .faq summary:hover::after { background-color: var(--rule-2); }
.faq .ans { padding: 0 0 20px; max-width: 46em; color: var(--ink-2); font-size: 16px; }
.faq .ans p { margin: 0 0 8px; }
.faq .ans a { font-weight: 700; text-decoration-color: var(--accent-mark); text-underline-offset: 3px; }

/* ---------- footer (third navy band) ---------- */
footer.band { margin-top: clamp(56px, 7.5vw, 104px); padding: clamp(48px, 6vw, 80px) 0 56px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-logo { width: 132px; background: #FEFEFF; border-radius: 16px; padding: 10px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.7); }
.foot-logo img { width: 100%; height: auto; }
.foot-grid h4 { font-size: 14px; color: var(--band-gold); margin: 0 0 8px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-size: 15px; color: var(--band-ink-2); }
.foot-grid li a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 4px; }
.foot-brand p { color: var(--band-ink-2); max-width: 24em; margin: 16px 0 0; font-size: 15.5px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--panel-rule); font-size: 13.5px; color: var(--band-ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bundles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ce-split { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero-tile, .fig-tile, .rbt-tile, .ce-tile, .people, .method-tile { grid-column: 1 / -1; }
  .shelf-top, .detail { grid-template-columns: 1fr; }
  .detail-side { border-left: 0; border-top: 1px solid var(--rule); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .nav .hide-m { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 4px; }
  .hero-tile { gap: 18px; padding: 6px 0 0; }
  .hero h1 { margin-top: 12px; font-size: clamp(32px, 9.6vw, 42px); }
  .lede { margin-top: 12px; font-size: 16.5px; }
  .hero .aud { display: none; }
  #fig1 text { font-size: 17px; }
  #fig1 .labels text[transform] { font-size: 15px; }
  #fig1 .cond { font-size: 22px; }
  #fig1 .flag-label { display: none; }
  #fig1 .crit-g text { font-size: 16px; }
  .hero .cta-row { flex-wrap: nowrap; gap: 8px; }
  .hero .cta-row .btn { padding: 0 12px; font-size: 15px; flex: 1 1 auto; }
  .hero .cta-row .btn svg { display: none; }
  .fig-tile { padding: 12px 12px 10px; }
  .fig-tile figcaption { font-size: 13.5px; }
  .ce-new li a { grid-template-columns: 1fr; gap: 2px; }
  .ace-badge { font-size: 11.5px; }
  .courses, .bundles, .grid2, .method { grid-template-columns: 1fr; }
  .courses.capped .course-card:nth-child(n+7) { display: none; }
  .courses.capped + .show-all { display: flex; }
  .rbt-facts { grid-template-columns: 1fr 1fr; }
  .rbt-facts div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--rbt-rule); }
  .seg-radio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav .hide-s { display: none; }
  .lockup .w1 { font-size: 17px; }
  .brand-chip { width: 42px; height: 42px; }
  .brand-chip img { width: 34px; height: 34px; }
  .brand .wordmark { height: 32px; }
  .theme-btn [data-theme-label] { display: none; }
  .masthead .wrap { min-height: 62px; }
  .nav .signin { padding: 0 14px; margin-left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
