/* Declare font base on language.
   Code generated in index.html #css-variables
*/

:root {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='en'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

/*
  Arabic: headings use the unmodified Amiri face ('Amiri Arabic', see the @font-face
  comment below) so the vocalisation marks are not clipped by the Noto Sans metrics
  override. Body text uses Noto Sans Arabic, which ships as fonts-ar.css.
*/
[lang='ar'] {
  --vds-font-family: 'Noto Sans Arabic';
  --vds-headings-font-family: 'Amiri Arabic';
}

[lang='bg'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Noto Serif';
}

[lang='ca'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='cs'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='da'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='de'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='el'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Noto Serif';
}

[lang='es'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='fa'] {
  --vds-font-family: 'Noto Sans Arabic';
  --vds-headings-font-family: 'Noto Naskh Arabic';
}

[lang='fi'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='fr'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='gu'] {
  --vds-font-family: 'Noto Sans Gujarati';
  --vds-headings-font-family: 'Noto Serif Gujarati';
}

[lang='he'] {
  --vds-font-family: 'Noto Sans Hebrew';
  --vds-headings-font-family: 'Noto Serif Hebrew';
}

[lang='hi'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Noto Serif Devanagari';
}

[lang='hu'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='id'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='it'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='ja'] {
  --vds-font-family: 'Noto Sans JP';
  --vds-headings-font-family: 'Noto Serif JP';
}

[lang='km'] {
  --vds-font-family: 'Noto Sans Khmer';
  --vds-headings-font-family: 'Noto Serif Khmer';
}

[lang='ko'] {
  --vds-font-family: 'Noto Sans KR';
  --vds-headings-font-family: 'Noto Serif KR';
}

[lang='lt'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='lv'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='mk'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Noto Serif';
}

[lang='mr'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Noto Serif Devanagari';
}

[lang='nl'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='or'] {
  --vds-font-family: 'Noto Sans Oriya';
  --vds-headings-font-family: 'Noto Serif Oriya';
}

[lang='pl'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='pt'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='ro'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='ru'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Noto Serif';
}

[lang='si'] {
  --vds-font-family: 'Noto Sans Sinhala';
  --vds-headings-font-family: 'Noto Serif Sinhala';
}

[lang='sl'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='sr'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Noto Serif';
}

[lang='sv'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='ta'] {
  --vds-font-family: 'Noto Sans Tamil';
  --vds-headings-font-family: 'Noto Serif Tamil';
}

[lang='te'] {
  --vds-font-family: 'Noto Sans Telugu';
  --vds-headings-font-family: 'Noto Serif Telugu';
}

[lang='th'] {
  --vds-font-family: 'Noto Sans Thai';
  --vds-headings-font-family: 'Noto Serif Thai';
}

[lang='tr'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Amiri';
}

[lang='uk'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Noto Serif';
}

[lang='vi'] {
  --vds-font-family: 'Noto Sans';
  --vds-headings-font-family: 'Noto Serif';
}

[lang='zh-HANS'] {
  --vds-font-family: 'Noto Sans SC';
  --vds-headings-font-family: 'Noto Serif SC';
}

[lang='zh-Hans'] {
  --vds-font-family: 'Noto Sans SC';
  --vds-headings-font-family: 'Noto Serif SC';
}

[lang='zh-HANT'] {
  --vds-font-family: 'Noto Sans TC';
  --vds-headings-font-family: 'Noto Serif TC';
}

[lang='zh-Hant'] {
  --vds-font-family: 'Noto Sans TC';
  --vds-headings-font-family: 'Noto Serif TC';
}

[lang='zh-HANT-HK'] {
  --vds-font-family: 'Noto Sans HK';
  --vds-headings-font-family: 'Noto Serif HK';
}

/*
  Amiri, from the upstream release in `fonts/amiri/originals` (Amiri 1.002, SIL OFL).
  The .woff2 next to it is only a recompression of the original .ttf: outlines, advances
  and metrics are byte-identical, so this is the untouched font.

  Two things are tuned here instead of shipping an edited font binary:

  1. `size-adjust: 120%` — Amiri is drawn small compared to Noto Sans, so headings were
     scaled up 20% to sit comfortably above the body text. This used to be baked into a
     hand-edited `Amiri-Regular-v2.woff2` (only the outlines were scaled there, not the
     metrics), which is what made Amiri drift off the baseline. Doing it in CSS keeps the
     font file verifiable and the scaling reviewable.

  2. The metric overrides. Amiri's own metrics (ascent 1.124, descent 0.634) are much
     taller than Noto Sans (ascent 1.069, descent 0.293). The browser uses those metrics
     to place the baseline inside the line box, so Amiri text sits higher than the text
     around it. Overriding them to the Noto Sans values keeps every font on the same
     baseline.

  Careful: `ascent-override` / `descent-override` are relative to the em *after*
  `size-adjust`, so the Noto Sans values have to be divided by 1.2:
  106.9% / 1.2 = 89.08% and 29.3% / 1.2 = 24.42%.
*/
@font-face {
  font-family: 'Amiri';
  src: url('https://design-standards.dhamma.org/dist/fonts/amiri/Amiri-Regular.woff2');
  // src: url('http://127.0.0.1:5500/dist/fonts/amiri/Amiri-Regular.woff2');
  font-weight: 400;
  font-style: normal;
  size-adjust: 120%;
  ascent-override: 89.08%;
  descent-override: 24.42%;
  line-gap-override: 0%;
}

/*
  Same file and same size, but with Amiri's own metrics, for Arabic script only.
  Amiri is an Arabic typeface: once vocalised, the ink of its harakat reaches about
  1.29em above and 0.76em below the baseline (measured on a corpus of vocalised text,
  with the glyphs at 120%). With the Noto Sans override above (1.069 / 0.293) the marks
  would sit well outside the line box and be clipped by any `overflow: hidden` or
  overlap the previous/next line. Arabic headings therefore use this face, while Latin
  headings keep the aligned baseline.
  Note: even Amiri's own metrics (1.124 / 0.634) are tighter than that ink, so Arabic
  headings should also keep a generous line-height (1.5 or more).
*/
@font-face {
  font-family: 'Amiri Arabic';
  src: url('https://design-standards.dhamma.org/dist/fonts/amiri/Amiri-Regular.woff2');
  font-weight: 400;
  font-style: normal;
  size-adjust: 120%;
}

/*
  Amiri SemiBold. Upstream Amiri only ships Regular (400) and Bold (700), and the Bold
  is far too heavy for the headings, which is why the browser used to synthesise a bold
  from the regular face. Synthesised bold is engine dependent — Chrome inflates the
  glyphs (cap height +5%, stems +40%) instead of thickening the strokes — so the same
  heading does not look the same in every browser or every export tool.

  This face is generated from the regular one by pushing every contour outward by 13
  units, which puts the stem width halfway between Regular (85 units) and Bold (137.5
  units): 111 units, i.e. the 600 that `$headings-font-weight` asks for. Outlines are
  the only thing that change: metrics, advances, kerning and the mark positioning
  tables are the untouched upstream ones, so nothing reflows and this face needs the
  exact same descriptors as the regular one.
*/
@font-face {
  font-family: 'Amiri';
  src: url('https://design-standards.dhamma.org/dist/fonts/amiri/Amiri-SemiBold.woff2');
  // src: url('http://127.0.0.1:5500/dist/fonts/amiri/Amiri-SemiBold.woff2');
  font-weight: 600;
  font-style: normal;
  size-adjust: 120%;
  ascent-override: 89.08%;
  descent-override: 24.42%;
  line-gap-override: 0%;
}

// Same semi-bold weight for the Arabic headings, still with Amiri's own metrics.
@font-face {
  font-family: 'Amiri Arabic';
  src: url('https://design-standards.dhamma.org/dist/fonts/amiri/Amiri-SemiBold.woff2');
  font-weight: 600;
  font-style: normal;
  size-adjust: 120%;
}

/*
  Disable this for now so we only use SemiBold for headings.
  Amiri Bold, the untouched upstream 700 face. It is not used by the headings (600
  resolves to the generated SemiBold above)
*/
// @font-face {
//   font-family: 'Amiri';
//   src: url('https://design-standards.dhamma.org/dist/fonts/amiri/Amiri-Bold.woff2');
//   // src: url('http://127.0.0.1:5500/dist/fonts/amiri/Amiri-Bold.woff2');
//   font-weight: 700;
//   font-style: normal;
//   size-adjust: 120%;
//   ascent-override: 89.08%;
//   descent-override: 24.42%;
//   line-gap-override: 0%;
// }

// Same bold weight for the Arabic headings, still with Amiri's own metrics.
// @font-face {
//   font-family: 'Amiri Arabic';
//   src: url('https://design-standards.dhamma.org/dist/fonts/amiri/Amiri-Bold.woff2');
//   font-weight: 700;
//   font-style: normal;
//   size-adjust: 120%;
// }

/*
  Noto Serif is the heading face for the scripts Amiri does not cover
  (Cyrillic, Greek, Vietnamese) and the fallback for any glyph Amiri is missing.
  Amiri is a serif, so letting headings fall back to Noto Sans produced a visible
  style break; Noto Serif keeps the editorial look.

  `size-adjust: 108.5%` matches Amiri's optical size. Amiri is drawn small and is
  used at 120% (see above), so its capitals are 0.646 * 1.2 = 0.775em tall, while
  Noto Serif's capitals are 0.714em. 0.775 / 0.714 = 1.085: at 108.5% both faces
  show the same capital height for the same font-size, which is what makes the two
  interchangeable in a heading without the fallback looking smaller.

  The metric overrides do for Noto Serif what they do for Amiri: they keep the
  line box on the Noto Sans values (1.069 / 0.293) so the baseline does not move
  when a heading switches face. They are relative to the em after `size-adjust`,
  hence the division by 1.085: 106.9% / 1.085 = 98.53% and 29.3% / 1.085 = 27%.

  Note: these are the Google Fonts woff2 subsets. The file is variable (weight axis),
  hence one file per subset with `font-weight: 300 700`.
*/
/* cyrillic-ext */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserif/v33/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf3D33Esw.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserif/v33/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf-D33Esw.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserif/v33/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf2D33Esw.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserif/v33/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf5D33Esw.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* math */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserif/v33/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYeGD33Esw.woff2') format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}

/* vietnamese */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserif/v33/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf1D33Esw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserif/v33/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf0D33Esw.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserif/v33/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf6D30.woff2') format('woff2');
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
  Noto Serif Devanagari. Hindi and Marathi headings used to ask for Amiri, which has
  no Devanagari at all, so they silently fell back to whatever the system had.
  Same size-adjust as Noto Serif so a heading keeps the scale of the Latin ones.
*/
/* devanagari */
@font-face {
  font-family: 'Noto Serif Devanagari';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserifdevanagari/v34/x3dNcl3IZKmUqiMk48ZHXJ5jwU-DZGRSaQ4Hh2dGyFzPLcQPVbnRH-xEMqTN.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}

/* latin-ext */
@font-face {
  font-family: 'Noto Serif Devanagari';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserifdevanagari/v34/x3dNcl3IZKmUqiMk48ZHXJ5jwU-DZGRSaQ4Hh2dGyFzPLcQPVbnRH-NEMqTN.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Noto Serif Devanagari';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://design-standards.dhamma.org/dist/fonts/notoserifdevanagari/v34/x3dNcl3IZKmUqiMk48ZHXJ5jwU-DZGRSaQ4Hh2dGyFzPLcQPVbnRH-1EMg.woff2') format('woff2');
  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;
}

