/* Bangla landing page (/bn/).
 *
 * Loaded only by that page, on top of site.css and home.css. Two jobs.
 *
 * 1. A Bengali face that covers the whole script. site.css already declares
 *    'Noto Sans Bengali', but the file behind it is a 30 KB subset cut to the
 *    few dozen characters in the language chips, while its unicode-range
 *    claims the entire block. Any other Bengali character matches that range,
 *    finds no glyph and renders as a blank box rather than falling back to a
 *    system font. A page written in Bangla needs the whole block, so it gets
 *    its own file under its own family name. The two never collide, and this
 *    one never has to be re-cut when the copy changes.
 *
 * 2. Room for the script. Bricolage Grotesque and Instrument Sans have no
 *    Bengali glyphs at all, and the headline sizes here were set for Latin:
 *    line-height 1.05 and negative letter-spacing clip matras above the line
 *    and conjuncts below it.
 */

@font-face {
  font-family: 'Noto Sans Bengali Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/noto-sans-bengali-text-v1.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6,
    U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9,
    U+25CC, U+A8F1;
}

/* Bengali comes from the new face; Latin runs (Lipo, Pro Plus, $7.99,
   AGENTS.md) fall straight through to the brand fonts, so the page keeps its
   voice. The two Apple faces cover the swap while the file is in flight. */
body.lp {
  font-family: 'Noto Sans Bengali Text', 'Instrument Sans', 'Kohinoor Bangla',
    'Bangla Sangam MN', system-ui, sans-serif;
}

body.lp h1,
body.lp h2,
body.lp h3,
body.lp .btn,
body.lp .lp-tier .tn,
body.lp .lp-tier .price,
body.lp .lp-statline .k,
body.lp .lp-saved-cell b {
  font-family: 'Noto Sans Bengali Text', 'Bricolage Grotesque', 'Kohinoor Bangla',
    system-ui, sans-serif;
  letter-spacing: 0;
}

/* Headline leading. Latin can sit at 1.05 because nothing reaches far above
   the cap height; Bengali stacks a matra on top and a conjunct underneath. */
body.lp .lp-hero h1 { line-height: 1.28; }
body.lp .lp-shead h2,
body.lp .lp-row h2,
body.lp .lp-final h2 { line-height: 1.3; }
body.lp .lp-step h3,
body.lp .lp-card h3,
body.lp .lp-ex-head h3 { line-height: 1.45; }

/* Body copy needs the same room, a little more of it. */
body.lp .lp-lead,
body.lp .lp-shead p,
body.lp .lp-row p,
body.lp .lp-step p,
body.lp .lp-card p,
body.lp .lp-ex-text,
body.lp .faq .ans p,
body.lp .lp-modelist span,
body.lp .foot-brand p { line-height: 1.85; }

/* The small mono labels are set in JetBrains Mono, which has no Bengali
   glyphs, and uppercase and wide letter-spacing mean nothing in a script with
   no capitals and joined conjuncts. The three writing-mode names keep the
   mono treatment, because those stay in English. */
body.lp .eyebrow,
body.lp .lp-ex-tag,
body.lp .lp-step .n,
body.lp .lp-only,
body.lp .lp-tag,
body.lp .lp-saved-cell span,
body.lp .lp-statline .v,
body.lp .lang-chip .e,
body.lp .foot-col h3 {
  font-family: 'Noto Sans Bengali Text', 'JetBrains Mono', monospace;
  letter-spacing: .02em;
  text-transform: none;
}
