/* Language control remains visible outside the mobile navigation. */
.header-inner>.member-entry{margin-left:auto}
.language-toggle{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;padding:8px 13px;min-width:52px;min-height:40px;font:500 13px/1.2 var(--sans);color:var(--ink);background:transparent;transition:background .2s,color .2s}
.language-toggle:hover{background:var(--violet-tint);color:var(--violet-deep)}
.language-toggle:active{transform:scale(.97)}
html[lang="zh-CN"]{--sans:"PingFang SC","HarmonyOS Sans SC","Noto Sans CJK SC","Microsoft YaHei",Geist,system-ui,sans-serif}
html[lang="zh-CN"] h1,html[lang="zh-CN"] h2,html[lang="zh-CN"] h3{letter-spacing:-.015em;line-height:1.22}
html[lang="zh-CN"] .hero-heading h1{font-size:clamp(30px,3.34vw,48px);font-weight:600;max-width:none}
html[lang="zh-CN"] .hero-heading p{max-width:none}
html[lang="zh-CN"] .about-content h2{max-width:24ch}
html[lang="zh-CN"] .eyebrow{letter-spacing:.04em}
@media(max-width:1180px){.desktop-nav,.header-inner>.member-entry{display:none}.mobile-menu{display:block}.language-toggle{margin-left:auto}.header-inner{gap:12px}}
@media(max-width:720px){html[lang="zh-CN"] .hero-heading h1{font-size:clamp(28px,7.4vw,38px);max-width:12em}html[lang="zh-CN"] .section-title h2,html[lang="zh-CN"] .section-title.center h2{font-size:32px}html[lang="zh-CN"] .terminal-copy h2{font-size:42px}}
@media(max-width:480px){.header-inner{gap:8px}.header-inner .brand{gap:8px}.header-inner .brand img{height:24px}.header-inner .brand span{font-size:17px}.language-toggle{padding:8px 10px;min-width:46px}.mobile-menu summary{width:36px}}
@media(prefers-reduced-motion:reduce){.language-toggle{transition:none}}

@media(max-width:720px){html[lang="zh-CN"] .hero-heading h1{white-space:pre-line}}
