/** * Fonts via next/font/google (self-hosted at build). If the build machine has no network, swap the import in * layout.tsx for `./fonts.system` (same exported names, system stack) — the build must never fail on fonts. * Newsreader is variable (optical size + weight axes); `axes` is only allowed without an explicit `weight`. */ import { Inter, Newsreader } from 'next/font/google'; export const fontUi = Inter({ variable: '--font-ui', subsets: ['latin'], display: 'swap' }); export const fontDisplay = Newsreader({ variable: '--font-display', subsets: ['latin'], display: 'swap', style: ['normal', 'italic'], axes: ['opsz'] });