/* Shared language navigation; English typography adapts to longer copy. */
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: 24px; flex-shrink: 0; }
.header-actions .navcta { margin: 0; white-space: nowrap; }
.language-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid #655373; border-radius: 6px; background: #100c16; flex-shrink: 0; }
.language-switch a { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0 5px; border-radius: 3px; color: #c3b9cb; font-size: 12px; line-height: 1; text-decoration: none; }
.language-switch a[aria-current="true"] { background: #372244; color: #fff; }
.language-switch a:hover { background: #49305b; color: #fff; }
.language-switch a:focus-visible { outline: 2px solid #c29aff; outline-offset: 3px; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { overflow-wrap: anywhere; }
html[lang="en"] .hero-v7 h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -.045em; }
html[lang="en"] .page-hero h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.15; }
html[lang="en"] .heading-line, html[lang="en"] .evaluation-heading span,
html[lang="en"] .position .title h2 { white-space: normal; }
html[lang="en"] .product-page .heading-line + .heading-line { margin-top: .08em; }
html[lang="en"] .endpoint h3 > span[lang="en"] { display: none; }
html[lang="en"] .device-row { flex-wrap: wrap; }
html[lang="en"] .device-row > span { white-space: normal; }
html[lang="en"] .formula { flex-wrap: wrap; }
html[lang="en"] .founder-role { gap: 10px; }
html[lang="en"] .founder-role p { text-align: right; }
html[lang="en"] .case-card dd { min-height: 0; height: auto; }
html[lang="en"] .contact h2 { font-size: clamp(34px, 4.5vw, 58px); }
html[lang="en"] .btn { white-space: normal; }
html[lang="en"] .product-page .product-contact a { white-space: normal; }
@media (min-width: 1281px) {
  nav .links { gap: 20px; }
}
@media (max-width: 1280px) {
  nav .links { position: fixed; top: 84px; left: 16px; right: 16px; display: grid; gap: 0; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #0c0911; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: .25s; }
  nav .links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  nav .links a { display: block; padding: 12px; }
  nav .links a::after { display: none; }
  nav .menu { display: block; order: 3; margin: 0 0 0 12px; flex-shrink: 0; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 680px) {
  .header-actions { gap: 0; }
  .header-actions .navcta { display: none; }
  nav .brand-logo { width: 144px; height: 64px; }
  .language-switch a { min-width: 32px; min-height: 38px; padding: 0 4px; }
  nav .menu { width: 36px; margin-left: 8px; }
  html[lang="en"] .hero-v7 h1 { font-size: clamp(36px, 10vw, 54px); }
  html[lang="en"] .hero-proof { gap: 12px; }
  html[lang="en"] .product-page .interaction-flow { flex-wrap: wrap; }
  html[lang="en"] .product-page .heading-line { white-space: normal; }
}
@media (max-width: 380px) {
  .evaluation-heading span { white-space: normal; }
}
