/* 2026-11-12 site languages: the site font Sora has no Cyrillic, Thai or Devanagari letters, so those come from
   Manrope (Cyrillic), Noto Sans Thai and Noto Sans Devanagari under the same family name. unicode-range = downloaded only when such
   letters are on screen. Vietnamese: i18n-font-vi.css (loaded only for vi). */

/* cyrillic-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/manrope/v23/xn7gYHE41ni1AdIRggqxSuXd.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: 'Sora';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/manrope/v23/xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* thai */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfKI2hX2g.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* devanagari (Hindi) */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansdevanagari/v33/TuG7UUFzXI5FBtUq5a8bjKYTZjtRU6Sgv3NaV_SNmI0b8QQCQmHN5TV_9qo.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;
}

/* 2026-11-13 AQ P3c: Arabic script (ar, fa, ur) and Bengali (bn), self-hosted in fonts/i18n/ (font-src 'self').
   Noto Sans Arabic 2.012 and Noto Sans Bengali 3.011 (SIL OFL 1.1, Google Fonts / notofonts), variable wght, subset to
   the script with fontTools (scratchpad p3c-tools/build.py). Arabic: one Naskh-style sans for all three languages
   (Urdu too: Nastaliq is ~2x taller, heavy and hard to read at button sizes); its wght axis starts at 400, so Arabic
   text never renders thinner than 400. The ascent/descent overrides only change line-height: normal boxes (Noto's own
   metrics give 2.1 em lines). Digits, Latin and punctuation stay Sora (not in these ranges), so prices keep Western
   digits. Same weight range as Google's Sora faces (100 800), so every Sora face stays one font for the browser.
   Greek (el): css/i18n-font-el.css, linked only on Greek pages (Sora has no Greek, and the English site already
   shows a Greek letter, the ETH sign, which must keep rendering as today). */

/* arabic (ar, fa, ur) */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-wght.woff2?v=1) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
/* arabic, rare: Extended-A + presentation forms (pasted legacy text), separate file, downloaded only if used */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-rare-wght.woff2?v=1) format('woff2');
  unicode-range: U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
/* bengali (bn); the danda U+0964 stays with the Devanagari face above (same Noto design) */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-bengali-wght.woff2?v=1) format('woff2');
  unicode-range: U+0980-09FE;
}
/* the same files for the Inter text (Inter faces are one per weight: 300 400 500 600, so these match them) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-wght.woff2?v=1) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-rare-wght.woff2?v=1) format('woff2');
  unicode-range: U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-bengali-wght.woff2?v=1) format('woff2');
  unicode-range: U+0980-09FE;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-wght.woff2?v=1) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-rare-wght.woff2?v=1) format('woff2');
  unicode-range: U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-bengali-wght.woff2?v=1) format('woff2');
  unicode-range: U+0980-09FE;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-wght.woff2?v=1) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-rare-wght.woff2?v=1) format('woff2');
  unicode-range: U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-bengali-wght.woff2?v=1) format('woff2');
  unicode-range: U+0980-09FE;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-wght.woff2?v=1) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-arabic-rare-wght.woff2?v=1) format('woff2');
  unicode-range: U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
  ascent-override: 105%;
  descent-override: 50%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/i18n/noto-sans-bengali-wght.woff2?v=1) format('woff2');
  unicode-range: U+0980-09FE;
}

/* Arabic-script typography. letter-spacing breaks the joining of the letters; there are no capitals and no italics
   in Arabic script (a slanted Naskh is a synthetic oblique); marks above and below need taller lines. */
:lang(ar) *, :lang(fa) *, :lang(ur) *,
:lang(ar) *::before, :lang(fa) *::before, :lang(ur) *::before,
:lang(ar) *::after, :lang(fa) *::after, :lang(ur) *::after {
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-style: normal !important;
}
:lang(ar) :is(p, li, dd, blockquote, figcaption),
:lang(fa) :is(p, li, dd, blockquote, figcaption),
:lang(ur) :is(p, li, dd, blockquote, figcaption) { line-height: 1.7; }

/* Bengali: vowel signs above and below the letters need taller lines in running text. */
:lang(bn) :is(p, li, dd, blockquote, figcaption) { line-height: 1.6; }
