/* Self-hosted Noto Sans SC subset; SIL Open Font License 1.1. */
@font-face {
  font-family: "Agentic Sans SC";
  src: url("../assets/fonts/agentic-sans-sc.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --sans: "Agentic Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  --num: "Agentic Sans SC", "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --heading: var(--sans);
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-synthesis: none;
}

button, input, select, textarea {
  font-family: var(--sans);
}

h1, h2, h3, .ph-t, .bname {
  font-family: var(--heading);
}

.hero h1, html[lang="zh-CN"] .hero h1,
.vhead h1, .dtl-h h1, .section-head h2,
.chain-vision h2, .vision-grid h3,
.ph-t, .ph-t.big, .vfy-h h2,
.validator-facts h3, .validator-detail > summary > span {
  font-family: var(--heading);
  font-weight: 600;
}

.hero h1, .vhead h1, .dtl-h h1, .chain-vision h2 {
  letter-spacing: -.02em;
}

html[lang="zh-CN"] .hero h1,
html[lang="zh-CN"] .vhead h1,
html[lang="zh-CN"] .dtl-h h1,
html[lang="zh-CN"] .chain-vision h2 {
  letter-spacing: .01em;
}

.num, .n, .ss b, .hr-num b, .hr-grid b, .datum b,
.mi b, .epgrid b, .req b, .rc-n b, .rcs b,
.fs-hero b, .fs-row b, .cx-head b, .ep-top b,
.validator-summary strong {
  font-family: var(--num);
  font-variant-numeric: lining-nums tabular-nums;
}

.ss b, .ss.lead b, .hr-num b, .datum b,
.mi b, .epgrid b, .req b, .rc-n b, .rcs b,
.fs-hero b, .cx-head b, .ep-top b, .validator-summary strong {
  font-weight: 550;
  letter-spacing: -.015em;
}

.tbl td code, .tbl code a, code.n {
  font-family: var(--mono);
}
