/*
 * Fixes on Tess's /payments page, kept outside the imported HTML: scripts/import-payments-page.mjs links this file at
 * the end of <head> on every import and never deletes it. Hand-written; each rule says why.
 */

/* 1. Text jumping as the page loads: until Host Grotesk has loaded, Arial at its measures (the values next/font
 *    computes for the home), so the lines do not move when the font swaps in. Same fix as /start and /events. */
@font-face { font-family: "Host Grotesk Fallback"; src: local("Arial"); ascent-override: 96.69%; descent-override: 30.01%; line-gap-override: 0%; size-adjust: 104.98% }
html:root { --f-sans: "Host Grotesk", "Host Grotesk Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif }

/* 2. Phones: the hero's decorative ribbons are wider than the screen (533 px on a 390 px phone), so the whole page
 *    became 463 px wide and could be dragged sideways. Clip what sticks out, as /events does. `clip`, not `hidden`:
 *    it does not make a scroll container, so the pinned before/after section keeps working. */
html:root, html body { overflow-x: clip }
