# Bead Log

A lab notebook kept in public. The page is warm off-white paper with one narrow column pinned to the left, like a research log printed on a long sheet. The name is set in a quiet serif; everything else, from the intro to the buttons, is monospace. Work is listed down a thin vertical spine with a small black bead for each entry. Some entries sit in pale boxes, most are bare, and exactly one at a time is lifted out with a black outline and a hard 4px offset shadow. The right side holds one drawn figure, such as a sample diagram with a readout table, as if pinned beside the notes. A single cobalt accent marks the live bead and links on hover. It feels precise, a little raw and quietly futuristic.

Use it for: research labs, testing and measurement services, science-led startups, open methods and changelogs, agricultural and environmental services, hardware and robotics teams that publish progress, anything that wants to show its working. Avoid it for: fashion, food brands that sell on photography, kids' products, events and nightlife, or anything that needs loud color and big imagery.

## 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 Bead Log 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 soil-testing lab called Loamwise.

## Fonts

Two families, free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Wordmark and titles | Spectral 400 (and italic) | The wordmark, page titles, section heads, prices, the article lede. Never bold. |
| Body | IBM Plex Mono 400 | Intro, paragraphs, nav, tables, forms. |
| Emphasis | IBM Plex Mono 500 and 600 | Buttons (500), entry titles (600). |

The wordmark carries a symbol in brackets, like `Loamwise (λ)`. Version numbers use a subscript: `λ<sub>3</sub>`.

## Color

| Token | Hex | Use |
|---|---|---|
| `--bl-paper` | #f3f1ec | Page background |
| `--bl-card` | #faf9f6 | Boxed entries, figure panel, ghost buttons |
| `--bl-white` | #ffffff | Featured entry, inputs |
| `--bl-ink` | #121211 | Wordmark, titles, beads, primary button, hard shadow |
| `--bl-text` | #2b2a27 | Body text |
| `--bl-muted` | #77746d | Dates, summaries, labels |
| `--bl-faint` | #a9a59c | Hints, nav underlines |
| `--bl-line` | #d9d5cc | Hairlines and box borders |
| `--bl-spine` | #c9c4b9 | The vertical spine |
| `--bl-cobalt` | #2a46c9 | Live bead, live tags, link hover. Nothing else. |
| `--bl-cobalt-wash` | #e4e8f8 | Halo on the live bead, note boxes |
| `--bl-soil-1` to `--bl-soil-4` | #d8cdb8 to #5e4c38 | Only inside drawn figures |

Cobalt appears at most two or three times per screen. The page should read as black on paper first.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--bl-size-xxl` | 44px | Page title (`.bl-title`) |
| `--bl-size-xl` | 32px | Wordmark, prices |
| `--bl-size-lg` | 22px | Section heads (`.bl-h2`) |
| `--bl-size-md` | 17px | Article lede |
| `--bl-size-base` | 15px | Body |
| `--bl-size-sm` | 13px | Entry titles and summaries, buttons, tables |
| `--bl-size-xs` | 12px | Dates, labels, tags, captions |

Body line height is 1.6. Titles are 1.15 with slight negative tracking.

## Shape and space

- No radius anywhere, except the rounded top of a drawn sample tube and the round beads.
- Borders are 1px: `--bl-line` for quiet boxes, `--bl-ink` for the featured entry, inputs and buttons.
- The only shadow is `--bl-shadow-hard` (4px 4px 0 ink). It marks the one featured entry, the selected choice, a focused input and a hovered button. Never blur it.
- The main column is 600px wide and starts at the left edge with a 48px gutter. Don't center it.
- Space steps: 4, 8, 12, 16, 24, 32, 48, 72.

## Components (in components.css)

- `.bl-page` with `.bl-main` and `.bl-aside`: the two-pane frame. The aside is sticky on desktop and drops below on narrow screens.
- `.bl-nav`, `.bl-wordmark`, `.bl-links` (use `aria-current="page"` for the thick underline).
- `.bl-intro`, `.bl-quiet`, `.bl-title`, `.bl-h2`, `.bl-label`.
- `.bl-btn` (ink block), `.bl-btn--ghost`, `.bl-btn--block`, and `.bl-arrow` for a text link that ends in an arrow.
- `.bl-tag` for bracketed labels like `[drafting]`, with `.bl-tag--live` in cobalt.
- `.bl-log` and `.bl-entry`: the spine and its entries. Variants: `--boxed` (pale box), `--featured` (outlined, hard shadow, cobalt bead), `--open` (hollow bead for work not done yet). Inside: `.bl-entry-head`, `.bl-entry-title`, `.bl-entry-date`. An `a.bl-entry` lifts on hover.
- `.bl-figure`, `.bl-core` (a CSS-drawn sample tube with a depth scale), `.bl-readout` (a two-column spec table), `.bl-figure-caption`.
- `.bl-plan`, `.bl-price`, `.bl-table`, `.bl-faq` for pricing.
- `.bl-article`, `.bl-byline`, `.bl-lede`, `.bl-note`, `.bl-code`, `.bl-footnote` for posts.
- `.bl-form`, `.bl-field`, `.bl-input`, `.bl-select`, `.bl-hint`, `.bl-check`, `.bl-choice` for forms.
- `.bl-footer`.

## Pages in this kit

- `demo.html`: wordmark, a plain intro, the notebook as a log with one featured entry, a short call to action, and a drawn sample core in the aside.
- `pricing.html`: plans as entries on the spine (the chosen one featured), a comparison table and a FAQ.
- `blog.html`: a methods post with a serif lede, a note box and a monospace data block; earlier entries sit on a spine in the aside.
- `signup.html`: a three-step order form with plan choices; the aside shows what happens next as a log.

## Page recipe

1. `.bl-page` holding `.bl-main` and `.bl-aside`.
2. `.bl-nav`: the wordmark with its bracketed symbol on the left, three or four links on the right.
3. Two or three sentences in `.bl-intro`, then one `.bl-quiet` line with an `.bl-arrow` link. No big headline on the landing page: the wordmark is the headline.
4. A `.bl-log` of five to eight dated entries, newest first. Box one or two, feature exactly one, and end with an `--open` entry for what is coming.
5. A small `.bl-h2` section with two buttons.
6. In the aside, one drawn figure with a `.bl-readout` and a numbered caption ("Fig. 1.").

**Pricing:** plans are `.bl-entry .bl-plan` on a spine, the recommended one `--featured`, with a `.bl-tag--live`. Follow with `.bl-table` and `.bl-faq`.

**Article:** `.bl-label` category, `.bl-title`, `.bl-byline`, a `.bl-lede`, then mono paragraphs with `.bl-h2` heads, one `.bl-note` and one `.bl-code` block of real data. End with a `.bl-footnote`.

**Sign up:** numbered `.bl-label` steps, a `.bl-choice` group, ink-bordered inputs and one full-width button. Use the aside to show the steps after sign up as a log.

## Don'ts

- Don't center the column or stretch it past 600px.
- Don't set body text in the serif or headlines in the mono.
- Don't feature more than one entry at a time, and don't blur the shadow.
- Don't add photos, gradients or rounded cards. Draw figures with CSS or inline SVG.
- Don't use cobalt for buttons or large areas.
- Don't use em dashes in copy.
