# Grey Stack

Flat, quiet and a little blunt. The whole page sits on one mid-grey, every piece of content stacks in slightly lighter grey rows with a small gap between them, and the text is plain black. A heavy, rounded display wordmark is stretched edge to edge across the top of every page, so the brand is the biggest thing on screen. Everything else is light uppercase grotesk labels, thin outline pills for counts and controls, and no shadows at all. One small lime accent marks what is new.

Use it for: directories and catalogues, libraries and lending schemes, community projects, indie shops, resource lists, anything that is mostly a list people browse. Avoid it for: luxury brands, photo-led storytelling, anything that needs warmth from color, dense dashboards.

## 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 Grey 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 for "toolhaus", a made-up neighbourhood tool library, built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Wordmark and numbers | Bagel Fat One 400 | The stretched wordmark, prices, one pull quote per article. Never for headlines or body. |
| Labels and body | Hanken Grotesk 300 to 600 | 300 uppercase for row labels and headlines, 400 for body and buttons, 500 for card titles. |
| Small labels | DM Mono 400 to 500 | Tags, form labels, eyebrow labels. Uppercase, tracked +0.04 to 0.06em. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--gs-page` | #B9B9B7 | The page. Every page is this grey from top to bottom |
| `--gs-row` | #C8C8C6 | Rows, cards, plans, form panels |
| `--gs-row-hover` | #D4D4D2 | Row hover |
| `--gs-paper` | #DCDCDA | Inputs, the article column, the picked plan, card art tiles |
| `--gs-well` | #A9A9A7 | The pressed half of a toggle |
| `--gs-ink` | #0C0C0C | All text, outline pills, the wordmark, solid buttons |
| `--gs-soft` | #3E3E3C | Leads and secondary text |
| `--gs-lime` | #D6F53C | The one accent: "new" tags, a status dot, focus rings |

Rules:
- No white and no pure grey ramps beyond these. The page never changes color between sections.
- Lime is tiny: a tag, a dot, a focus ring. Never a button, never a section background, at most three per screen.
- Inside a lighter panel, nested rows drop back to `--gs-page` so they still read as rows.
- No gradients, no photos as backgrounds.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--gs-text-h1` | clamp(40px, 6.4vw, 84px) | Page headline, Hanken 300 uppercase, line-height .98 |
| `--gs-text-h2` | clamp(30px, 4vw, 52px) | Section headings, same treatment |
| `--gs-text-row` | clamp(26px, 3.4vw, 40px) | Row labels, Hanken 300 uppercase |
| `--gs-text-h3` | 22px | Card titles, Hanken 500 sentence case |
| `--gs-text-lead` | 20px | Lead paragraph, soft ink, max 640px |
| `--gs-text-body` | 17px | Body |

Headlines are short and plain ("Borrow the drill. Skip the shop."). Write them in sentence case in the HTML; CSS uppercases them.

## Shape and space

- Radius: 8px on rows, cards and panels; 4px on art tiles and inline code; full pills on every control, count and input.
- Borders: 1px ink, only on pills, tags, inputs and the picked plan. Rows have no border.
- Shadows: none, anywhere.
- Gaps: 6px between stacked rows and grid cards, 12px page gutter. The tight gap is the signature, keep it.
- Sections: 56px to 104px vertical padding. Container 1400px, reading column 720px.
- Motion: only background color on hover, 150ms.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.gs-mark` | The wordmark: an inline SVG `<text>` with `textLength="1000"` so it always spans the container |
| `.gs-bar`, `.gs-bar__end` | Toolbar under the wordmark: toggle or back pill left, nav pills right |
| `.gs-pill`, `--ink`, `--lg` | Outline pill button; solid ink for the main action; large for hero and footer |
| `.gs-toggle` | Outline pill holding 2 or 3 options; the pressed one gets `--gs-well` |
| `.gs-stack`, `.gs-row`, `.gs-row__label`, `.gs-row__meta` | Stacked grey rows with a big uppercase label |
| `.gs-count` | Outline count pill at the right end of a row |
| `.gs-tag`, `.gs-tag--new`, `.gs-dot` | Mono outline tags; lime for new; a small lime dot |
| `.gs-h1`, `.gs-h2`, `.gs-h3`, `.gs-lead`, `.gs-label`, `.gs-bigline`, `.gs-display` | Type |
| `.gs-grid`, `.gs-card`, `.gs-card__art`, `.gs-card__foot` | Grid view: paper tile with a line drawing, title and tag below |
| `.gs-plans`, `.gs-plan`, `--pick`, `.gs-plan__price`, `.gs-plan__per` | Pricing columns with a display-font price |
| `.gs-article`, `.gs-byline`, `.gs-avatar` | Paper reading column; display-font pull quote |
| `.gs-form`, `.gs-field`, `.gs-input`, `.gs-choice`, `.gs-check` | Pill inputs, mono labels, row-style radio choices |
| `.gs-footer`, `.gs-footer__small` | Centered big pill, a big underlined line, small print |

## Pages in this kit

- `demo.html`: wordmark, toolbar, a two-panel intro, the category stack with counts, a grid of four items, a numbered how-it-works stack, footer.
- `pricing.html`: headline, three plans with a working monthly or yearly toggle, questions as rows.
- `blog.html`: tags, headline, byline, a paper article column with a display pull quote, more notes as rows.
- `signup.html`: a summary panel with count rows beside the form panel.

## Page recipe

1. `.gs-wrap` > `.gs-mark` with the wordmark SVG, then `.gs-bar`.
2. Open with either a headline block or a two-panel `.gs-row` split. No hero image.
3. The core of every page is a `.gs-stack` of rows: categories, steps, questions, articles. Use `.gs-count` on the right when there is a number to show.
4. Switch to `.gs-grid` cards only when items need a picture; draw it as a simple line SVG on a paper tile.
5. Close with `.gs-footer`: one large outline pill, an optional big underlined line, small print.

Pricing recipe: plain headline and lead, `.gs-plans` with three `.gs-plan`, the recommended one `.gs-plan--pick` with a lime tag and the only ink button, questions as a `.gs-stack`.

Article recipe: back pill in the bar, `.gs-narrow` column, tags, `.gs-h1`, lead, byline, then a `.gs-article`. One `blockquote` per post, set in the display face.

Sign-up recipe: a two-panel layout; left panel sells with a few count rows, right panel holds the form. One ink submit pill, left aligned.

## Don'ts

- Don't use the display font for headlines or anything longer than a short quote.
- Don't add shadows, gradients or borders on rows.
- Don't widen the gap between rows; 6px is the look.
- Don't put white anywhere or change the page grey per section.
- Don't use lime for buttons or large areas.
- Don't center long text; only the footer is centered.
