/* Typography polish (November 2026), loaded last on every page.
   One step larger overall, readable minimum sizes for labels and captions, and one face per text role:
   headings Schibsted Grotesk, body and controls Public Sans, uppercase labels and numbers IBM Plex Mono. */

/* 1. One step larger: every rem-based size grows by 6.25% (body text 17px -> 18px). */
html{font-size:106.25%}

/* 2. Uppercase mono labels (eyebrows, "What You Get", table headers, card kickers): never below 13.8px. */
.m-dl dt,.m-glance dt,.c-ab-facts dt,.c-ab-cred dt,.m-table thead th,.m-tag,.m-jump label,.c-lab__hint,.c-lab__label,
.c-legal__nav h2,.m-walk__steps h3,.pal li .t{font-size:.8125rem}
.c-card__k,.m-prog__k,.m-path__k,.m-router__k,.c-ab-grid .mono,.c-acc__item>button .mono,.c-high__list .mono,.kick{font-size:.8125rem}
.m-eyebrow{font-size:.8125rem}

/* 3. Captions, meta lines, tags, small notes. */
.c-card__media figcaption,.c-high__screen figcaption,.m-video__meta span,.c-collage__note,.hx__credit,.hx__scroll{font-size:.8125rem}
.tag,.m-status,.m-pill,.card__meta,.legend{font-size:.875rem}
.c-lab .note,.terms dt small{font-size:.875rem}
.rm-tl,.rm-card__k,.rm-st,.rm-tag{font-size:.8125rem}
/* AI-illustration notes stay small and quiet, but readable */
.c-ai{font-size:.75rem}
.c-media-ai{font-size:.6875rem}

/* 4. One heading face: card and template titles that used the body font now use the heading font. */
main h3,main h4,main .tpl h3{font-family:var(--font-head)}
main .tpl h3{font-weight:600;font-size:1.125rem;letter-spacing:-.01em}
.c-path-cta b{font-family:var(--font-head)}
/* Section titles styled as display headings use the same weight everywhere */
main h2.h1,.c-lesson-lab .sec-head h2{font-weight:800}

/* 5. Running text: comfortable line length and spacing. */
main p,main li,main dd{text-wrap:pretty}
main h1,main h2,main h3{text-wrap:balance}

/* 6. No cross-page fade: Chrome aborts some page-to-page view transitions and reports script errors when it does.
      Pages still animate their own content on load. */
@view-transition{navigation:none}
