/*
 * Roboto, self-hosted. Replaces the Google Fonts stylesheet that index.html
 * previously loaded from Google's font CDN, which in turn fetched woff2 files
 * from a second Google host. Serving these locally means no request leaves this
 * origin. Hostnames are deliberately not written out below, so that an audit
 * grepping the build for external hosts returns a clean zero.
 * See docs/self-hosting-plan.md.
 *
 * Files are the latin subset from @fontsource/roboto 5.3.0.
 *
 * Weights 400, 500 and 700 only. The old Google Fonts URL requested
 * 100,300,400,500,700,900, but the application's stylesheets use 400, 500, 600
 * and 700:
 *   - 100, 300 and 900 were requested and never used.
 *   - 600 is used but was never among the requested weights, so the browser
 *     already synthesises it from the nearest heavier face (700) via the CSS
 *     font-matching algorithm. Hosting 400/500/700 keeps that behaviour
 *     identical.
 * If a stylesheet ever starts using 100, 300 or 900, add the corresponding
 * woff2 to files/ and declare it here.
 *
 * font-display: swap matches the previous "&display=swap" parameter.
 */

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('files/roboto-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('files/roboto-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('files/roboto-latin-700-normal.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+2074, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}
