/**
 * The Hindi pages only (hi.html, hi-pricing.html), linked after style.css.
 *
 * Inter has no Devanagari, so Hindi text falls through to a system face,
 * and style.css's type was tuned for Inter's Latin:
 *   - negative tracking on headings pulls Devanagari letters into each
 *     other and can break the shirorekha (the headline bar) into pieces;
 *   - positive tracking on the small uppercase labels does the same in the
 *     other direction;
 *   - a 1.05 to 1.15 line height clips the matras above and below the bar
 *     when a heading wraps.
 * Every rule here is :lang(hi), so a Latin run marked lang="en" inside a
 * Hindi page (the sources list, the copyright line, a screen name) keeps
 * the English treatment. Figures (.num, .price b) are Latin and are left
 * alone.
 *
 * No webfont: the site's CSP allows fonts from 'self' only and none is
 * bundled for Devanagari, so the stack names the faces each OS ships.
 */
body:lang(hi) {
  font-family: 'Inter', 'Nirmala UI', 'Noto Sans Devanagari', 'Kohinoor Devanagari',
    'Devanagari Sangam MN', 'Mangal', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
}

:lang(hi) h1,
:lang(hi) h2,
:lang(hi) h3,
:lang(hi) .hero h1,
:lang(hi) .page-hero h1,
:lang(hi) .split h2,
:lang(hi) .cta h2,
:lang(hi) .feature h3 {
  letter-spacing: 0;
  line-height: 1.35;
}

/* Devanagari is wider per idea than Latin, so the English measures wrap
   a Hindi headline into too many short lines. */
:lang(hi) .hero h1 {
  max-width: 18ch;
}
:lang(hi) .page-hero h1 {
  max-width: 26ch;
}

:lang(hi) .eyebrow,
:lang(hi) .kicker,
:lang(hi) .feature .tag,
:lang(hi) .plan .badge,
:lang(hi) .soon-tag,
:lang(hi) .nav-mobile-group > p,
:lang(hi) .footer-col h2,
:lang(hi) .plan-table tr.group th {
  letter-spacing: 0;
}

/* Small Devanagari needs a little more room between lines than small
   Latin does. */
:lang(hi) .lede,
:lang(hi) .card p,
:lang(hi) .points li > span,
:lang(hi) .faq .answer p {
  line-height: 1.75;
}

/* The status chips and the plan table's "soon" badge: Devanagari's matras
   and the chandrabindu of हाँ sit above the headline bar, and Latin's 1.5
   line height clipped them inside the pill. */
:lang(hi) .m {
  line-height: 1.75;
  padding: 1px 8px;
}
:lang(hi) .soon-cell,
:lang(hi) .soon-tag {
  line-height: 1.6;
}
