/* The three families, served from this origin — Step 66, guard 31.
 *
 * WHY THESE ARE NOT LOADED FROM fonts.googleapis.com ANY MORE.
 *
 * Turn 41b sets a cold-open budget of 1.5s and justifies it in one sentence: "offline-first means
 * the paint depends on nothing remote, so the budget is honest." Guard 31 in
 * `tests/budgets/cold-open.budget.ts` checks that premise instead of assuming it, and the premise
 * was false. A `<link rel="stylesheet">` is RENDER-BLOCKING, and this one pointed at a third party,
 * so first paint waited on a DNS lookup, a TLS handshake and a response from a Google server. On a
 * good network that is invisible; on a bad one the driver watches a white screen until the request
 * times out — which is exactly the network a driver logging a shift in a car park is on.
 *
 * `display=swap` did not save it. That governs the FONT FILE, not the stylesheet: it prevents
 * invisible text once the CSS has arrived, and does nothing about waiting for the CSS.
 *
 * THIS KEEPS THE WIN THE ORIGINAL CHANGE WAS MAKING. The comment in `index.html` records why these
 * moved into the head in the first place — an `@import` inside a React-rendered `<style>` could not
 * start until ~242 KB of JS had downloaded, parsed and mounted, so the display font of the LCP
 * element arrived three serialized round trips late and swapped visibly every time. Fonts still
 * start on HTML parse here. They simply start from a file this deployment already serves.
 *
 * AND IT REMOVES A THIRD-PARTY REQUEST FROM EVERY PAGE LOAD. Google Fonts sees the IP of every
 * visitor. For a product whose privacy pane (27a) opens "RoadKept does not know where you are",
 * a font CDN learning that a driver opened the app is a small contradiction, but it is a real one
 * and it costs 108 KB to remove.
 *
 * LATIN SUBSET ONLY. The product is English-only; latin-ext, cyrillic, greek and vietnamese are
 * roughly two thirds of the bytes Google would have served and not one glyph of them is reachable.
 *
 * Licence: all three families are SIL Open Font License 1.1, which permits self-hosting and
 * redistribution. Barlow Condensed (Jeremy Tribby), Public Sans (USWDS), IBM Plex Mono (IBM).
 */

/* Public Sans ships as a VARIABLE font, so one file covers 400, 600 and 700 — the three weights
   Google served as three identical downloads. `font-weight: 400 700` is the range, not a mistake. */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/public-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-600.woff2") format("woff2");
}