/*
  https: //fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400&display=swap
*/

/* cyrillic-ext */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0NIpQlx3QUlC5A4PNjThZVadyB1Wk.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0NIpQlx3QUlC5A4PNjThZVYNyB1Wk.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* devanagari */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0NIpQlx3QUlC5A4PNjThZVZdyB1Wk.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839,
    U+A8E0-A8FF;
}

/* greek-ext */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0NIpQlx3QUlC5A4PNjThZVaNyB1Wk.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0NIpQlx3QUlC5A4PNjThZVZ9yB1Wk.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}

/* vietnamese */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0NIpQlx3QUlC5A4PNjThZVa9yB1Wk.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0,
    U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0NIpQlx3QUlC5A4PNjThZVatyB1Wk.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0NIpQlx3QUlC5A4PNjThZVZNyB.woff2) format('woff2');
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0IIpQlx3QUlC5A4PNr6DRAW_0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0IIpQlx3QUlC5A4PNr4TRAW_0.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* devanagari */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0IIpQlx3QUlC5A4PNr5DRAW_0.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839,
    U+A8E0-A8FF;
}

/* greek-ext */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0IIpQlx3QUlC5A4PNr6TRAW_0.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0IIpQlx3QUlC5A4PNr5jRAW_0.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}

/* vietnamese */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0IIpQlx3QUlC5A4PNr6jRAW_0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0,
    U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0IIpQlx3QUlC5A4PNr6zRAW_0.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://design-standards.dhamma.org/dist/fonts/notosans/v30/o-0IIpQlx3QUlC5A4PNr5TRA.woff2) format('woff2');
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}