/**
 * 系统字体配置
 * 使用系统自带字体，无需下载额外文件
 * 支持Windows、Mac、Linux各平台
 */

/* 字体栈定义 */
:root {
    --font-family-sans: 'Avenir Next',
        'Segoe UI',
        'PingFang SC',
        'Source Han Sans SC',
        'Hiragino Sans GB',
        'Microsoft YaHei',
        'Helvetica Neue',
        sans-serif;

    --font-family-display: 'Iowan Old Style',
        'Palatino Linotype',
        'Noto Serif SC',
        'Songti SC',
        'STSong',
        serif;

    --font-family-base: var(--font-family-sans);

    /* 
     * 等宽字体（用于代码显示）
     */
    --font-family-mono: 'SF Mono',
        'Monaco',
        'Consolas',
        'Courier New',
        monospace;
}

/* 全局应用字体 */
body {
    font-family: var(--font-family-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.dashboard-header h1,
.page-header h1,
.main-header h1,
.project-header h1,
.sidebar-brand-copy strong,
.section-title,
.chart-title,
.channel-title h2,
.project-card h2 {
    font-family: var(--font-family-display);
}

/* 代码字体 */
code,
pre,
.code {
    font-family: var(--font-family-mono);
}

/* 数字使用等宽字体以保持对齐 */
.metric-value,
.table-number {
    font-variant-numeric: tabular-nums;
}
