/* Every course product page's sheet, FM's page (fm.html) being the
   standard: each page's own sheet adds only what its content needs, built
   from the pieces here. Loaded after page.css, which supplies
   the shared chrome: the plain page, its tokens (--ink, --paper, --edge,
   the lane -hi steps, --art-*), the header, section title, reveals, footer
   and toast. This file adds the product page and copies in the few rules it
   borrows from hero.css (the Today card, the video frame, the timer pill,
   the collage card) and free.css (the question list), so neither has to be
   loaded or edited. One plain page, no sheets: organisation comes from
   type, spacing and the content's own shapes; colour is the lanes', one per
   step (learn blue, practice violet, sample-exam orange, exam-day green).
   Every colour is a Clear token or a page token defined once per theme. */

/* ── Page tokens ───────────────────────────────────────────────────
   Copied from hero.css (Today card, video, timer, CTA), plus the two lane
   steps page.css does not define: flashcards and the exam-day green as
   large type and fills (3:1 or more on the page). */
:root, .theme-light {
  --card-shadow: 0 1px 1px rgb(22 29 40 / 0.05), 0 6px 12px -4px rgb(22 29 40 / 0.07), 0 24px 48px -16px rgb(22 29 40 / 0.18), 0 56px 100px -44px rgb(22 29 40 / 0.22);
  --cta-shadow: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 1px 2px rgb(22 29 40 / 0.16), 0 8px 18px -8px rgb(22 29 40 / 0.32);
  --cta-shadow-hover: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 2px 4px rgb(22 29 40 / 0.18), 0 12px 24px -10px rgb(22 29 40 / 0.36);
  --cta-hover: #175f35;
  --chrome-bg: linear-gradient(180deg, #fbfcfd, #f5f7fa);
  --chrome-edge: #e3e8ef;
  --rule: #e8ecf2;
  --cell-today: #e6ecf2;
  --hl-bg: #e9eef4; --hl-edge: #c3cdd9;
  --next-bg: #ffffff; --next-edge: #b8c3d1;
  --check-edge: #9aa6b5;
  --vid-bg: #f1f4f8; --vid-pill: #ffffff; --vid-play-fg: #ffffff;
  --timer-bg: #161d28; --timer-fg: #ffffff; --timer-edge: transparent;
  --flash-hi: #c0407a;         /* 4.6:1 on the page */
  --brand-hi: var(--primary-text);
  --meter-track: #e4e9ef;
  --bubble-q: #e5eaf0;         /* the student's bubble (page.css --ask-q) */
}
.theme-dark {
  --card-shadow: 0 1px 1px rgb(0 0 0 / 0.3), 0 6px 12px -4px rgb(0 0 0 / 0.38), 0 24px 48px -16px rgb(0 0 0 / 0.55), 0 56px 100px -44px rgb(0 0 0 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.05);
  --cta-shadow: 0 1px 0 rgb(255 255 255 / 0.16) inset, 0 2px 4px rgb(0 0 0 / 0.4), 0 10px 24px -10px rgb(0 0 0 / 0.6);
  --cta-shadow-hover: 0 1px 0 rgb(255 255 255 / 0.2) inset, 0 3px 6px rgb(0 0 0 / 0.45), 0 14px 30px -10px rgb(0 0 0 / 0.65);
  --cta-hover: #1c8a4d;
  --chrome-bg: linear-gradient(180deg, #2d3036, #292c31);
  --chrome-edge: #363a41;
  --rule: #33373d;
  --cell-today: #363a41;
  --hl-bg: #33373d; --hl-edge: #4b5159;
  --next-bg: #1f2227; --next-edge: #5c636d;
  --check-edge: var(--border-strong);
  --vid-bg: #1f2227; --vid-pill: var(--surface-raised); --vid-play-fg: var(--on-accent-fill);
  --timer-bg: #0e1115; --timer-fg: var(--card-foreground); --timer-edge: rgb(255 255 255 / 0.1);
  --flash-hi: var(--flashcards);
  --brand-hi: var(--primary-text);
  --meter-track: #2f3338;
  --bubble-q: #31353b;
}

/* Maths: hidden until MathJax has typeset it (page.js adds .tex-ready). */
.js:not(.tex-ready) .tex { visibility: hidden; }

.prod-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* One sub line under every section title. */
.sec-sub { margin-top: 16px; max-width: 34em; font-size: 19px; line-height: 1.5; color: var(--muted-foreground); text-wrap: pretty; }

/* The page's text link and its button (hero.css's .hero-free / .hero-cta). */
.prod-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--primary-text); text-decoration: none; text-underline-offset: 4px; }
.prod-link:hover { text-decoration: underline; }
.prod-link:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
.prod-cta { min-height: 54px; padding: 12px 30px; font-size: 17px; border-radius: 10px; box-shadow: var(--cta-shadow); transition: transform 200ms var(--ease-signature), box-shadow 200ms ease, background-color 150ms ease; }
.prod-cta:hover { transform: translateY(-1px); background: var(--cta-hover) !important; box-shadow: var(--cta-shadow-hover); }
.prod-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.prod-actions--center { justify-content: center; }

/* ── Borrowed pieces (hero.css) ────────────────────────────────────
   The collage card, its lane kicker, the lesson video frame, the timer. */
