# Pane Stack

A recording studio after midnight. The page is pure black, and the signature move is a stack of translucent app panes tilted in isometric space, one behind the other, like layers of a recording or versions of the same work. The front pane is sharp and lit; the ones behind it fade. Over the black sit big, light grotesque headlines with a muted second clause, small uppercase mono labels, pill buttons (solid white or a thin outline) and rows of hairline cells. One warm amber marks what is live, playing or chosen. A soft mint marks a second stream inside drawings and nowhere else. It feels precise, calm and quietly creative, like a tool that keeps every version of your work.

Use it for: tools that keep versions, takes, recordings or runs (music rehearsal, video, design history, lab notebooks, training logs), creative software, classes and workshops with a technical side, subscriptions for makers and hobby clubs that take their craft seriously. Avoid it for: kids, food and lifestyle brands, anything that needs photos, warm community pages, or a light and bright feel.

## 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 Pane Stack 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 recorder for bands and choirs called Takefold.

## Fonts

All free on Google Fonts:

```html
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500&family=Martian+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Onest 300 | Display, h1, h2, prices, stats and pull quotes. Light weight, tracking -0.03em, sentence case. |
| Body and UI | Onest 400 to 500 | Body and buttons at 400; h3, names, row values and the wordmark at 500. |
| Labels | Martian Mono 400 | Eyebrows, cell labels, pane titles, badges, table heads, form labels. 10.5px, uppercase, tracking 0.14em, always in `--ps-dim` or amber. |

Headlines often carry a muted second clause: wrap it in `<strong>` inside `.ps-h1`, `.ps-h2` or `.ps-display` and it turns `--ps-dim` at the same weight ("Press one button **at the start of the night**").

## Color

| Token | Hex | Use |
|---|---|---|
| `--ps-black` | #000000 | The page. Always pure black. |
| `--ps-pane` | #0B0B0C | Panes, cards, featured plan, inputs' surroundings. |
| `--ps-pane-raised` | #141416 | Pane title bars, hovered outline pills. |
| `--ps-line` | #1E1F22 | Every hairline: cells, section rules, table rows. |
| `--ps-line-bright` | #34353A | Outline pills, input borders, pane edges. |
| `--ps-white` | #F4F4F2 | Headlines, the solid pill, strong text. |
| `--ps-grey` | #9A9BA0 | Body copy, leads, waveforms at rest. |
| `--ps-dim` | #5E5F65 | Mono labels, meta, placeholders, muted headline clauses. |
| `--ps-amber` | #F2A541 | The live take: playhead, live badge, step numbers, checks, focus rings, the chosen line in a chart. |
| `--ps-mint` | #7FD8B4 | A second data stream inside a drawing. Never on buttons or text. |
| `--ps-red` | #F06A5F | Errors only. |

Amber covers well under 5 percent of any screen. If a section has no live or chosen thing in it, it has no amber.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ps-text-display` | 40 to 72px | Landing hero only. |
| `--ps-text-h1` | 34 to 56px | Page titles. |
| `--ps-text-h2` | 28 to 40px | Section titles. |
| `--ps-text-h3` | 19px | Feature and plan names, weight 500. |
| `--ps-text-lead` | 19px | Lead paragraphs under titles. |
| `--ps-text-body` | 16px | Body. Prose runs at 17px with 1.75 leading. |
| `--ps-text-small` | 14px | Notes, footer, nav. |
| `--ps-text-label` | 10.5px | Mono labels. |

## Shape and space

- Buttons, the search field, badges and the billing toggle are pills (`--ps-radius-pill`). Panes, cards and inputs use `--ps-radius-pane` (10px). Keycaps use 6px.
- Lines are 1px. Logos, features, plans and stats sit in hairline cells that share borders, never in separate floating cards.
- The only shadow is `--ps-shadow-pane`: a deep drop under a pane plus a faint light top edge. Use it on stacked panes and the sign-up card.
- Space is generous: sections are 120px apart on desktop, 72px on phones. Content max width is 1180px; articles are 700px.

## Components (in components.css)

