# Cloud Harbor

Calm, dreamy and quietly technical, like looking up from a hillside at night with a laptop on your knees. Pages sit on a violet-black night. The hero is a big rounded window onto a sky drawn in CSS: soft dusky clouds in violet and rose, and pinprick stars. Headlines are a bookish serif with one italic violet phrase. Body text is a clean sans, and small labels and data are mono caps. One violet marks every action. The signature moves are the inset sky frame, a dark app window that rises over the sky's bottom edge with a dotted canvas inside, and tiny status dots in mint and moon yellow.

Use it for: observatories and science venues, memberships and clubs, night events, calm developer platforms, scheduling and booking apps, education, and anything that wants to feel unhurried, a little magical and still precise. Avoid it for: bright consumer retail, kids' brands that need lots of color, food and drink, dense data-heavy dashboards, or anything that must feel loud.

## 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 Harbor 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 a made-up community observatory called Skyhold.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Newsreader 500 (hero), 400 (sections) | Hero, section headings, card titles, prices, big numbers, quotes. Tracking -0.02em, sentence case. |
| Accent | Newsreader 400 italic, violet | One phrase per headline (`.ch-em`). Never a whole heading. |
| Body | Figtree 400 to 600 | Paragraphs, nav, buttons (500), forms. |
| Labels and data | JetBrains Mono 400 to 500 | Uppercase eyebrows (`.ch-label`), badges, status dots, table heads, metadata inside app windows. |

## Color

| Token | Hex | Use |
|---|---|---|
| `--ch-night` | #120F1C | The page, the app window, inputs. |
| `--ch-night-2` | #1A1628 | Cards, raised sections, nodes, the sign-up form panel. |
| `--ch-night-3` | #241F37 | The lower sky, sky cards, featured plan, code. |
| `--ch-night-4` | #2F2946 | The active toggle segment. |
| `--ch-cloud` | #4A3D66 | Clouds, forecast bars, default avatars. Never text. |
| `--ch-cloud-rose` | #7D5574 | The undersides of clouds, a second avatar. Never text. |
| `--ch-cloud-deep` | #2B2442 | Hills and the bottom of the sky. |
| `--ch-star` | #F1EDF9 | Text. `--ch-star-soft` (70%) for secondary text, `--ch-star-faint` (44%) for hints, labels and meta. |
| `--ch-violet` | #6E4FD8 | The action color: buttons, checked inputs. `--ch-violet-hi` (#9B84F2) for the italic phrase, links, ticks, active tabs and focus. `--ch-violet-wash` for chosen states and callouts. |
| `--ch-moon` | #EBD9A2 | The moon, the glowing label dot, "waitlist" status, one badge. Small doses only. |
| `--ch-mint` | #7FD6B0 | "Open" and "yes" states only. |