.o-card { position: relative; background: var(--paper); border: 1px solid var(--edge); border-radius: var(--radius-xl); color: var(--card-foreground); box-shadow: var(--lift-1); }
.o-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tone); white-space: nowrap; }
.o-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.vid { position: relative; height: 180px; border-radius: 10px; overflow: hidden; background: var(--vid-bg); }
.chalk { position: absolute; left: 22px; top: 24px; color: var(--ink); font-size: 27px; }
.chalk__note { display: block; margin-top: 8px; font-family: "Caveat", cursive; font-size: 21px; font-weight: 600; color: var(--learn); transform: rotate(-2deg); transform-origin: left; }
.play { position: absolute; right: 22px; top: 50%; width: 50px; height: 50px; margin-top: -30px; border-radius: 50%; background: var(--learn-hi); }
.play::after { content: ""; position: absolute; left: 20px; top: 16px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--vid-play-fg); }
.vid__bar { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 4px; border-radius: 2px; background: var(--hair); }
.vid__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 2px; background: var(--learn-hi); }
.vid__bar i::after { content: ""; position: absolute; right: -5px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--learn-hi); }
.vid__time { position: absolute; left: 14px; bottom: 22px; font-size: 12px; font-weight: 500; color: var(--muted-foreground); }
.exam__timer { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--timer-bg); box-shadow: inset 0 0 0 1px var(--timer-edge); color: var(--timer-fg); font-family: var(--font-mono); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.exam__timer svg { width: 14px; height: 14px; fill: none; stroke: #f29c5d; stroke-width: 1.6; stroke-linecap: round; }

/* ── The Today card (hero.css's finished card, static) ─────────────
   The card is its own size container: narrower than 460 px (a phone, the
   exam-day collage) it takes hero.css's phone layout, so one card serves
   the hero at every width and the exam-day step at its collage size. */
.today { position: relative; container-type: inline-size; background: var(--paper); border-radius: var(--radius-2xl); border: 1px solid var(--edge); box-shadow: var(--card-shadow); color: var(--card-foreground); }
.today__chrome { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 20px; border-bottom: 1px solid var(--chrome-edge); background: var(--chrome-bg); border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; }
.today__chrome .lockup__mark { width: 18px; }
.today__chrome .t-wordmark { font-size: 15px; }
.today__total { font-size: 13px; color: var(--muted-foreground); white-space: nowrap; }
.today__total b { font-weight: 600; color: var(--card-foreground); }
.today__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px 16px; }
.today__title { font-size: 32px; line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.today__date { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--muted-foreground); white-space: nowrap; }
.today__date b { font-weight: 600; color: var(--card-foreground); }
.today .week { display: flex; gap: 6px; }
.today .day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 64px; border-radius: 12px; border: 1px solid var(--border); background: var(--paper); }
.today .day__dow { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); }
.today .day__num { margin-top: 1px; font-size: 19px; line-height: 23px; font-weight: 600; letter-spacing: -0.01em; color: var(--card-foreground); }
.today .day__marks { display: flex; gap: 3px; align-items: center; height: 12px; margin-top: 2px; }
.today .dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--tone); }
.today .day__check { width: 14px; height: 14px; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.today .day.is-today { border: 1.5px solid var(--ink); background: var(--cell-today); }
/* The real exam day, as Clear draws it: the exams orange drawn stronger
   (a 2 px ring, a 15% fill) with its flag. */
.today .day.is-exam { border: 2px solid var(--exams-hi); background: color-mix(in srgb, var(--exams-hi) 15%, var(--paper)); }
.today .day.is-exam .day__dow { color: var(--exams); }
.today .day__flag { width: 13px; height: 13px; fill: none; stroke: var(--exams-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.today .day__flag .fill { fill: var(--exams-hi); }

.tasks { position: relative; --row-h: 54px; --row-gap: 4px; padding: 12px 12px 14px; border-top: 1px solid var(--rule); }
.tasks__list { position: relative; }
.today__hl { position: absolute; left: 12px; right: 12px; top: calc(12px + var(--row-h) + var(--row-gap)); height: var(--row-h); border-radius: 12px; background: var(--hl-bg); border: 1px solid var(--hl-edge); pointer-events: none; }
.today__next { position: absolute; right: 81px; top: 50%; margin-top: -12px; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--card-foreground); background: var(--next-bg); border: 1px solid var(--next-edge); }
.task { position: relative; display: grid; grid-template-columns: 20px 10px minmax(0, 1fr) 56px; align-items: center; gap: 12px; height: var(--row-h); padding: 0 14px 0 12px; border-radius: 12px; }
.task + .task { margin-top: var(--row-gap); }
.task__check { position: relative; width: 20px; height: 20px; box-sizing: border-box; border-radius: 6px; border: 1.5px solid var(--check-edge); background: var(--paper); }
.task__check svg { position: absolute; inset: 1px; width: 15px; height: 15px; fill: none; stroke: var(--on-accent-fill); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.task.is-done .task__check { border-color: var(--success); background: var(--success); }
.task.is-done .task__check svg { visibility: visible; }
.task__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 16%, transparent); }
.task__body { min-width: 0; }
.task__title { display: block; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--card-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task__meta { display: none; }
.task__min { text-align: right; font-size: 15px; font-weight: 500; color: var(--card-foreground); white-space: nowrap; }
.task.is-done .task__title, .task.is-done .task__min { color: var(--muted-foreground); }
.task.is-next .task__title { font-weight: 600; }

/* Narrow card: hero.css's phone layout. Title over the strip, the strip
   spread across the card, each row's name with its meta line under it. */
@container (max-width: 459px) {
  .today__chrome { height: 40px; padding: 0 14px; }
  .today__head { flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 14px 14px; }
  .today__title { font-size: 25px; }
  .today__date { margin-top: 4px; font-size: 13.5px; }
  .today .week { justify-content: space-between; gap: 8px; }
  .today .day { flex: 1; width: auto; height: 60px; }
  .today .day__dow { font-size: 10.5px; line-height: 13px; }
  .today .day__num { margin-top: 2px; font-size: 18px; line-height: 22px; }
  .today .day__marks { margin-top: 4px; height: 8px; }
  .today .dot { width: 5px; height: 5px; }
  .tasks { --row-h: 54px; --row-gap: 2px; padding: 6px 8px 8px; }
  .today__hl { left: 8px; right: 8px; top: calc(6px + var(--row-h) + var(--row-gap)); }
  .today__next { display: none; }
  .task { grid-template-columns: 20px 8px minmax(0, 1fr); gap: 10px; padding: 0 12px 0 10px; }
  .task__dot { width: 8px; height: 8px; }
  .task__topic, .task__min { display: none; }
  .task__title { font-weight: 600; line-height: 19px; }
  .task__meta { display: block; margin-top: 1px; font-size: 13px; line-height: 17px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ── 1 · Hero ──────────────────────────────────────────────────────
   Copy left, P's Today card right, straight on the page (no stage), then
   the four counts in their lane colours. */
.prod-hero { padding-top: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 14px; line-height: 20px; color: var(--muted-foreground); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: ""; width: 14px; height: 14px; background: var(--border-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 3.5 4.5 4.5L6 12.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 3.5 4.5 4.5L6 12.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
.crumbs a { position: relative; display: inline-flex; align-items: center; min-height: 32px; color: var(--muted-foreground); text-decoration: none; text-underline-offset: 3px; }
.crumbs a::after { content: ""; position: absolute; inset: -6px -4px; } /* a 44 px tap target, same 32 px look */
.crumbs a:hover { color: var(--card-foreground); text-decoration: underline; }
.crumbs a:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
.crumbs [aria-current] { color: var(--card-foreground); font-weight: 600; }

.prod-hero__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: center; column-gap: 64px; margin-top: 40px; }

/* The claim, pinned to the Today card's bottom-left corner in the right
   column: a bold "90%+ pass" over its condition, jumping to the proof. */
.proof { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; margin: -16px 0 0 -36px; padding: 14px 24px 14px 14px; border-radius: 20px; border: 1px solid var(--art-edge); background: var(--paper); box-shadow: var(--art-lift-front); color: var(--card-foreground); text-decoration: none; transition: border-color 150ms ease; }
.proof__mark { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--success); }
.proof__mark svg { width: 21px; height: 21px; fill: none; stroke: var(--on-accent-fill); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.proof__text { display: grid; row-gap: 2px; }
.proof__stat { font-size: 30px; line-height: 34px; font-weight: 750; letter-spacing: -0.03em; color: var(--primary-text); white-space: nowrap; }
.proof__cond { font-size: 15px; line-height: 20px; color: var(--muted-foreground); white-space: nowrap; }
.proof__go { display: inline-block; margin-left: 2px; font-weight: 650; color: var(--primary-text); transition: transform 220ms var(--ease-signature); }
@media (hover: hover) {
  .proof:hover { border-color: var(--border-strong); }
  .proof:hover .proof__go { transform: translateX(3px); }
}
.proof:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--page), 0 0 0 4px var(--ring); }

.prod-hero__title { font-size: clamp(52px, 6vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
/* The exam's code leads; its full name sits under it on one line. */
.prod-hero__name { display: block; margin-top: 10px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 650; letter-spacing: -0.025em; color: var(--ink); white-space: nowrap; }
/* A name too long for one line (most paid courses'): it wraps, balanced. */
.prod-hero__name--wrap { white-space: normal; text-wrap: balance; max-width: 18em; }
/* A title longer than an exam code ("VEE Economics", "Technical Skills"):
   one step smaller, so it holds one line in the copy column. */
.prod-hero__title--long { font-size: clamp(48px, 4.9vw, 66px); }
.prod-hero__lede { margin-top: 20px; max-width: 30em; font-size: 20px; line-height: 1.5; color: var(--muted-foreground); text-wrap: pretty; }
/* "Clear" in running text links to the Clear page (a "coming soon" page
   for now). Same colour and weight as the sentence, just underlined, so it
   reads as tappable without standing out. */
.clear-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.clear-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.clear-link:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 3px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 28px 0 24px; }
.price strong { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.035em; color: var(--primary-text); }
.price span { font-size: 16px; line-height: 22px; color: var(--muted-foreground); }
/* A paid course's terms under its price (the student price, the free
   extension, …): checked lines pulled up against the price. */
.price.price--terms { margin-bottom: 12px; }
.prod-terms { display: grid; row-gap: 6px; margin-bottom: 26px; }
.prod-terms li { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 22px; color: var(--muted-foreground); }
.prod-terms b { font-weight: 650; color: var(--ink); }
.prod-terms svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* The instructor's photo framed the way course sites frame an instructor:
   in a rounded 4:5 panel on the card surface, the headshot filling it.
   Every product page's instructor uses this panel (one, or two side by
   side in .inst__duo). */
.jw-panel { position: relative; flex-shrink: 0; overflow: hidden; background: linear-gradient(170deg, var(--paper), color-mix(in srgb, var(--muted) 70%, var(--paper))); box-shadow: inset 0 0 0 1px var(--edge); }
.jw-panel { width: 320px; aspect-ratio: 4 / 5; border-radius: var(--radius-2xl); box-shadow: inset 0 0 0 1px var(--edge), var(--lift-1); }
/* A headshot with its own background fills the panel, face in the upper
   third. */
.jw-panel.jw-photo img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: none; }
.teacher { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.teacher p { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
.teacher p span { display: block; margin-top: 1px; font-size: 14.5px; line-height: 20px; font-weight: 400; color: var(--muted-foreground); }

.prod-hero__card { min-width: 0; display: flex; flex-direction: column; align-items: flex-end; }
.prod-hero__card .today { width: 100%; max-width: 560px; margin-left: auto; }

/* The four counts: each in its lane's colour, the lanes of the path below. */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; margin-top: 88px; }
.nums li { min-width: 0; }
.nums strong { display: block; font-size: 52px; line-height: 1; font-weight: 700; letter-spacing: -0.045em; color: var(--tone-hi); white-space: nowrap; }
.nums span { display: block; margin-top: 10px; font-size: 17px; line-height: 1.4; color: var(--muted-foreground); }
/* Three counts (some courses have no sample exams). */
.nums.nums--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* A count that jumps to its own section (the flashcards). */
/* Every hero stat links to the section or step that explains it (Marty Broser, 2026-11-06). */
.nums__go { display: block; color: inherit; text-decoration: none; }
.nums__go:hover span { color: var(--ink); }

/* ── 2 · Four steps ────────────────────────────────────────────────
   Four columns on one line of dots. Each dot is its step's lane colour in
   the lane's small-text token, since it holds a numeral (white in light,
   ink in dark: 4.5:1 or more at the phone's 18 px), and a line runs from
   it into the next step's colour. Under it: the collage,
   the step's kicker (the lane's small-text token), its title (the key word
   in the lane's large-type step, as the home page's story rows) and its
   list, ticked in the lane. */
.steps { padding-top: var(--rhythm); }
.path { --dot: 48px; --gap: 28px; --step: 340ms; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 60px; }
/* Three steps (no sample exams): three columns on the one line. */
@media (min-width: 981px) { .path.path--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.leg { position: relative; min-width: 0; --d: calc(var(--i) * var(--step)); }
.leg__mark { position: relative; display: block; height: var(--dot); }
.leg__dot { position: relative; z-index: 1; display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--tone); color: var(--on-accent-fill); font-size: 20px; line-height: 1; font-weight: 700; }
.leg__dot svg { width: 22px; height: 22px; fill: currentColor; }
.leg__line { position: absolute; left: calc(var(--dot) + 10px); right: calc(10px - var(--gap)); top: calc(var(--dot) / 2 - 1.5px); height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--tone-hi), var(--next-hi)); transform-origin: 0 50%; }
.leg__body { margin-top: 26px; }
.leg__art { min-width: 0; }
.leg__title { margin-top: 28px; font-size: 27px; line-height: 1.1; font-weight: 700; letter-spacing: -0.032em; color: var(--ink); }
.leg__title .hue { color: var(--tone-hi); }
.leg__list { display: grid; row-gap: 9px; margin-top: 16px; }
.leg__list li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; color: var(--foreground); text-wrap: pretty; }
.leg__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: var(--tone-hi);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
@media (forced-colors: active) { .leg__list li::before { background: CanvasText; } }

