# Blueprint Band

Clear, welcoming and a little nerdy. Pages are plain white with navy text, broken by one full-bleed ultramarine band drawn over a faint blueprint grid, with two pale diagonal light shards cutting across it. Buttons are square and set in a monospace face, and the main ones cast a hard periwinkle shadow down and to the left, like a plate lifted off the page. The product lives in floating app windows that overlap each other, and a bright spectrum of vertical stripes is the one loud thing on the page. It feels like a teaching tool that takes you seriously: friendly copy, precise layout, nothing fussy.

Use it for: learning tools, editors and creative software, maker and craft apps, open-source projects, classes and workshops, anything that turns instructions into something you can see. Avoid it for: luxury, fashion, wellness, moody night brands, or anything that should feel soft and organic.

## 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 Blueprint Band 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 Purl Lab, a fictional knitting pattern editor, built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines and body | Hanken Grotesk 400 to 700 | Display at 500, page titles at 600, card titles at 700, body and nav at 400 to 500 |
| Controls and labels | Martian Mono 400 to 500 | Every button, kickers in caps, tags, table heads, form labels, code in windows, meta lines |

The pairing is the point: friendly round grotesk for what you read, a wide mono for anything you press or that the machine says.

## Color

| Token | Hex | Role |
|---|---|---|
| `--bb-paper` | #FFFFFF | Page, cards, plans, windows |
| `--bb-mist` | #EEF1FB | Alternate sections, table heads, code gutters, quote boxes |
| `--bb-line` | #D5DBF2 | Hairlines around cards and between rows |
| `--bb-ink` | #141B4F | Headlines, body text, strong outlines |
| `--bb-soft` | #4A5285 | Secondary text |
| `--bb-band` | #1F2A92 | The hero band, the footer, primary buttons, icon tiles |
| `--bb-cobalt` | #2F55E4 | Links, kickers, bullets, focus rings, the logo's front plate |
| `--bb-peri` | #8D9CF0 | The hard offset shadow under buttons and the picked plan |
| `--bb-peri-soft` | #DDE3FF | Tags, card shadows, selected choices |
| `--bb-s1` to `--bb-s7` | #FF2D6F, #FF9A1F, #FFE032, #3FE07A, #19C8F0, #6A4BFF, #E636E0 | Spectrum stripes only |

Rules:
- One band per page at the top (hero, page title or article head), plus the footer. A short band for a stats row is allowed on long landing pages.
- The spectrum lives only inside `.bb-stripes` canvases and the 6px `.bb-spectrum-rule` above the footer. Never use spectrum colors for text, buttons or icons.
- No gradients anywhere except the spectrum rule. The band is flat color plus grid lines and shards.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--bb-text-display` | clamp(40px, 5.6vw, 72px) | Landing hero only, weight 500, tracking -0.03em |
| `--bb-text-h1` | clamp(34px, 4.4vw, 56px) | Page titles and big numbers, weight 600 |
| `--bb-text-h2` | clamp(26px, 2.8vw, 36px) | Section heads and pull quotes |
| `--bb-text-h3` | 20px | Card and step titles, weight 700 |
| `--bb-text-lead` | clamp(18px, 1.6vw, 22px) | Intro paragraphs |
| `--bb-text-body` | 17px | Body; 19px inside `.bb-prose` |
| `--bb-text-mono` | 13px | Buttons and code |
| `--bb-text-micro` | 11px | Kickers, tags, labels, meta |

Headlines are sentence case and short. Kickers are mono caps with wide tracking and sit above every heading block.

## Shape and space

- Radius: zero on buttons, cards, plans, inputs and icon tiles. App windows get 6px. Only the search field and tags are pills.
- Shadows: hard and never blurred. Buttons and the picked plan use `--bb-shadow-btn` (-6px 6px periwinkle). Feature cards use `--bb-shadow-card` (-8px 8px pale periwinkle). App windows are the only thing with a soft shadow (`--bb-shadow-window`), because they float over the band.
- Pressing a button slides it toward its shadow: hover moves it 2px, active 4px.
- The band: `--bb-band` with a 96px grid of white lines at 12% and two skewed pale shards. Keep text on the left half, windows on the right.
- Sections: 96px top and bottom, 64px on phones. Content width 1200px with a fluid gutter.
- Motion: only the button press. Nothing else animates.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.bb-wrap` | Centered content column with fluid gutter |
| `.bb-nav`, `__inner`, `__links`, `__end`, `__menu` | White top bar with logo, text links, search pill and a small button; links fold into a Menu button below 900px |
| `.bb-logo`, `__mark` | Wordmark with two offset square plates as the mark |
| `.bb-search` | Mist pill search field |
| `.bb-btn`, `--light`, `--ghost`, `--outline`, `--sm`, `--block` | Square mono buttons; filled ones carry the periwinkle offset shadow, ghost and outline don't |
| `.bb-display`, `.bb-h1`, `.bb-h2`, `.bb-h3`, `.bb-lead`, `.bb-kicker`, `.bb-tag`, `.bb-mono`, `.bb-soft` | Type |
| `.bb-band`, `--short` | Full-bleed ultramarine band with grid and shards |
| `.bb-hero`, `__copy`, `__actions`, `__meta`, `__art` | Two-column hero: copy left, overlapping windows right |
| `.bb-window`, `__bar`, `--back`, `--front` | App window with three dots and a centered mono title |
| `.bb-code` | Numbered code lines with a mist gutter; `.k` keyword, `.n` number, `.c` comment |
| `.bb-stripes`, `--rows`, `--short`, `.bb-spectrum-rule` | Spectrum stripe canvas and the thin rule above the footer |
| `.bb-section`, `--mist`, `__head` | Page sections |
| `.bb-grid`, `--2`, `--3`, `--4`, `.bb-split` | Grids |
| `.bb-card`, `--lift`, `__icon` | Square cards; lift adds the pale offset shadow |
| `.bb-steps` | Numbered steps between hairlines |
| `.bb-stats` | Four big numbers under a white rule, for use on a band |
| `.bb-quote` | Large pull quote with mono attribution |
| `.bb-toggle` | Square segmented toggle; inverts on a band |
| `.bb-plans`, `.bb-plan`, `--pick`, `__price` | Pricing plans; the picked one gets an ink border and the hard shadow |
| `.bb-table-wrap`, `.bb-table`, `.bb-yes`, `.bb-no` | Comparison table with square ticks |
| `.bb-faq` | Details list with mono plus and minus |
| `.bb-article-head`, `.bb-meta`, `.bb-avatar`, `.bb-prose`, `.bb-figure`, `.bb-note` | Article parts |
| `.bb-form`, `.bb-field`, `.bb-label`, `.bb-input`, `.bb-select`, `.bb-textarea`, `.bb-hint`, `.bb-row`, `.bb-choices`, `.bb-choice`, `.bb-check` | Form parts with 2px ink outlines |
| `.bb-footer`, `__grid`, `__base` | Band-colored footer |

