/* Phone fixes for the PUBLIC pages — BK-21…25 of billkori-audit-report.md, measured on billkori.com on 2026-11-10
   at 360 / 375 / 414 px in Bangla and English (headless Edge).
   _Layout loads this after every other stylesheet, on public pages only (never the book or the admin panel), and every
   rule sits in the phone block below, so desktops, tablets and paper are untouched.
   Measured and needing nothing: no sideways scrolling on any page, the hero puts its text before the picture, form
   fields are already 16px, there are no floating buttons, and the hero heading already scales with clamp(). */
@media screen and (max-width: 575.98px) {
    /* Tap targets of at least 44px. Buttons grow through Bootstrap's own padding variable, so their display and the
       space between icon and text stay as they were; the header row is already 62px, so it does not get taller. */
    .bk-header .bk-brand { min-height: 44px; }
    .bk-header .btn-sm,
    .bk-main .btn-sm { --bs-btn-padding-y: .66rem; }
    .bk-auth .btn:not(.btn-sm):not(.btn-lg) { --bs-btn-padding-y: .575rem; }

    /* Footer links: a whole 44px row each, instead of 20–26px of text with 6px between them. */
    .bk-footer ul li { margin-bottom: 0; }
    .bk-footer ul li a { display: inline-flex; align-items: center; min-height: 44px; }

    /* Lines that were 14–15px: the hero's tagline pill and chips, and the link line under the sign-in/up forms. */
    .bk-hero__eyebrow,
    .bk-hero__chips li,
    .bk-auth__alt { font-size: 1rem; }

    /* Bangla letters need room above and below (matras, conjuncts). :where() keeps this weaker than any rule that
       already sets a line-height, so only paragraphs left at Bootstrap's 1.5 change. */
    :where(html[lang="bn"]) :where(.bk-section, .bk-auth) p { line-height: 1.7; }
}
