/* Native script support: keep the approved logo; use legible local UI fonts. */
html:lang(ru) body { font-family: "Segoe UI", Arial, sans-serif; }
html:lang(zh-Hans) body { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; }
html:lang(ru) h1, html:lang(ru) h2, html:lang(ru) h3,
html:lang(zh-Hans) h1, html:lang(zh-Hans) h2, html:lang(zh-Hans) h3 { font-family: inherit; }
html:lang(ru) .hero h1 { font-size: clamp(2.6rem,6.5vw,6.5rem); line-height: 1.08; }
html:lang(zh-Hans) .hero h1 { font-size: clamp(2.5rem,6.5vw,6.5rem); line-height: 1.2; }
html:lang(ru) .button, html:lang(zh-Hans) .button { white-space: normal; text-align: center; }
html:lang(zh-Hans) .eyebrow { letter-spacing: .13em; }
.language-menu { position: relative; flex-shrink: 0; font-size: .85rem; }
.language-menu summary { cursor: pointer; padding: .65rem .5rem; color: #f2f5ee; }
.language-menu summary:focus-visible, .language-options a:focus-visible { outline: 2px solid #59d8cc; outline-offset: 3px; }
.language-options { position: absolute; right: 0; top: 100%; min-width: 155px; padding: .5rem; border: 1px solid #4f7379; background: #0b222a; border-radius: 6px; z-index: 100; box-shadow: 0 8px 24px #0007; }
.language-options a { display: block; padding: .65rem .8rem; color: #eef3ee; text-decoration: none; }
.language-options a:hover, .language-options a[aria-current] { background: #21434a; border-radius: 3px; color: #f1c679; }
.nav-actions { flex-shrink: 0; }
@media(max-width:1100px) { html:lang(ru) .nav { gap: .7rem; flex-wrap: wrap; } html:lang(ru) .nav nav { gap: .8rem; } }
@media(max-width:650px) {
 .nav-actions { gap: .3rem; }
 .language-menu { font-size: .75rem; }
 html:lang(ru) .nav-actions .button { max-width: 140px; padding: .7rem .8rem; }
 html:lang(ru) .hero h1 { font-size: clamp(2.15rem,8vw,3.5rem); }
 .release-body, .guide-part { overflow-wrap: anywhere; }
}
