/*
 * readby.app — one scale for laptop and desktop screens.
 *
 * Why this file exists (11 Nov 2026): the page is designed phone-first, in
 * fixed sizes, inside columns capped near 960px. The banner at the top is the
 * one thing that grows with the window (Jon, 9 Oct: full width, never cropped).
 * So the wider the window, the more the banner dwarfs everything under it; on
 * a laptop the sections read as a small phone column in a big empty frame.
 *
 * The fix is ONE owner for size on wide screens, not per-section tweaks: every
 * part of the page except the banner art is scaled by the same factor, so the
 * proportions Jon approved on a phone hold from a 13" laptop to a 27" monitor.
 * Phones and tablets (under 1200px) are untouched: the factor is 1 there.
 *
 * `zoom` scales a section's layout as well as its paint (unlike transform),
 * so nothing overlaps and the page never scrolls sideways. Steps follow the
 * common laptop and desktop widths; the factor is capped so a 4K window does
 * not get poster-sized text. Browser zoom keeps working: zooming in narrows
 * the window, which steps the factor down, so text still gets bigger overall.
 *
 * Pinned by backend/e2e/landing/siteScale.spec.ts.
 */
:root { --site-scale: 1; }
@media (min-width: 1200px) { :root { --site-scale: 1.1; } }
@media (min-width: 1360px) { :root { --site-scale: 1.2; } }
@media (min-width: 1560px) { :root { --site-scale: 1.3; } }
@media (min-width: 1800px) { :root { --site-scale: 1.4; } }

/* Everything but the banner art: the nav, the sign-up block under the banner,
   every section after it, and the footer. */
.nav,
.hero-content,
body > section:not(.hero),
body > footer {
  zoom: var(--site-scale);
}
