/* P0-12A — Lityura Typography Font Baseline V1.0
 *
 * Font binaries are intentionally not bundled in this package.
 * Inter may be self-hosted later as a Latin-focused subset.
 */

:root {
  /* UI: consistent Latin/digit rhythm, native CJK fallback */
  --font-ui:
    "Inter Variable",
    "Inter",
    "PingFang SC",
    "Microsoft YaHei UI",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    "Noto Sans SC",
    system-ui,
    sans-serif;

  /* Reading: CJK-first; do not rely on system-ui alone for long paragraphs */
  --font-reading:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    "Noto Sans SC",
    sans-serif;

  /* Code / path / aligned numeric metadata */
  --font-mono:
    ui-monospace,
    "SFMono-Regular",
    Menlo,
    Monaco,
    Consolas,
    "Noto Sans Mono",
    "Liberation Mono",
    monospace;
}

/* P0-12A only freezes family roles.
 * Font size / line-height / tracking tokens are finalized in P0-12B.
 */

html,
body {
  font-family: var(--font-ui);
}

.typography-reading {
  font-family: var(--font-reading);
}

code,
pre,
kbd,
samp,
.typography-mono {
  font-family: var(--font-mono);
}
