# Dot Press

A plain, honest style that looks like it runs on very little power. Everything you read is set in a Times-style serif, dates and meta are in a typewriter mono, and the navigation is a row of text links split by pipes, some of them printed in blue, red or green ink. Pictures are two-color halftone plates: a flat drawing in one ink on a pale ground, with a fine dot screen over the top. The page is split in two: a pale sky ground at the top that stops at a hard seam halfway down the hero picture, and a pale butter ground below. Square corners, solid black rules, no shadows and no decoration that costs bytes.

Use it for: independent magazines and newsletters, slow travel, rail and transit, repair and maker projects, sustainability and energy, archives, research groups, co-ops, small honest products that want to feel like a well-kept notebook. Avoid it for: luxury and fashion, glossy consumer launches, kids' products, dashboards, anything that needs rounded, friendly controls or big photography.

## 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 Dot Press 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 a made-up train and ferry route planner called Overland Atlas.

## Fonts

All free on Google Fonts:

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

| Role | Font | Weight | Use |
|---|---|---|---|
| Everything you read | Tinos | 400, 700 for buttons and `strong`, and italic | Masthead, headings, nav, body, buttons, quotes |
| Meta | IBM Plex Mono | 400 to 500 | Dates, captions (`Fig. 1.`), labels, badges, table headers, the status corner, step numbers |

Headings stay at weight 400. Hierarchy comes from size only: never bold a heading.

## Color

| Token | Hex | Use |
|---|---|---|
| `--dp-sky` | #EDF4FC | The top ground: masthead and the upper half of the hero |
| `--dp-butter` | #FDF4D3 | The lower ground: the rest of the page |
| `--dp-paper` | #FBFAF4 | A quiet section, the status chip |
| `--dp-white` | #FFFFFF | Forms, note boxes, tables, the featured plan |
| `--dp-ink` | #121212 | Text, every rule, the primary button, badges |
| `--dp-soft`, `--dp-faint` | #4D4B45, #85837A | Secondary text, meta |
| `--dp-blue` | #2341A8 | One section's links (and prose links) |
| `--dp-red` | #C4281F | A second section's links |
| `--dp-green` | #17714A | A third section's links, plus marks in plan lists |
| `--dp-marker` | #FBE96A | Highlighter: one phrase, one badge, the focus ring. Never a background block |
| `--dp-plate-*` | blue, green, sand | Halftone plate inks and their pale grounds |

Link colors mean sections, not states: a red link always goes to the same section. Most links stay black and underlined.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `dp-logo` | clamp(36px, 5.2vw, 60px) | Uppercase, with an arrow glyph in a `span` between the words |
| `dp-h1` | clamp(30px, 3.6vw, 44px) | Line-height 1.15, weight 400 |
| `dp-h2` | clamp(24px, 2.6vw, 32px) | |
| `dp-h3` | 22px | Entry titles, note titles |
| `dp-lead` | clamp(19px, 1.6vw, 21px) | Taglines, the nav, intros |
| Body | 18px | Line-height 1.5 (1.6 in `dp-prose`) |
| `dp-meta` | 13px | IBM Plex Mono, `--dp-faint` |

## Shape and space

- Everything is square. Buttons, inputs, notes, plates and tables have 0 radius.
- Rules, not shadows: a 2px ink rule under the nav, above plan tables, tables and the footer. 1px ink lines everywhere else, and dotted leaders in lists.
- No shadows, no gradients except the hard two-ground seam.
- Tight gutters (20px), plain stacking, and a 680px measure for reading.
- Pictures are always plates, never photos with filters. Each has a mono caption starting `Fig. 1.`

## Components (in components.css)

- **Masthead** `dp-mast`: `dp-logo` (with an arrow `span`), `dp-tagline`, then `dp-nav`: pipe-separated text links with `dp-link--blue`, `--red`, `--green` for sections. Wrap it in `dp-sky`.
- **Seam** `dp-seam`: wraps the hero so the sky ground stops at 55% height and butter begins.
- **Hero** `dp-hero`: text in one column, a big plate in the next three.
- **Plate** `dp-plate`: put an inline SVG inside, drawn with `dp-plate__fill` (ink), `dp-plate__light` (cream highlights) and `dp-plate__line` (`--bold`, `--dash`). Variants `--green`, `--sand`, `--square`, `--tall`. The dot screen is added by the class. Caption with `dp-figcaption`.
- **Buttons** `dp-btn` (white with an ink border), `--primary` (solid ink), `--block`. Hover is the marker yellow. Add `dp-arrow` for a mono arrow.
- **Badges** `dp-badge` (black mono label, like "Note:"), `--line`, `--marker`.
- **Entry grid** `dp-grid` (4 across) or `dp-grid--3`, of `dp-entry`: plate, `dp-h3`, `dp-meta`.
- **Section head** `dp-head`: title left, link right, a 1px rule under.
- **Index** `dp-index`: list rows with a dotted leader and a mono date or number on the right.
- **Note box** `dp-note`: white ruled box with a badge sitting on its top edge.
- **Plans** `dp-plans` of `dp-plan` (`--featured`), with `dp-price` and `dp-ticks` (`is-off` for missing features).
- **Table** `dp-table` inside `dp-table-wrap`. **FAQ** `dp-faq` with `details`.
- **Article** `dp-article-head`, `dp-prose` (blue links, ruled blockquote, mono footnote refs), `dp-notes`, `dp-byline`.
- **Forms** `dp-form`, `dp-field`, `dp-label` (mono), `dp-input`, `dp-select`, `dp-hint`, `dp-check`, `dp-choices` of `dp-choice`.
- **Status corner** `dp-status`: a small fixed mono readout bottom left, like "Page weight: 38 KB".
- **Footer** `dp-footer` with `dp-footer__cols` and a `dp-logo--sm`.

## Pages in this kit

- `demo.html`: landing page. Masthead, hero across the seam, a grid of four plates, how it works with a note box, a call to action, footer.
- `pricing.html`: an intro in the sky band, three ruled plans, a costs table, an FAQ.
- `blog.html`: an article with a hero plate across the seam, prose with footnotes, a note box and an archive index.
- `signup.html`: a plate and stats on the left, the form in a note box on the right.

## Page recipe

1. `body class="dp"`. A `header class="dp-sky"` holding `dp-mast`.
2. Wrap the hero in `dp-seam` so the sky ground breaks behind the hero plate.
3. Below the seam, sections sit on butter, separated by space and the odd 1px rule. Use `dp-section--paper` once at most.
4. One `dp-btn--primary` per screen.
5. Finish with `dp-footer` and the `dp-status` chip.

**Pricing:** intro inside the sky header, `dp-plans` with the middle plan `--featured` and a `dp-badge--marker`, then a plain table explaining where money goes, then `dp-faq`.

**Article:** `dp-article-head` (section badge, `dp-h1`, `dp-lead`, mono byline) inside the seam with a wide plate, then `dp-prose` in the measure, numbered `dp-notes` at the end, and a `dp-index` of related posts in section colors.

**Sign up:** a two-column grid on the seam. Explain on the left with a plate and a `dp-index` of numbers; the form goes in a `dp-note` with a "Step 1 of 2" badge.

## Don'ts

- Don't round anything or add shadows.
- Don't bold headings or use a second serif. Tinos and the mono only.
- Don't use photos as-is: draw a plate, or print the photo as a duotone with the dot screen.
- Don't fill blocks with the marker yellow. It's for a phrase, a badge or focus.
- Don't use the blue, red and green inks for anything but links and small marks.
- Don't add a third ground color: sky above the seam, butter below.
- No em dashes in copy.
