/* ==========================================================================
   fonts.css — 自架字體
   --------------------------------------------------------------------------
   2026-09-11 全站改版：字體從 IBM Plex 換成設計稿指定的 Montserrat +
   Space Mono。自架的理由不變（見下方原始說明），只是字換了。

   1. 隱私：向 fonts.googleapis.com 要字體時，訪客的 IP 會送到 Google。
      德國慕尼黑地方法院 2022 年判過這樣違反 GDPR。我們的訪客有相當比例
      在歐洲（義大利、法國、德國的原廠），自架就完全沒有這個問題，
      也不需要為此跳 cookie 同意視窗。

   2. 速度：少掉兩次 DNS 查詢與兩次 TLS 交握。字體是阻擋渲染的資源，
      省下的是「第一眼看到文字」的時間。

   只放 latin —— 中文交給系統字型（見 tokens.css 的字體代幣說明）。
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/montserrat-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-700.woff2') format('woff2');
}
