/* ============================================================
   S3 — LEARN + FEATURES presentation fixes (2026-10-26)
   APPEND-ONLY. Division B loads this sheet LAST on Learn pages
   (after revamp.css + learn-elevate.css) and on Features pages
   (after features.css). No existing file is edited. Every value
   is a canonical token (DESIGN-SYSTEM.md §1–§2) or a var() into
   the tree :root. Handlers, pagination JS, copy, prices and the
   B19 draft status are untouched.
   ============================================================ */

/* ---- S3-F1 · Pager: gold is FRAME only, never a fill (DS §1) ----
   Was (B17 learn-elevate.css, final cascade on Learn):
   .mtm-pg-num.is-on{background:#C9A45C;color:#060D18} — a gold
   fill behind text. Active page now reads by frame + champagne
   on the hover-step surface, same language as every other
   selected chip on the site. */
.mtm-pg-num.is-on{
  background:#122239;color:#E9DCC0;
  border:1px solid rgba(201,164,92,.45);
  box-shadow:inset 0 0 0 1px rgba(201,164,92,.45);
  font-weight:600;
}
/* The 999px pill container breaks into a lozenge with hard ends
   when the pager wraps on a phone. Soften to the xl radius when
   wrapped/narrow; the single-row desktop pill is unchanged. */
@media (max-width:560px){
  .mtm-pager{border-radius:22px;padding:14px 12px}
  .mtm-pg-status{flex:1 1 100%;text-align:center;order:-1}
}

/* ---- S3-F2 · Features pager speaks the Learn pager language ----
   Was (B19 features.css): a border-top hairline strip with
   transparent buttons — a second pagination dialect. Same pill
   container, same button voice as .mtm-pager/.mtm-pg-btn. */
