/* A visible language choice stays beside Download, including on phones. */
.header-language { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 36px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font: 11px var(--mono); color: var(--mute); white-space: nowrap; }
.header-language:hover { color: var(--bone); border-color: var(--bone); }
@media (min-width: 801px) and (max-width: 1100px) {
  .site-header nav { display: none; position: absolute; top: 90px; left: 0; right: 0; padding: 22px; background: rgba(4,4,8,.95); border-bottom: 1px solid var(--line); flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
  .site-header nav.open { display: flex; }
  .site-header .menu-button { display: flex; order: 3; flex-direction: column; gap: 5px; padding: 12px 0 12px 8px; }
  .menu-button span { height: 1px; width: 19px; background: #d5ccdd; }
}
@media (max-width: 800px) {
  .header-language { min-height: 32px; padding: 6px 8px; font-size: 10px; }
}
@media (max-width: 420px) {
  .site-header { padding-left: 14px; padding-right: 14px; gap: 6px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand > img { width: 24px; height: 24px; }
  .site-header .brand > .brand-wordmark { font-size: 22px; }
  .site-header .header-actions { gap: 6px; }
}
@media (max-width: 360px) {
  .site-header { gap: 4px; }
  .site-header .brand > .brand-wordmark { font-size: 19px; }
  .site-header .header-actions { gap: 4px; }
  .header-language { padding: 6px 4px; }
  .site-header .download-button.button { font-size: 10px; padding: 8px 6px; gap: 4px; }
  .site-header .sound-button, .site-header .motion-button { width: 28px; height: 28px; }
}
