/* Language controls and Number Flow keep the existing page typography. */
.language-switch { position: relative; flex-shrink: 0; }
.language-switch .header__language { min-height: 44px; padding: 4px 0; background: transparent; cursor: pointer; }
.header__flag--en { background: #fff; }
.header__flag--en img { display: block; width: 24px; height: 16px; }
.language-switch .header__chevron { transition: transform 220ms ease; }
.language-switch.is-open .header__chevron { transform: rotate(180deg); }
.language-switch__options {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 10;
  display: flex; flex-direction: column; gap: 4px; min-width: 154px; padding: 8px;
  border: 1px solid rgba(123, 240, 106, .3); border-radius: 12px;
  color: #fff; background: #00171e; box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.language-switch.is-open .language-switch__options { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.language-switch__options a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 6px; font-size: 16px; line-height: 1.4; white-space: nowrap; }
.language-switch__options a:hover, .language-switch__options a[aria-current="page"] { color: #7bf06a; background: rgba(123, 240, 106, .08); }
.language-switch button:focus-visible, .language-switch a:focus-visible { outline: 2px solid #7bf06a; outline-offset: 4px; }
[data-time] { font-variant-numeric: tabular-nums; }
[data-time] number-flow { display: inline-block; font: inherit; color: inherit; letter-spacing: inherit; --number-flow-mask-height: .08em; --number-flow-mask-width: .05em; }
@media (max-width: 767px) {
  .header__actions { display: none; }
  .mobile-menu__footer .language-switch__options { top: auto; bottom: calc(100% + 6px); }
  html[lang="en"] .hero__eyebrow { line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .language-switch .header__chevron, .language-switch__options { transition: none; }
}
