/* Language switcher (both languages) and Hindi typography. localization/build-locales.mjs copies this file to
   dist/assets/languages.css and links it after style.css on every page; it reuses style.css colour tokens.
   System fonts only: no web fonts, no third-party requests. */
.language-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: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.language-nav a:hover { background: var(--leaf-soft); color: var(--leaf-dark); }
.language-nav a[aria-current="page"] { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.language-nav a:lang(hi) { font-family: "Nirmala UI", "Noto Sans Devanagari", "Mangal", system-ui, sans-serif; }

/* style.css sets every font through these two tokens, so redefining them covers body, headings and controls. */
html:lang(hi) {
  --font: "Nirmala UI", "Noto Sans Devanagari", "Mangal", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "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 { line-height: 1.45; letter-spacing: 0; }
html:lang(hi) .chip span, html:lang(hi) .brand-tag { line-height: 1.5; }

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