/* Hindi and Marathi (Devanagari script).
   Self-hosted Noto Sans Devanagari is registered under the site's font names for
   Devanagari characters only, so Latin text keeps Manrope / DM Sans and headings
   keep their weights. */
@font-face{font-family:'Manrope';src:url("../fonts/noto-sans-devanagari.a215122a6439.woff2") format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+25CC,U+A830-A839,U+A8E0-A8FF}
@font-face{font-family:'DM Sans';src:url("../fonts/noto-sans-devanagari.a215122a6439.woff2") format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+25CC,U+A830-A839,U+A8E0-A8FF}

/* Negative tracking breaks the joined headline (shirorekha) and conjuncts; matras need taller lines. */
html:is([lang="hi"],[lang="mr"]) *{letter-spacing:0!important}
html:is([lang="hi"],[lang="mr"]) :is(h1,h2,h3,.page-title,.section-title,.cta-box h2,.path-card h3){line-height:1.32!important}
html:is([lang="hi"],[lang="mr"]) :is(p,li,.page-lead,.section-copy,.demo-banner,.notice-box,small){line-height:1.75}
html:is([lang="hi"],[lang="mr"]) .eyebrow{font-size:12px}
/* Devanagari has no italic: the serif accent in titles keeps its colour but not the slant. */
html:is([lang="hi"],[lang="mr"]) :is(.page-title,.hero h1,.section-title) em{font-family:inherit;font-style:normal;font-weight:800}

/* Language switcher */
.lang-btn{display:flex;align-items:center;gap:6px;padding:8px 11px;border-radius:999px;font:600 13px 'DM Sans',sans-serif;color:#4f6359;cursor:pointer;white-space:nowrap}
.lang-btn:hover,.lang-dropdown[open] .lang-btn{background:#ecf0e8;color:var(--green)}
.lang-btn svg:first-child{width:17px;height:17px}
.lang-panel{left:auto;right:0;min-width:180px}
.lang-panel .plain-item{font-size:14px}
.lang-panel .plain-item[aria-current]{color:var(--green);background:#f2f5ee}
.lang-check{font-weight:800;color:var(--green)}
.mobile-languages{display:none;margin:0}
@media(max-width:980px){
  .lang-dropdown{display:none}
  .mobile-languages{display:block;margin-top:6px}
  .mobile-languages .menu-label{padding:16px 0 8px}
  .mobile-languages div{display:flex;flex-wrap:wrap;gap:8px}
  .mobile-languages button{padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:var(--white);font:600 14px 'DM Sans',sans-serif;color:var(--ink);cursor:pointer}
  .mobile-languages button.is-current{background:var(--green);border-color:var(--green);color:#fff}
}
