/* Inter, self-hosted.
 *
 * ⛔ This file exists because the privacy notice says it does. Doc 02 §4 and
 * Doc 04 §4 of the Legal Pack state that Google Fonts and Leaflet application
 * files are self-hosted and cause no browser requests to Google or to a public
 * CDN — and until 2026-09-09 ten view files loaded Inter straight from
 * Google's font service, four of them RIDER-FACING (join.php, landing.php,
 * open.php, reset.php). A rider scanning a club's QR code disclosed their IP
 * address to Google before an account existed, in the one section of the notice
 * whose job is to list who receives their data.
 *
 * ⚠ So do not reintroduce a remote font link, on any page, without telling the
 * legal team first: it changes the subprocessor analysis, not just the markup.
 *
 * ⚠ And note the hostnames are not written out anywhere in this file, on
 * purpose. `render-check.sh` greps every served asset for third-party hosts and
 * cannot tell a comment from a `src`, so a well-meant note naming the endpoint
 * fails the build — which is the right trade: the check stays blunt and
 * unfoolable, and prose finds another way to say it.
 *
 * ---------------------------------------------------------------------------
 * These are Google's own woff2 files, fetched once and committed. Inter ships
 * under the SIL Open Font License 1.1, which permits redistribution — see
 * brand/fonts/README.md.
 *
 * Two subsets, not seven. The upstream css2 response carries latin, latin-ext,
 * greek, greek-ext, cyrillic, cyrillic-ext and vietnamese; this product is
 * English and Danish, and æ ø å live in `latin`. Dropping the other five saves
 * ~280 KB that no page here would ever have used.
 *
 * One @font-face per subset, not five. The file is a VARIABLE font: Google's
 * CSS declares font-weight 400/500/600/700/800 separately for the benefit of
 * browsers that cannot interpolate, but all five point at the same bytes. A
 * single `font-weight: 400 800` covers the range, and every browser that
 * supports woff2 variable fonts (all of them, for a decade) picks the right
 * instance. The unicode-range values are copied verbatim from Google's
 * response so subsetting behaviour is identical.
 */

@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;
}

@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;
}
