/* Final semantic typography layer. Load after the shared site stylesheet. */

:root {
  --font-display: "Inter Tight", "Noto Sans", sans-serif;
  --font-body: "Inter", "Noto Sans", sans-serif;
  --font-ui: "Inter", "Noto Sans", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
}

html,
body,
body.ms-site {
  font-family: var(--font-body);
}

[data-display],
.hero-title,
.section-title,
.page-title,
.page-hero h1,
.hero-copy h1,
.section-heading h2,
.scope-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.menu-kicker,
.drawer-kicker,
.blackbox-label,
.noir-label,
code,
pre {
  font-family: var(--font-mono);
}

body.ms-site:lang(ar),
body.ms-site:lang(fa),
:lang(ar),
:lang(fa) {
  font-family: "Noto Naskh Arabic", "Noto Sans", sans-serif;
}

body.ms-site:lang(ar) :is(h1, h2, h3, [data-display], .hero-title, .section-title, .page-title),
body.ms-site:lang(fa) :is(h1, h2, h3, [data-display], .hero-title, .section-title, .page-title) {
  font-family: "Noto Naskh Arabic", "Noto Sans", sans-serif;
  letter-spacing: normal;
}

body.ms-site:lang(hi),
:lang(hi) {
  font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif;
}

body.ms-site:lang(hi) :is(h1, h2, h3, [data-display], .hero-title, .section-title, .page-title) {
  font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif;
  letter-spacing: normal;
}

body.ms-site:lang(ja),
:lang(ja) {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
}

body.ms-site:lang(ja) :is(h1, h2, h3, [data-display], .hero-title, .section-title, .page-title) {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  letter-spacing: normal;
}

body.ms-site:lang(ko),
:lang(ko) {
  font-family: "Noto Sans KR", "Noto Sans", sans-serif;
}

body.ms-site:lang(ko) :is(h1, h2, h3, [data-display], .hero-title, .section-title, .page-title) {
  font-family: "Noto Sans KR", "Noto Sans", sans-serif;
  letter-spacing: normal;
}

body.ms-site:lang(zh-Hans),
body.ms-site:lang(zh-CN),
:lang(zh-Hans),
:lang(zh-CN) {
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
}

body.ms-site:lang(zh-Hans) :is(h1, h2, h3, [data-display], .hero-title, .section-title, .page-title),
body.ms-site:lang(zh-CN) :is(h1, h2, h3, [data-display], .hero-title, .section-title, .page-title) {
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
  letter-spacing: normal;
}

body.ms-site:lang(zh-Hant),
body.ms-site:lang(zh-TW),
:lang(zh-Hant),
:lang(zh-TW) {
  font-family: "Noto Sans TC", "Noto Sans", sans-serif;
}

body.ms-site:lang(zh-Hant) :is(h1, h2, h3, [data-display], .hero-title, .section-title, .page-title),
body.ms-site:lang(zh-TW) :is(h1, h2, h3, [data-display], .hero-title, .section-title, .page-title) {
  font-family: "Noto Sans TC", "Noto Sans", sans-serif;
  letter-spacing: normal;
}
