/*
 * Bengali — Noto Sans Bengali.
 *
 * GENERATED-ISH, BUT COMMITTED AND EDITABLE. Like every other face on this site the files are
 * served from our own origin, never a webfont CDN — the page states that no request leaves for
 * anybody else's server, and the host ships a strict CSP.
 *
 * ⚠ THIS FILE IS LOADED BY ONE LOCALE GROUP ONLY (bn), from
 * src/components/ScriptFont.tsx. That is the whole design: see the header of
 * src/styles/fonts.css for why unicode-range alone could not do this job.
 *
 * It sets --font-script / --font-mono-script rather than --font, so it never has to win a
 * cascade race against tokens.css: those two are consumed through var() inside --font, so the
 * order the stylesheets happen to load in cannot change the result.
 *
 * The subset already carries U+0964, the danda. That matters: Bengali ends its sentences
 * with it, it lives in the DEVANAGARI block, and it is the only non-Bengali codepoint the
 * whole bn dictionary uses — so it costs nothing here and would otherwise have dragged the
 * entire Devanagari face onto the Bengali page for one full stop.
 */

@font-face {
  font-family: "Noto Sans Bengali";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-sans-bengali-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Bengali";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/noto-sans-bengali-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Bengali";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/noto-sans-bengali-700-normal.woff2") format("woff2");
}

:root {
  --font-script: "Noto Sans Bengali";
  --font-mono-script: "Noto Sans Bengali";
}
