# Day Panel

Split down the middle and easy to read. A plain white reading column sits on the left and a sticky, full-height vermilion panel sits on the right, stacked in two tones. The top half carries one huge faded number (today's date, a time, a count) with a single bold word laid over it. The bottom half holds a framed box: a thin white inset border with its label notched into the top edge and a small note notched into the bottom. The column is a tidy list: a small mono source line, a bold title, one plain sentence and gray tag chips. Links and buttons in the chrome are mono capitals with wide tracking. It feels like a daily bulletin: fresh every morning, functional, a little nerdy, never fussy.

Use it for: daily notes and briefings, newsletters, link lists, club and community bulletins, condition reports (tides, weather, snow, trails), event listings, anything with "today" at its heart. Avoid it for: luxury and fashion, long product tours with lots of imagery, dashboards with dense charts, anything that needs a dark or moody feel.

## How to use this file

Give this file, `tokens.css` and `components.css` to your AI coding tool and say:

> Build [your page] in the Day Panel style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows.

`demo.html` (a landing page), `pricing.html`, `blog.html` and `signup.html` are complete example pages for Saltmark, a fictional morning note for sea swimmers that reports tides, water temperature and swell at local swim spots, built only with the kit.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines and body | Jost 400 to 700 | Hero, section headings, item titles, the bold word in the panel, the huge numerals, body text. Geometric, round and clean. |
| Labels | DM Mono 400 to 500 | Nav links, buttons, eyebrows, source lines, chips in tables, the framed box text, notched labels, footers. Capitals with 0.08em tracking for chrome; lower case for source lines. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--dp-paper` | #FFFFFF | The reading column, cards, inputs |
| `--dp-cream` | #FAF7F4 | Quiet blocks: callouts, chart cards, table heads |
| `--dp-chip` | #EFECE8 | Tag chips and the toggle track |
| `--dp-line` | #E6E1DC | Every hairline and divider |
| `--dp-ink` | #211E1C | Headlines and body text |
| `--dp-soft` | #6C6661 | Source lines, notes, labels |
| `--dp-flame` | #E8602D | The top half of the panel, the main button, mono links, the second headline line |
| `--dp-flame-deep` | #B9461B | Hover, accent text on white (eyebrows, plan names) |
| `--dp-ember` | #F08C63 | The bottom half of the panel, the framed box background |
| `--dp-blush` | #FDE9DF | The chosen plan, selected options, warning chips |
| `--dp-sea` | #2C7A78 | "Good" readouts only, in a chip |

Rules:
- Vermilion is the only accent. It fills the panel and marks links and the one main button per view. The column is otherwise ink on white.
- The panel is always two flat tones: flame on top, ember below. No gradients, no photos.
- Sea is a quiet status color and only ever appears in a chip next to a reading.
- White text only on the panel or a flame button.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--dp-text-numeral` | clamp(96px, 13vw, 200px) | The faded number in the panel, for 3 to 5 characters ("11/29", "05:00") |
| `--dp-text-numeral-xl` | clamp(160px, 22vw, 340px) | The same for 1 or 2 characters ("5", "80") via `.dp-numeral--xl` |
| `--dp-text-hero` | clamp(36px, 4.6vw, 58px) | Hero headline, Jost 700, max 16ch, the second half in `.dp-accent` |
| `--dp-text-h2` | clamp(26px, 3vw, 36px) | Section headings |
| `--dp-text-h3` | 20px | Small headings; feed titles use 19px, the lead item 26px |
| `--dp-text-lead` | 19px | The sentence under a headline |
| `--dp-text-body` | 16px | Body; articles use 18px with 1.75 line height |
| `--dp-text-micro` | 12px | Mono labels and notes |

Headlines are plain and practical, split in two: the promise, then the payoff in vermilion ("Know where the water is good / before you leave the house."). Sentence case. The panel word is one word, title case ("Sunday", "Swimmers", "Spots").

## Shape and space

- Flat and nearly square: 3px radius on buttons, chips and inputs, 4px on cards and plan grids. Only avatars are round.
- Borders: 1px `--dp-line` hairlines. Plans share one outer border with dividers between them, not three floating cards.
- Shadows: none in the column, except the white thumb in the toggle.
- The panel takes 38% of the width on desktop and is `position: sticky; height: 100vh`, split 50/50. On phones it splits apart: the date block opens the page and the framed box closes it (`--end` pages put both at the end).
- Column padding: 32px top, 56px sides on wide screens. Section gaps 48px to 72px. Feed grid: two columns, 48px row gap.
- Motion: color changes only, 0.18s. Nothing moves on scroll.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.dp` | Put on `<body>`: white page, Jost, no sideways scroll |
| `.dp-split`, `.dp-column`, `.dp-panel` | The two-part layout. Put `.dp-panel` after `.dp-column` |
| `.dp-panel__top`, `.dp-numeral`, `.dp-numeral--xl`, `.dp-overword` | The flame half: a faded huge number with one bold word (and a `<small>` mono line) over it |
| `.dp-panel__bottom`, `.dp-frame`, `.dp-frame__label`, `.dp-frame__foot` | The ember half: an inset frame with notched labels top and bottom |
| `.dp-frame--light` | The same frame on white, with a gray border |
| `.dp-panel--end` | On phones, keep the whole panel at the end of the page (pricing, articles, forms) |
| `.dp-nav`, `.dp-logo`, `.dp-logo__mark`, `.dp-monolink` | Top bar, logo with a square flame tile, mono capital links in vermilion |
| `.dp-hero-title`, `.dp-h2`, `.dp-h3`, `.dp-accent`, `.dp-lead`, `.dp-eyebrow`, `.dp-note`, `.dp-source`, `.dp-rule` | Type |
| `.dp-btn` with `--flame`, `--line`, `--white`, `--block` | Mono capital buttons; `.dp-actions` lines them up |
| `.dp-joined` | Email field and button joined in one bar (used inside the frame) |
| `.dp-feed`, `.dp-item`, `.dp-item--lead`, `.dp-item__title` | The list: source, title, sentence, chips. Two columns, one on phones |
| `.dp-chips`, `.dp-chip`, `--flame`, `--sea` | Gray tag chips; blush for warnings, sea for good news |
| `.dp-readouts`, `.dp-readout` | Three numbers between hairlines, with mono captions |
| `.dp-card`, `.dp-card--cream` | Plain boxes for charts and asides |
| `.dp-toggle`, `.dp-plans`, `.dp-plan`, `.dp-plan--pick`, `.dp-plan__name`, `.dp-plan__price` | Pricing |
| `.dp-table`, `.dp-table-wrap`, `.dp-faq` | Comparison table and FAQ with mono plus and minus |
| `.dp-article`, `.dp-byline`, `.dp-avatar`, `.dp-callout` | Blog post |
| `.dp-form`, `.dp-field`, `.dp-label`, `.dp-input`, `.dp-select`, `.dp-hint`, `.dp-check`, `.dp-options`, `.dp-option` | Forms, including pick-one tiles |
| `.dp-footer` | Mono footer under a hairline |

## Pages in this kit

- `demo.html`: landing page. Panel shows today's date with the day name over it and the newsletter frame. Column has the hero, readouts and today's feed.
- `pricing.html`: three plans in one bordered strip, a comparison table and FAQ. Panel shows the member count and a free trial frame.
- `blog.html`: an article with a line chart drawn in inline SVG, a pull quote and a callout. Panel shows the time and the subscribe frame.
- `signup.html`: a short form with pick-one time tiles. Panel shows the number of spots and what is in every note.

## Page recipe

1. `<body class="dp">`, then `<div class="dp-split">` holding `<main class="dp-column">` and `<aside class="dp-panel">`.
2. In the column: `.dp-nav` (logo left, mono links right), then an eyebrow, a two-part `.dp-hero-title`, a `.dp-lead` and one flame button plus one line button.
3. Add `.dp-readouts` with three honest numbers.
4. A section head (h2 left, a mono link right), then a `.dp-item--lead` and a two-column `.dp-feed`.
5. A short "how it works" in three numbered columns, then `.dp-footer`.
6. In the panel: a big number that means something today (date, time, count) with one word over it, and below it a `.dp-frame` with a short promise and a joined email field.

Pricing recipe: eyebrow, two-part headline, lead, `.dp-toggle`, then `.dp-plans` with the middle plan as `.dp-plan--pick` and the only flame button. Follow with a `.dp-table` and a `.dp-faq`. Use `.dp-panel--end` and put a trial offer in the frame with a `--white` button.

Article recipe: a mono back link, a `.dp-source` line, the title, `.dp-byline`, then `.dp-article` with 18px paragraphs, one `blockquote`, one `.dp-callout` and any chart drawn in a `.dp-card--cream`. End with two related items in a `.dp-feed`. Panel: `--end`, subscribe frame.

Sign-up recipe: step eyebrow, short title, one-sentence lead, a `.dp-form` of four or five fields max, one `.dp-options` group and a full-width flame button. Panel: `--end`, a list of what they get inside the frame.

## Don'ts

- Don't put the panel on the left, and don't let it scroll away on desktop. It is always the right side and always sticky.
- Don't add a third panel tone, a gradient or a photo to the panel.
- Don't use more than one bold word over the numeral, and don't make the numeral solid: it stays faded.
- Don't round things: no pill buttons, no big radii, no drop shadows on cards.
- Don't set body copy or headlines in the mono. Mono is for labels, links, buttons and the framed box.
- Don't use em dashes in copy.
