/* ==========================================================================
   Zeus Insights · 主站 v3 · lang.css
   各页共用的补充：页眉当前页标记、客户标志末格链接；中文页的字体、字距与行距。
   放在各页样式表的最后，桌面版与手机版都引入。
   ========================================================================== */

/* 页眉：当前所在页的页签下常亮一枚红点（悬停时的红点同一个写法） */
.hdr__nav a[aria-current="page"]::after { transform: scale(1); }
/* 客户标志末格：More + 指向公司页的客户名单，整格可点 */
.clients__logos .clients__more a { display: grid; place-items: center; width: 100%; height: 100%; color: inherit; text-decoration: none; transition: color var(--d-2) var(--e-out); }
.clients__logos .clients__more a:hover { color: var(--ink); }
.wcard__bar a { display: inline-flex; line-height: 0; }

/* ---------- 中文页 ----------
   拉丁字母与数字仍用 Geist、Source Serif 4、Geist Mono；汉字落到后面的中文字体。
   标题的两种声音：前半思源宋体细体，后半思源黑体细体（两者都是只含标题用字的子集，见 fonts-zh.css）；
   正文用访客设备的系统中文字体。中文不用负字距，行距放宽，按中文禁则断行。 */
html:lang(zh) {
  --f-sans: "Geist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --f-serif: "Source Serif 4", "ZI Serif SC", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --f-mono: "Geist Mono", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", ui-monospace, monospace;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}
html:lang(zh) body { line-height: 1.75; letter-spacing: .01em; }
html:lang(zh) .v-serif { font-family: "Source Serif 4", "ZI Serif SC", "Noto Serif SC", "Songti SC", serif; letter-spacing: .01em; }
html:lang(zh) .v-sans { font-family: "Geist", "ZI Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; font-weight: 300; letter-spacing: .01em; }
html:lang(zh) .h-display, html:lang(zh) .h-2, html:lang(zh) .close__h { letter-spacing: .01em; }
/* 汉字的字面比拉丁字母大，同一字号显得重；标题整体收一点，行距放开 */
html:lang(zh) .h-display { font-size: calc(var(--t-display) * .9); line-height: 1.24; }
html:lang(zh) .hero__h { line-height: 1.26; }
html:lang(zh) .h-2 { font-size: calc(var(--t-h2) * .9); line-height: 1.32; }
html:lang(zh) .close__h { font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1.22; }
html:lang(zh) .h-3 { letter-spacing: .01em; line-height: 1.4; font-weight: 500; }
/* 两段式标题按词组断行：只在标点后、两段之间与文案标出的边界处换行；一段实在放不下时才在任意处断开 */
html:lang(zh) :is(.h-display, .h-2, .close__h) { word-break: keep-all; overflow-wrap: anywhere; }
/* 两段各自成行的标题：两段之间的断行点不需要，留着会多出一行空白 */
html:lang(zh) :is(.choice__txt .h-2, .choice .h-2, .faq__head .h-2) > wbr { display: none; }
html:lang(zh) .lead, html:lang(zh) .body { line-height: 1.8; }
html:lang(zh) .eyebrow { letter-spacing: .04em; }
html:lang(zh) .hdr__nav a { letter-spacing: .04em; }
html:lang(zh) .btn { letter-spacing: .03em; }
html:lang(zh) .qa__q { letter-spacing: .01em; line-height: 1.4; }
html:lang(zh) .rdy { letter-spacing: .01em; }
html:lang(zh) .hero__h .ln { padding-bottom: .1em; margin-bottom: -.1em; }
html:lang(zh) .ln { padding-bottom: .08em; margin-bottom: -.08em; }
/* 英文页里出现的中文（页眉的「中文」）与中文页里出现的英文 EN 链接 */
.hdr__lang:lang(en), .foot__lang:lang(en), .menu__lang:lang(en) { font-family: var(--f-sans); letter-spacing: .02em; }
