# Cloud Watch

A clear night seen from a quiet hill. The page is a near-black indigo, and the top of it opens onto a big rounded "sky panel" set slightly in from the edges of the window: a dusky blue to violet gradient scattered with tiny stars, a soft moon and banks of flat, painterly mauve clouds that drift very slowly. Headlines are a warm, bookish serif at a medium weight, centred and large. Everything else is a clean, friendly sans. There is one dusky violet button for the main action, a near-black outlined button beside it, and calm hairline app windows that rise up out of the bottom of the sky. It feels dreamy and calm, but still useful: a product you would trust with a booking at midnight.

Use it for: anything that happens at night or slows people down. Observatories and science centres, outdoor and travel bookings, sleep and wellbeing, music and radio, community clubs, hobby tools, developer platforms that want warmth, any product that should feel quiet and a little magical. Avoid it for: daytime retail, finance dashboards that need bright data colours, kids' brands that want primary colours, or anything that must look strictly corporate.

## 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 Cloud Watch 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 members' observatory called Halfmoon Hill.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Instrument+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Newsreader 500 | Display, h1, h2, prices, stat numbers and pull quotes. Medium weight, tight tracking (-0.022em), balanced line breaks. Italic only for quotes and the odd wordmark. |
| Body and buttons | Instrument Sans 400 to 600 | Body at 400, buttons and nav at 500, h3 and card titles at 600. |
| Labels | IBM Plex Mono 400 to 500 | Eyebrows, badges, table heads, captions and node meta at 11 to 12px. Eyebrows are uppercase with a little tracking. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--cw-night` | #121019 | The page, inputs, the inside of windows |
| `--cw-deep` | #17141F | Cards, plans, stats |
| `--cw-panel` | #1C1826 | Canvas nodes, active rows |
| `--cw-raise` | #241F31 | Icon tiles, code, the active toggle |
| `--cw-line` | #2C2738 | Every hairline |
| `--cw-line-bright` | #433B55 | Button outlines, inputs, window frames |
| `--cw-sky-top` / `--cw-sky-mid` / `--cw-sky-low` | #1A1830 / #29274A / #3A2E4F | The sky gradient, top to horizon |
| `--cw-cloud` / `--cw-cloud-lit` / `--cw-cloud-warm` | #4E3D5E / #77587A / #9A6B7E | Cloud body, lit edge, warm rim |
| `--cw-moon` | #F2EEF7 | Main text |
| `--cw-haze` | #B4ADC2 | Leads and body copy |
| `--cw-dusk` | #7D7590 | Captions, meta, dim labels |
| `--cw-violet` | #5B42A6 | The main button and pill labels |
| `--cw-violet-lit` / `--cw-violet-soft` | #7A62C9 / #B7A6F0 | Button edge, focus, featured plan border; eyebrows and links on dark |
| `--cw-starlight` | #F4E3B5 | Stars, the moon, check marks, "going" badges |
| `--cw-rose` / `--cw-teal` | #E39AAE / #8FD3C4 | Status only: warnings and "yes" or "clear" |

Painted tokens: `--cw-sky` (the gradient), `--cw-stars` with `--cw-stars-size` (ten tiled star layers), `--cw-fade-down` (melts a sky into the page) and `--cw-hill` (black hill silhouettes in drawings).

Rules:
- Colour lives in the sky. Below it the page is near black with hairlines and one violet button.
- Only one violet button per screen. The second action is the dark outlined button.
- Starlight yellow is for small points of light only: stars, the moon, check marks. Never a fill.
- Rose and teal are status colours, used in badges and table cells, never decoration.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--cw-text-display` | clamp(44px, 6.8vw, 92px) | Landing hero, centred, up to three lines |
| `--cw-text-h1` | clamp(40px, 5.4vw, 72px) | Page titles and the CTA |
| `--cw-text-h2` | clamp(32px, 3.8vw, 50px) | Section heads |
| `--cw-text-h3` | 20px | Card, plan and node titles, sans 600 |
| `--cw-text-lead` | 20px | Haze lead, max 600px |
| `--cw-text-body` | 16px | Body |
| `--cw-text-micro` | 12px | Mono labels |

Headlines are plain and warm, in sentence case, often a gentle promise ("Pay for the dark, not for the clouds"). Leads may carry one underlined link in moon white.

## Shape and space

