/* ══════════════════════════════════════════════════════════════════════════
   Inter — the interface typeface, self-hosted.

   Why self-hosted rather than a Google Fonts <link>: this application holds
   patient records for practices operating under GDPR. A CDN font is a request
   to a third party on every page load, carrying the visitor's IP with it, on
   screens a patient reaches through their own portal. The three files below
   are 78 kB in total and ship inside the web image, so the browser talks to
   one origin and nothing about who is reading leaves the deployment.

   One variable file per subset, each covering the whole 100–900 axis, so the
   weight ladder in styles.css renders as declared rather than being snapped
   to whatever two faces the viewer's operating system happens to install.

   latin-ext is deliberately absent. It is larger than the Greek and Latin
   subsets combined, and this interface is Greek; a stray Central-European
   letter in a name falls back per glyph through unicode-range, which is the
   mechanism working rather than failing.

   Loaded by app.html and index.html both. It is a separate file rather than
   a block in each stylesheet because two copies of a font declaration drift.
   ═══════════════════════════════════════════════════════════════════════ */

/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* greek-ext — polytonic; the manual and older imported records reach for it */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

/* latin — also carries € (U+20AC), the arrows and the punctuation */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  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;
}
