/* Language switcher (injected by i18n/build.py). */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; margin-left: 14px;
  padding: 3px; border: 1px solid rgba(197, 165, 90, 0.28); border-radius: 999px;
  font: 600 11px/1 'JetBrains Mono', 'Fira Code', Menlo, monospace; letter-spacing: 0.08em;
}
.lang-switch a {
  padding: 5px 8px; border-radius: 999px; color: #9AA5B4; text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.lang-switch a:hover { color: #E8E8E8; }
.lang-switch a[aria-current="true"] { background: #C5A55A; color: #0D1B2A; }
.lang-switch a:focus-visible { outline: 2px solid #C5A55A; outline-offset: 2px; }
.lang-switch--float {
  position: fixed; top: 14px; right: 14px; z-index: 950;
  background: rgba(13, 27, 42, 0.85); margin: 0;
}
/* Room for the switcher on mid width screens (the site nav was sized without it). */
@media (min-width: 769px) and (max-width: 1180px) {
  nav { padding-left: 32px !important; padding-right: 32px !important; }
  nav .nav-links { gap: 24px; }
  nav .nav-cta { white-space: nowrap; }
}
@media (max-width: 700px) {
  .lang-switch { margin-left: 8px; }
  .lang-switch a { padding: 5px 6px; }
}
/* Legal pages in French and Spanish: the English version prevails (injected by i18n/build.py). */
.sd-legal-note {
  margin: 0 0 28px; padding: 12px 16px; border-left: 2px solid #C5A55A; border-radius: 6px;
  background: rgba(197, 165, 90, 0.07); color: #C8CFD8; font-size: 0.92em; line-height: 1.6;
}
.sd-legal-note a { color: #D4C08A; }
