/* ==========================================================================
 * 字体与字号 (Typography Tokens)
 * 系统字体栈 (D-04) + 四阶字号体系 (UI-SPEC.md Typography 表)。
 * 基础值以 --text-*-base 命名，供 accessibility.css 通过 calc() 覆盖。
 * 组件和页面必须通过 var(--text-*) 引用，禁止直接使用 px 字号。
 * ========================================================================== */

:root {
  /* 字体栈 (D-04 系统字体栈) */
  --font-family-system: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;

  /* 字重 */
  --font-weight-regular: 400;
  --font-weight-semibold: 600;

  /* 字号基础值 (不直接使用，由 accessibility.css 计算后通过 --text-* 暴露) */
  --text-caption-base: 12px;   /* Caption: 时间戳、元数据、次要提示 */
  --text-body-base: 14px;      /* Body: 段落文字、表单标签、列表项、卡片描述 */
  --text-heading-base: 20px;   /* Heading: 页面标题、名片姓名展示 */
  --text-display-base: 28px;   /* Display: 全屏沉浸式姓名、欢迎页品牌名称 */

  /* 行高 */
  --line-height-caption: 1.5;
  --line-height-body: 1.6;
  --line-height-heading: 1.3;
  --line-height-display: 1.2;
}
