// hf-intro.jsx — Hi-fi cover: the design language Direction A locks in. const { HFScreen: IScreen, HFWordmark: IWordmark, HF_H: I, HF_DSC: IDS } = window; const { Eyebrow: IEyebrow, Soul: ISoul, Tag: ITag } = IDS; function HFCover() { const langs = [ ['Ground', 'Midnight sky with a barely-there starfield; a gold horizon glow warms the bottom of entry screens.'], ['Depth', 'Carried by layered surfaces and hairlines — not drop shadows. Only the auth card earns real elevation.'], ['Type', 'Space Grotesk for structure, Inter for body — calm and precise, never hypey. Sentence case throughout; uppercase only for small eyebrows.'], ['Action', 'One gold CTA per screen. Lilac for links and nodes. Hover lifts 1px; focus is a gold ring.'], ['Attention', 'Gold, always — the palette carries no red. Honest failure, never a faked success.'], ['Emptiness', 'A finished state with its own composition — no zeroed tiles, no locked-feature teasers.'], ]; return (
SD-0001 · Hi-fi · Direction A
Quiet centered — the full design

The language, before
the hundred screens

Every surface below is the same six decisions, applied. Get these right and the next ninety-six screens inherit a calm, honest house style for free.

{langs.map(([k, v]) => (
{k}
{v}
))}
); } // Entry routing — the shared spine, hi-fi function HFRouting() { const lanes = [ { sess: 'No session', store: '—', arrow: 'Landing', puc: 'PUC-1', tone: 'mute' }, { sess: 'Valid session', store: 'No storefront', arrow: 'Create storefront', puc: 'PUC-5', tone: 'gold' }, { sess: 'Valid session', store: 'Has storefront', arrow: 'Admin shell', puc: 'PUC-6', tone: 'lilac' }, ]; return ( The shared spine

Entry routing

One server answer — GET /api/auth/me — decides where every arrival lands.

{lanes.map((l, i) => { const c = l.tone === 'gold' ? I.gold : l.tone === 'lilac' ? I.lilac : I.mute; return (
{l.sess}{l.store}
{l.arrow} {l.puc}
); })}

Exhaustive by design — no state lands nowhere. A merchant without a storefront is guided to create one, never stranded.

); } function Cond({ children }) { return {children}; } Object.assign(window, { HFCover, HFRouting });