/* The collages: a fixed 280 × 354 canvas (page.css's .art, positioned by
   --x / --y / --w), zoomed to its column by fm.js. Each is one main card
   and, for three of them, a tile tucked over the main card's empty paper
   (never over a line of text), as the home page's phone collages do. */
.prod-art { --cw: 280; --ch: 354; margin-inline: 0; }
/* Without JS nothing zooms the canvases: fixed steps that fit the four
   columns (fm.js measures the real column when it runs). */
@media (min-width: 981px) { html:not(.js) .prod-art { zoom: 0.9; } }
@media (min-width: 981px) and (max-width: 1100px) { html:not(.js) .prod-art { zoom: 0.76; } }
.art .today { box-shadow: var(--art-lift); border-color: var(--art-edge); transition: transform 450ms var(--ease-signature); }

/* Learn: the lesson's video, its formula sheet tucked under it. */
.prod-lesson { padding: 6px; border-radius: var(--radius-2xl); }
.prod-vid { height: 140px; }
.prod-vid__tag { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--vid-pill); box-shadow: inset 0 0 0 1px var(--hair); white-space: nowrap; }
.prod-vid .chalk { left: 14px; top: 38px; font-size: 19px; }
.prod-vid .chalk__note { margin-top: 6px; font-size: 18px; }
.prod-vid .play { right: 12px; width: 38px; height: 38px; margin-top: -16px; }
.prod-vid .play::after { left: 15px; top: 12px; border-width: 7px 0 7px 11px; }
.prod-vid .vid__bar { left: 10px; right: 10px; bottom: 10px; }
.prod-vid .vid__time { left: 12px; bottom: 21px; font-size: 11.5px; }
.prod-sheet { padding: 14px 16px 4px; border-radius: var(--radius-md); }
.prod-sheet__head { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-bottom: 4px; }
.prod-sheet__sub { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.prod-sheet__row { padding: 7px 0; font-size: 14.5px; color: var(--ink); border-top: 1px solid var(--hair-soft); }

/* Practice: the problem as Clear draws it, the right answer ticked. */
.prod-prob { padding: 14px 14px 14px; border-radius: var(--radius-2xl); }
.prod-prob__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.prod-prob__stem { margin: 10px 0 12px; font-family: var(--font-reading); font-size: 13.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.prod-prob__stem:has(+ .prod-prob__ask) { margin-bottom: 6px; }
.prod-prob__ask { margin-top: 6px; }
.prod-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.prod-choices li { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 10px; border-radius: var(--radius-lg); border: 1px solid var(--hair); background: var(--paper); color: var(--ink); }
.prod-choices__v { font-family: var(--font-reading); font-size: 15px; font-variant-numeric: lining-nums; }
.prod-choices b { font-family: var(--font-sans); font-size: 11.5px; font-weight: 650; color: var(--muted-foreground); }
.prod-choices li.is-correct { border-color: color-mix(in srgb, var(--success) 60%, transparent); background: color-mix(in srgb, var(--success) 10%, var(--paper)); }
.prod-choices li.is-correct b { color: var(--success); }
.prod-choices svg { width: 15px; height: 15px; margin-left: auto; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Sample exams: the exam waiting to start, its 30 questions. */
.prod-exam { padding: 14px 14px 16px; border-radius: var(--radius-2xl); }
.prod-exam__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prod-exam__title { margin-top: 14px; font-size: 21px; line-height: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.prod-exam__meta { margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--muted-foreground); }
.prod-exam__grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin-top: 14px; }
.prod-exam__grid i { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--exams-hi) 45%, transparent); font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--muted-foreground); }
.prod-exam__grid i.is-cur { border: 2px solid var(--ink); color: var(--ink); }

