Part of [Design system](https://docs.mapcairn.com/design.md), which is built from [DESIGN.md](https://github.com/MapCairn/mapcairn/blob/main/DESIGN.md) in the repository, where it is edited.

A developer page in the reference host that draws every token and primitive from the real code.

`/design` renders every token and every primitive from the real code: colour roles with light and dark hex values and their contrast pairs, the type scale, spacing, radii, elevation, motion, z layers, the Phosphor icons the app imports, each component in each state, and a font check that proves IBM Plex Sans is rendering. Open http://localhost:5173/design with `npm run dev`, or http://localhost:4173/design with `npm start` (the e2e build). The route exists only in development and in the `--mode e2e` build (`packages/web/src/designGuideRoutes.ts`), together with `/design/host-theme/:name`, which serves two generated host themes for the browser tests; `npm run build` fails if the page's marker reaches the production bundle, and `e2e/design.spec.ts` and `e2e/theme-override.spec.ts` cover it in the browser.
