/* ═══════════════════════════════════════════════════════════════
   Self-hosted webfonts.

   Every page previously pulled these from fonts.googleapis.com, which put two
   extra origins on the critical path — a stylesheet from googleapis, then the
   font files themselves from gstatic — each needing its own DNS lookup and
   TLS handshake before a single glyph could render. Measured first
   contentful paint swung between 324ms and 1048ms run to run, and none of
   that variance was under this server's control.

   Served from this origin instead: no third-party lookup, no handshake, and
   the files sit behind the same immutable cache headers as every other
   versioned asset.

   Both faces are VARIABLE fonts, so one file per family covers the whole
   400–900 range the stylesheets use — 80KB for the pair, against 172KB for
   the static weights Google was serving.

   Latin subset only. The site is English and Indian-market financial data;
   the Cyrillic, Greek and Vietnamese subsets Google ships by default were
   never going to render a glyph here.

   To refresh: fetch the css2 URL with a browser user-agent, take the woff2
   URLs from the blocks whose unicode-range starts U+0000-00FF, and replace
   the two files in public/fonts/.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	/* The variable range, so 400 through 900 all come from this one file. */
	font-weight: 100 900;
	font-display: swap;
	src: url('/fonts/inter-latin.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: 'JetBrains Mono';
	font-style: normal;
	font-weight: 100 800;
	font-display: swap;
	src: url('/fonts/jetbrains-mono-latin.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;
}
