# Signal Yellow

Plain-spoken and principled. The whole page sits on a mid slate blue (never black), with bold white Public Sans headlines, a flat, nearly square yellow button and one bright "all clear" green that only lives inside product UI. A dark utility strip at the very top reports live status ("212 lockers free right now"), and the hero object is a phone with a green status header over a hand-drawn map. Copy is short and blunt. It feels honest, sturdy and a little stubborn, like a service that is proud of what it refuses to do.

Use it for: privacy-minded products, co-ops, public and civic services, delivery and logistics, utilities, anything that wants to sound trustworthy without sounding corporate. Avoid it for: luxury, beauty, kids' brands, anything soft or whimsical.

## 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 Signal Yellow 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 built only with the kit, for an invented co-op parcel locker service called Quayside.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Public Sans 700 to 800 | Hero, section headings, prices, big numbers. Tight tracking, sentence case. |
| Body | Public Sans 400 to 600 | Paragraphs, nav, buttons, forms. |
| Mono | Red Hat Mono 400 to 600 | Eyebrows, chips, ledger keys, locker numbers, timestamps, code. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--sy-night` | #172540 | Status strip, footer, wells, inputs, ledger, the featured plan |
| `--sy-slate` | #27406A | The page background |
| `--sy-slate-2` | #2F4C7B | Raised cards and alternate sections |
| `--sy-slate-3` | #3A5A8C | Hover and avatars |
| `--sy-line` | #4A6898 | Every border and divider |
| `--sy-paper` | #F5F2E9 | Headlines and body text |
| `--sy-mute` | #B3C1D8 | Secondary text |
| `--sy-yellow` | #F3D538 | The one call to action, eyebrows, the yellow band |
| `--sy-yellow-ink` | #1C2233 | Text on yellow |
| `--sy-green` | #43C25D | "Ready / ok / yes", only in product UI and status |
| `--sy-red` | #EF6B5F | Warnings and errors |

Rules:
- Slate blue is the default. Never switch to black: the deepest color is `--sy-night`.
- Yellow is for action. One primary yellow button per view, plus the mono eyebrow. One full yellow band per page, near the end.
- Green means "this is fine". Use it for status dots, ticks and the phone header, never for buttons.
- No gradients. Flat fills only.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--sy-text-hero` | clamp(44px, 6.4vw, 84px) | Hero, 3 lines max, weight 700, tracking -0.025em |
| `--sy-text-h2` | clamp(32px, 4vw, 50px) | Section headings |
| `--sy-text-h3` | 22px | Card and principle titles |
| `--sy-text-lead` | 19px | Lead under a headline, muted |
| `--sy-text-body` | 16px | Body |
| `--sy-text-label` | 12px | Mono eyebrows and chips, uppercase, tracking 0.08em |

Headlines are blunt statements with an opinion ("Your parcels are nobody's business"). No exclamation marks.

## Shape and space

