/*
 * Use a separate family for first paint. The files are local copies from
 * updeledstudy.in, and optional loading prevents a late font replacement.
 */
@font-face {
    font-family: "Hind Stable";
    src: url("/assets/fonts/hind-400-devanagari.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: optional;
    unicode-range: U+0900-097F, U+200C-200D, U+25CC;
}

@font-face {
    font-family: "Hind Stable";
    src: url("/assets/fonts/hind-400-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: optional;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190, U+2191, U+2192, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Hind Stable";
    src: url("/assets/fonts/hind-600-devanagari.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: optional;
    unicode-range: U+0900-097F, U+200C-200D, U+25CC;
}

@font-face {
    font-family: "Hind Stable";
    src: url("/assets/fonts/hind-600-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: optional;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190, U+2191, U+2192, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Hind Stable";
    src: url("/assets/fonts/hind-700-devanagari.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    unicode-range: U+0900-097F, U+200C-200D, U+25CC;
}

@font-face {
    font-family: "Hind Stable";
    src: url("/assets/fonts/hind-700-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190, U+2191, U+2192, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    font-synthesis: none;
}

/* Do not fall back to the older Hind @font-face: it uses font-display: swap. */
body,
button,
input,
select,
textarea {
    font-family: "Hind Stable", system-ui, sans-serif;
}

/* Hindi vowel marks extend above the letter body. Keep enough line-box room
   in the compact header so they are never cropped by its ellipsis rules. */
.topbar__copy {
    gap: 1px;
    padding: 3px 0 4px;
    line-height: 1.35;
}

.topbar__copy span {
    display: block;
    line-height: 1.25;
}

.topbar__copy strong {
    display: block;
    line-height: 1.35;
}
