/* Self-hosted typefaces.
 *
 * The dashboard pulls these two families from Google Fonts on every load, which
 * sits badly under a product that promises it doesn't depend on outside services
 * — the first thing a visitor's browser does is call a third party. These are the
 * same files, taken from the Fontsource packages on npm and served from here.
 *
 * Both are Open Font License; the licences ship alongside them in this directory.
 * Latin subset only, which is what keeps this to ~82KB for six weights.
 */

/* Saira — display and UI */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/saira-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/saira-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/saira-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/saira-latin-800-normal.woff2') format('woff2');
}

/* IBM Plex Mono — code, logs, data */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}
