/*
 * Createc 自托管字体（全部 OFL，许可文本见 fonts/LICENSES/）
 *
 * 路径说明：url() 一律写成 ../fonts/xxx.woff2。
 *   - 本文件放在 fonts/fonts.css：../fonts/ 相对它自己解析 = fonts/ 本目录，可直接 <link>；
 *   - 若把本文件复制/内联到 css/ 下（css/ 与 fonts/ 同级）：../fonts/ 同样指向 fonts/。
 *   两种位置都能找到字体，不用改路径。
 *
 * 字体族：
 *   'Createc Sans'      中文无衬线（思源黑体子集，含 ASCII）400 / 500 / 800  —— tools/subset-fonts.py 生成
 *   'Barlow Condensed'  拉丁显示字体 600 / 700（大数字、英文大写标签）
 *   'Inter'             拉丁正文 400 / 500 / 600
 *   'JetBrains Mono'    等宽 400 / 500
 *
 * 推荐字体栈（拉丁/数字先走 Inter，汉字与符号落到 Createc Sans）：
 *   font-family: 'Inter', 'Createc Sans', system-ui, sans-serif;
 *   font-family: 'Barlow Condensed', 'Createc Sans', sans-serif;      // 大数字/标签
 *   font-family: 'JetBrains Mono', 'Createc Sans', ui-monospace, monospace;
 *
 * 注意：Barlow / Inter / JetBrains Mono 为 latin 子集；→ ✓ ↺ 等符号会回退到 Createc Sans。
 */

/* ---- Createc Sans · 中文无衬线 ---- */
@font-face {
  font-family: 'Createc Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/createc-sans-400.woff2?v=8f7357c61d') format('woff2');
}
@font-face {
  font-family: 'Createc Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/createc-sans-500.woff2?v=7d4b793e2a') format('woff2');
}
@font-face {
  font-family: 'Createc Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/createc-sans-800.woff2?v=83c852b05c') format('woff2');
}

/* ---- Barlow Condensed · 工业标识风显示字体 ---- */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600.woff2?v=215a93c696') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700.woff2?v=3787a5a419') format('woff2');
}

/* ---- Inter · 拉丁正文 ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2?v=8909904ab6') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2?v=f3779f1efc') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2?v=f9a06e79cd') format('woff2');
}

/* ---- JetBrains Mono · 等宽 ---- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400.woff2?v=14425ba9c6') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-500.woff2?v=cb182feeed') format('woff2');
}
