/*
 * Localized font stacks for the 19 supported languages.
 * Include this stylesheet after style.css. Rules are keyed by the language
 * attribute emitted on the <html> element.
 *
 * Inter (self-hosted, 400/500/600/700) covers Latin, Latin Extended, Cyrillic
 * and Vietnamese. Arabic, Devanagari, CJK and Thai fall through per glyph to
 * the first installed system font in each stack (Windows, macOS, Android/iOS
 * and Linux families are listed). Full Noto families are not bundled: their
 * per-script weights would add megabytes while these fallbacks ship with the
 * operating systems the site serves.
 */

:lang(ar) {
    font-family: 'Inter', 'Segoe UI', Tahoma, 'Noto Naskh Arabic', 'Geeza Pro', 'Noto Sans Arabic', Arial, sans-serif;
    line-height: 1.75;
}

:lang(hi) {
    font-family: 'Inter', 'Noto Sans Devanagari', 'Nirmala UI', Mangal, 'Kohinoor Devanagari', 'Devanagari Sangam MN', 'Segoe UI', sans-serif;
    line-height: 1.7;
}

:lang(zh),
:lang(zh-Hans) {
    font-family: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Source Han Sans SC', sans-serif;
    line-height: 1.7;
}

:lang(ja) {
    font-family: 'Inter', 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.7;
}

:lang(ko) {
    font-family: 'Inter', 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans CJK KR', sans-serif;
    line-height: 1.7;
}

:lang(th) {
    font-family: 'Inter', 'Noto Sans Thai', 'Leelawadee UI', 'Thonburi', Tahoma, sans-serif;
    line-height: 1.75;
}
