/* Language switcher (both languages) and Hindi typography. Copied to dist/languages.css by
   localization/build-locales.mjs and loaded after style.css, whose colour tokens it reuses.
   System fonts only: no web fonts, no third-party requests. */
.lang-row { display: flex; justify-content: flex-end; padding-bottom: 8px; }
.language-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.language-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.language-nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.language-nav a[aria-current="page"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.language-nav a:lang(hi) { font-family: 'Nirmala UI', 'Noto Sans Devanagari', 'Mangal', system-ui, sans-serif; }

html:lang(hi) { --font: 'Nirmala UI', 'Noto Sans Devanagari', 'Mangal', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
html:lang(hi) body { line-height: 1.75; }
html:lang(hi) h1, html:lang(hi) h2, html:lang(hi) h3, html:lang(hi) h4, html:lang(hi) legend { line-height: 1.45; letter-spacing: 0; }
html:lang(hi) .brand-name { letter-spacing: 0; }

@media print { .lang-row { display: none; } }