Rules: violet means "press this" or "this is chosen". Moon and mint are status lights, never fills larger than a dot or a badge. Clouds stay in the sky and in drawings. There is no white; the lightest thing is starlight text.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ch-text-hero` | 40 to 76px | One hero line per page, line-height 1.04, weight 500, centered on landing pages. |
| `--ch-text-h2` | 30 to 50px | Section headings, weight 400. |
| `--ch-text-h3` | 24px | Card titles. |
| `--ch-text-lead` | 17 to 21px | Intro paragraphs in soft starlight. |
| `--ch-text-body` | 16px | Body. Articles use 18px with line-height 1.75. |
| `--ch-text-small` | 14px | Notes, rows, meta. |
| `--ch-text-label` | 12px | Mono uppercase labels, tracking 0.08em. |

Put one phrase of a headline in `<span class="ch-em">`: "Book an hour, bring a coat, *look up*".

## Shape and space

- The sky frame: `--ch-radius-sky` (22px), inset from the window by `--ch-frame` (8 to 16px), with a 10% starlight hairline.
- Cards, plans, tables, the app window: `--ch-radius` (12px). The hero app window has only its top corners rounded and is cut off by the sky's bottom edge. Buttons, inputs and nodes: `--ch-radius-sm` (8px). Badges and toggles: pill.
- Lines are 10% starlight (`--ch-line`), 20% for inputs and nodes (`--ch-line-strong`).
- Shadows: `--ch-shadow-window` (deep, with a hairline ring) for app windows and the featured plan; `--ch-shadow-btn` (a top highlight and a violet glow) on the primary button only.
- App window bodies have a dotted canvas (18px grid of hairline dots).
- Sections are 64 to 120px padding. Container 1160px, article column 680px.

## Components (in components.css)

- Layout: `.ch-container`, `.ch-narrow`, `.ch-section` (`--tight`, `--raised`), `.ch-split`, `.ch-center`, `.ch-frame`.
- Sky: `.ch-sky` (stars, clouds and the night gradient in one), `.ch-cloudband` (`--top`, `--low`) holding an inline SVG of cloud shapes; drawing classes `.ch-c-cloud`, `-rose`, `-deep`, `-moon`, `-violet`, `-star` fills and `.ch-c-line` for constellation strokes.
- `.ch-header` with `.ch-logo` (`.ch-logo-mark`: a moon in a ring), `.ch-nav` (`a.is-active`), `.ch-nav-end`, `.ch-hide-sm`.
- `.ch-btn` (violet with glow), `--ghost`, `--sm`, `--block`, `.ch-arrow`. `.ch-link` for text links.
- Hero: `.ch-hero`, `.ch-hero-title`, `.ch-lead`, `.ch-hero-actions`, `.ch-hero-stage`.
- App window: `.ch-window` (`--whole` for all four corners), `.ch-window-bar`, `.ch-window-crumb`, `.ch-window-tabs`, `.ch-window-body`, `.ch-node`, `.ch-node-head`, `.ch-node-meta`, `.ch-status` (`--wait`, `--off`).
- `.ch-grid` (`--2`, `--4`), `.ch-card` (`--sky`), `.ch-card-art`, `.ch-icon`, `.ch-stats` / `.ch-stat` / `.ch-stat-num` / `.ch-stat-label`, `.ch-rows` / `.ch-row`, `.ch-logos`.
- `.ch-label` (`--moon`, `--dot`), `.ch-badge` (`--violet`, `--moon`), `.ch-quote`, `.ch-quote-by`, `.ch-avatar` (`--rose`, `--moon`).
- Forms: `.ch-form`, `.ch-field`, `.ch-field-label`, `.ch-field-row`, `.ch-input`, `.ch-select`, `.ch-textarea`, `.ch-hint`, `.ch-check`, `.ch-divider`, `.ch-choices` / `.ch-choice`.
- Pricing: `.ch-toggle`, `.ch-plans`, `.ch-plan` (`--featured` gets the sky and the window shadow), `.ch-plan-head`, `.ch-plan-name`, `.ch-price`, `.ch-plan-note`, `.ch-list` (violet ticks), `.ch-table-wrap` / `.ch-table`, `.ch-yes`, `.ch-no`, `.ch-faq`.
- Article: `.ch-article-head`, `.ch-meta`, `.ch-cover` (a drawn 21:9 sky), `.ch-caption`, `.ch-prose`, `.ch-callout`, `.ch-author`.
- `.ch-footer` with `.ch-footer-grid`, `.ch-footer-big` and `.ch-footer-base`.

## Pages in this kit

- `demo.html`: a sky frame with the header, a moon-dot label, a centered serif headline with a violet italic phrase, two buttons and an app window of tonight's telescope schedule rising over the bottom edge; then a mono logo row, three steps, serif stats, a raised split with event rows and badges, a quote and a short sky CTA.
- `pricing.html`: a sky frame with the hero and the billing toggle, three plans (the middle one carries the sky), a sky gift card, a comparison table and an FAQ.
- `blog.html`: a plain header bar, a field-notes article with a drawn moonlit cover, a list, a serif blockquote, a violet callout and related cards.
- `signup.html`: a sky panel with reasons, ticks and a small logbook window, next to the form panel.

## Page recipe

1. A `.ch-sky` inside `.ch-frame`, holding the header and a `.ch-cloudband--top` drawing.
2. Centered hero: `.ch-label--dot`, a serif `.ch-hero-title` with one `.ch-em` phrase, a lead and a violet button beside a ghost button.
3. `.ch-hero-stage` with a `.ch-window` showing the product: crumb, tabs, and nodes on the dotted canvas. Let the sky clip its bottom.
4. Below on plain night: a mono logo row, a steps grid, stats, a `--raised` split with rows, a centered quote.
5. A short `.ch-sky` CTA with a `.ch-cloudband--low` and one button.
6. A footer with one serif sentence and three link columns.

## Pricing page recipe

A sky frame with the header, a centered hero title and the `.ch-toggle`. Below on night, three `.ch-plan` cards: the middle one `--featured` with a violet badge and the only violet button, the others ghost buttons. A `.ch-card--sky` gift strip, then a `--raised` section with the table, and a split with a heading and the FAQ.

## Article page recipe

A header bar with a hairline under it (no sky frame), then the article head at 920px: dotted label, title with an italic second half, meta with avatar, a `.ch-cover` drawing and caption. Prose in the 680px column with one blockquote, one list, one callout and the author row. Related `.ch-card`s with `.ch-card-art` in a `--raised` section.

## Sign-up page recipe

Two panels side by side, full height. Left: a `.ch-sky` with the logo, then at the bottom a dotted label, title, lead, ticked list and a small `.ch-window` peek. Right: a `--ch-night-2` panel with the form: `.ch-choices`, names, email, a select with a hint, two checks, the violet submit, an "or" divider and a ghost button. On phones the panels stack and the window peek hides.

## Don'ts

- Don't add bright gradients, neon glows or extra accent colors. One violet, two tiny status lights.
- Don't put the sky behind every section. The hero, one CTA and the featured plan are enough.
- Don't bold the serif or set whole headings in italics.
- Don't use photos. Draw skies, clouds and hills with flat SVG shapes in the cloud colors.
- Don't use white or light surfaces.
- Don't use em dashes in copy.
