/* Inter, self-hosted. Replaces the Google Fonts <link> the two pages used to
   carry. Two reasons that link had to go:

   1. Privacy — every cold load told Google the IP of whoever opened the app.
   2. Offline. sw.js precaches with cache.addAll(), which is ATOMIC: the
      Google stylesheet failing meant the whole service-worker install failed,
      so a flaky network cost you offline mode entirely, not just the font.

   These are the variable font files Google itself serves — one per unicode
   subset, each covering the whole 400-800 weight range, which is why there is
   one @font-face per subset rather than one per weight. The app uses 400, 500,
   600, 700 and 800; all are inside that range.

   Subsets shipped: latin, latin-ext, vietnamese (144 KB total) — enough for
   every name on the roster and for Western European + Vietnamese spellings.
   Cyrillic and Greek are deliberately left out to keep the offline precache
   small; a glyph outside these ranges falls back to the system sans-serif,
   which degrades quietly rather than breaking. To add one, download the subset
   from the Google CSS, drop it in fonts/, add a block here, add it to ASSETS in
   sw.js and bump CACHE.

   font-display: swap keeps text visible while the file loads. */

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