- The sky panel: `.cw-sky` sits `--cw-inset` (8 to 16px) in from the window edges with a 22px radius and a faint white hairline. `--open` drops the bottom corners and fades into the page so a window can rise out of it. `--fill` makes it fill the screen.
- Radius: 10px for buttons, inputs and nodes; 14px for cards, plans and windows; 6px for badges and icon tiles; 999px only for the pill and avatars.
- Borders: 1px `--cw-line` on cards, `--cw-line-bright` on anything you press or type in.
- Shadows: one long, soft night shadow under windows and panels (`--cw-shadow`) and a violet glow under the main button (`--cw-shadow-btn`). Cards only get a faint top highlight.
- Clouds: draw them with the shared `#cloud` symbol (three stacked paths: warm rim, lit edge, body). Two to five per sky, some `--back` (faded), sizes from 300 to 680px, pushed partly off the edges. They drift 3 percent sideways over 90 seconds.
- Sections: 72 to 112px vertical padding. Container 1160px with 24px gutters; articles 680px.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.cw` | Put on `<body>`: night page, Instrument Sans, moon text, clipped overflow |
| `.cw-container`, `.cw-narrow`, `.cw-section`, `--flush`, `--tight`, `.cw-rule` | Layout |
| `.cw-display`, `.cw-h1`, `.cw-h2`, `.cw-h3`, `.cw-lead`, `.cw-u`, `.cw-eyebrow`, `.cw-muted`, `.cw-dim`, `.cw-mono` | Type |
| `.cw-btn`, `--violet`, `--ghost`, `--sm`, `--block` | Dark outlined button; `--violet` is the one main action |
| `.cw-nav`, `__inner`, `__links`, `__end`, `.cw-wordmark` | Top bar on the page colour, above the sky |
| `.cw-sky`, `--open`, `--fill`, `.cw-clouds`, `.cw-cloud`, `--slow`, `--back`, `.cw-moon` | The sky panel, its clouds and the moon |
| `.cw-hero`, `__body`, `--left`, `__stage`, `.cw-actions` | Centred hero and the stage a window sits on |
| `.cw-pill` | Glassy announcement pill with a violet mono label |
| `.cw-badge`, `--violet`, `--star`, `--teal`, `--rose`, `.cw-dot` | Square-ish mono status badges |
| `.cw-window`, `--closed`, `__bar`, `__tabs`, `__body`, `.cw-canvas`, `.cw-node`, `.cw-rows`, `.cw-icon` | Drawn app windows: a dotted canvas with linked nodes, or a list |
| `.cw-grid`, `--2`, `.cw-card`, `__sky`, `.cw-section-head`, `--center` | Cards with a small sky scene on top |
| `.cw-split` | Text one side, window the other |
| `.cw-stats`, `.cw-stat` | Serif numbers in quiet tiles |
| `.cw-logos` | Alternating italic serif and bold sans names |
| `.cw-quote` | Large centred serif quote |
| `.cw-steps` | Numbered list with ringed mono counters |
| `.cw-toggle`, `.cw-plans`, `.cw-plan`, `--featured`, `__price`, `.cw-checks`, `.cw-table-wrap`, `.cw-table`, `.cw-yes`, `.cw-faq` | Pricing parts; the featured plan has its own small sky |
| `.cw-meta`, `.cw-author`, `.cw-avatar`, `.cw-article`, `.cw-figure`, `.cw-callout` | Article parts |
| `.cw-form`, `.cw-row`, `.cw-field`, `.cw-label`, `.cw-input`, `.cw-select`, `.cw-hint`, `.cw-check`, `.cw-choices`, `.cw-choice`, `.cw-or`, `.cw-panel` | Forms on a dark glass panel floating in the sky |
| `.cw-cta` | Padding for a CTA sky |
| `.cw-footer`, `--slim`, `__cols`, `__about`, `__base` | Footer |
| `.cw-defs`, `.cw-f-*`, `.cw-s-*`, `.cw-t-dusk` | Hidden symbol holder plus fill, stroke and text classes for inline SVG |
| `.cw-rise`, `--2`, `--3` | Gentle entrance |

## Pages in this kit

- `demo.html`: landing page. An open sky with a moon and five clouds, a status pill, a three-line serif display, lead and two buttons, then a booking window rising out of the sky with linked nodes on a dotted canvas. Logos, three cards with small sky scenes, steps beside a week list, stats, a quote and a CTA sky.
- `pricing.html`: a closed sky header with a toggle, three plans overlapping its bottom edge (the middle one with its own starry sky and the only violet button), a compare table and an FAQ.
- `blog.html`: a sky header with a pill, h1, lead and author meta, clouds along its lower edge, then a 680px article with serif subheads, a drawn star chart figure, an italic quote, a callout and related cards.
- `signup.html`: a full-screen sky with a moon and three clouds, a centred heading and the form on a dark glass panel, plan choices as tiles, one violet button and a passkey alternative.

## Page recipe

1. Nav on the plain page colour: wordmark with a crescent, grey links, a ghost "Sign in" and a small outlined button.
2. An open sky panel: pill, centred display headline, lead with one underlined link, violet and outlined buttons.
3. A product window rising out of the bottom of the sky, cut off by the panel edge.
4. Quiet logos, then cards with small sky scenes.
5. A split: steps beside a list window.
6. Stats tiles, a serif quote, then a closed CTA sky with clouds along the bottom. Footer with four columns.

Pricing recipe: a closed sky with an eyebrow, h1, lead and toggle; plans that overlap its bottom edge; the featured plan carries stars and the only violet button; then a compare table and an FAQ beside an h2.

Article recipe: a closed sky header in the narrow column (pill, h1, lead, author meta) with clouds peeking from the lower corners. Then the article: serif subheads, one drawn figure on a sky background with a mono caption, one italic quote with a violet rule, one callout. Related cards at the end.

Sign-up recipe: one full-height sky. Eyebrow, h2 and a short lead, then the form on a glass panel. Plan choices as tiles, one violet submit button, an "or" divider and one outlined alternative.

## Don'ts

- Don't put the sky edge to edge. It always sits slightly inset with rounded corners.
- Don't use more than five clouds in one sky, or make them fluffy and blurred. They are flat, painted shapes with a warm rim.
- Don't use bold serif. Headlines are medium weight.
- Don't use more than one violet button per screen, or fill sections with violet.
- Don't use photos. Draw scenes, charts and windows with HTML, CSS and SVG.
- Don't add bright neon accents. The palette stays dusky.
- Don't use em dashes in copy.
