/* ------------------------------------------------------------------
   Latin fonts — served from this origin, loaded only on /en/ routes.

   Regenerate with `bash scripts/build-fonts.sh`.

   See fonts-ar.css for why these are not fetched from Google — and for
   why the Arabic page needs a Latin face too, which this one does not
   have the mirror-image of: the Latin subsets carry no Arabic, and an
   English page that shows an Arabic word is showing a brand name in a
   fallback face, once, in a place where nobody is reading a price.

   VARIABLE FONTS, 81 KB TOTAL, against a 90 KB budget (rule 04 §11).
   The English design names six static faces — Archivo 600/700/800 for
   display and Inter 400/500/600 for text — which as separate files is
   about 110 KB. One variable file per family covers every weight in the
   range for less than three static ones, so the whole weight axis is
   available and the page is still inside the budget.

   The family names carry the `Variable` suffix fontsource ships, and the
   token file lists both: `'Inter Variable', 'Inter', …`. A browser too
   old for variable fonts falls through to the next name rather than to
   nothing.
   ------------------------------------------------------------------ */

@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  /* The whole axis in one file — the display face is used at 600, 700
     and 800 across the page. */
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/archivo-latin-var.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-var.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
