/*
 * Self-hosted DM Sans / DM Serif Display (#2290), replacing the
 * fonts.googleapis.com stylesheet the /fonts-loader.js trick (#2104) used
 * to fetch asynchronously. These files are vendored from the published
 * @fontsource-variable/dm-sans and @fontsource/dm-serif-display packages
 * (SIL OFL 1.1 — see the OFL-*.txt files in this directory) rather than
 * hand-subsetted, so the unicode-range split below matches upstream Google
 * Fonts' own latin/latin-ext split exactly.
 *
 * font-display: optional (not the fontsource default of swap) to match the
 * behavior #2104 established: first-time visitors paint with the fallback
 * immediately and never see a mid-render swap; the font is fetched in the
 * background and used from the next paint once cached.
 *
 * Being same-origin, this stylesheet no longer needs the async-injection
 * dance /fonts-loader.js did to dodge a cross-origin round trip — a plain
 * synchronous <link> in index.html resolves on the same connection as the
 * document itself.
 */

/*
 * DM Sans — variable font, opsz 9..40. Roman spans the full 300-900 weight
 * range the app actually uses (#2260/#2294 both fixed this list silently
 * shrinking to 300/400/500 — verified against every `font-weight`/`font-*`
 * Tailwind class and inline style in apps/web/src before subsetting). Italic
 * is declared at 400 only, matching the one italic weight actually
 * requested (index.html's old css2 URL asked for
 * `1,9..40,400` on the italic axis and nothing else).
 */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: optional;
  font-weight: 300 900;
  src: url('./dm-sans-latin-ext-standard-normal.woff2') format('woff2-variations');
  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: 'DM Sans';
  font-style: normal;
  font-display: optional;
  font-weight: 300 900;
  src: url('./dm-sans-latin-standard-normal.woff2') format('woff2-variations');
  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: 'DM Sans';
  font-style: italic;
  font-display: optional;
  font-weight: 400;
  src: url('./dm-sans-latin-ext-standard-italic.woff2') format('woff2-variations');
  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: 'DM Sans';
  font-style: italic;
  font-display: optional;
  font-weight: 400;
  src: url('./dm-sans-latin-standard-italic.woff2') format('woff2-variations');
  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 — single weight (400), roman + italic. */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-display: optional;
  font-weight: 400;
  src: url('./dm-serif-display-latin-ext-400-normal.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: 'DM Serif Display';
  font-style: normal;
  font-display: optional;
  font-weight: 400;
  src: url('./dm-serif-display-latin-400-normal.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: 'DM Serif Display';
  font-style: italic;
  font-display: optional;
  font-weight: 400;
  src: url('./dm-serif-display-latin-ext-400-italic.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: 'DM Serif Display';
  font-style: italic;
  font-display: optional;
  font-weight: 400;
  src: url('./dm-serif-display-latin-400-italic.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;
}
