# Plan Line

A drafting-table style. The page sits on warm paper inside a frame of two thin vertical rails, and every section starts with a full-width horizontal rule that meets the rails at small diamond markers, like a technical drawing. Headlines are big italic serifs flanked by rules, captions and labels are set in mono, and faint graph paper shows through the hero and quiet bands. One cobalt accent does the work, with brick red for a second product or a warning. It feels precise, crafted and calm, like a workshop that shows its working.

Use it for: repair and maintenance services, workshops and makers, hardware, tools for builders, booking services, small businesses with a craft, developer tools that want warmth. Avoid it for: loud consumer launches, kids, nightlife, anything that should feel soft or dreamy.

## 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 Plan Line 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 one invented product (Escapement, a mail-in watch workshop), built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Instrument Serif 400 italic | Hero titles, always italic. Section headings use the upright cut, with one italic cobalt phrase (`<em>`). Big stat numbers and prices. |
| Body | IBM Plex Sans 400 to 600 | Paragraphs, nav, buttons, cards, form inputs, h3. |
| Mono | IBM Plex Mono 400 and 500, italic 400 | Eyebrows, labels, captions ("Full service ── Since 2014"), window title bars, badges, table heads, step numbers. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--pl-paper` | #F5F4EF | The page background and graph-paper ground |
| `--pl-panel` | #FFFFFF | Panel bands, windows, cards, inputs |
| `--pl-tint` | #EFEDE6 | Window title bars, table heads, chat bubbles, code |
| `--pl-grid` | #E6E3DA | Graph-paper lines only |
| `--pl-rule` | #D3CFC4 | Rails, rules and every border |
| `--pl-ink` | #1C1D21 | Headlines and body text |
| `--pl-soft` | #66676C | Leads, secondary text, mono labels |
| `--pl-cobalt` | #2F50D0 | The accent: solid button, italic accent phrase, active step, focus ring |
| `--pl-cobalt-soft` | #E4E9FA | Tinted primary buttons, badges, "you" bubbles |
| `--pl-brick` | #C9553D | Second product, warnings, the watch second hand |
| `--pl-brick-soft` | #F9E5DF | Tinted brick buttons and badges |
| `--pl-moss` | #3F8A5C | Status dots and "done" steps only |

Rules:
- Paper is the default. Alternate paper bands with white `.pl-band--panel` bands; graph paper (`.pl-graph`) appears in the hero and at most one more band.
- Cobalt shows up a few times per screen. Only one solid cobalt button per view; other primaries use the tinted `.pl-btn--primary`.
- Brick is for a second thing (a second product, a warning), never a second primary on the same row.
- No gradients. No drop shadows on anything but windows.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pl-text-hero` | clamp(44px, 6.4vw, 84px) | Hero, italic serif, line-height 1.02, centered between rules |
| `--pl-text-h2` | clamp(34px, 4.2vw, 54px) | Section headings, upright serif, one `<em>` phrase in cobalt |
| `--pl-text-h3` | 22px | Sans 500 card and step titles |
| `--pl-text-lead` | 19px | Lead under a headline, soft gray, max 600px |
| `--pl-text-body` | 16px | Body; 18px inside articles |
| `--pl-text-micro` | 12px | Mono labels and captions |

Headlines are short plain statements in sentence case with no period ("Every watch, serviced in the open").

## Shape and space

