/*
 * Global UI typography.
 *
 * Prefer each operating system's native interface font so every supported
 * script uses a font designed and hinted for that platform. Noto Sans and
 * common sans-serif faces provide progressively broader fallbacks without a
 * third-party font request or a large all-language webfont download.
 */
:root {
    --font-ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", "Noto Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html,
body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
summary,
dt,
dd,
label,
small,
strong,
span {
    font-family: var(--font-ui) !important;
}

main[lang="en"],
.site-footer [lang="en"] {
    direction: ltr;
    unicode-bidi: isolate;
}

code,
kbd,
samp,
pre {
    font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