/* The score tiles: Clear's readiness tiles (eyebrow, the score in the
   lane's colour over its scale, the bar with its target mark, two lines). */
.prod-tile { display: flex; flex-direction: column; padding: 11px 13px 11px; border-radius: var(--radius-xl); }
.prod-tile__label { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.prod-tile__val { display: flex; align-items: baseline; gap: 4px; margin-top: 5px; }
.prod-tile__val b { font-size: 24px; line-height: 1; font-weight: 600; letter-spacing: -0.025em; color: var(--tone); }
.prod-tile__val small { font-size: 12.5px; color: var(--muted-foreground); }
.prod-tile__bar { position: relative; display: block; height: 6px; margin: 9px 0 7px; border-radius: 3px; background: color-mix(in srgb, var(--tone-hi) 16%, var(--paper)); }
.prod-tile__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--tone-hi); }
.prod-tile__bar s { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink); }
.prod-tile__meta { font-size: 11.5px; line-height: 15px; color: var(--muted-foreground); }

/* Exam day: the Today card three days out. The next row carries Today's
   highlight; the countdown is the exams orange. */
.today--exam .today__total b { color: var(--exams); }
.today--exam .task.is-next { background: var(--hl-bg); box-shadow: inset 0 0 0 1px var(--hl-edge); }

