/*
 * Instrument Sans, served from our own origin.
 *
 * ## Why not Google Fonts
 *
 * A <link> to fonts.googleapis.com sends every visitor's IP address to Google
 * on every page load, before they have agreed to anything. German courts have
 * found that to be a GDPR violation on its own (LG München I, 3 O 17493/20),
 * and this is a health application — the population visiting it is exactly the
 * one whose browsing should not be disclosed by accident.
 *
 * Self-hosting removes the request. It also removes two DNS lookups and two
 * TLS handshakes from the critical path, and lets the CSP drop two origins.
 *
 * ## What is here, and what is missing
 *
 * The latin and latin-ext subsets at 400/500/600/700 — every weight the app
 * uses, and every subset the family publishes.
 *
 * Instrument Sans has **no Cyrillic**. The app has a Ukrainian locale, so
 * Ukrainian text already falls through to the system stack in --font-sans and
 * always has; self-hosting does not change that, and it is worth knowing
 * rather than discovering.
 */

/*
 * One file per subset, not one per weight.
 *
 * Google returned the same bytes for 400, 500, 600 and 700 — Instrument Sans
 * is a variable font, and its whole weight axis lives in a single file. The
 * eight downloads were four copies of two files: 184 KB where 41 KB does the
 * same job.
 *
 * `font-weight: 400 700` is what tells the browser this face covers the whole
 * range, so `font-weight: 600` picks the real 600 rather than synthesising a
 * bold from 400.
 */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/instrument-sans-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;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/instrument-sans-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;
}
