# Open Bench

Plain, warm, open-source dark. A charcoal page with no gradients and almost no shadows, a thin darker nav bar, and bold humanist Overpass headlines. The page is a zig-zag: each feature is a row with short text and bold-lead bullets on one side and a big rounded charcoal tile on the other, holding something drawn by hand in code (a syntax-colored record, a pixel-art picture, a node graph with blue and amber wires). One steel-blue button with a light edge does the work; a small pink heart pill asks for donations. It feels honest, friendly and a little nerdy, like a well-run community project.

Use it for: open-source projects, nonprofits and foundations, community tools, libraries, co-ops, hobby software and developer tools that want to feel human. Avoid it for: luxury brands, glossy consumer marketing, fashion, anything that should feel slick or sales-led.

## 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 Open Bench 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. The example product is Seedshare, free software for community seed libraries.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Overpass:wght@400;600;800;900&family=Overpass+Mono:wght@400;600&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Overpass 800 to 900 | Hero wordmark (900, uppercase), page and section headings (800 to 900), card titles, quotes. |
| Body | Overpass 400 to 600 | Paragraphs, nav, bullets. Bullets lead with a bold word. Taglines are 800. |
| Mono | Overpass Mono 400 to 600 | Records in tiles, kickers like `// hosting`, code, label sheets. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ob-bg` | #201F23 | The page: a warm charcoal, never blue-black |
| `--ob-bar` | #19181B | Nav bar, footer, sponsor band, inputs |
| `--ob-tile` | #2C2B30 | Every tile, card, plan, quote and FAQ item |
| `--ob-tile-2` | #37363C | Badges, avatars, selected choices |
| `--ob-line` | #3F3E45 | Input borders, table rules, dashed label outlines |
| `--ob-text` | #ECEBE7 | Headlines and body |
| `--ob-soft` | #B6B2AC | Secondary text and the second leaf of the logo |
| `--ob-steel` / `--ob-steel-edge` | #4F7099 / #8EB1D8 | The primary button (fill plus light 2px edge), links, focus rings, featured plan border |
| `--ob-heart` | #C8578D | The donate pill only |
| `--ob-rose`, `--ob-sky`, `--ob-sage`, `--ob-amber`, `--ob-clay` | #E48FB5, #7DB6E6, #9CCB88, #E8B75C, #C97A55 | Drawing colors inside tiles: record syntax, wires, pixel art. Sage also marks "yes" and kickers |

Rules:
- No gradients, anywhere. Depth comes from the three charcoal tones.
- Exactly one steel button per view. Everything else is a quiet button or a text link.
- Pink is only the heart pill. Don't use it for errors (errors are rose text).
- Drawing colors stay inside tiles and badges.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ob-text-hero` | clamp(56px, 9vw, 120px) | The uppercase wordmark next to the logo mark, hero only |
| `--ob-text-h1` | clamp(36px, 5vw, 60px) | Page titles on inner pages |
| `--ob-text-h2` | clamp(28px, 3.4vw, 40px) | Feature row headings and section headings |
| `--ob-text-h3` | 22px | Card and subsection titles |
| `--ob-text-lead` | 19px | Semi-bold lead |
| `--ob-text-body` | 16px | Body; articles use 18px |

Headlines are plain and descriptive ("Grow-out tracking", "Swap graph"), never clever. Sentence case, except the hero wordmark.

## Shape and space