- Radius: 3px on buttons, inputs and chips (almost square), 6px on cards and panels, 34px only on the phone frame.
- Borders: 1px `--sy-line`; inputs use 2px. The featured plan gets a 2px yellow border.
- Shadows: only under the phone and floating product UI. Cards are flat.
- Sections: 112px vertical padding (72px on phones). Container 1180px, reading width 700px.
- Motion: one pulsing ring on the map pin. Nothing else moves.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.sy-status`, `__item--ok/--warn` | Dark strip above the nav with live status items and colored dots |
| `.sy-nav`, `.sy-logo`, `__mark` | Logo with a yellow round mark, bold links, a "Log in" link and a small yellow button |
| `.sy-hero`, `__grid`, `__copy` | Copy left, phone right, phone sits on the bottom edge of the hero |
| `.sy-phone`, `__bar/__head/__map/__card`, `.sy-pin` | The signature phone: green status header, drawn SVG map, a pulsing pin and a dark info card |
| `.sy-hero-title`, `.sy-h2`, `.sy-h3`, `.sy-lead`, `.sy-eyebrow`, `.sy-mark` | Type; the eyebrow is yellow mono uppercase |
| `.sy-btn--primary/outline/quiet/ink`, `--sm`, `--block` | Flat square buttons; `--ink` is the dark button for the yellow band |
| `.sy-chip`, `--ok/--warn/--yellow`, `.sy-dot` | Mono outlined chips with status dots |
| `.sy-principles`, `.sy-principle` | Three numbered promises, each under a thick yellow rule |
| `.sy-ledger`, `__row`, `__key` | A "here's what we store" table: mono keys, plain values, `sy-no` for what isn't stored |
| `.sy-cards`, `.sy-card`, `__icon` | Flat feature cards with a dark square icon tile in yellow |
| `.sy-split` | Two columns, text and a panel |
| `.sy-stats`, `.sy-stat__num/__label` | Big heavy numbers |
| `.sy-quote`, `.sy-byline`, `.sy-avatar` | Pull quote and initials avatar |
| `.sy-section--night/raised/yellow/line` | Section surfaces |
| `.sy-toggle` | Monthly or yearly switch, the active option in yellow |
| `.sy-plans`, `.sy-plan`, `--featured`, `__name/__desc/__price/__per/__list` | Three plans; the featured one is night with a yellow border |
| `.sy-table-wrap`, `.sy-table`, `.sy-yes`, `.sy-no` | Comparison table with a mono header; scrolls sideways on phones |
| `.sy-faq` | `<details>` FAQ with a yellow mono plus |
| `.sy-prose`, `.sy-callout`, `.sy-meta` | Article text: yellow dash bullets, yellow-ruled quote, night code blocks, green-edged callout |
| `.sy-author`, `--card`, `.sy-posts`, `.sy-post`, `__thumb` | Author line and card; related posts with a drawn locker-wall thumbnail |
| `.sy-form`, `.sy-field`, `.sy-label`, `.sy-input`, `.sy-select`, `.sy-input-wrap`, `.sy-input-toggle` | Stacked fields on night wells with a yellow focus border |
| `.sy-help`, `.sy-error`, `.sy-field--error`, `.sy-check` | Helper text, red error state, yellow checkbox |
| `.sy-number` | A big dashed box showing a generated ID in yellow mono |
| `.sy-divider-text` | A line with "or" in the middle |
| `.sy-footer`, `__cols`, `__bottom` | Night footer with mono column headings |

## Pages in this kit

- `demo.html`: landing page (status strip, hero with phone and map, three promises, the data ledger, features, stats, quote, yellow band, footer).
- `pricing.html`: toggle, three plans, comparison table, FAQ, yellow band.
- `blog.html`: a data policy article with a before and after ledger cover, prose, code, callout, author card and related posts.
- `signup.html`: split page, the form on slate, a night panel with steps, a ledger and a quote.

## Page recipe

1. Status strip in night: two or three live facts, one with a green or red dot.
2. Nav on slate with a bottom line. Yellow small button on the right.
3. Hero: mono eyebrow, a blunt headline, a short paragraph, yellow primary next to a white outline button, two mono chips. The phone sits on the right, flush with the bottom of the hero.
4. Night section: three numbered promises under yellow rules.
5. Split section: a headline about what you do or don't do, beside a ledger.
6. Raised section: centered heading, three flat cards.
7. Stats on slate, then a quote.
8. Yellow band with one sentence and a dark ink button.
9. Night footer.

Pricing recipe: centered heading and toggle, three plans with the middle one featured, a reassurance chip row, the comparison table on night, a two-column FAQ, a yellow band.

Article recipe: eyebrow, headline at about 62px, author line with mono meta, a cover made from drawn UI (ledgers, a map) rather than a photo, 700px prose, author card, related posts on night.

Sign-up recipe: a two-column page. Left: eyebrow with the step, h2, a generated ID in `.sy-number`, fields, a checkbox, a yellow block button, "or" and a quiet alternative. Right: a night panel with numbered steps and a ledger.

## Don'ts

- Don't use black or pure white backgrounds.
- Don't round buttons into pills or add shadows to them.
- Don't use green for actions or yellow for status.
- Don't use photos as heroes. Draw the product: phones, maps, ledgers.
- Don't write marketing fluff. Say what you do and what you refuse to do.
- Don't use em dashes in copy.
