/* Public site typography follows the existing surface language and tokens. */
:root {
  --ipspace-font-en: "IP Space UI Latin", Inter, Arial, system-ui, sans-serif;
  --ipspace-font-ko: "IP Space UI Latin", "Pretendard Variable", Pretendard, "IP Space UI Simplified Han",
    "Noto Sans KR", "Malgun Gothic", "Microsoft YaHei", system-ui, sans-serif;
  --ipspace-font-sc: "IP Space UI Latin", "IP Space UI Simplified Han", "Noto Sans SC",
    "Pretendard Variable", "Microsoft YaHei", "Malgun Gothic", system-ui, sans-serif;
  --font-sans: var(--ipspace-font-ko);
  font-family: var(--font-sans);
}

:is(.v2-header-inner, .pe-page, .pf-page, .bpx-page, .mf-compact) {
  font-family: var(--ipspace-font-ko);
}

.v2-kicker {
  font-family: var(--ipspace-font-ko);
}

:root:lang(en), [lang|="en"]:not(:where(.v2-brand, .v2-brand *, .public-wordmark, .public-footer-brand, .brand, .brand *)) {
  font-family: var(--ipspace-font-en);
}

:lang(zh-hans), :lang(zh-cn), :lang(zh-sg) {
  font-family: var(--ipspace-font-sc);
}

[lang|="ko"]:not(:where(.v2-brand, .v2-brand *, .public-wordmark, .public-footer-brand, .brand, .brand *)) {
  font-family: var(--ipspace-font-ko);
}

.type-numeric {
  font-family: var(--ipspace-font-en);
  font-variant-numeric: tabular-nums;
}