/* Motion: fm.js arms each step (never under reduced motion, never without
   JS, so the finished path is the default), then as it scrolls in the
   dot lands, its picture and words rise, and the line draws on into the
   next step's dot. On one row the four go in turn; down a phone, each as
   it arrives. */
.leg.is-armed .leg__dot { opacity: 0; transform: scale(0.5); }
.leg.is-armed .leg__line { transform: scaleX(0); }
.leg.is-armed .leg__body { opacity: 0; transform: translateY(18px); }
.leg.is-armed.is-in .leg__dot { opacity: 1; transform: none; transition: opacity 200ms ease var(--d), transform 520ms var(--ease-emphasis) var(--d); }
.leg.is-armed.is-in .leg__line { transform: none; transition: transform 380ms var(--ease-flip) calc(var(--d) + 160ms); }
.leg.is-armed.is-in .leg__body { opacity: 1; transform: none; transition: opacity 600ms var(--ease-signature) calc(var(--d) + 80ms), transform 700ms var(--ease-signature) calc(var(--d) + 80ms); }

/* ── 3 · Know when you're ready ────────────────────────────────────
   The one figure in brand green, its line, its source; the pass post as a
   Q&A post. Beside them the two scores as meters: AI Score a bar (0–100),
   PI Score ten cells (the SOA's 0–10 scale), each filled to its target with
   an ink mark there and the stretch past it tinted: the ready zone. */
.ready { padding-top: var(--rhythm); }
.ready__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); column-gap: 72px; align-items: center; }
.ready__stat { margin-top: 44px; font-size: clamp(88px, 9.6vw, 124px); line-height: 0.9; font-weight: 700; letter-spacing: -0.055em; color: var(--primary-text); }
.ready__cap { margin-top: 16px; max-width: 17em; font-size: 23px; line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
/* No pass figure (it is proven for P and FM only): the course's own aim,
   in the caption's style, stands under the sub line. */
.ready__cap.ready__cap--aim { margin-top: 32px; }
/* Or the copy's checked points, in place of the figure. */
.prod-checks { display: grid; row-gap: 16px; margin-top: 36px; max-width: 32em; }
.prod-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; line-height: 1.5; color: var(--muted-foreground); text-wrap: pretty; }
.prod-checks b { font-weight: 650; color: var(--ink); }
.prod-checks svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 5px; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ready__src { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: 15.5px; line-height: 22px; color: var(--muted-foreground); }
.ready__src svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* A Q&A post: who posted it and where, then the post in the reading face. */
/* A student's words as a pull quote, not another chat bubble: no card, a
   brand-green rule down the left, the quote first, who said it under it. */
.post { max-width: 540px; margin: 44px 0 0; padding: 2px 0 2px 22px; border-left: 3px solid var(--primary); }
.post__by { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--muted-foreground); }
.post__by b { font-weight: 650; color: var(--ink); }
.post__av { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bubble-q); font-size: 12px; font-weight: 650; letter-spacing: 0.02em; color: var(--ink); }
.post__av svg { width: 16px; height: 16px; fill: none; stroke: var(--muted-foreground); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.post__text { margin: 0; font-family: var(--font-reading); font-size: 20px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }

.ready__scores { display: grid; row-gap: 20px; }
.score { padding: 24px 26px 24px; border-radius: var(--radius-2xl); border: 1px solid var(--art-edge); background: var(--paper); box-shadow: var(--art-lift-front); }
.score__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.score__name { display: flex; align-items: center; gap: 11px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.022em; color: var(--ink); }
.score__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--tone-hi); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone-hi) 18%, transparent); }
.score__target { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--tone-hi) 45%, transparent); background: color-mix(in srgb, var(--tone-hi) 10%, var(--paper)); font-size: 14px; font-weight: 650; color: var(--card-foreground); white-space: nowrap; }
.meter { position: relative; height: 16px; margin: 26px 0 10px; }
.meter--bar { border-radius: 999px; background: var(--meter-track); }
.meter__zone { position: absolute; top: 0; right: 0; bottom: 0; border-radius: 0 999px 999px 0; background: color-mix(in srgb, var(--tone-hi) 20%, var(--paper)); }
.meter__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--tone-hi) 62%, var(--paper)), var(--tone-hi)); transform-origin: 0 50%; }
.meter--cells { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.meter--cells i { border-radius: 4px; background: color-mix(in srgb, var(--tone-hi) 20%, var(--paper)); }
.meter--cells i:first-child { border-radius: 999px 4px 4px 999px; }
.meter--cells i:nth-child(10) { border-radius: 4px 999px 999px 4px; }
.meter--cells i.is-on { background: var(--tone-hi); }
.meter__mark { position: absolute; top: -7px; bottom: -7px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--paper); }
.meter__scale { display: flex; justify-content: space-between; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted-foreground); }
.score__copy { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--muted-foreground); text-wrap: pretty; }
/* A card's facts as rows (exam rules, workstation programs, the final),
   each led by a small badge in a lane's AA text step (white on it in
   light, ink on it in dark). A list whose badges hold three characters
   widens them all (--badge-w). */
.prod-rows { --badge-w: 30px; display: grid; row-gap: 8px; margin-top: 22px; }
.prod-rows li { display: grid; grid-template-columns: var(--badge-w) minmax(0, 1fr); align-items: center; gap: 14px; min-height: 58px; padding: 10px 14px; border-radius: var(--radius-lg); border: 1px solid var(--edge); background: var(--page); font-size: 15px; line-height: 1.4; color: var(--muted-foreground); }
.prod-rows b { display: block; font-size: 16px; font-weight: 650; color: var(--ink); }
.prod-rows--wide { --badge-w: 40px; }
.prod-badge { display: grid; place-items: center; width: var(--badge-w, 30px); height: 30px; border-radius: 7px; background: var(--exams); font-size: 13px; font-weight: 700; color: var(--on-accent-fill); font-variant-numeric: lining-nums; white-space: nowrap; }
.prod-badge svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prod-badge--learn { background: var(--learn); } /* the AA step: --learn-hi under a white letter is 4.0:1 in light */
.prod-badge--practice { background: var(--practice); }
.prod-badge--xls { background: var(--success); }
/* A program that isn't there: struck through and muted (its words say so too). */
.prod-badge--off { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--border-strong); color: var(--muted-foreground); text-decoration: line-through; text-decoration-thickness: 2px; }

