/* xtarwall.com type system: option C, Schibsted Grotesk (text, headlines, figures) + JetBrains Mono (number columns, code).
   Bhawesh's pick "c", 29 Nov 2026 12:54 IST, from three previews (branch type-options-1129). Both SIL OFL 1.1, self-hosted
   Latin subsets (public/assets/fonts/SOURCES.txt). Loaded after each page's own CSS on every page (tools/build.mjs guards it).
   It changes type only: families, case, tracking, measure, numerals. No colour, no layout.
   The habits it removes: monospace small caps on every label, table head and date; mono for prose; 78-82 character lines. */
@font-face{font-family:"Schibsted Grotesk";src:url("/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");font-weight:100 800;font-style:normal;font-display:swap}

/* shared type habits */
:root{
  --display:var(--sans); --num:var(--sans);
  --t-h1-w:420; --t-h1-track:-.03em; --t-h1-lh:1.05;
  --t-h2-w:450; --t-h2-track:-.024em; --t-h2-lh:1.12;
  --t-h3-w:600; --t-h3-track:-.008em;
  --t-label-size:13px; --t-label-w:500; --t-label-track:0; --t-label-case:none;
  --t-kick-size:13px; --t-kick-w:600; --t-kick-track:0; --t-kick-case:none;
  --t-num-w:400; --t-num-track:-.02em;
  --t-report:16px; --t-table:14.5px;
}
body{font-family:var(--sans);text-rendering:optimizeLegibility;font-kerning:normal}
.xn{font-family:var(--sans)}
p,li,dd{text-wrap:pretty}

/* headings: one family, a calmer rhythm (sizes stay the page's own, so nothing reflows on phones) */
h1{font-family:var(--display);font-weight:var(--t-h1-w);letter-spacing:var(--t-h1-track);line-height:var(--t-h1-lh)}
h2{font-family:var(--display);font-weight:var(--t-h2-w);letter-spacing:var(--t-h2-track);line-height:var(--t-h2-lh)}
h3{font-weight:var(--t-h3-w);letter-spacing:var(--t-h3-track)}

/* the one small label that stays: the kicker over a section */
.kick,.xr-kind,.zl,.prc-bar,.pf-k,.family h2,.xr-rel h2,.summary .sumhead{
  font-family:var(--sans);font-size:var(--t-kick-size);font-weight:var(--t-kick-w);letter-spacing:var(--t-kick-track);text-transform:var(--t-kick-case);
}
/* every other label, table head and term: the text face, sentence case, no tracking */
.panel h4,.tb thead th,.tb thead .n,.kv5 dt,.kv dt,.spec dt,.lbl,.nb-chip,.pf-d dt,.sl,.pm-k,.pm-state>span,.sev,
.xr .xr-lab,.xr-meta dt,.xr-sum dt,.rt thead th,.xr-crumb,.tochead,.tb.cat .rk::before,.tb.cat .c::before{
  font-family:var(--sans);font-size:var(--t-label-size);font-weight:var(--t-label-w);letter-spacing:var(--t-label-track);text-transform:var(--t-label-case);
}
.rt thead th,.tb thead th,.tb thead .n{color:var(--text2)}

/* prose that was set in mono: dates, captions, notes, footnote marks */
.meta,.upd,.stamp,.log time,.nb-per,.xr-meta dd,.rf,.ra-l,.pm-n,.pm-re,.cat-tools .cnt,.pf-d dd.dg,.bs{
  font-family:var(--sans);letter-spacing:0;font-variant-numeric:lining-nums tabular-nums;
}
.lead b{font-family:var(--sans);font-size:1em;font-weight:600;letter-spacing:0;font-variant-numeric:lining-nums}
.xr-meta dd{font-size:15px}
.ra-l{font-weight:600}

/* figures: mono only where numbers line up in columns, and in code */
.tb,.rt{font-variant-numeric:lining-nums tabular-nums}
.tb .n,.res dd,.xr .mn,.tb.cat .sid,.tb.cat .c,.xr-ix .xr-n,.rs-n{font-family:var(--mono);letter-spacing:0;font-variant-numeric:lining-nums tabular-nums}
.figs dt,.nb-big,.sb,.pm-v,.pr{font-family:var(--num);font-weight:var(--t-num-w);letter-spacing:var(--t-num-track);font-variant-numeric:lining-nums tabular-nums}
.pr span,.nb-per span{font-family:var(--sans)}

/* the comparison report: a readable measure and a clear scale (h1 > deck > h2 > h3 > text > table > note) */
.xr{font-size:var(--t-report);line-height:1.6}
.xr h1{font-size:clamp(30px,3vw,44px);line-height:1.12;max-width:22em}
.xr h1 .xr-h1s{margin-top:14px;font-family:var(--sans);font-size:17px;font-weight:400;line-height:1.45;letter-spacing:0;text-transform:none;color:var(--text2)}
.xr h2{font-size:26px;line-height:1.2}
.xr h3{font-size:17px;line-height:1.35}
.xr-kind{margin-top:34px}
.xr-crumb li + li::before{margin:0 8px}
.rs-h{margin-bottom:20px}
.rs p{max-width:68ch}
.rs p + p{margin-top:14px}
.xr-sum dd{max-width:66ch}
.xr-sum dt{padding-top:2px;line-height:1.5;color:var(--text2)}
.ra-an{max-width:70ch;font-size:.94em}
.xr-faq dd{max-width:68ch}
.xr-faq dt{font-size:1.03em;font-weight:600}
.xr-ix{font-size:14px}
.rt{font-size:var(--t-table);line-height:1.5}
.rt thead th{padding:11px 16px 10px;line-height:1.35}
.rt small{font-size:12.5px}
.xr-fine{font-size:13.5px}
@media (max-width:900px){
  .xr{font-size:calc(var(--t-report) - .5px)}
  .xr h1{font-size:28px;line-height:1.15}
  .xr h1 .xr-h1s{font-size:16px}
  .xr h2{font-size:22px}
}

/* option C settings */
:root{
  --sans:"Schibsted Grotesk",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,Menlo,monospace;
  --display:var(--sans); --num:var(--sans);
  --t-h1-w:500; --t-h1-track:-.034em; --t-h1-lh:1.04;
  --t-h2-w:500; --t-h2-track:-.028em; --t-h2-lh:1.1;
  --t-h3-w:600; --t-h3-track:-.012em;
  --t-label-size:13px; --t-label-w:500; --t-label-track:0;
  --t-kick-size:12px; --t-kick-w:600; --t-kick-track:.07em; --t-kick-case:uppercase;
  --t-num-w:500; --t-num-track:-.035em;
  --t-report:16px; --t-table:14.5px;
}
.tb .n,.res dd,.xr .mn,.tb.cat .sid,.tb.cat .c,.xr-ix .xr-n,.rs-n{font-size:.92em}
.xr h1{font-weight:560}
.xr h2{font-weight:560}
/* Schibsted Grotesk's tabular figures also widen the full stop, comma and colon, which opens gaps in running text.
   So tabular figures here come from JetBrains Mono in the number columns, and the text face keeps its normal spacing. */
.tb,.rt,.meta,.upd,.stamp,.log time,.nb-per,.xr-meta dd,.rf,.ra-l,.pm-n,.pm-re,.cat-tools .cnt,.pf-d dd.dg,.bs,.lead b{font-variant-numeric:lining-nums}
.figs dt,.nb-big,.sb,.pm-v,.pr{font-variant-numeric:lining-nums}
