/* QNeuroAI · language selector */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch button {
  font: inherit;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .3rem .7rem;
  border: 0;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-switch button:hover { color: var(--blue); }
.lang-switch button.active { background: var(--blue); color: #fff; }
.lang-switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

@media (max-width: 900px) {
  .nav-links .lang-switch { width: auto; align-self: flex-start; }
}
