/* Landing V2 — components in one file (loaded as Babel) */ /* Skip-link target id, used by the screen-reader bypass link in index.html. */ const MAIN_ID = "main"; /* Render i18n strings that use [[token]] markers as elements. Used by Guardian's bad/good demo so the highlighted phrases translate. */ const renderWithMarks = (str) => { if (!str) return null; const parts = str.split(/(\[\[[^\]]+\]\])/g); return parts.map((p, i) => { const m = p.match(/^\[\[(.+)\]\]$/); return m ? {m[1]} : {p}; }); }; const Nav = ({ user, onLogin, onLogout, onCta }) => { const { code, set, t } = useLocale(); return ( ); }; /* Hero showcases a curated subset of brand reels. First entry renders as the large hero tile; the rest fall into a 2x2 thumb grid on the right. Cards in the Customers section reuse reel.1-4 by index; reel.5/6 only surface here as extra brand teasers without a dedicated case story. Once real video assets land, swap the placeholder
for