.lang-page{max-width:640px;margin:0 auto;padding-block:20px 56px;display:flex;flex-direction:column;gap:34px}
.lang-page h1{font-size:clamp(30px,7vw,46px);line-height:1.15}
.lang-page h2{font-size:24px;line-height:1.2;margin-bottom:12px}
.lang-page .lead{text-align:center}
.lang-page ul,.lang-page ol{margin:0;padding-left:1.3em}.lang-page li{margin:.35em 0;overflow-wrap:anywhere}
.lang-page p{margin:.6em 0 0}.lang-page footer{color:var(--dim);font-size:14px;text-align:center;line-height:1.9}
.lang-menu{display:flex;flex-wrap:wrap;gap:4px 6px;justify-content:center;font-weight:700;font-size:15px}
.lang-menu a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;text-decoration:none;border-radius:6px}
.lang-menu a[aria-current]{background:var(--sign)}
.lang-suggest{display:block;background:var(--sign);text-align:center;font-weight:800;padding:12px 16px;text-decoration:none}
.lang-page:lang(ar){font-family:"Geeza Pro","Noto Naskh Arabic","Segoe UI",Tahoma,sans-serif}[dir=rtl] .sign-tab{margin-left:0;margin-right:28px}
:lang(ja) body,.lang-page:lang(ja){font-family:"Hiragino Sans","Noto Sans JP","Yu Gothic",Meiryo,system-ui,sans-serif;line-break:strict;word-break:auto-phrase}
.lang-page:lang(ja) h1{font-size:clamp(26px,7vw,42px)}
