/*
  Self-hosted Noto Sans Hebrew for the right-to-left /tools locales.

  The twin of public/fonts/noto-sans-arabic/noto-sans-arabic.css, loaded the
  same way and for the same reasons. See that file for the long version of why
  a webfont for one locale lives in public/ instead of the module graph: the
  App Router hoists every stylesheet reachable from a route into that route's
  <head>, so an `import './x.css'` anywhere the [locale] layout can reach puts
  a Hebrew-only stylesheet on all ~1500 prerendered latin pages. A file under
  public/ is outside the module graph, so the only page that fetches it is one
  whose HTML carries the <link> RtlToolsShell renders for the Hebrew locale.

  The woff2 next to this file is the hebrew subset of the Noto Sans Hebrew
  variable font, axis wght 400..700, taken from the Google Fonts CDN (v50).
  OFL.txt next to it is the licence it ships under.

  unicode-range is the load-bearing part, twice over:
    1. The browser downloads the file only when the page actually paints a
       codepoint in the range.
    2. It is what lets 'Noto Sans Hebrew' sit near the front of the
       [dir='rtl'] stack in src/styles/main.css without stealing the latin run.
       An @font-face family only supplies the codepoints it declares;
       everything else falls through to Poppins, the product face. The range
       below is Google's own hebrew subset range, kept verbatim so the file and
       the declaration agree.

  font-display: swap, so Hebrew text paints in the fallback immediately and
  reflows once rather than holding the first paint hostage to a webfont.
*/
@font-face {
  font-family: 'Noto Sans Hebrew';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/noto-sans-hebrew/noto-sans-hebrew-hebrew-400-700.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
