/* 离线字体垫片：Google Fonts 在国内不可达，用系统同类字体"顶替"同名 font-family。
   页面内联样式里写的 'Cormorant Garamond' / 'IBM Plex Sans' / 'JetBrains Mono' 无需逐处修改，
   浏览器解析到这些族名时会回退到本机系统字体：拉丁用 Georgia/Segoe/Consolas，中文自动落到
   苹方/微软雅黑/宋体。全局兜底栈保证未显式声明处也统一。 */

/* 标题衬线：Cormorant Garamond -> 系统衬线 */
@font-face { font-family: 'Cormorant Garamond'; src: local('Georgia'), local('Times New Roman'), local('Songti SC'), local('STSong'), local('SimSun'); font-weight: 400 700; font-style: normal; }
@font-face { font-family: 'Cormorant Garamond'; src: local('Georgia'), local('Times New Roman'), local('Songti SC'), local('Kaiti SC'), local('KaiTi'); font-weight: 400 700; font-style: italic; }

/* 正文无衬线：IBM Plex Sans -> 系统无衬线 */
@font-face { font-family: 'IBM Plex Sans'; src: local('Segoe UI'), local('-apple-system'), local('PingFang SC'), local('Microsoft YaHei'), local('Noto Sans CJK SC'), local('Arial'); font-weight: 400 700; font-style: normal; }

/* 等宽：JetBrains Mono -> 系统等宽 */
@font-face { font-family: 'JetBrains Mono'; src: local('Consolas'), local('SFMono-Regular'), local('Menlo'), local('Courier New'); font-weight: 400 700; font-style: normal; }

:root {
  --chem-font-serif: 'Cormorant Garamond', Georgia, 'Songti SC', 'SimSun', serif;
  --chem-font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --chem-font-mono: 'JetBrains Mono', Consolas, SFMono-Regular, Menlo, monospace;
}
