/* ---------- SELF-HOSTED WEB FONTS ----------
   Space Grotesk (headings, brand) and IBM Plex Sans / Mono (body, numbers),
   served from this origin instead of fonts.googleapis.com.

   WHY THIS FILE EXISTS. Every page — including /app/ — used to open with a
   stylesheet link to fonts.googleapis.com and a preconnect to
   fonts.gstatic.com. That is a request to Google on every page load, carrying
   the visitor's IP address and user-agent, made before anything is rendered.

   It is not analytics, so it did not contradict the Privacy Policy's "we don't
   track how you use the app itself" in the letter. It contradicted it in the
   spirit, and the spirit is the point: that policy says our analytics stop at
   the sign-in screen, and says it deliberately, because once someone is signed
   in they are a customer holding their prospects' personal data. Leaving a
   third-party font request inside the authenticated app was the one place that
   line was drawn on paper and not in code. (It is also the specific
   arrangement a German court found unlawful under GDPR in 2022 — the IP
   transfer is the whole finding, and self-hosting is the whole remedy.)

   The fonts are unchanged: same families, same weights, same rendering. What's
   gone is the third party.

   LICENSING. Both families are SIL Open Font License 1.1, which permits
   self-hosting without restriction. See fonts/OFL.txt for the full text and
   the upstream sources.

   WHAT'S HERE. Google serves these as subsets keyed by unicode-range, and that
   mechanism is worth keeping rather than flattening into one big file: a
   browser downloads a subset only if the page actually uses a character in it.
   An English page pulls the three `latin` files (~72KB) and never touches
   latin-ext. A page showing a prospect called Łukasz pulls one more.

   Plex Sans and Space Grotesk are VARIABLE fonts — one file each spans the
   whole weight range, which is why there is no per-weight file for them and
   why `font-weight` below is a range, not a value. Plex Mono is not, so it has
   a static file per weight. Requesting a weight inside a declared range is
   what makes 500 and 600 render as real intermediate weights rather than as
   the browser smearing 400.

   Latin unicode-range covers U+0000-00FF (most Western European accents);
   latin-ext adds Central/Eastern European and Turkish. Copied verbatim from
   what Google serves, so the split behaves identically.
*/

/* U+0000-00FF and friends — everything an English or Western European page needs. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-var-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: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-var-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plex Mono is static, not variable — one file per weight. */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-500-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
