@font-face {
  font-family:Manrope;
  src:url('assets/manrope-variable.woff2') format('woff2');
  font-weight:200 800;
  font-display:swap;
}
html[lang="ru"] { --font:Manrope,Arial,sans-serif; }
.header-inner { gap:24px; }
.main-nav { gap:18px; }
.header-actions { gap:14px; }
.main-nav a { white-space:nowrap; }
.language-switcher {
  display:inline-flex; align-items:center; gap:2px; flex-shrink:0;
  padding:3px; border:1px solid var(--line); border-radius:8px; background:var(--ivory);
}
.language-switcher a {
  display:grid; place-items:center; min-width:38px; min-height:36px; border-radius:5px;
  font-size:12px; line-height:1; font-weight:700; letter-spacing:.04em; white-space:nowrap;
}
.language-switcher a:hover { background:var(--mint-paper); }
.language-switcher a[aria-current="page"] { background:var(--navy); color:var(--paper); }
html[lang="ru"] .eyebrow,html[lang="ru"] .step-number { letter-spacing:1px; }
html[lang="ru"] .spell-line { font-size:clamp(42px,4.8vw,70px); letter-spacing:-3px; }
html[lang="ru"] .hero-subtitle { font-size:clamp(23px,2.2vw,28px); }
.step-number,.video-step-label,.approval-gate,.gate-note { white-space:normal; }
.message-source { flex-wrap:wrap; column-gap:8px; }
.button { overflow-wrap:anywhere; }
.video-step-label { line-height:1.5; }
@media(max-width:1320px) {
  .header-cta { display:none; }
}
@media(min-width:761px) and (max-width:1100px) {
  .header-inner { flex-wrap:wrap; height:auto; min-height:92px; padding-block:18px; row-gap:14px; }
  .header-actions { margin-left:auto; }
  .main-nav { order:3; width:100%; justify-content:center; margin:0; }
}
@media(max-width:760px) {
  .header-product { display:none; }
  .header-inner { gap:12px; }
  .header-actions { gap:10px; }
  .language-switcher a { min-height:34px; min-width:33px; font-size:11px; }
  html[lang="ru"] .spell-line { font-size:clamp(37px,8.5vw,61px); }
  .header-cta { display:none; }
}
@media(max-width:390px) {
  .header-actions { gap:8px; }
  .site-header .brand { width:112px; }
  .language-switcher a { min-width:30px; }
  .menu-toggle { min-height:40px; min-width:40px; padding:9px; }
  .menu-toggle > span:first-child {
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip-path:inset(50%); white-space:nowrap;
  }
}

.closing-product.button { margin-top:28px; font-size:15px; padding:15px 20px; }
.closing-product.button:hover { color:var(--paper); }
.closing-product.button > .icon { width:20px; height:20px; }
/* Keep long translated navigation off the crowded one-row header. */
@media(min-width:761px) and (max-width:1320px) {
  .header-inner { flex-wrap:wrap; height:auto; min-height:92px; padding-block:18px; row-gap:14px; }
  .header-actions { margin-left:auto; }
  .main-nav { order:3; width:100%; justify-content:center; margin:0; }
}
