# Quiet Wave

A calm instrument at night. Pages are pure black, type is soft white and warm grey, and every visual is drawn in thin white lines: stacked sine waves, rings, a fan of rays rising from a stippled horizon. Graphite device frames (a phone between two watches) hold small line drawings instead of screenshots. Buttons are dark with a bright 1.5px outline and a faint halo, like a lit edge in a dark room. There is almost no colour; a pale moonlight tone marks only what is live or selected. It feels slow, precise and restful, like a well-made sleep or nature app.

Use it for: wellness and sleep apps, sound and meditation products, weather, tides and outdoor tools, astronomy, audio gear, calm consumer apps that live on a phone and a watch. Avoid it for: loud retail and sales pages, kids brands, dense dashboards, anything that needs bright colour or lots of photography.

## 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 Quiet Wave 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 tide and moon app for cold-water swimmers called Neap.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines and body | Hanken Grotesk 300 to 600 | Headlines at 500 with -0.025em tracking. Leads, big numbers and quotes at 300. Body at 400. Buttons at 500. |
| Labels | IBM Plex Mono 400 to 500 | Eyebrows, badges, table heads, captions and tiny footnotes. 11px, uppercase with wide tracking for eyebrows. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--qw-black` | #040405 | The page |
| `--qw-ink` | #0C0C0E | Cards, plans, inputs, the CTA panel |
| `--qw-graphite` | #151517 | Outline buttons, the featured plan |
| `--qw-raised` | #1D1D20 | Plain buttons, chips, inline code |
| `--qw-line` | #2A2A2E | Every 1px border |
| `--qw-white` | #F1F0EC | Headlines, body, line art, the solid button |
| `--qw-mist` | #A3A29E | Leads, card text, nav on hover-off |
| `--qw-dust` | #66655F | Footnotes, placeholders, the marquee |
| `--qw-moon` | #E6CE9C | The only colour: live badges, the selected point on a chart, focus rings |
| `--qw-tide` | #9DBDCB | A cool second tone for charts only, used rarely |

Rules:
- The page is black and stays black. Light comes from white strokes and soft white halos (`--qw-halo`), never from coloured gradients.
- Line art uses `--qw-stroke` (bright), `--qw-stroke-soft` (secondary lines, dashed comparisons) and `--qw-stroke-faint` (guides, baselines, background rays).
- Moonlight appears in small marks only: one dot, one badge, one arc. Never as a fill for a button or a section.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--qw-text-hero` | clamp(44px, 7vw, 84px) | Centred page titles. Short: a product name or one line. |
| `--qw-text-h2` | clamp(30px, 4vw, 48px) | Section titles and article titles |
| `--qw-text-h3` | 20px | Card and plan names |
| `--qw-text-lead` | clamp(18px, 1.7vw, 21px) | Light grey lead under a title |
| `--qw-text-body` | 16px | Body and UI (articles use 18px) |
| `--qw-text-small` | 14px | Notes, bylines, footer |
| `--qw-text-micro` | 11px | Mono labels |

Headlines are short and quiet ("The sea, drawn in a few lines."). Leads are one gentle sentence in weight 300. Never shout: no exclamation marks, no all-caps headlines.

## Shape and space

