# Pale Seam

A near-black night page that stops halfway down at a clean seam, where a pale sage fog begins. A white card board sits right on that line, half in the dark and half in the light, like a sheet of paper pulled out of a drawer. Headlines are large and light (Hanken Grotesk 300) with a thin vertical tick to their left, the body is calm grey, and faint dotted column rails run down the night behind everything. Products are drawn as thin wireframe orbs with tiny mono status labels ("practising", "ready"). The one solid colour is a soft sage button. The result feels quiet, modern and a little futuristic, without neon or glow.

Use it for: community and hobby groups, classes and workshops, collaboration and planning tools, memberships, consumer apps with a calm tone, AI or developer products that want to feel friendly. Avoid it for: loud retail and sales pages, kids products that need bright colour, photo-led food or travel brands, anything that needs a fully light page.

## 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 Pale Seam 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 rehearsal planner for community choirs called Quire.

## 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 | Hanken Grotesk 300 | Display, h1, h2, prices and stats. Tracking -0.03em on big sizes. Sentence case, never bold. |
| Body and UI | Hanken Grotesk 400 to 500 | Body at 400, buttons, nav and the bold first sentence of a lead at 500. Card titles at 400. |
| Labels | IBM Plex Mono 400 | Eyebrows, status labels, chips, table heads, captions and the footer base at 11 to 12px. Eyebrows uppercase with 0.06em tracking. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ps-night` | #131514 | The page |
| `--ps-night-raise` | #1B1E1C | App windows, quote cards, raised chips on the night |
| `--ps-night-line` | #2C312E | Hairlines and outline buttons on the night |
| `--ps-fog` | #E8EDE5 | The pale band below the seam, signup side, figure backgrounds |
| `--ps-card` | #FFFFFF | The board, plans, the article sheet, form box |
| `--ps-card-line` | #E1E6DE | Lines between board cells, inputs, tables |
| `--ps-white` | #EEF1EC | Headlines and strong text on the night |
| `--ps-grey` | #9BA39E | Body and leads on the night |
| `--ps-ink` | #171A18 | Text on fog and cards |
| `--ps-ink-soft` | #59615B | Secondary text on fog and cards |
| `--ps-sage` | #A9DBB7 | The primary button, the wordmark orb, text selection |
| `--ps-pine` | #1E5A3E | Dark chips, list rings, focus border |
| `--ps-sky` | #6EA7DF | Orb line colour |
| `--ps-lilac` | #B39CEA | Orb line colour |
| `--ps-live` | #3FAE6C | Live status dots, the green orb |

Rules:
- Every page has both halves: the night on top, the fog below a seam. Signup splits them left and right instead.
- Sage is only for the main button (and the wordmark). One sage button per view.
- Sky, lilac and the live green appear only as thin orb lines and status dots. Never fill a section, card or heading with them.
- On the night, white headlines and grey body. On fog and cards, ink headlines and soft ink body.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ps-text-display` | clamp(40px, 5.4vw, 72px) | Landing hero, three lines max |
| `--ps-text-h1` | clamp(36px, 4.6vw, 60px) | Page titles, CTA title |
| `--ps-text-h2` | clamp(30px, 3.4vw, 44px) | Section headings |
| `--ps-text-h3` | 21px | Card and plan titles |
| `--ps-text-lead` | clamp(18px, 1.7vw, 22px) | Lead, max 580px |
| `--ps-text-body` | 16px | Body |
| `--ps-text-micro` | 12px | Mono labels |

Signature lead: start with one bold sentence in `<strong>`, then let the rest fall back to grey ("Choirs sound best when nobody learns alone. Quire gives...").

## Shape and space