## Pages in this kit

- `demo.html`: nav, hero band with the editor and stripe preview windows, three lifted feature cards, a mist split with windows and numbered steps, a short stats band, a quote beside a sign-up card, spectrum rule and footer.
- `pricing.html`: title band with a monthly and yearly toggle, three plans that overlap the band's bottom edge, a comparison table and an FAQ.
- `blog.html`: article head on the band, prose with a stripe figure in a window, a blockquote, a "Try it" note and two related cards.
- `signup.html`: split screen, band on the left with promises and a small code window, the form on white on the right.

## Page recipe

1. `.bb-nav` on white.
2. `.bb-band` with `.bb-hero`: kicker, `.bb-display`, `.bb-lead`, a light button and a ghost button, and a meta line. On the right, a `--back` code window and a `--front` window holding `.bb-stripes`.
3. A white `.bb-section` with a head and three `.bb-card--lift`.
4. A `.bb-section--mist` `.bb-split` with windows on one side and `.bb-steps` on the other.
5. Optional `.bb-band.bb-band--short` with `.bb-stats`.
6. A closing section, then `.bb-spectrum-rule` and `.bb-footer`.

Pricing recipe: a band with kicker, `.bb-h1`, lead and `.bb-toggle`; `.bb-plans` pulled up so they overlap the band's bottom edge; the favourite is `.bb-plan--pick` with a filled button; a mono note; `.bb-table` on mist; `.bb-faq` beside its heading.

Article recipe: a band with `.bb-article-head` (kicker with a path, `.bb-h1`, lead, `.bb-meta`), then `.bb-prose` on white with one `.bb-figure` window, one blockquote and one `.bb-note`, then two related `.bb-card--lift`.

Sign-up recipe: two columns. Left is a band with kicker, `.bb-h1`, lead, square bullets and a small code window. Right is white with `.bb-form`: `.bb-row` for names, email, password with a hint, `.bb-choices`, one `.bb-check`, a filled button beside an outline one.

## Don'ts

- Don't round buttons, cards or inputs. Only windows, tags and search are rounded.
- Don't blur the button shadow or move it to the right. It is hard and falls down and to the left.
- Don't use spectrum colors outside stripe canvases and the spectrum rule.
- Don't stack two bands back to back, or put more than one big band above the fold.
- Don't use photos. Show the product in windows, and draw everything else with squares and lines.
- Don't set buttons in the sans. Anything you press is mono.
