/* 本地自托管字体，避免依赖 Google Fonts（国内访问不稳定） */
/* 中文字体已按页面文案子集化；改文案后运行: python scripts/subset-fonts.py */

/* DM Sans：英文与数字展示字体 */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('public/fonts/dm-sans-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('public/fonts/dm-sans-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('public/fonts/dm-sans-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('public/fonts/dm-sans-latin-700.woff2') format('woff2');
}

/* Noto Sans SC：中文正文字体 */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('public/fonts/noto-sans-sc-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('public/fonts/noto-sans-sc-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('public/fonts/noto-sans-sc-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('public/fonts/noto-sans-sc-900.woff2') format('woff2');
}