/* Meters fill once as their card scrolls in (fm.js arms them; finished by default). */
.score.is-armed .meter__fill { transform: scaleX(0); }
.score.is-armed .meter--cells i.is-on { background: var(--meter-track); }
.score.is-armed .meter__mark { opacity: 0; transform: scaleY(0.4); }
.score.is-armed.is-in .meter__fill { transform: none; transition: transform 1100ms var(--ease-signature) 150ms; }
.score.is-armed.is-in .meter--cells i.is-on { background: var(--tone-hi); transition: background-color 220ms ease calc(150ms + var(--n) * 110ms); }
.score.is-armed.is-in .meter__mark { opacity: 1; transform: none; transition: opacity 200ms ease 900ms, transform 420ms var(--ease-emphasis) 900ms; }
/* Rows arrive in turn (each page's script arms .score the same way). */
.score.is-armed .prod-rows li { opacity: 0; transform: translateX(-12px); }
.score.is-armed.is-in .prod-rows li { opacity: 1; transform: none; transition: opacity 420ms var(--ease-signature) calc(150ms + var(--n) * 220ms), transform 520ms var(--ease-signature) calc(150ms + var(--n) * 220ms); }

/* ── 4 · Instructor ───────────────────────────────────────────────
   A profile card (his photo, then who he is) beside the help: the
   heading, one line, then the course Q&A as the home page's exchange (the
   student's question in a slate bubble on the right, his answer on paper
   on the left), then a student's own words. */
.inst { padding-top: var(--rhythm); }
.inst__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); column-gap: 72px; align-items: center; }
/* The profile card: photo, then who he is as its caption. */
.inst__card { margin: 0; }
.inst__who { display: grid; row-gap: 2px; margin-top: 16px; font-size: 15px; line-height: 1.45; color: var(--muted-foreground); }
.inst__who b { margin-bottom: 2px; font-size: 17px; font-weight: 650; color: var(--ink); }
.inst__bio { margin-top: 14px; max-width: 32em; font-size: 19px; line-height: 1.55; color: var(--muted-foreground); text-wrap: pretty; }
.thread { display: grid; row-gap: 14px; margin-top: 32px; }
.inst__bio b { font-weight: 650; color: var(--ink); }
.thread__q { justify-self: end; max-width: 70%; padding: 13px 20px 15px; border-radius: 22px 22px 6px 22px; background: var(--bubble-q); font-size: 18px; line-height: 1.45; color: var(--ink); }
.thread__q b, .thread__bubble b { display: block; margin-bottom: 3px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }
.thread__a { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 88%; }
.thread__bubble { justify-self: start; padding: 13px 20px 16px; border-radius: 22px 22px 22px 6px; border: 1px solid var(--art-edge); background: var(--paper); box-shadow: var(--art-lift); font-size: 18px; line-height: 1.5; color: var(--ink); }
.inst .post { margin-top: 40px; }
/* Two instructors: two of the profile cards above side by side, each
   with its caption under it, in a wider photo column. Narrower, each card
   takes the small-card layout below (120 px photo beside its caption):
   two across on a tablet, stacked on a phone. */
.inst__grid.inst__grid--duo { grid-template-columns: 420px minmax(0, 1fr); }
.inst__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.inst__duo .jw-panel { width: 100%; }
/* No photo on file (the Database Theory and Practice page): the
   instructor's initials on the same panel, the same size and shape. */
