/* Just Say When — self-hosted webfonts.
 *
 * WHY THESE ARE LOCAL, 2026-09-16
 * These used to load from fonts.googleapis.com / fonts.gstatic.com, which meant
 * every signed-in hospital user's browser made a request to Google carrying
 * their IP, User-Agent and a Referer of the page they were on. Hospital vendor
 * security standards — NYP's "Use of Trackers" clause among them — prohibit
 * third-party tracking of their staff's usage without written privacy consent.
 * Google's font endpoints are cookieless and not used for ad profiling, so this
 * was never a real tracker; it was a third-party call that a reviewer sees in a
 * network trace and has to have explained. Cheaper to not have it.
 *
 * The practical win is the Content-Security-Policy: with these local,
 * vercel.json no longer has to allow fonts.googleapis.com in style-src or
 * fonts.gstatic.com in font-src, which is one less thing standing between the
 * CSP and enforcing mode.
 *
 * LICENCE: DM Sans and DM Serif Display are both SIL Open Font License 1.1,
 * which expressly permits redistribution and self-hosting. Copies of the
 * licence ship alongside the files here as OFL-DM-Sans.txt and
 * OFL-DM-Serif-Display.txt.
 *
 * REGENERATING (fonts v17, pulled 2026-09-16): request
 *   https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@300;400;500;600&display=swap
 * with a modern browser User-Agent (an old one gets you TTF, not woff2), then
 * download the four URLs it names. The unicode-range blocks below are copied
 * verbatim from that response — do not hand-edit them, or glyphs outside the
 * range silently fall back to a system font.
 *
 * DM Sans is a VARIABLE font: one file serves every weight. The declared range
 * is 300-600 because that is exactly what the Google request asked for, so
 * rendering is unchanged from before. A weight outside it (bold 700) is
 * synthesised by the browser — which is also what happened before this change.
 */

/* ── DM Sans (variable, 300-600) ─────────────────────────────────────────── */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/dm-sans-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;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/dm-sans-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;
}

/* ── DM Serif Display (static, 400) ──────────────────────────────────────── */
/* latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-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;
}
/* latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-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;
}
