/* Barlow — self-hosted. Do not replace this with a Google Fonts link.
 *
 * This file exists because index.html used to carry:
 *   @import url('https://fonts.googleapis.com/css2?family=Barlow...&family=JetBrains+Mono...')
 * inside a <style> block, which was wrong twice over.
 *
 * 1. PRIVACY. Every visitor's IP went to Google before the login form could
 *    render. This is the sign-in page for K-12 school district staff, and Fork
 *    Farms publishes a sub-processor list. A font should not put Google in it.
 *
 * 2. SPEED. A CSS @import is the slowest way to load a font: it is invisible to
 *    the browser's preload scanner and cannot start until the stylesheet that
 *    contains it has been fetched and parsed. A <link> in <head> at least starts
 *    early; self-hosted files start earlier still, with no second origin to
 *    resolve, connect and negotiate TLS with first.
 *
 * Only the four weights this app actually uses are here. The old import also
 * pulled FIVE weights of JetBrains Mono to style one heading on the
 * misconfiguration screen — a screen whose own comment says it never renders in
 * normal operation. Those rules now use Barlow (see App.css).
 *
 * Barlow is SIL Open Font License 1.1; OFL.txt ships alongside as required.
 */

@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('/fonts/barlow-300.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: 'Barlow';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/barlow-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: 'Barlow';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/fonts/barlow-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;
}

@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/barlow-700.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;
}
