# Cove Glow

A friendly, open night-time style. The page is a stack of deep navy bands, one a shade lighter than the next, with a hero lit by a slow teal-to-plum aurora. Headlines are light and rounded (Lexend 300), every section is centered, and the pictures are small drawn scenes sitting on round sky-blue blobs: a gardener with a watering can, a raised bed, two seed packets. One sky-blue pill does the main action, with an outlined white pill next to it. It feels welcoming, volunteer-run and trustworthy, like a community project that happens to be very well made.

Use it for: community projects, nonprofits, co-ops, open source and self-hosted tools, local services, clubs and memberships, consumer apps that should feel kind at night. Avoid it for: luxury brands, finance dashboards, anything that should feel sharp, loud or 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 Cove Glow 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 one made-up product, Plotline, a shared notebook for community gardens.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Lexend 300 to 500 | Hero at 300, section headings at 400, card and feature titles at 500. Never bold. |
| Body | Nunito Sans 400 to 700 | Paragraphs, nav, buttons (700), labels (700), tables. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--cg-deep` | #090E22 | The page background and the nav |
| `--cg-band` | #141A35 | Every second section, the footer, callouts |
| `--cg-raised` | #1C2445 | Cards, plans, tiles, quiet buttons |
| `--cg-line` | #2C3560 | Every border and divider |
| `--cg-ink` | #EEF1FB | Headlines and body text, the outline button |
| `--cg-soft` | #A6AECD | Leads and secondary text |
| `--cg-sky` | #1E98CF | The one action color: primary button, featured plan border, toggle |
| `--cg-sky-light` | #6CC4EA | Links, eyebrows, the small note under a call to action, "Yes" in tables |
| `--cg-sky-blob` | #17577E | The round blob behind every drawn scene, avatars |
| `--cg-teal` / `--cg-plum` | #0E5A61 / #4C2150 | The two ends of the aurora |
| `--cg-lilac` | #9B8CF2 | The logo mark and one color inside scenes |

Drawing colors (`--cg-sun` #F2C14E, `--cg-leaf` #4FBF8B, `--cg-coral` #E8846B, `--cg-skin` #E6AD8A) only appear inside scenes and tiny status dots. Coral doubles as the error color.

Rules:
- Navy is the whole page. Sections alternate `--cg-deep` and `--cg-band` with no border between them.
- The aurora (`.cg-section--aurora`) goes behind the hero and, at most, one closing call to action. Never on cards.
- Sky is for actions only. One filled sky button per screen.
- No pure black, no pure white surfaces.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--cg-text-hero` | clamp(34px, 4.6vw, 54px) | Hero headline, Lexend 300, centered, 2 lines |
| `--cg-text-h2` | clamp(28px, 3.2vw, 38px) | Section headings, Lexend 400, centered |
| `--cg-text-h3` | 20px | Sub-headings, Lexend 500 |
| `--cg-text-lead` | 18px | The paragraph under a heading, soft, max 600px |
| `--cg-text-body` | 16px | Body |

Headlines are plain and warm ("Your garden, wherever you are", "What is Plotline?"). A question as a section heading is fine. Sentence case, no exclamation marks.

## Shape and space

