/* Inter, self-hosted.
 *
 * The portals used to pull this font from fonts.googleapis.com. That is blocked
 * by our own Content-Security-Policy (default-src 'self'), so on the teacher and
 * admin portals the font silently failed and the browser fell back to a system
 * font. Rather than loosen the CSP for an outside domain, the font files now sit
 * in /fonts next to the app, so nothing is fetched from a third party at all.
 *
 * Files are the Latin subset of Inter (SIL Open Font License 1.1).
 * font-display: swap keeps text visible while the file loads.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-latin-800-normal.woff2') format('woff2');
}
