/*
 * Self-hosted font faces: heading, UI and data.
 *
 * The three families Xpando names in uno.config.ts, served from our own origin:
 * no Google Fonts request, no third-party CDN, nothing for the CSP to allow
 * (`font-src 'self' data:`). All three are OFL-1.1 and ship their licence
 * inside the package. Copied from XO's apps/xo_web/assets/css/fonts.css
 * (commit a964362) with Xpando's three families.
 *
 * The `.woff2` files are NOT committed. `bun run build:fonts` copies them out
 * of `node_modules/@fontsource-variable/*` into `priv/static/fonts/`, which
 * `Xpando.WebWeb.static_paths/0` already serves, and publishes this file to
 * `priv/static/assets/fonts.css`. `mise run assets:build` runs it.
 *
 * Each family is a VARIABLE font on the weight axis only, declared under its
 * plain name (`Inter`, not fontsource's `Inter Variable`) so the family stacks
 * in uno.config.ts read as written. Normal style only: Xpando sets no italic
 * text, so the italic faces XO ships are not published here.
 *
 * `latin-ext` stays: Hungarian needs U+0150/0151 and U+0170/0171, which live
 * outside the `latin` subset.
 */

/* Space Grotesk: headings (`font-heading`) */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/fonts/space-grotesk-latin-wght-normal-87c506d88b9f587f0e2292bc271f5083.woff2?vsn=d") 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: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/fonts/space-grotesk-latin-ext-wght-normal-0bb2ef2eda4ec8a543480fd42836a66d.woff2?vsn=d") 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;
}

/* Inter: UI text (`font-sans`) */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal-260c81a4759baf163c025001c4f27872.woff2?vsn=d") 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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal-1ad231aac0a8a891b8374aa5526a5813.woff2?vsn=d") 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;
}

/* JetBrains Mono: data and code (`font-mono`) */

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("/fonts/jetbrains-mono-latin-wght-normal-b058178d7f309414f8f856b99fd80d9b.woff2?vsn=d") 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: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("/fonts/jetbrains-mono-latin-ext-wght-normal-e36841ed93d5bfe6b1d487d18ad7e90b.woff2?vsn=d") 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;
}
