/* Noto Sans Devanagari — self-hosted (no external Google Fonts; matches the
   supply-chain/GDPR policy in fonts.css). Loaded ONLY on Hindi pages
   (base_public.html links this conditionally when current_lang()=='hi'), so
   the ~120KB Devanagari subset never weighs on the other 17 languages.
   One file covers the used weights; unicode-range limits it to Devanagari +
   related blocks so it never overrides Latin text (Inter still wins there). */
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/static/vendor/fonts/notosansdevanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

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