- Radius: 26px on tiles, plans and quotes; 18px on cards, FAQ items and code; 8px on buttons and inputs; pills for badges.
- Borders: mostly none. Buttons and inputs use 2px. The featured plan gets a 2px steel edge.
- Shadows: none, except a hairline inset highlight on tiles.
- Rows: 48px gap between feature rows, two equal columns, alternating sides with `.ob-row--flip`. Container 1040px, text blocks 680px.
- Motion: none needed. A focus ring is the only animation-like state.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ob-nav`, `__inner`, `__links`, `__actions` | Thin dark bar: logo and a gray section tag, links pushed right, the heart pill last |
| `.ob-logo`, `__tag` | Two-leaf mark and uppercase wordmark, plus a small gray tag naming the section |
| `.ob-hero`, `__brand`, `__tagline`, `__actions`, `.ob-hero-title` | Centered big mark and wordmark, two short bold lines, one steel button |
| `.ob-btn--primary/quiet/heart`, `--lg`, `--block`, `.ob-btn__letter` | Steel button with light edge; charcoal quiet button; pink donate pill with a heart |
| `.ob-h1`, `.ob-h2`, `.ob-h3`, `.ob-lead`, `.ob-sub`, `.ob-kicker`, `.ob-mono` | Headings, leads, a mono sage kicker like `// release notes` |
| `.ob-rows`, `.ob-row`, `--flip`, `__text` | The zig-zag feature rows; they stack on phones with text first |
| `.ob-points` | Bullets that start with a bold word and a colon |
| `.ob-tile`, `--left`, `--short` | Big rounded charcoal tile that holds a drawing |
| `.ob-record` (`.k .t .s .n .c`) | A code-like record with syntax colors |
| `.ob-pixels` (`.p-g .p-d .p-c .p-a .p-r .p-w`) | Pixel art from a grid of `<i>` cells; set `--cols` |
| `.ob-graph` (`.box .wire-a .wire-b .dot-a .dot-b`) | Inline SVG node graph with blue and amber wires |
| `.ob-grid`, `.ob-card`, `__title/__text`, `.ob-badge`, `--sage`, `--heart` | Cards and pill badges |
| `.ob-stats`, `.ob-stat__num/__label` | Big plain numbers in a tile |
| `.ob-quote`, `.ob-byline`, `.ob-avatar` | Bold quote in a tile; avatar with a sage ring |
| `.ob-band`, `.ob-sponsors` | Darker band asking for support, with sponsor names |
| `.ob-switch`, `.ob-plans`, `.ob-plan`, `--featured`, `__top/__name/__desc/__price/__list` | Billing switch and three plan tiles |
| `.ob-table-wrap`, `.ob-table`, `__yes/__no` | Comparison table in a card; scrolls sideways on phones |
| `.ob-faq` | `<details>` items as separate rounded cards with a steel caret |
| `.ob-article-head`, `.ob-meta`, `.ob-prose`, `.ob-note` | Article header, dot-separated meta, prose with tile quotes and code, a dark tip box |
| `.ob-author`, `--card`, `.ob-post`, `__thumb/__title/__text` | Author card and related posts |
| `.ob-form`, `.ob-group`, `.ob-label`, `.ob-input`, `.ob-select`, `.ob-textarea`, `.ob-input-wrap`, `.ob-input-toggle`, `.ob-help`, `.ob-error`, `.ob-group--error`, `.ob-check`, `.ob-choice`, `.ob-or` | Forms on dark inputs with a 2px border, steel focus ring, rose errors, card-style radio choices |
| `.ob-footer`, `__cols`, `__bottom` | Dark footer with four columns |

## Pages in this kit

- `demo.html`: hero, four zig-zag feature rows (record, pixel art, node graph, stats), a quote next to a release card, a donate band, footer.
- `pricing.html`: centered head with kicker and billing switch, three plan tiles, a comparison table, FAQ cards.
- `blog.html`: release notes with a kicker, meta line, a tile cover holding a drawn label sheet, prose, author card and related posts.
- `signup.html`: a feature row turned sign-up: pitch, bullets and a record tile on the left, the form in a tile on the right.

## Page recipe

1. Nav bar with logo, section tag, links on the right and the heart pill.
2. Hero: logo mark and uppercase wordmark side by side, two bold centered lines, one steel button.
3. Three to six `.ob-row`s, alternating sides. Each has an h2, one soft sentence, three bold-lead bullets, and a tile with a drawing that explains the feature.
4. A row of a quote tile and a card.
5. `.ob-band` asking for support, then the footer.

Pricing recipe: kicker, h1, soft sentence, `.ob-switch`, three `.ob-plan`s (the free or self-host plan first), a table, FAQ.

Article recipe: kicker, h1, meta, a tile cover with a drawing, `.ob-prose` at 680px, author card, three related posts.

Sign-up recipe: one `.ob-row`. Text side: kicker, h1, lead, bullets, a small record tile. Form side: a tile with a quiet social button, divider, fields, choice cards, checkbox and one steel block button.

## Don'ts

- Don't add gradients, glows or drop shadows.
- Don't use photos. Draw pictures with code: records, pixels, wires.
- Don't use more than one steel button on screen, or use pink for anything but donating.
- Don't round buttons into pills; only badges are pills.
- Don't write slogans. Name the feature and say what it does.
- Don't use em dashes in copy.
