#!/usr/bin/env node /** * Mobile guard: real-browser (Chromium AND Firefox, headless) regression suite for published pages. * jsdom has no layout engine, so none of this can be asserted in vitest. * * npm run test:browser:mobile-guard * * Builds two representative documents with the REAL exporter (scripts/e2e-mobile-guard-entry.ts): * components - Navbar with 8 links, hero, ColumnLayout 2/3/4/30-70, FeaturesGrid, Testimonials, * NumberCounter, Gallery, PricingTable, ReviewsStrip, a 1600px image, long word + URL * htmlblocks - customer HtmlBlocks wider than a phone (fixed width, px grid, 1fr grid,