@import url("/assets/fonts/faces.css?v=20261029-type-1");

/* Public website typography. Chinese and English use one editorial pair;
   other language stacks and the approved image wordmark retain their identity. */
:root {
  --font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-ui: var(--font-text);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --document-font: var(--font-text);
}
:root:lang(zh-Hans), :root:lang(zh-CN) {
  --font-text: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
:root:lang(zh-Hant), :root:lang(zh-TW), :root:lang(zh-HK) {
  --font-text: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif;
}
:root:lang(ja) {
  --font-text: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
}
:root:lang(ko) {
  --font-text: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif;
}
body { font-family: var(--font-text); }
button, input, select, textarea { font-family: var(--font-ui); }

/* Latin is first so mixed Chinese/English copy keeps the same letterforms. */
:root:lang(zh), :root:lang(en) {
  --font-text: "Newsreader", "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-ui: var(--font-text);
  --document-font: var(--font-text);
}
:root:is(:lang(zh), :lang(en)) body {
  font-optical-sizing: auto;
}
