/* Noto Sans Arabic — self-hosted (no external Google Fonts; matches the
   supply-chain/GDPR policy in fonts.css). Loaded ONLY on Arabic pages
   (public.services.lang.inject_script_font links this when the resolved
   language is 'ar'), so the ~70KB Arabic subset never weighs on the other
   languages. Subset = Arabic (U+0600–06FF) + Arabic Supplement (U+0750–077F)
   + ZWJ/ZWNJ, with all GSUB/GPOS layout features retained (Arabic joining +
   shaping is done by the font, not by presentation-form codepoints). Latin is
   outside the unicode-range, so Inter still renders Latin/numbers. */
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/static/vendor/fonts/notosansarabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200D;
}

/* On Arabic pages, prepend Noto Sans Arabic to the global sans stack. Latin
   glyphs aren't in this font's unicode-range, so Inter still renders Latin. */
html[lang="ar"] {
  --sans: 'Noto Sans Arabic', 'Inter', 'Inter Tight', -apple-system,
          BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}
html[lang="ar"] body {
  font-family: var(--sans);
}
