/**
 * fonts-inter.css — Inter 英文字体（latin 子集）
 *
 * 文件契约：
 * - 作用域：全站英文/数字；中文不在 latin 子集内，自动回落到 --font-sans 后面的 MiSans
 * - 加载方：inc/enqueue.php 独立加载；inc/setup.php 的 add_editor_style 供编辑器使用
 * - 依赖：assets/fonts/inter/*.woff2（Fontsource 5.2.8，SIL OFL 1.1，许可证见同目录 OFL.txt）
 * - 注意：不要并入合并包——@font-face 的相对 url() 在 uploads/hao-cache 下会 404
 *
 * @package HaoResource
 */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/inter/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/inter/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/inter/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/inter/inter-latin-700-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/inter/inter-latin-800-normal.woff2") format("woff2");
}