.jw-panel.jw-initials { display: grid; place-items: center; }
.jw-initials span { display: grid; place-items: center; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--bubble-q); font-size: clamp(32px, 5vw, 64px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
/* About's small round faces show the face at one size: its face box
   (macOS Vision) 40% of the circle, centred across and 43% down. The
   square photos are framed differently (the regenerated ones are zoomed
   out for the tall panels), so each is scaled about the point that lands
   its face there. Scale is never below 1, so no circle shows an edge.
   Re-measure a photo's line when its file changes. */
.ab-face img[src$="/alexander-tall.webp"] { transform: scale(1.261); transform-origin: 49.6% 25.9%; }
.ab-face img[src$="/andy-reece.webp"] { transform: scale(1.041); transform-origin: 74% 10.2%; }
.ab-face img[src$="/angelo-bastianpillai.webp"] { transform: scale(1.103); transform-origin: 31.6% 42.7%; }
.ab-face img[src$="/cedean-kematick.webp"] { transform: scale(1.391); transform-origin: 50.6% 37.9%; }
.ab-face img[src$="/david-revelle.webp"] { transform: scale(1.196); transform-origin: 50% 44.7%; }
.ab-face img[src$="/derek-brace.webp"] { transform: scale(1.286); transform-origin: 48.2% 21.4%; }
.ab-face img[src$="/eddie-smith.webp"] { transform: scale(1.438); transform-origin: 49.5% 29.6%; }
.ab-face img[src$="/james-washer.webp"] { transform: scale(1.347); transform-origin: 50% 21.6%; }
.ab-face img[src$="/jeff-blacker.webp"] { transform: scale(1.079); transform-origin: 34.2% 40%; }
.ab-face img[src$="/jennifer-weltzin.webp"] { transform: scale(1.036); transform-origin: 34.3% 0%; }
.ab-face img[src$="/jessica-crumrine.webp"] { transform: scale(1.237); transform-origin: 49.6% 25.3%; }
.ab-face img[src$="/john-washer.webp"] { transform: scale(1.376); transform-origin: 48.9% 13.7%; }
.ab-face img[src$="/josh-taub-square.webp"] { transform: scale(1.313); transform-origin: 50.3% 30.1%; }
.ab-face img[src$="/ken-fikes.webp"] { transform: scale(1.056); transform-origin: 80.8% 97.6%; }
.ab-face img[src$="/ken-qian.webp"] { transform: scale(1.065); transform-origin: 37.6% 29%; }
.ab-face img[src$="/marty-broser.webp"] { transform: scale(1.249); transform-origin: 50.4% 40.1%; }
.ab-face img[src$="/priyanka-rao.webp"] { transform: scale(1.414); transform-origin: 49.7% 30.9%; }
.ab-face img[src$="/shiv-morjaria.webp"] { transform: scale(1.340); transform-origin: 49.7% 35.2%; }
.ab-face img[src$="/susan-lee.webp"] { transform: scale(1.267); transform-origin: 50.7% 34%; }
.ab-face img[src$="/zachary-bailey.webp"] { transform: scale(1.422); transform-origin: 51.1% 21.3%; }
.ab-face img[src$="/zachary-fischer.webp"] { transform: scale(1.237); transform-origin: 39.8% 0%; }

/* ── 5 · About Exam FM ─────────────────────────────────────────────
   Facts as label over value; the test windows as a ruled list, the
   nearest marked in exam orange; then the SOA's five parts as one chart
   in the Learn lane, each with the course's topics as chips. */
.about { padding-top: var(--rhythm); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 72px; align-items: start; margin-top: 52px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.facts dt { font-size: 12.5px; line-height: 16px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.facts dd { margin: 7px 0 0; font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.about__h { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.windows ol { display: grid; row-gap: 8px; margin-top: 14px; }
.windows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 0 18px; border-radius: var(--radius-xl); border: 1px solid var(--edge); background: var(--paper); }
.windows__date { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 24px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.windows__date::before { content: ""; flex-shrink: 0; box-sizing: border-box; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border-strong); }
.windows li.is-next .windows__date::before { border-color: var(--exams-hi); background: var(--exams-hi); box-shadow: 0 0 0 4px color-mix(in srgb, var(--exams-hi) 20%, transparent); }
.windows__left { font-size: 15px; line-height: 20px; color: var(--muted-foreground); white-space: nowrap; }

.topics { margin-top: 80px; }
/* The five parts as cards, no rules between them: three across, then two
   wider. Each card: the part's name, its weight in words under it ("5–15%
   of the exam"), then the course's topics as chips. No bars: drawn to
   the page's biggest part they read as a share of the exam and didn't
   match the numbers (Shiv Morjaria; James, 2026-11-08). A part with no
   syllabus weight gives its chapter or lesson count there instead. */
.parts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.part { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr; align-content: start; column-gap: 16px; padding: 22px 24px 24px; border-radius: var(--radius-2xl); border: 1px solid var(--edge); background: var(--paper); box-shadow: var(--lift-1); }
.part:nth-child(n+4) { grid-column: span 3; }
.part__name { grid-column: 1 / -1; grid-row: 1; margin: 0; font-size: 17px; line-height: 23px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.part__weight { grid-column: 1 / -1; grid-row: 2; margin: 6px 0 0; font-size: 15px; line-height: 21px; font-weight: 600; color: var(--muted-foreground); }
.part .chips { grid-column: 1 / -1; grid-row: 3; align-self: start; margin-top: 16px; }
.part .chips li { min-height: 32px; background: var(--page); }
/* Other counts of parts: three across, two across, or one full width. */
.parts--3 .part, .parts--3 .part:nth-child(n+4) { grid-column: span 2; }
.parts--2 .part, .parts--2 .part:nth-child(n+4) { grid-column: span 3; }
.parts--1 .part, .parts--1 .part:nth-child(n+4) { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px 0 11px; border-radius: 999px; border: 1px solid var(--art-edge); background: var(--paper); font-size: 14.5px; line-height: 20px; color: var(--card-foreground); }
.chips li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--learn-hi); }
.about__links { display: flex; flex-wrap: wrap; gap: 4px 36px; margin-top: 44px; }

/* ── 6 · Questions (free.css's list) ───────────────────────────── */
.prod-faq { padding-top: var(--rhythm); }
.prod-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 56px; align-items: start; }
.faq__list { display: grid; row-gap: 12px; }
.prod-faq__sub { margin-top: 16px; max-width: 18em; font-size: 17px; line-height: 1.5; color: var(--muted-foreground); }
.prod-faq__sub a { font-weight: 600; color: var(--primary-text); text-decoration: none; white-space: nowrap; }
.prod-faq__sub a:hover { text-decoration: underline; text-underline-offset: 3px; }
.qa { border-radius: var(--radius-2xl); border: 1px solid var(--edge); background: var(--paper); box-shadow: var(--lift-1); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 20px 18px 24px; list-style: none; cursor: pointer; font-size: 19px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--card-foreground); border-radius: var(--radius-lg); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--page), 0 0 0 4px var(--ring); }
.qa__icon { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); color: var(--card-foreground); transition: background-color 150ms ease, transform 300ms var(--ease-signature); }
.qa__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .qa summary:hover .qa__icon { background: var(--nav-hover); } }
.qa[open] .qa__icon { transform: rotate(180deg); }
.qa__a { max-width: 640px; padding: 0 64px 22px 24px; font-size: 16.5px; line-height: 1.6; color: var(--muted-foreground); }
@media (prefers-reduced-motion: no-preference) {
  .faq__list { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height 300ms var(--ease-signature), content-visibility 300ms allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ── 7 · Close ─────────────────────────────────────────────────── */
.prod-close { padding-top: calc(var(--rhythm) + 16px); text-align: center; }
.prod-close__title { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.prod-close__sub { margin-top: 14px; font-size: 19px; line-height: 1.5; color: var(--muted-foreground); }
.prod-close .prod-actions { margin-top: 32px; }
/* A student's quote above the close keeps its left rule, centred as a
   block; one under the steps sits below the path. */
.prod-close .post { margin: 0 auto 56px; text-align: left; }
.steps .post { margin-top: 56px; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .prod-hero__grid { column-gap: 48px; }
  .path { --gap: 20px; }
  .ready__grid, .about__grid { column-gap: 48px; }
  .inst__grid { grid-template-columns: 280px minmax(0, 1fr); column-gap: 52px; }
  .inst__grid.inst__grid--duo { grid-template-columns: 360px minmax(0, 1fr); }
  .jw-panel { width: 280px; }
}
/* Below 980 px the hero stacks (copy, then the card at the copy's left
   edge), and four columns get too narrow for the pictures, so the path runs
   down the left edge, each step's picture beside its words. */
@media (max-width: 980px) {
  .prod-hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 52px; }
  .prod-hero__card { align-items: flex-start; }
  .prod-hero__card .today { max-width: 600px; margin-left: 0; }
  .proof { margin: -16px 0 0 24px; }
  .nums { margin-top: 72px; }
  .path { --dot: 44px; --row: 64px; grid-template-columns: minmax(0, 1fr); row-gap: var(--row); margin-top: 48px; }
  .leg { --d: 0ms; padding-left: calc(var(--dot) + 24px); }
  .leg__mark { position: absolute; left: 0; top: 0; bottom: 0; height: auto; }
  .leg__line { left: calc(var(--dot) / 2 - 1.5px); right: auto; top: calc(var(--dot) + 10px); bottom: calc(10px - var(--row)); width: 3px; height: auto; background: linear-gradient(180deg, var(--tone-hi), var(--next-hi)); transform-origin: 50% 0; }
  .leg.is-armed .leg__line { transform: scaleY(0); }
  .leg__body { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 40px; align-items: start; margin-top: 0; }
  .leg__title { margin-top: 12px; }
}
/* Tablet: the two-column sections stack. */
@media (max-width: 860px) {
  .ready__grid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .ready__scores { max-width: 600px; }
  .inst__grid { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .inst__card { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 18px; align-items: center; }
  .inst__who { margin-top: 0; }
  .thread__q { max-width: 86%; }
  .thread__a { max-width: 100%; }
  .jw-panel, .inst__duo .jw-panel { width: 120px; }
  .inst__grid.inst__grid--duo { grid-template-columns: minmax(0, 1fr); }
  .inst__duo { column-gap: 24px; }
  .about__grid { grid-template-columns: minmax(0, 1fr); row-gap: 52px; }
  .windows { max-width: 600px; }
  .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .part, .part:nth-child(n+4) { grid-column: auto; }
  .part:last-child { grid-column: 1 / -1; }
  .parts--3 .part, .parts--3 .part:nth-child(n+4), .parts--3 .part:last-child,
  .parts--2 .part, .parts--2 .part:nth-child(n+4), .parts--2 .part:last-child { grid-column: auto; }
  .parts--1 .part, .parts--1 .part:last-child { grid-column: 1 / -1; }
  .prod-faq__grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
}
@media (max-width: 768px) {
  .sec-sub { font-size: 17px; margin-top: 12px; }
  .prod-hero__lede { font-size: 18px; }
  .nums { column-gap: 20px; }
  .nums strong { font-size: 40px; }
  .nums span { font-size: 15.5px; }
  .leg__title { font-size: 25px; }
  .ready__stat { margin-top: 32px; }
  .ready__cap { font-size: 20px; }
  .inst__bio { font-size: 17px; }
  .thread__q, .thread__bubble { font-size: 16.5px; }
  .about__grid { margin-top: 40px; }
  .facts dd { font-size: 18px; }
  .topics { margin-top: 60px; }
  .prod-close__sub { font-size: 17px; }
}
/* Phones: one column throughout; the path's picture sits over its words. */
@media (max-width: 600px) {
  .prod-hero { padding-top: 12px; }
  .prod-hero__grid { margin-top: 24px; row-gap: 40px; }
  .proof { margin: -10px 0 0 14px; gap: 12px; padding: 12px 20px 12px 12px; }
  .proof__mark { width: 36px; height: 36px; }
  .proof__stat { font-size: 26px; line-height: 30px; }
  .prod-hero__title { font-size: 52px; }
  .prod-hero__name { font-size: 25px; margin-top: 8px; }
  .prod-hero__lede { margin-top: 14px; font-size: 17px; }
  .price { margin: 22px 0 20px; }
  .price strong { font-size: 38px; }
  .prod-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .prod-actions .prod-cta { width: 100%; }
  .prod-actions .prod-link { justify-content: center; }
  .prod-hero__title.prod-hero__title--long { font-size: 44px; }
  .prod-terms { margin-bottom: 22px; }
  .prod-terms li { font-size: 15px; }
  .teacher { margin-top: 28px; }
  .inst__duo { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; margin-top: 56px; }
  .nums.nums--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path { --dot: 40px; --row: 56px; margin-top: 40px; }
  .leg { padding-left: calc(var(--dot) + 16px); }
  .leg__dot { font-size: 18px; }
  .leg__dot svg { width: 20px; height: 20px; }
  .leg__body { display: block; }
  .leg__title { margin-top: 24px; }
  .leg__list li { font-size: 15px; }
  .steps .post { margin-top: 40px; }
  .prod-checks li { font-size: 16px; }
  .prod-rows li { padding: 10px 12px; gap: 12px; font-size: 14.5px; }
  .score { padding: 20px 18px 20px; }
  .score__name { font-size: 20px; }
  .post { padding-left: 16px; }
  .post__text { font-size: 17.5px; }
  .thread__q { max-width: 92%; padding: 12px 16px 14px; border-radius: 20px 20px 6px 20px; }
  .thread__a { max-width: 100%; }
  .thread__bubble { padding: 12px 16px 14px; border-radius: 20px 20px 20px 6px; }
  .facts { gap: 24px 20px; }
  .windows__date { font-size: 17px; }
  .chips li { font-size: 14px; }
  .about__links { flex-direction: column; gap: 0; }
  .qa summary { font-size: 17px; line-height: 24px; padding: 16px 16px 16px 18px; }
  .parts { grid-template-columns: minmax(0, 1fr); }
  .part:last-child { grid-column: auto; }
  .part { padding: 20px; }
  .qa__a { padding: 0 18px 18px; font-size: 16px; }
  .prod-actions--center { align-items: stretch; }
  .prod-close .post { margin-bottom: 40px; }
}
