# Cadence web template

Plain static site. No build step, no npm, no libraries, no UI kit.

## Files
- index.html : page shell (loads styles.css, app.js, Geist Mono from Google Fonts)
- styles.css : all design tokens and components (about 30 KB)
- app.js : all screens and logic, vanilla JS (about 99 KB)
- GeistMono-Medium.ttf : the font file from upstream, for self-hosting
- LICENSE, NOTICE : Apache-2.0 and attribution

## Run
Open index.html, or serve the folder: `python3 -m http.server 8000`.
Deploy: upload the folder to Cloudflare Pages (or any static host).

## Self-host the font (optional)
Remove the three Google Fonts <link> tags in index.html and add to styles.css:
`@font-face{font-family:"Geist Mono";src:url("GeistMono-Medium.ttf");font-weight:500}`

## Design system (all in styles.css, top of file)
- Colour tokens: --canvas --card --ink --brand #C4421B --focus #2E6BFF, plus six focus colours --f-*. Light and dark via [data-theme].
- Colour worlds: .world-lilac, butter, coral, sage, mint, rose, forest, plum, teal, sky, stone, inkw (set --wbg --wa --wb --wink). Recap deeps: .deep-*.
- Type: .t-numeral-large 58/60 w900, .t-numeral 44/48, .t-answer 38/44, .t-section 28/32, .t-body 14/20, .t-label 11/16, .t-figure mono 12/16.
- Fonts: system stacks (ui-rounded, SF, Segoe UI) for text, Geist Mono for figures.
- Radius: card 24px, buttons 12px.
- Mascot: tempoSVG() in app.js, drawn in code.

## To re-skin
Change the :root and [data-theme="dark"] variables, the world classes, and the sample data functions (baseTasks, baseFound, makeDay) in app.js.

## Screens (render functions in app.js)
Today, Log, Inbox, Insights, Recap and Story, Proof, Settings, menu-bar Panel, Capture bar, First run, Wrap-up sheet.
