# Blue Link

The plain, honest document web. A white page with one readable column, bold lowercase headings, classic blue links that underline on hover, and code chips sprinkled through the prose. A charcoal masthead with faint contour lines carries a huge wordmark with one blue half. Gray callout boxes sit on a hard little offset shadow, and buttons look like friendly old toolbar buttons. It feels retro in the good way: like a page a real person wrote, not a funnel.

Use it for: libraries, community projects, open source and documentation, co-ops, hobby clubs, public services, small tools with strong opinions. Avoid it for: luxury brands, fashion, anything that needs big photography or should feel glossy.

## 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 Blue Link 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 seed lending library called seedshelf.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | IBM Plex Sans 700 | Wordmark, page titles, section headings. Lowercase, tight tracking. |
| Body | IBM Plex Sans 400 and 500 | Paragraphs, nav, buttons, forms. |
| Tagline | IBM Plex Sans 400 italic | The small line next to the wordmark and figure captions. |
| Mono | IBM Plex Mono 400 and 500 | Code chips, code blocks, eyebrows, counters. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--bl-paper` | #FFFFFF | The page. Almost everything sits on white. |
| `--bl-mist` | #F3F4F6 | Callouts, code blocks, table heads, the footer |
| `--bl-mist-2` | #E9EBEF | Button gradient end, input inset |
| `--bl-line` | #D4D7DD | Every border and divider |
| `--bl-shade` | #B7BBC4 | The hard offset shadow and button borders |
| `--bl-night` | #25262A | The masthead band |
| `--bl-night-2` | #34363C | Contour lines on the masthead |
| `--bl-ink` | #15171C | Text |
| `--bl-soft` | #585E69 | Leads, card text, secondary copy |
| `--bl-faint` | #8A909B | Meta, hints, eyebrows |
| `--bl-link` | #2D61D6 | The one accent: every link, the wordmark's second half, the primary button |
| `--bl-visited` | #6B44B0 | Visited links, used once or twice for texture |
| `--bl-chip` / `--bl-chip-ink` | #E7ECF7 / #2852B8 | Inline code chips |
| `--bl-ok` / `--bl-ok-soft` | #2F7D46 / #E3F1E6 | Good-news callouts, "done" states, strings in code |

Rules:
- White is the page. Gray is for boxes, never for whole sections, except the footer.
- Blue means "you can click this". Don't use blue for decoration other than the wordmark accent.
- Links are blue with no underline; they underline on hover.
- One dark band per page: the masthead. No gradients except the faint top bar and button sheen.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--bl-text-mark` | clamp(56px, 11vw, 128px) | Masthead wordmark, 700, tracking -0.04em |
| `--bl-text-hero` | clamp(34px, 5vw, 52px) | Page title (`.bl-h1`) |
| `--bl-text-h2` | clamp(26px, 3vw, 32px) | Section headings |
| `--bl-text-h3` | 20px | Sub-headings |
| `--bl-text-lead` | 19px | The paragraph under a title, soft gray |
| `--bl-text-body` | 17px | Body, line-height 1.6 |
| `--bl-text-small` / `--bl-text-micro` | 14px / 12px | Meta, captions, eyebrows |

Headings are lowercase single words or short phrases: "introduction", "motivation", "quick start". Body copy is normal sentence case. Write like documentation: plain, a little dry, with a joke at most once per page.

## Shape and space