- **Base**: `.ps-wrap`, `.ps-narrow`, `.ps-display`, `.ps-h1`, `.ps-h2`, `.ps-lead`, `.ps-small`, `.ps-muted`, `.ps-label` (`--amber`).
- **Buttons**: `.ps-btn` (outline pill), `--solid` (white), `--amber` (rare, for the one live action), `--sm`, `--block`; group in `.ps-btns`.
- **Small parts**: `.ps-badge` (`--amber`), `.ps-key` (keycap), `.ps-dot` (`--mint`), `.ps-logo` with `.ps-logo__mark` (two skewed frames, the back one amber).
- **Nav**: `.ps-nav` > `.ps-nav__in` with `.ps-logo`, `.ps-nav__links` (current link gets a white underline flush with the nav rule), `.ps-nav__end` with `.ps-search` and a small pill.
- **Hero**: `.ps-hero` (copy left, pane stack right), `.ps-hero--center`, `.ps-hero__copy`.
- **Pane stack (signature)**: `.ps-stack` (or `--sm`) holding exactly four `.ps-layer`. The first child is the furthest back and faintest; the fourth is the front pane. Each layer is a pane: `.ps-pane__bar` (with `.ps-pane__lights` and a `.ps-label`) and `.ps-pane__body`.
- **Pane contents**: `.ps-pane` (a flat window), `.ps-track` (label plus waveform), `.ps-wave` (`--b`, `--c` for other shapes, `--amber`, `--mint`), `.ps-playhead`, `.ps-rows` / `.ps-row`, and inline SVG charts with `.ps-grid-lines`, `.ps-stroke` (`--amber`, `--mint`).
- **Cells**: `.ps-cells` > `.ps-cells__in` > two `.ps-cells__half`, each with `.ps-cells__label` and a `.ps-cells__row` of `.ps-cell` (`--mono` for handles or repos).
- **Sections**: `.ps-section`, `.ps-head`, `.ps-split` (`--flip`), `.ps-grid` of `.ps-feature`, `.ps-stats` of `.ps-stat` with `.ps-stat__n`, `.ps-steps` of `.ps-step` (amber 01, 02, 03), `.ps-quote`, `.ps-cta`.
- **Pricing**: `.ps-toggle`, `.ps-plans` of `.ps-plan` (`--featured` gets the pane surface and a 1px amber top edge), `.ps-plan__price`, `.ps-checks`, `.ps-table-wrap` > `.ps-table`, `.ps-faq`.
- **Article**: `.ps-article__head`, `.ps-meta`, `.ps-author` with `.ps-avatar`, `.ps-figure`, `.ps-prose` (h2, blockquote with an amber rule, code in a pill-ish keycap border).
- **Forms**: `.ps-card`, `.ps-form`, `.ps-field`, `.ps-input`, `.ps-select`, `.ps-check`, `.ps-divider`, `.ps-perks`.
- **Footer**: `.ps-footer`, `.ps-footer__cols`, `.ps-footer__about`, `.ps-footer__base`.

## Pages in this kit

- `demo.html`: landing page with a full pane stack hero, a two-half cell strip, a feature split with a small stack, a feature grid, a compare pane, stats and a quote CTA.
- `pricing.html`: centered head with a billing toggle, three plans, a comparison table and an FAQ.
- `blog.html`: a journal post with a chart pane figure, prose and a pull quote.
- `signup.html`: copy with numbered perks beside a form card.

## Page recipe

1. `.ps-nav` on black with a hairline under it.
2. `.ps-hero`: a mono eyebrow with a `.ps-dot`, a `.ps-display` headline, a lead and two pills (solid then outline). On the right, a `.ps-stack` of four panes. The front pane holds the live content: waveforms or rows, one amber element and the playhead.
3. A `.ps-cells` strip with two labelled halves (names on the left, mono handles on the right).
4. Sections divided by hairlines, each with one idea: a `.ps-split` with a small stack, a `.ps-grid` of six features, a `.ps-split--flip` with `.ps-steps` beside a flat `.ps-pane`, a row of `.ps-stat`.
5. A `.ps-cta` with a `.ps-quote`, two pills and a small stack, then `.ps-footer`.

Pricing recipe: `.ps-hero--center` with a label, an h1 with a muted second clause, a lead and `.ps-toggle`; then `.ps-plans` with the middle plan `--featured` and its solid pill; then a table and an FAQ, each in a 1 to 2 column split with the `.ps-head` on the left.

Article recipe: `.ps-narrow` column, `.ps-article__head` with an amber badge and mono meta, h1, lead and `.ps-author`; one `.ps-figure` holding a flat `.ps-pane` with a chart (grey line against the amber line) and two tracks; `.ps-prose` with an h2 every few paragraphs and one blockquote.

Sign-up recipe: a `.ps-split` with an amber mono eyebrow, h1, lead and `.ps-perks` on the left; a `.ps-card` form on the right with mono labels, a solid white submit and an outline alternative under a `.ps-divider`.

## Don'ts

- Don't use a background other than pure black, and don't add gradients or glows behind sections.
- Don't make square buttons. Buttons are pills; panes and inputs are 10px.
- Don't put more than one stack on screen at a time, and never more than four layers in a stack.
- Don't use amber for decoration, headings or large fills. It marks the one live or chosen thing.
- Don't put mint on text, buttons or icons; it lives only inside drawings.
- Don't set headlines in bold. Display weight is 300, and emphasis is the dim second clause.
- Don't float cards with gaps between them for features or plans; use shared hairline cells.
- Don't use photos or stock illustrations. Draw with panes, waveforms, rows and thin SVG lines.
- Don't use em dashes in copy.