- Radius: pills on buttons, search and toggles; 14px on cards and windows; 20px on plans and panels; circles for scenes and avatars.
- Borders: 1px `--cg-line` on inputs, the nav, tables and windows. Cards have no border; they are just a lighter navy.
- Shadows: almost none. Only windows get `--cg-shadow`. Focus is a soft sky ring (`--cg-glow`).
- Sections: 64px to 104px vertical padding. Container 1120px, text 720px.
- Motion: one slow rise on entrance (`.cg-fade`). Nothing bounces.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.cg-navbar`, `.cg-nav`, `.cg-logo`, `__mark`, `.cg-nav__links`, `.cg-search` | Dark nav strip: logo left, links and a pill search with a key hint right |
| `.cg-section`, `--band`, `--aurora` | Stacked section surfaces |
| `.cg-hero-title`, `.cg-h2`, `.cg-h3`, `.cg-lead`, `.cg-eyebrow`, `.cg-note` | Light display type, soft lead, sky label, the small sky line under a call to action |
| `.cg-btn--primary/outline/quiet`, `--sm`, `--block`, `.cg-actions` | Pills: outline and sky side by side, outline first |
| `.cg-scene`, `--sm`, `--lg` | The signature: a round sky blob holding an inline SVG scene |
| `.cg-s-*` | Fill classes for scenes (`ink`, `deep`, `sky`, `sun`, `leaf`, `coral`, `skin`, `lilac`, `line`, `stem`) |
| `.cg-features`, `.cg-feature`, `__title/__text` | Centered scene, title and text; 4 across, then a centered row |
| `.cg-icons`, `.cg-icon` | Line icons with labels, the "available everywhere" row |
| `.cg-window`, `__bar/__body`, `.cg-tiles`, `.cg-tile`, `--sky` | A flat dark app screen with poster-like tiles |
| `.cg-chip`, `--sky`, `.cg-dot` | Small pills and status dots inside product UI |
| `.cg-cards`, `.cg-card` | Raised navy cards, no border |
| `.cg-quote` | Centered light display quote with a small scene above |
| `.cg-toggle`, `.cg-plans`, `.cg-plan`, `--featured`, `__name/__desc/__price/__list` | Pricing: a sky toggle, three raised plans, the featured one with a sky border |
| `.cg-table-wrap`, `.cg-table`, `__yes/__no` | Comparison table on a raised panel, scrolls sideways on phones |
| `.cg-faq` | `<details>` list with a sky plus that turns into a cross |
| `.cg-meta`, `.cg-author`, `.cg-avatar` | Centered byline with a blob avatar and dot-separated meta |
| `.cg-prose`, `.cg-callout` | Article text: Lexend headings, sky bullets, centered light pull quote; band-colored tip box |
| `.cg-post` | Related post card with a small scene |
| `.cg-form`, `.cg-row`, `.cg-field`, `.cg-label`, `.cg-input`, `.cg-select`, `.cg-help`, `.cg-error`, `.cg-check`, `.cg-divider-text`, `.cg-panel` | Forms on deep navy inputs with a sky focus ring; coral errors |
| `.cg-footer`, `__cols`, `__bottom` | Band-colored four-column footer |
| `.cg-fade` | Entrance rise, respects reduced motion |

## Pages in this kit

- `demo.html`: landing page (aurora hero, "What is" scene grid, icon row on a band, app window, quote, aurora call to action).
- `pricing.html`: aurora hero with a Monthly / Yearly toggle, three plans with scenes, a comparison table, an FAQ and a short aurora close.
- `blog.html`: an article with an aurora header, a large scene as the cover, prose, and related posts on a band.
- `signup.html`: split sign-up, the form on deep navy and an aurora panel with a scene and a quote.

## Page recipe

1. Nav on `--cg-deep` with a thin bottom line.
2. Aurora hero, centered: a 2-line Lexend 300 headline, a soft lead, an outline pill then a sky pill, and a one-line `.cg-note` under them.
3. Deep section: centered "What is [product]?" h2 and lead, then `.cg-features` with 6 or 7 scenes.
4. Band section: an h2, a lead and `.cg-icons`, then one sky button.
5. Deep section: the product in a `.cg-window` with tile rows.
6. Band section: `.cg-quote` with a small scene.
7. Aurora call to action, then the band footer.

## Pricing page recipe

1. Nav, then a shorter aurora hero with a `.cg-toggle`. Keep both prices in `data-monthly` and `data-yearly` and swap them with a few lines of JS.
2. `.cg-plans` with 3 plans, each topped with a small scene. Feature the middle one with `--featured`, a sky chip and the only primary button.
3. One line of small print, then a band section with the comparison table.
4. `.cg-faq` in the narrow container, first item open.
5. A short aurora close with one sky button.

## Article page recipe

1. Nav, then an aurora header: sky eyebrow, hero title at a smaller clamp, lead, centered `.cg-meta` with a blob avatar.
2. In `.cg-narrow .cg-prose`: a `.cg-scene--lg` as the cover with a caption, short paragraphs, h2 and h3, a list, one centered pull quote, one `.cg-callout`.
3. Band section with 3 `.cg-post` cards, then the footer.

## Sign-up page recipe

1. Two columns, full height. Left on deep navy: logo, an h2-size headline, one short lead.
2. `.cg-form`: two fields side by side in `.cg-row`, email, a select with `.cg-help`, an `.cg-check` and a block sky button. Show errors with `.cg-field--error` and `.cg-error`.
3. `.cg-divider-text`, then two quiet pills for other ways in, then a "Log in" link.
4. Right column on the aurora: a large scene and a centered quote. Hide it below 860px.

## Don'ts

- Don't left-align sections. This style is centered almost everywhere except prose, forms and plan contents.
- Don't use photos or stock images. Draw small scenes with flat shapes on a blob.
- Don't make headlines bold or tight. Lexend stays light with normal spacing.
- Don't add gradients beyond the aurora, and never put it on more than two sections.
- Don't use more than one filled sky button per screen, and don't color text sky except links and small labels.
- Don't add hard borders or shadows to cards.
