/* Wakeshift · type, for every page (landing.css and site.css build on it).
   Three faces, all served from the site itself (no external requests):
   - Charis SIL, SIL's web files as released, unmodified: its licence
     reserves the names "Charis" and "SIL", so a subset couldn't use them
     (static/fonts/charis-sil-OFL.txt). Headlines.
   - Geist, variable, subset to the site's characters: everything else,
     the reading text included, on every page as on the homepage.
   - Geist Mono, variable, subset the same way: code and technical labels.
   (static/fonts/geist-OFL.txt; Vercel's geist-font v1.9.2.)

   Geist ships upright only here, so nothing may slant it: font-synthesis is
   off everywhere, and emphasis in Geist is weight. Anything that needs real
   italics, and phonetic text (Geist has no IPA), is set in Charis. Every rule
   that sets Charis sets its line-height too (the roles below carry one). */
@font-face{font-family:"Charis SIL";font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/charis-sil.woff2?v=3c8db45ec0290a8b) format("woff2")}
@font-face{font-family:"Charis SIL";font-style:italic;font-weight:400;font-display:swap;src:url(/static/fonts/charis-sil-italic.woff2?v=81bcb8a8e54413e2) format("woff2")}
@font-face{font-family:"Charis SIL";font-style:normal;font-weight:700;font-display:swap;src:url(/static/fonts/charis-sil-bold.woff2?v=8a7151f0308d399f) format("woff2")}
@font-face{font-family:"Charis SIL";font-style:italic;font-weight:700;font-display:swap;src:url(/static/fonts/charis-sil-bold-italic.woff2?v=ff989cdb3d7ced30) format("woff2")}
@font-face{font-family:"Geist";font-style:normal;font-weight:100 900;font-display:swap;src:url(/static/fonts/geist.woff2?v=548af6fdddcbf7a8) format("woff2")}
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:100 900;font-display:swap;src:url(/static/fonts/geist-mono.woff2?v=c3f79f5c231785d1) format("woff2")}
:root{
  --serif:"Charis SIL",Charter,"Bitstream Charter",Georgia,serif;
  --sans:"Geist","Helvetica Neue",Arial,sans-serif;
  --mono:"Geist Mono",ui-monospace,Menlo,Consolas,monospace;

  /* The roles, as font shorthands: use them as font:var(--t-…), with the
     tracking beside them. Headlines are Charis; ledes and long-form reading
     are Geist, as on the homepage. */
  --t-hero:700 clamp(2.125rem,1.18rem + 4vw,4.125rem)/1.05 var(--serif);
  --t-headline:700 44px/1.15 var(--serif);
  --t-heading:600 22px/1.15 var(--sans);
  --t-card-title:600 17px/1.15 var(--sans);
  --t-lede:400 clamp(1.125rem,1.03rem + 0.4vw,1.3125rem)/1.5 var(--sans);
  --t-long:400 17px/1.6 var(--sans);
  --t-long-docs:400 16.5px/1.6 var(--sans);
  --t-support:400 14.5px/1.45 var(--sans);
  --t-caption:400 13px/1.45 var(--sans);
  --t-ui:400 14px/1.4 var(--sans);
  --t-btn:500 15px var(--sans);
  --t-btn-sm:500 14.5px var(--sans);
  --t-th:500 12px var(--sans);
  --t-label:600 12px/1 var(--sans);
  --t-code:400 13px var(--mono);
  --t-code-block:400 13px/1.65 var(--mono);
  --t-tech:500 12px var(--mono);
  --tr-display:-.005em; --tr-heading:-.02em; --tr-label:.09em;
  /* Reading measure for long-form text. */
  --measure:65ch;
}
/* Headlines step down to 34px on phones. */
@media (max-width:640px){:root{--t-headline:700 34px/1.15 var(--serif)}}
html{font-synthesis:none}
h1,h2,h3{text-wrap:balance}
p,li{text-wrap:pretty}
/* Emphasis in Geist is weight; a Charis context (its stylesheet lists them)
   puts italics back. */
em,i,cite{font-style:normal;font-weight:500}
/* Phonetic text is always Charis: Geist has no IPA. */
.ipa{font-family:var(--serif);font-style:normal}
/* Tables set numbers in columns. The font shorthand resets this, so a rule
   that gives a table or a cell a role sets it again after (site.css). */
table{font-variant-numeric:tabular-nums}