.feat-pager{
  background:#0B1526;border:1px solid rgba(201,164,92,.30);
  border-radius:999px;padding:16px 20px;margin:32px auto 8px;
  max-width:720px;gap:12px;
}
.feat-pager button{
  background:#0B1526;color:#E9DCC0;
  border:1px solid rgba(201,164,92,.30);
  font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;
  padding:10px 18px;transition:background .25s cubic-bezier(.28,.11,.32,1),color .25s;
}
.feat-pager button:hover:not(:disabled){background:#122239}
@media (max-width:560px){.feat-pager{border-radius:22px;padding:14px 12px}}
@media (prefers-reduced-motion:reduce){.feat-pager button{transition:none}}

/* ---- S3-F3 · One reading measure for Learn AND Features ----
   Final cascade today: Learn body = .article 720px wide,
   .learn-article p.body 1.0625rem/1.72 (≈80 chars/line at full
   width — past the comfortable band); Features body = 820px
   (.feat-article beats .article, later sheet) at 1rem/1.68 —
   wider AND smaller. Both settle on one measure: 700px column,
   17px prose, 1.72 leading, list leading matched so lists stop
   rhythm-breaking against paragraphs. */
.learn-article,.feat-article{max-width:700px}
.feat-article p.body{font-size:1.0625rem;line-height:1.72}
.feat-article li{font-size:1.0625rem;line-height:1.7}
.learn-article li{line-height:1.7}
.feat-article p.body strong{color:var(--champagne,#E9DCC0)}
/* Features step headings join the article voice (Anton display),
   matching .learn-article .step h2 final cascade. */
.feat-article .step h2{
  font-family:var(--font-display,'Anton',sans-serif);font-weight:400;
  letter-spacing:.012em;line-height:1.12;margin-top:14px;
}
/* Features lede gets the same gold-rule treatment as Learn's. */
.feat-article .lede{position:relative;padding-left:22px}
.feat-article .lede::before{content:"";position:absolute;left:0;top:.3em;bottom:.3em;
  width:3px;border-radius:99px;background:var(--gold,#C9A45C)}

/* ---- S3-F4 · Visible byline/date line (markup: see patches) ----
   Every Learn article and the Features article carry author +
   date ONLY inside JSON-LD — nothing visible. This styles the
   .mtm-byline element Division B inserts under the hero (exact
   snippet + per-page date source in patches-annotated.md).
   Oswald label voice, muted, hairline under — Learn meta-chip
   family, no new palette. */
.mtm-byline{
  display:flex;flex-wrap:wrap;gap:8px 16px;align-items:baseline;
  margin:18px 0 0;padding-bottom:16px;
  border-bottom:1px solid rgba(233,220,192,.08);
  font-family:var(--font-label,'Oswald',sans-serif);
  font-size:.75rem;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:#A7A099;
}
.mtm-byline .mtm-byline-who{color:#DCC084}
.mtm-byline time{font-variant-numeric:tabular-nums}

/* ---- S3-F5 · Features steps: retire the sequencer-cell collision ----
   site.css .step is a sequencer cell (min-height:44px, navy-800
   fill, 1px border, cursor:pointer, :active scale .93). Learn
   neutralised it (subpage.css .learn-article .step reset); the
   Features article — <main class="article feat-article"> with
   <section class="step"> children — never did, so its sections
   render as giant sequencer cells. Same reset, Features scope. */
.feat-article .step{background:transparent;border:0;border-radius:0;
  min-height:0;padding:0;cursor:default}
.feat-article .step:active{transform:none}
.feat-article .step{margin-top:52px}

/* ---- S3-F6 · Pull-quote rule back inside the 1px family (DS §2) ----
   Was: .feat-quote{border-left:2px solid var(--gold)} — the only
   2px border in either surface. 1px frame-strength gold + the
   champagne prose already carries the emphasis. */
.feat-quote{border-left:1px solid rgba(201,164,92,.45);padding-left:21px}

/* ---- S3-F7 · End-of-article next step: one rhythm ----
   Learn ends on .learn-tiein (64px top margin, centred gold rule).
   Features .feat-more and the rhythm lessons' .track-nav ended on
   unrelated spacing. Align tops + rule so every article, either
   surface, closes the same way. (Markup presence per page is
   reported in report.md §4 — CSS cannot add a missing block.) */
.feat-more{margin-top:64px;padding-top:28px}
.track-nav{margin-top:64px;padding-top:28px;
  border-top:1px solid rgba(233,220,192,.08)}

/* ---- S3-F8 · Index rhythm: categories stop double-spacing ----
   Final cascade .learn-cat{margin-top:96px} (subpage.css sleek
   pass) stacked on top of the B17 families block reads as two
   indexes. 72px keeps the section break, loses the void. */
.learn-cat{margin-top:72px}
.mtm-families + .learn-cat{margin-top:72px}

/* ============================================================
   S3-F9 · AMENDMENTS (re-dispatch verification pass, 2026-10-26)
   Appended, nothing above deleted. Three defects the first run
   could not see without resolving specificity (DS §7: a value
   in a rule that loses the cascade does not count).
   ============================================================ */

/* ---- F9a · F8's figure-adjacent path was losing on specificity ----
   B17 learn-elevate.css: figure.mtm-art + .learn-cat{margin-top:48px}
   is (0,2,1) and outranked F8's plain .learn-cat (0,1,0) — the
   72px rhythm never applied after a hero figure. Same selector,
   stated here, last sheet wins the tie. */
figure.mtm-art + .learn-cat{margin-top:72px}

/* ---- F9b · F3's Features step-heading margin was losing ----
   B19 features.css: .feat-article section.step h2{margin-top:0}
   is (0,2,2) and outranked F3's .feat-article .step h2 (0,2,1).
   Same selector, stated here: Learn's 14px (subpage.css
   .learn-article .step h2) now actually lands on Features. */
.feat-article section.step h2{margin-top:14px}

/* ---- F9c · F1 doubled its frame ----
   F1 set border 1px .45 AND an inset box-shadow 0 0 0 1px .45
   on the active page number — a doubled frame, against DS §2's
   single-hairline language. The border alone carries the state
   (with the navy-700 surface + champagne + weight from F1). */
.mtm-pg-num.is-on{box-shadow:none}
