.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  white-space: nowrap;
}

.language-switch__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 3px 9px 3px 6px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.language-switch__link:hover,
.language-switch__link:focus-visible {
  color: var(--blue);
  background: #fff;
}

.language-switch__link[aria-current="page"] {
  color: #fff;
  background: var(--blue);
}

.language-switch__flag {
  width: 20px;
  height: 14px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.language-switch__code {
  font-size: 10px;
  letter-spacing: .06em;
}

.language-switch--mobile {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, .96);
}

.language-switch--mobile .language-switch__link {
  min-height: 36px;
  flex: 1;
  justify-content: center;
  font-size: 13px;
}

.site-footer__legal a[href$="privacy.html"],
.site-footer__legal a[href$="/privacy.html"] {
  white-space: nowrap;
}

.legal-page {
  padding: 56px 0 72px;
}

.legal-page__inner {
  max-width: 900px;
}

.legal-page h2 {
  margin: 34px 0 12px;
  color: var(--blue);
  font-size: clamp(22px, 2.2vw, 28px);
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.legal-page ul {
  margin: 10px 0 0;
  padding-left: 1.3em;
}

.legal-page__updated {
  margin-top: 12px;
  font-size: 14px !important;
}

@media (max-width: 1180px) {
  .header-actions > .language-switch {
    display: none;
  }
}

@media (min-width: 1181px) {
  .language-switch--mobile {
    display: none;
  }
}