- Radius: 4px for chips, 6px for buttons and inputs, 12px for the board, windows, cards and quotes, 999px only for avatars and status dots.
- Borders: 1px hairlines everywhere. On the night, section breaks are dotted (`--ps-rail`), not solid.
- Shadows: `--ps-shadow-board` under the board and the form box, `--ps-shadow-window` under app windows, `--ps-shadow-pop` under small popovers inside cells. Nothing glows.
- Rails: `.ps` draws four faint dotted vertical rails (container edges and thirds) fixed behind the night. They disappear under the fog and below 720px.
- Tick: `.ps-tick` puts a 1px vertical line 32px to the left of a headline, sitting on the rail. Use it on every h1 and h2, never on body text.
- The seam: the hero ends with `--ps-seam-lift` (160px) of extra padding, and the next `.ps-seam` section pulls up by the same amount, so its board starts on the night and finishes on the fog.
- Container 1240px with 56px inner padding; articles 640px inside the white sheet. Sections 72 to 128px.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ps` | Put on `<body>`: night page, Hanken Grotesk, the dotted rails |
| `.ps-container`, `.ps-narrow`, `.ps-section`, `--flush`, `.ps-fog`, `.ps-center`, `.ps-rule` | Layout |
| `.ps-display`, `.ps-h1`, `.ps-h2`, `.ps-h3`, `.ps-tick`, `.ps-lead`, `.ps-eyebrow`, `.ps-mono`, `.ps-muted`, `.ps-soft` | Type |
| `.ps-btn`, `--sage`, `--ink`, `--line`, `--sm`, `--block`, `.ps-actions`, `.ps-link` | Buttons: outline on the night by default, sage for the main action, ink and white line on cards |
| `.ps-nav`, `__inner`, `__links`, `__end`, `.ps-wordmark` | Top bar with an orb wordmark |
| `.ps-hero`, `__grid` | Two column hero that leaves room for the seam |
| `.ps-window`, `__bar`, `__body`, `__side`, `__item`, `--on`, `__main`, `.ps-msg`, `--me`, `.ps-task` | A dark app window with a sidebar, messages and task rows |
| `.ps-seam`, `__grid`, `__aside`, `--full` | The section that straddles the night and the fog |
| `.ps-board`, `__grid`, `--2`, `.ps-cell`, `__art` | The white board of hairline-separated cells, each with a drawing on top |
| `.ps-orb`, `--lilac`, `--sage`, `--ink`, `--lg`, `--sm`, `--turn`, `.ps-orb-set`, `.ps-status`, `--idle`, `--night` | Wireframe orbs and their mono status labels |
| `.ps-bubble`, `.ps-pop`, `.ps-chip`, `--pine`, `--night`, `.ps-bars` | Small UI pieces drawn inside cells |
| `.ps-stats`, `.ps-stat`, `__num`, `__label` | Four light numbers on a dotted line |
| `.ps-quotes`, `.ps-quote` | Three quote cards on the night |
| `.ps-cta` | Closing band with a headline and two buttons |
| `.ps-toggle`, `.ps-plan`, `--featured`, `__head`, `__price`, `__amount`, `__per`, `.ps-list`, `.ps-table-wrap`, `.ps-table`, `.ps-faq` | Pricing |
| `.ps-article-head`, `.ps-byline`, `.ps-avatar`, `.ps-prose`, `.ps-figure` | Articles |
| `.ps-form`, `.ps-field`, `.ps-label`, `.ps-hint`, `.ps-input`, `.ps-select`, `.ps-check`, `.ps-divider`, `.ps-auth`, `__side`, `__main`, `__box` | Forms and the split sign-up |
| `.ps-footer`, `__grid`, `__base` | Footer |
| `.ps-rise`, `--2`, `--3` | Load-in motion |

Draw an orb with this SVG and a class: `<svg class="ps-orb ps-orb--lilac" viewBox="0 0 64 64"><circle cx="32" cy="32" r="29"/><ellipse cx="32" cy="32" rx="29" ry="11"/><ellipse cx="32" cy="32" rx="11" ry="29"/><ellipse cx="32" cy="32" rx="29" ry="11" transform="rotate(50 32 32)"/></svg>`.

## Pages in this kit

- `demo.html`: landing page with a hero and an app window, the seam with a six cell board, a split section, stats, quotes and a CTA.
- `pricing.html`: dark head with a billing toggle, three plans as one board on the seam, a comparison table and FAQ on the fog.
- `blog.html`: dark article head with a byline, then the article as a white sheet on the seam with an orb figure, a quote and a list.
- `signup.html`: night on the left with orbs, fog on the right with a white form box.

## Page recipe

1. `<body class="ps">`, then `.ps-nav`: orb wordmark, four links, an outline small button and a sage small button.
2. `.ps-hero` with `__grid`: a `.ps-display.ps-tick` headline, a lead with a bold first sentence, a sage and an outline button. A `.ps-window` on the right.
3. `.ps-seam`: an aside heading with tick on the left, a `.ps-board` of six `.ps-cell`s on the right. Each cell has a drawing (orbs, popovers, bubbles, bars), a title and two lines.
4. Back on the night: a split heading and lead, `.ps-stats`, `.ps-quotes`.
5. `.ps-cta`, then `.ps-footer`.

Pricing recipe: an eyebrow, an h1 with tick, a lead and `.ps-toggle` in the hero; a `.ps-seam--full` board of three `.ps-plan`s (the middle one `--featured` with an ink button); then `.ps-table` and `.ps-faq` on the fog.

Article recipe: `.ps-article-head` with eyebrow, h1 with tick, lead and byline; a `.ps-seam--full` with the `.ps-board` as an `<article>` holding `.ps-prose`, one `.ps-figure` and one blockquote.

Sign-up recipe: `.ps-auth` with the night `__side` (wordmark, h1 with tick, lead, four orbs, a mono note) and the fog `__main` holding a `__box` form: three or four fields, one sage button, a divider and a line button.

## Don'ts

- Don't make the whole page dark or the whole page light. The seam is the style.
- Don't use bold or heavy headlines. 300 only.
- Don't add glow, neon gradients or coloured section backgrounds.
- Don't fill shapes with sky, lilac or green; they are line colours.
- Don't use more than one sage button per view.
- Don't use photos. Draw with orbs, small UI pieces and hairlines.
- Don't round the board more than 12px or use pill buttons.
