/* Inter, served by us.
 *
 * The boards link Google Fonts, which is a request to somebody else's server
 * on every page load: slow, a privacy question for a staff tool, and — the
 * thing that actually bit — sometimes slower than the screenshot, so the same
 * screen scored 2.08% on one run and 3.52% on the next. The file is the one
 * the native app already ships.
 *
 * Two faces, one family (Nawaf, 12 October 2026: "text shows at once").
 * The whole `Inter.ttf` is 876 KB (420 KB brotli), and with
 * `font-display: block` every word on the countdown and on Today stayed
 * invisible until it had arrived — about 12 s on a 1.6 Mbit/s phone.
 *
 *   1. `Inter-latin.woff2` — the same variable font (every weight, every
 *      OpenType feature, so tabular figures are unchanged), cut to Latin,
 *      Latin-1, general punctuation, €, and the symbol blocks (™ arrows maths shapes ✓ ✕): 128 KB. It is
 *      preloaded by `index.html`, so it starts with the HTML, not after it.
 *   2. `Inter.ttf` — unchanged, for any character outside that range (a
 *      Turkish or Vietnamese letter in a name). The browser fetches it only
 *      when a page actually draws such a character.
 *
 * `swap`, not `block`: text is drawn at once and becomes Inter the moment the
 * file lands — on 4G that is before the first board is mounted, so nobody
 * sees the swap; on a crawling connection they read the words instead of
 * looking at blank boxes. Rebuilt with `web/fonts/subset.sh`; `fonts.test.mjs`
 * holds the two ranges together. */
/* ORDER MATTERS. Where two faces of one family cover the same character, the
   browser uses the one declared LAST. The full TTF covers everything, so it
   comes first and the Latin cut second: Latin text is drawn from the cut, and
   only a character outside its range falls through to the TTF. Declared the
   other way round (12 October, first version), every page downloaded the
   418 KB TTF and the cut was preloaded for nothing. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  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+2100-2BFF, U+FEFF, U+FFFD;
}