- Radius: 8px buttons and inputs, 12px choice tiles and large buttons, 22px cards, plans and CTA, 38px phone frames, pill for badges and the billing toggle. Glyphs and the logo mark are circles.
- Borders: 1px `--qw-line` on cards, plans, tables, the strip and the footer. Outline buttons, the featured plan and selected choices use `--qw-border-stroke`, a 1.5px bright stroke.
- Shadows: soft white halos only (`--qw-shadow-halo`, `--qw-shadow-btn`). Devices get a deep black drop shadow with a faint top highlight (`--qw-shadow-device`). No hard offset shadows.
- The stage: `.qw-stage` paints a halo rising from the bottom, a fan of thin rays (`.qw-rays`), a stippled horizon (`.qw-horizon`) and a fade to black at the bottom edge. Devices sit on the horizon. One stage per page.
- Sections: 112px vertical padding (72px on phones). Container 1200px with 24px gutters. Text column 640px.
- Motion: slow and soft. Content rises 14px over 1.2s (`.qw-rise`), wave art breathes over 6s (`.qw-breathe`), the place-name strip drifts over 40s. All motion stops for reduced-motion users.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.qw` | Put on `<body>`: black page, Hanken Grotesk, soft white text |
| `.qw-container`, `.qw-narrow`, `.qw-section`, `--tight`, `.qw-center`, `.qw-rule` | Layout |
| `.qw-nav`, `__inner`, `__links`, `__end`, `.qw-logo`, `__mark` | Sticky blurred black nav with a circled line-art logo |
| `.qw-hero-title`, `.qw-h2`, `.qw-h3`, `.qw-lead`, `.qw-muted`, `.qw-faint`, `.qw-small`, `.qw-eyebrow`, `.qw-micro` | Type |
| `.qw-btn`, `--outline`, `--solid`, `--ghost`, `--sm`, `--lg`, `--block` | Buttons. `--outline` is the signature; `--solid` (white) once per page for the main action |
| `.qw-hero`, `__actions` | Centred hero |
| `.qw-stage`, `.qw-rays`, `.qw-horizon`, `.qw-stage__devices` | The ray fan and horizon behind the devices |
| `.qw-phone`, `__screen`, `__bar`, `__title`, `__sub`, `__art`; `.qw-watch`, `__screen` | Graphite device frames drawn in CSS |
| `.qw-glyph`, `--sm`, `--on`, `.qw-glyph-row` | Outlined circle icons holding a tiny line drawing |
| `.qw-badge`, `--live`, `.qw-chip` | Mono pill badges; `--live` glows moonlight |
| `.qw-grid`, `--2`, `--3`, `.qw-card`, `--art`, `__art`, `__body` | Cards |
| `.qw-split`, `__art`, `.qw-list` | Text beside a framed line drawing; lists use short white dashes |
| `.qw-stats`, `.qw-stat`, `__num` | A ruled row of light big numbers |
| `.qw-quote` | A large light testimonial |
| `.qw-strip`, `__track` | Slowly drifting row of words (clipped, safe on phones) |
| `.qw-toggle`, `.qw-plans`, `.qw-plan`, `--featured`, `__head`, `__price`, `.qw-table`, `.qw-table-wrap`, `.qw-faq` | Pricing |
| `.qw-article-head`, `.qw-byline`, `.qw-avatar`, `.qw-article`, `.qw-figure`, `__frame`, `.qw-note` | Article |
| `.qw-form`, `.qw-field`, `.qw-fieldset`, `.qw-label`, `.qw-input`, `.qw-select`, `.qw-hint`, `.qw-check`, `.qw-choices`, `.qw-choice`, `.qw-divider` | Forms |
| `.qw-auth`, `__panel`, `__form`, `__art` | Split sign-up layout with a line-art panel |
| `.qw-cta`, `.qw-footer`, `__grid`, `__base` | Closing band and footer |
| `.qw-rise`, `--2`, `--3`, `.qw-breathe` | Motion |

## Pages in this kit

- `demo.html`: landing page. Live badge, product name as the hero title, one outline button, the stage with a phone between two watches, a drifting strip of places, three glyph cards, a split with a tide chart, stats, a quote, a CTA with the solid button, footer.
- `pricing.html`: centred title over a halo, billing toggle (small inline script), three plans with the middle one outlined, a comparison table, FAQ, CTA.
- `blog.html`: centred article head with badges and a byline, an 18px reading column, a line-chart figure, a pull quote with a bright left stroke, a note with a glyph, two related cards, CTA.
- `signup.html`: form on the left, a line-art moon with rays and rings on the right, a quote at the bottom of the art panel.

## Page recipe

1. `<body class="qw">`, then `.qw-nav` with the logo, four or five plain links and an outline button.
2. A centred `.qw-hero`: optional `.qw-badge--live`, a short `.qw-hero-title`, a one-sentence `.qw-lead`, one `.qw-btn--outline --lg`, a `.qw-micro` footnote.
3. A `.qw-stage` with rays, the horizon and your devices or one large line drawing.
4. Three `.qw-card`s, each with a `.qw-glyph`, an `.qw-h3` and two lines of grey text.
5. A `.qw-split` pairing a line chart with a short list.
6. Proof in a `.qw-stats` row and one `.qw-quote`.
7. Close with a `.qw-cta` holding the page's single `.qw-btn--solid`, then the footer.

Pricing recipe: halo header with the toggle, `.qw-plans` with the middle plan `--featured` and the solid button, a comparison `.qw-table`, `.qw-faq`, then a CTA.

Article recipe: `.qw-article-head` (badges, h1 at h2 size, lead, byline), `.qw-article` column with one `.qw-figure` of line art, one blockquote and one `.qw-note`, related cards, CTA.

Sign-up recipe: `.qw-auth` with the form on the left (logo, h2, lead, fields, `.qw-choices` drawn with line icons, a check, the solid button, a divider, an outline button) and `.qw-auth__art` with a line drawing and a quote.

Drawing recipe: draw everything as inline SVG with `fill="none"`, `stroke="var(--qw-stroke)"` and a stroke width of 1 to 1.5. Repeat a simple form (sine waves, circles, rays) several times with small offsets instead of drawing one complex shape.

## Don'ts

- Don't add colour. No brand gradients, no coloured buttons, no coloured section backgrounds.
- Don't use photos or screenshots; draw the product in lines inside graphite frames.
- Don't use heavy strokes or filled icons. Lines stay at 1 to 1.5px.
- Don't use hard shadows or offset shadows. Light is soft and white.
- Don't put more than one solid white button on a screen.
- Don't use em dashes in copy.
- Don't fill the page: keep wide margins and let the black breathe.
