/* The typefaces themselves (UIX-08).

   Until now the three families named in tokens.css were fetched from Google's
   font CDN by a <link> in every portal's index.html. That is a defect in a
   hospital system for two reasons that have nothing to do with taste. A
   hospital running PulseWard on its own network — which the deployment guide
   recommends and which several will have no choice about — cannot reach that
   CDN, and every screen in the building silently falls back to whatever the
   operating system happens to have. And a portal that fetches a stylesheet
   from a third party announces every visitor's IP address to it, on the login
   screen, before anybody has agreed to anything.

   So the files ship with the software. The portals reach this file the way
   they reach every other token: tokens.css imports it, and each portal's
   bundler rewrites the URLs below into its own build. The landing page is a
   static directory with no build step and two deploy paths, so it carries its
   own copy of these four files rather than a path into a package it does not
   ship.

   Both families are licensed under the SIL Open Font License 1.1, whose text
   travels with the files in fonts/ as the licence requires. Latin subsets
   only: the unicode-range on each face means a name written in a script these
   files do not cover falls through to the reader's system font, which draws
   it, rather than to a row of empty boxes. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fonts/space-grotesk-latin-variable.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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("./fonts/ibm-plex-sans-latin-variable.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;
}

/* Plex Mono has no variable cut, so the two weights the design system asks for
   are two files. */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/ibm-plex-mono-latin-400.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/ibm-plex-mono-latin-500.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;
}
