/* Language links remain available on narrow screens and without JavaScript. */
.language-switch {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  width: max-content;
  margin: 0;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line, #d5dfd1);
  border-radius: 9px;
  background: var(--soft, #eef3e9);
  font: 500 12px/1.25 system-ui, sans-serif;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--muted, #59655f);
  text-decoration: none;
  white-space: nowrap;
}
.language-switch a[aria-current="page"] {
  background: var(--accent, #245c53);
  color: var(--on-accent, #fff);
  font-weight: 650;
}
.language-switch a:not([aria-current="page"]):hover { background: var(--line, #dce5d6); }
.language-switch a:focus-visible { outline: 3px solid #ad5a22; outline-offset: 2px; }
@media (pointer: coarse) {
  .language-switch a { min-height: 44px; }
}
.page-header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-header-row .legal-home, .page-header-row .brand { margin-bottom: 0; }
.page-contents { margin-block: 24px; padding: 16px 20px; background: #efeee6; border-radius: 8px; }
.page-contents ol { columns: 2 240px; }
.page-contents li { break-inside: avoid; margin-block: 4px; }
html[lang="en"] .hero h1 { letter-spacing: -1px; }
html[lang="en"] .hero > *, html[lang="en"] .feature-grid > * { min-width: 0; }
html[lang="en"] .demo-tabs { flex-wrap: wrap; }
