/* landing-next's type, on the roles (Lucas, 17 Nov 2026, on the sponsors' ruler: "text sizes doesn't match or isn't audited
   enough"). Every piece of text on the site takes one of the roles in next.css (display, h2, h3, lede, body, small, label,
   figure) or one of the two below; the size, weight and family come from the token, never a pixel size written by hand.
   The role is picked by the job the words do: a paragraph is body, the first one under a section's headline a lede; a
   term starting a list's row is body-strong, its note small and grey (body grey when it's a full sentence); a section's
   headline h2, a panel's or card's title h3. Loaded last on every page, so it settles what landing-new's, next.css's and
   the pages' own sheets set. tools/type_audit.cjs checks every page against the roles. */
:root {
  --t-body-strong: 500 15px/1.5 'Archivo', sans-serif; --tr-body-strong: 0;   /* a term starting a list's row; a button */
  --t-quote: 400 clamp(30px, 2.8vw, 44px)/1.15 'Archivo', sans-serif; --tr-quote: -0.02em;   /* a customer's words: the h2's size, the body's weight */
  --t-h3-strong: 500 clamp(21px, .5vw + 16px, 24px)/1.15 'Archivo', sans-serif; --tr-h3-strong: -0.015em;   /* a row's name in the pick list (next.css .pk): the h3's size at 500, so it reads over the body-size line under it (Jens, 19 Nov: "the font is too similar") */
  --tr-lede: 0; --tr-body: 0; --tr-small: 0; --tr-label: 0;   /* the roles without tracking, so every role is used as a pair */
}

/* ---------- the base: the page's words at body, and no bold beyond 500 (Archivo 400 and 500 only) ---------- */
body { font: var(--t-body); letter-spacing: var(--tr-body); }
:where(b, strong, th) { font-weight: 500; }
[data-learn] { --t-read: 400 clamp(21px, .5vw + 16px, 24px)/1.55 'Archivo', sans-serif; }   /* the reading pages' words at the h3's (and the lede's) size, set for reading: a long line's height (Lucas, 17 Nov: "make this handbooks feel a little bit more like a reading experience") */
[data-learn] .pr-body > h3 { font: var(--t-body-strong); letter-spacing: var(--tr-body-strong); }   /* a legal page's numbered clause */
[data-learn] .hc-fix dt { font: var(--t-body-strong); letter-spacing: var(--tr-body-strong); }   /* the problem, the term of its row */
[data-learn] .hc-main > .lede b { font-weight: 400; }   /* a lede's named button in ink, as the quote's words */
[data-learn] .hc-ph { font: var(--t-h2); letter-spacing: var(--tr-h2); }   /* a tab's headline in the academy */

/* ---------- the home ---------- */
.nx-q-u { font: var(--t-h3); letter-spacing: var(--tr-h3); }   /* the clock's unit letters, beside the figures */
.nx-qq { font: var(--t-quote); letter-spacing: var(--tr-quote); }

/* ---------- the ruler (sponsors #why): four roles. Its title h3; the column heads and the axis in the mono label, grey;
   a format in body-strong over its note in small grey; the times in body with tabular figures, ours in body-strong (the
   long bar carries the emphasis). Each time sits on its format's baseline; the first tick's mark centres on it as the
   others do ---------- */
.day-cap { font: var(--t-h3); letter-spacing: var(--tr-h3); }
.day-ruler > span:not(.ticks), .day-ruler i { font: var(--t-label); letter-spacing: var(--tr-label); line-height: 1; color: var(--grey); }
.day-ruler i:first-child { transform: translateX(-50%); }
.bars div b { font: var(--t-body-strong); letter-spacing: var(--tr-body-strong); color: var(--ink); }
.bars div .meta { font: var(--t-small); letter-spacing: var(--tr-small); color: var(--grey); }
.bars > li > b { font: var(--t-body); letter-spacing: var(--tr-body); font-variant-numeric: tabular-nums; }
.bars .us > b { font: var(--t-body-strong); letter-spacing: var(--tr-body-strong); }
.bars > li > div, .bars > li > b { align-self: first baseline; }
@media (max-width: 860px) { .day-ruler .ticks, .bars .day { margin-left: var(--s-2); } }   /* on the phone the axis starts in from the words, so the first mark, centred on it, stays inside the panel */

/* ---------- sponsors ---------- */
.sp-line b { font: var(--t-h3); letter-spacing: var(--tr-h3); }   /* a step's title */
.sp-line p { font: var(--t-body); letter-spacing: var(--tr-body); }
.layers h3 { font: var(--t-h3); letter-spacing: var(--tr-h3); }   /* a layer's title in the stack's panel */
.layers p:not(.meta):not(.layer-logo), .layers .layer-logo { font: var(--t-body); letter-spacing: var(--tr-body); }

/* ---------- organizers ---------- */
.sig-cap, .sig-m { font: var(--t-label); letter-spacing: var(--tr-label); }
.r3d-name { font: var(--t-small); letter-spacing: var(--tr-small); }   /* the picked program's tag on the 3D ruler */

/* ---------- companies ---------- */
.sec-std b { font: var(--t-h3); letter-spacing: var(--tr-h3); }   /* a standard's name, the title of its row */

/* ---------- customers ---------- */
.cs-h, .cs-big .cs-h { font: var(--t-h2); letter-spacing: var(--tr-h2); }   /* a story's headline */
.cs-q { font: var(--t-lede); letter-spacing: var(--tr-lede); }   /* the words under it */
.cs-rq { font: var(--t-h3); letter-spacing: var(--tr-h3); }   /* a customer's words in a row */
.cs-what { font: var(--t-body); letter-spacing: var(--tr-body); }
.cs-who b, .ct-people b { font: var(--t-body-strong); letter-spacing: var(--tr-body-strong); }   /* a person's name over their role */

/* ---------- about ---------- */
.pn-role-h h2 { font: var(--t-h3); letter-spacing: var(--tr-h3); }   /* a job's title in the list of jobs */
.pn-role-l { font: var(--t-lede); letter-spacing: var(--tr-lede); }   /* the job in a line, under its title */
.pn-role-b > p:not(.pn-where), .pn-pairs p:not(.meta), .pg-links-list a, .br-rules li { font: var(--t-body); letter-spacing: var(--tr-body); }
.pn-pairs > div:first-child p:not(.meta) { font: var(--t-h3); letter-spacing: var(--tr-h3); }   /* the press line in short */
.br-rules h3 { font: var(--t-h3); letter-spacing: var(--tr-h3); }
.pn-brand figcaption b, .al-cta, .pn-go, .pn-brand figcaption .br-files a { font: var(--t-body-strong); letter-spacing: var(--tr-body-strong); }   /* a logo's name; the file links */

/* No loud-beat headlines (Lucas, 17 Nov, on "An ad gets seconds." at the display size: "why is this text so much bigger
   than the rest of the site?"): a section's headline is an h2 everywhere; the display stays the page's first headline. */
.h2.nx-big, .v2-why .v2-big { font: var(--t-h2); letter-spacing: var(--tr-h2); }
.nx-big .nx-pre { font: inherit; letter-spacing: inherit; }

/* landing-new's last 13px notes on these pages take the small role (17 Nov: fewer sizes): the brand kit's notes and the
   team's regions and LinkedIn on the about page, the browser bar's address in the home's product window */
.pn-brand figcaption span, .ct-people li span, .ct-in, .wb-url, .wb-url span { font: var(--t-small); letter-spacing: var(--tr-small); }