- Lines: 1px `--pl-rule` everywhere. Dashed 1px lines for list rows and notes.
- The frame: content lives inside `.pl-frame` (1180px between two rails). Each `.pl-band` starts with a full-width rule and gets diamond markers where it meets the rails.
- Radius: 3px on keycaps and badges, 5px on buttons, inputs and windows, 8px on icon tiles. Nothing round except avatars and status dots.
- Shadows: only `--pl-shadow` on windows. Cards are flat with a border.
- Grids share their lines: `.pl-cells`, `.pl-plans` and `.pl-split` have no gaps, just rails between cells.
- Sections: 64px to 112px vertical padding. Gutter 16px to 40px inside the rails.
- Motion: short color fades on hover. Nothing moves.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.pl-band`, `--panel`, `--last` | Full-width band with a top rule. `--panel` makes it white |
| `.pl-frame` | The railed column; diamonds appear when it's the direct child of a band |
| `.pl-graph` | Faint graph-paper background |
| `.pl-split` | Two cells with a rail between them (stacks on phones) |
| `.pl-section`, `--tight` | Vertical padding for a frame |
| `.pl-hero-title`, `.pl-h2`, `.pl-h3`, `.pl-lead`, `.pl-eyebrow`, `.pl-mono` | Type |
| `.pl-ruled` | Add to a headline to flank it with rules that run to the rails |
| `.pl-caption` + `__name`, `__dash`, `__meta` | "Name ── Est 2019" mono caption |
| `.pl-nav`, `.pl-logo`, `.pl-logo__mark`, `.pl-nav__links`, `.pl-nav__actions` | Top nav |
| `.pl-btn--solid/primary/secondary/brick/ghost`, `--sm`, `--block` | Buttons; `primary` is the tinted cobalt one |
| `.pl-key` | Keycap chip for a shortcut letter inside a button |
| `.pl-badge`, `--cobalt`, `--brick`, `--done` | Small mono tags |
| `.pl-window`, `__bar`, `__dot`, `__body`, `__foot` | App window for product shots |
| `.pl-icon-tile`, `--brick` | Dark app-icon square with an inner ring |
| `.pl-cells`, `.pl-cell`, `.pl-cell__num` | Feature grid with shared rails |
| `.pl-card` | Flat bordered card |
| `.pl-stat__num`, `.pl-stat__label` | Big serif number with mono label |
| `.pl-logos` | Mono uppercase wordmark strip |
| `.pl-rows`, `.pl-rows__meta` | Dashed list rows with a right-aligned mono meta |
| `.pl-field`, `.pl-label`, `.pl-input`, `.pl-select`, `.pl-textarea`, `.pl-hint`, `.pl-check` | Form parts |
| `.pl-choices`, `.pl-choice` | Radio cards |
| `.pl-segment` | Segmented toggle |
| `.pl-plans`, `.pl-plan`, `--featured`, `.pl-plan__name`, `.pl-price`, `.pl-plan__blurb`, `.pl-list` | Pricing columns |
| `.pl-table`, `.pl-faq` | Comparison table and FAQ |
| `.pl-article`, `.pl-byline`, `.pl-avatar`, `.pl-prose`, `.pl-figure`, `.pl-note` | Article parts |
| `.pl-footer`, `__grid`, `__base` | Footer |

## Pages in this kit

- `demo.html`: landing page (nav, graph-paper hero, two product windows with captions, logo strip, feature cells, stats, closing call to action, footer)
- `pricing.html`: three plans with a segmented toggle, comparison table, FAQ
- `blog.html`: article with byline, a chart inside a window, list, pull quote and note
- `signup.html`: two-cell form, intro on graph paper, form on a white panel

## Page recipe

1. A `.pl-band` header holding `.pl-frame` > `.pl-nav`.
2. Hero: `.pl-band.pl-graph` > `.pl-frame` with a `.pl-hero-title.pl-ruled`, a centered lead and two buttons (solid cobalt and secondary, each with a `.pl-key`).
3. Product: `.pl-band--panel` with `.pl-split`, one `.pl-window` per cell, each followed by an icon tile, a `.pl-caption` and a small button.
4. Proof: a tight band with a ruled h3 and `.pl-logos`.
5. Features: a panel band with an eyebrow, `.pl-h2` with one `<em>`, then `.pl-cells` of three.
6. Stats on graph paper, then a ruled closing headline with buttons, then the footer.

Pricing recipe: graph-paper head with eyebrow, ruled italic title, lead and `.pl-segment`; `.pl-plans` on a panel band with the middle plan `--featured` and the only solid button; a `.pl-table` in an `overflow-x: auto` wrapper; FAQ in a two-column frame.

Article recipe: graph-paper head with a centered italic title and `.pl-byline`; body in a panel band using `.pl-article.pl-prose`; figures sit in a `.pl-window` with a mono `figcaption`; end with a `.pl-note` and two `.pl-card` links.

Sign-up recipe: a `.pl-split` filling the screen, the left cell `.pl-graph` with an eyebrow ("Step 1 of 2"), italic title, lead and `.pl-rows` of what happens next; the right cell white with the form, radio cards first, one solid submit button.

## Don'ts

- Don't drop the rails. Every band's content goes inside `.pl-frame`.
- Don't set hero titles upright or bold. Italic, regular weight.
- Don't use rounded pills, big radii or soft glows.
- Don't put more than one solid cobalt button on screen.
- Don't fill the whole page with graph paper.
- Don't use em dashes in copy; the caption dash is a drawn line, not a character.
