/* Simplified Chinese layer — loaded only on /zh/ pages. Self-hosted Noto Sans SC / Noto Serif SC subsets (SIL OFL 1.1). */
@font-face{font-family:'WB Sans SC';src:url(../assets/fonts/noto-sans-sc-subset.woff2) format('woff2');font-weight:300 500;font-display:swap;unicode-range:U+2000-206F,U+3000-303F,U+4E00-9FFF,U+FF00-FFEF}
@font-face{font-family:'WB Serif SC';src:url(../assets/fonts/noto-serif-sc-subset.woff2) format('woff2');font-weight:400 500;font-display:swap;unicode-range:U+2000-206F,U+3000-303F,U+4E00-9FFF,U+FF00-FFEF}
:root{--sans:'Inter Tight','WB Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;--serif:'Instrument Serif','WB Serif SC','Songti SC',serif;--mono:'JetBrains Mono','WB Sans SC',ui-monospace,monospace}
html[lang=zh-CN] body{font-family:var(--sans);letter-spacing:.02em;line-break:strict;font-feature-settings:"palt" 0}
html[lang=zh-CN] p,html[lang=zh-CN] li,html[lang=zh-CN] dd,html[lang=zh-CN] summary{text-wrap:pretty;line-height:1.85}
html[lang=zh-CN] h1,html[lang=zh-CN] h2,html[lang=zh-CN] h3,html[lang=zh-CN] .h3,html[lang=zh-CN] .h4{letter-spacing:.01em;line-height:1.28;text-wrap:balance;font-weight:300}
html[lang=zh-CN] h1{line-height:1.22}
/* the italic serif accent phrase: no synthetic italics on CJK — upright Noto Serif SC in the accent colour */
html[lang=zh-CN] em{font-style:normal;font-family:var(--serif);font-weight:400;letter-spacing:.02em}
/* mono labels: CJK in mono slots falls back to Sans SC; ease the wide tracking */
html[lang=zh-CN] .label,html[lang=zh-CN] small,html[lang=zh-CN] .crumbs,html[lang=zh-CN] .k,html[lang=zh-CN] dt{letter-spacing:.08em}
html[lang=zh-CN] .nav__links a,html[lang=zh-CN] .btn{letter-spacing:.06em}
html[lang=zh-CN] .btn span{font-weight:500}
/* redundant bilingual helpers on Chinese pages */
html[lang=zh-CN] .phero .zh,html[lang=zh-CN] em.cjk,html[lang=zh-CN] .hero .zh{display:none}
html[lang=zh-CN] .pd__info .title.en-sub{font-size:13px;color:var(--mute-l);letter-spacing:.01em;font-family:var(--sans)}
html[lang=zh-CN] .pcard__body b{line-height:1.5;font-weight:500}
html[lang=zh-CN] .tag-ph{letter-spacing:.04em}
html[lang=zh-CN] .art__body{line-height:1.95;font-size:16.5px}
html[lang=zh-CN] .art__body h2,html[lang=zh-CN] .tech h3,html[lang=zh-CN] .bcard__b h3,html[lang=zh-CN] .bcard--feat h2,html[lang=zh-CN] .art__h h1{font-family:var(--sans);font-weight:300}
html[lang=zh-CN] .bcard__b h3{font-size:21px;line-height:1.45}
html[lang=zh-CN] .cover__in b{font-family:var(--sans);font-weight:400;font-size:21px;line-height:1.35}
/* display sizes: CJK glyphs are full-width, so ch-based measures and tight negative tracking are reset */
html[lang=zh-CN] .hero h1{font-size:clamp(40px,4.9vw,78px);line-height:1.2;letter-spacing:.01em;max-width:10.5em}
html[lang=zh-CN] .phero h1{font-size:clamp(38px,4.3vw,66px);line-height:1.22;letter-spacing:.01em;max-width:13em}
html[lang=zh-CN] h2{letter-spacing:.01em}
@media (max-width:820px){html[lang=zh-CN] .hero h1{font-size:36px}html[lang=zh-CN] .phero h1{font-size:34px}}
html[lang=zh-CN] .statement{line-height:1.5;letter-spacing:.01em;max-width:24em}
html[lang=zh-CN] .lead{line-height:1.7}
html[lang=zh-CN] .hero h1{max-width:13em}
html[lang=zh-CN] .hero h1 em{display:block}
html[lang=zh-CN] .label,html[lang=zh-CN] .fine,html[lang=zh-CN] .footer__line{line-height:1.6}
html[lang=zh-CN] .pd__info h1{max-width:none;font-size:clamp(30px,2.6vw,40px);line-height:1.3}
