/*
 * Self-hosted webfonts for the exam site and the admin.
 *
 * These used to load from fonts.googleapis.com, which is a render-blocking
 * request to a third-party host — a bad dependency at the moment 100 machines
 * behind one NAT start an exam, where a slow or filtered endpoint stalls the
 * styled render. The files (IBM Plex + Instrument Serif, both OFL-licensed, so
 * self-hosting is permitted) are served from our own origin instead.
 *
 * WhiteNoise's manifest storage rewrites the url() paths below to their hashed
 * filenames at collectstatic time, so they cache far-future.
 *
 * font-display: swap keeps text visible in a fallback face until ours loads.
 * The generated standalone test files do NOT use this — they embed the fonts
 * as data URIs so a downloaded paper still renders offline.
 */

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("instrument-serif-400.c008db4e8a97.woff2") format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("instrument-serif-italic-400.26082c73a711.woff2") format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("plex-sans-400.d28498895ed7.woff2") format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("plex-sans-500.d28498895ed7.woff2") format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("plex-sans-600.d28498895ed7.woff2") format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("plex-sans-700.d28498895ed7.woff2") format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("plex-mono-400.814fe1615d4d.woff2") format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("plex-mono-500.6708425c446b.woff2") format('woff2');
}