- Borders: 1px `--bl-line`, or `--bl-shade` on buttons and inputs.
- Radius: 4px on chips and inputs, 6px on boxes, cards and buttons, pills only on tags and the search field.
- Shadows: hard offsets only. `--bl-shadow-hard` (3px 3px 0) on callouts, 2px on cards and buttons. The chosen pricing plan gets a blue offset. Buttons nudge 1px when pressed. Never soft blurred shadows.
- Column: 720px for text, 1000px for grids. Sections 48px apart. This is a reading page, so keep it narrow.
- Motion: none beyond hover color and the button press.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.bl-body` | Put on `<body>`. Sets font, colors and link behavior. |
| `.bl-topbar`, `__inner`, `__links`, `__end` | White top bar with a faint gradient, logo, lowercase blue links, things on the right |
| `.bl-logo`, `.bl-logo__accent` | Small wordmark with an inline SVG glyph; second half blue |
| `.bl-search`, `.bl-counter` | Rounded search pill; two-cell counter badge like an old toolbar button |
| `.bl-masthead`, `--slim` | Charcoal band with contour rings drawn in CSS |
| `.bl-mark`, `__word`, `__accent`, `__glyph`, `.bl-tagline` | The big wordmark with a small italic tagline at its baseline |
| `.bl-column`, `.bl-wide`, `.bl-narrow`, `.bl-section`, `.bl-rule` | Layout |
| `.bl-h1`, `.bl-h2`, `.bl-h3`, `.bl-lead`, `.bl-eyebrow`, `.bl-small`, `.bl-keep-case` | Type |
| `.bl-code`, `.bl-pre` (`.bl-k`, `.bl-s`, `.bl-c`) | Inline code chip; code block with keyword, string and comment colors |
| `.bl-callout`, `--ok` | Gray box with hard offset shadow; first `<strong>` becomes an uppercase label ("NEWS:") |
| `.bl-list`, `--q` | Bulleted list; `--q` gives blue markers for rhetorical question lists |
| `.bl-btn`, `--primary`, `--sm`, `--block`, `.bl-actions` | Toolbar-style buttons with a 2px hard shadow |
| `.bl-tag`, `--ok` | Small mono pill |
| `.bl-cards`, `.bl-card` | Bordered cards with lowercase titles |
| `.bl-defs` | Definition list for "what happens next" style facts |
| `.bl-table`, `.bl-table-wrap` | Plain table with a gray header row |
| `.bl-plans`, `.bl-plan`, `--pick`, `__name`, `.bl-price` | Pricing plans; list items start with a blue "+" |
| `.bl-faq` | `<details>` list with blue summaries |
| `.bl-meta`, `.bl-toc`, `.bl-quote`, `.bl-figure`, `.bl-footnotes` | Article parts |
| `.bl-form`, `.bl-field`, `.bl-label`, `.bl-input`, `.bl-select`, `.bl-textarea`, `.bl-hint`, `.bl-check`, `.bl-fieldset` | Forms with inset inputs and a blue focus ring |
| `.bl-footer`, `__cols` | Gray footer with lowercase column heads |
| `.bl-glyph-accent` | Put on one SVG stroke to make it link blue |

## Pages in this kit

- `demo.html`: landing page. Top bar, masthead wordmark, a NEWS callout, "introduction" with links in every sentence, a "motivation" list of why-questions with code chips, a quick-start code block, three cards, two buttons, sponsors line, footer.
- `pricing.html`: slim masthead, an OK callout, three plans (middle one picked), a comparison table and a FAQ.
- `blog.html`: a season report with eyebrow, title, meta, contents box, lead, a bar chart drawn in CSS, a quote, a code block form, a tip callout and footnotes.
- `signup.html`: two columns, facts as a definition list on the left, a boxed form with a hard shadow on the right.

## Page recipe

1. `.bl-topbar` with the logo, 3 to 5 lowercase links and one thing on the right (search, counter or a small button).
2. `.bl-masthead` with the wordmark: product name split in two, second half `.bl-mark__accent`, plus a short italic `.bl-tagline`.
3. A `.bl-column` with one `.bl-callout` for news at the top.
4. Short sections with one-word `.bl-h2` headings. Link generously inside sentences. Use `.bl-code` for real values, numbers and names.
5. One `.bl-pre` showing how the thing works, even if the product isn't software.
6. `.bl-cards` or `.bl-defs`, then `.bl-actions` with one primary and one plain button.
7. `.bl-footer`.

Pricing: slim masthead with a split word ("member" + "ship"), a reassuring `.bl-callout--ok`, `.bl-plans` with the middle plan `--pick`, then a `.bl-table` and a `.bl-faq`.

Article: `.bl-column.bl-section`, `.bl-eyebrow` path ("notes / season report"), `.bl-h1`, `.bl-meta`, `.bl-toc`, `.bl-lead`, then sections with `.bl-h2`, figures, `.bl-quote`, one `.bl-callout` tip and `.bl-footnotes`.

Sign up: `.bl-wide` with two columns; left a `.bl-eyebrow` step, `.bl-h1`, `.bl-lead` and a `.bl-defs` list; right the form in a bordered box with `--bl-shadow-hard`. Lowercase labels, one primary block button, success as a `.bl-callout--ok`.

## Don'ts

- Don't use soft, blurred shadows or glassy effects.
- Don't make headings title case or uppercase; they're lowercase.
- Don't add a second accent color for decoration. Blue is for links and the wordmark.
- Don't use big photos or illustrations. Draw small things with CSS and inline SVG.
- Don't widen the reading column past 720px.
- Don't underline links at rest, and don't remove the underline on hover.
- No em dashes in copy.
