/* =========================================================================
   全站字体：Jost（SIL Open Font License，几何无衬线，最接近 Futura 的开源替代）
   拉丁字符用 Jost，中文回落 PingFang SC。
   ========================================================================= */
@font-face {
  font-family: "JostWeb";
  src: local("Jost"), url("../fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JostWeb";
  src: local("Jost Medium"), url("../fonts/jost-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JostWeb";
  src: local("Jost SemiBold"), url("../fonts/jost-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JostWeb";
  src: local("Jost Bold"), url("../fonts/jost-700.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "JostWeb", "Jost", -apple-system, BlinkMacSystemFont,
               "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               "Helvetica Neue", Arial, sans-serif;
}

/* 全站替换字体（保留等宽字体与代码区域） */
html, body,
body *:not(code):not(pre):not(kbd):not(samp):not(textarea):not(.mono):not([class*="mono"]):not([class*="-mono"]):not(.dr-log-ver):not(.hx-eyebrow):not(.rx-kicker):not(.rx-tier-code):not(.rx-price-tag):not(.rx-panel-title):not(.dr-dock):not(.rx-dock) {
  font-family: var(--font-sans) !important;
}

/* Jost 字面略窄，标题字距回一点 */
h1, h2, h3, .rx-h1, .rx-h2, .hx-title, .hx-h2, .dr-title, .rg-title {
  letter-spacing: -0.02em;
}

body { font-kerning: normal; font-variant-ligatures: common-ligatures; }
