/* 自托管 Inter / Outfit（latin 子集的可变字体）。
 *
 * 首页原来引的是 fonts.googleapis.com 的样式表，那是阻塞渲染的请求：国内基本
 * 连不通，浏览器要一直等到超时才开始画页面。自托管后走同源，CSP 也不用再给
 * Google 开口子。
 *
 * Google 现在发的是可变字体，一个文件覆盖整个字重区间——按字重分别下载会拿到
 * 5 份一模一样的文件。这里各留一份，用 font-weight 区间声明。
 * 中文字形不在这两个文件里，仍走系统字体。
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/_main_site_static/fonts/inter-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/_main_site_static/fonts/outfit-var.woff2') format('woff2');
}
