/* Inter, self-hosted.
 *
 * WHY THIS FILE EXISTS: until 12 August 2026 both sites fetched this font from
 * Google's CDN on every page load. That was the only third-party request either site
 * made, and Ross's instruction when moving off Forth was that nothing should depend on
 * another hosting service afterwards. A font served from somebody else's CDN is exactly
 * that, and it also means every visitor's request is visible to a third party on a site
 * whose whole premise is that it does not track anybody.
 *
 * WHY .ttf RATHER THAN .woff2, WHICH WOULD BE A THIRD OF THE SIZE: Google's modern
 * stylesheet quotes .woff2 URLs that return 404 from here. Every one of the seven was
 * tested individually with a browser user-agent and a referer; all seven 404. The legacy
 * endpoint serves .ttf and works. Rather than ship a format nobody can fetch, or leave
 * the dependency in place, this uses the format that actually downloads.
 *
 * That trade costs about 261 KB across four weights. It is acceptable here because
 * font-display: swap means text paints immediately in a fallback and the font arrives
 * afterwards, so this is not in the critical render path. If somebody later has a working
 * woff2 conversion, replacing these four files and the format() hint is the whole change.
 *
 * WEIGHTS: 200, 300, 400 and 500 are all genuinely used — counted in both stylesheets
 * rather than assumed. The beta stylesheet also asks for 600 once and production for 100
 * once; neither was in the Google request either, so both already fall back to the nearest
 * available weight and behave identically self-hosted.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('inter-200.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('inter-300.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('inter-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('inter-500.ttf') format('truetype');
}
