# Deep Outline

A quiet study at night. Pages sit on a deep petrol teal with a soft glow behind the hero. Headlines come in two weights: a light, misty first line and a bold white second line that lands the point. The signature is the outline block: small glassy cards with a thin border, a blur and a soft shadow, holding bulleted notes with thread lines down the left, tiny uppercase tags and [[double bracketed]] references that link one card to the next. Blocks stack and pair like pieces of a connected notebook over a faint drawn graph of nodes. Aqua marks bullets, links and the bright thread; one warm ember tag or badge per screen adds a spark. It feels calm, thoughtful and trustworthy, like software made by people who read.

Use it for: knowledge and note tools, family history and archives, research tools, libraries and museums, learning products, personal software and anything about connecting ideas or people. Avoid it for: loud consumer launches, kids, food and fashion, anything that needs bright daylight colors or hard-sell energy.

## 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 Deep Outline 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 family history archive called Kinroot.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;600;700&family=Newsreader:ital,opsz,wght@1,6..72,400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines and body | Figtree 300 to 700 | Headlines pair 300 (misty first line) with 700 (white second line). Body 400, labels and buttons 600. |
| Citations | Newsreader Italic 400 | Pull quotes, article blockquotes, small citation lines under a name. Never for headlines. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--do-deep` | #062A32 | The page |
| `--do-sea` | #0A3640 | Banded sections, inputs, table heads |
| `--do-block` | #0F424D | Cards and plans |
| `--do-block-hi` | #155461 | Featured plan, avatars, the active toggle |
| `--do-line` | #24606B | Thread lines, strong borders, graph lines |
| `--do-text` | #ECF3F2 | Text and the bold headline line |
| `--do-mist` | #93B6B6 | The light headline line, leads, captions, bullets |
| `--do-aqua` | #5CD0C3 | Links, bullets in lists, eyebrows, focus rings, the bright thread |
| `--do-teal` | #1C6B77 | The primary button |
| `--do-ember` | #F08A3C | One tag or badge per screen, one node in a graph |

Rules:
- The page is always deep teal, never black. Depth comes from teal steps: deep, sea, block, block-hi.
- Glass (`--do-glass`) is only for outline blocks, entity cards, panels and the secondary button.
- Aqua is for small things: dots, links, a thread. Never fill a big area with it.
- Ember appears once per screen.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--do-text-hero` | clamp(40px, 6.2vw, 84px) | Two-line page titles in `.do-title` |
| `--do-text-h2` | clamp(30px, 3.8vw, 50px) | Section headings, often with a `.do-soft` first half |
| `--do-text-h3` | 21px | Card and plan names, weight 600 |
| `--do-text-lead` | 19px | Mist lead, max 580px |
| `--do-text-body` | 16px | Body; articles at 18px |
| `--do-text-micro` | 12px | Uppercase eyebrows and table heads with 0.08em tracking |

Headlines: the light line sets the scene ("Gather your family's stories,"), the bold line says what you get ("keep every thread."). Tight tracking (-0.025em) on both.

## Shape and space

- Radius: 6px on blocks, cards, buttons and inputs; 12px on panels; full round only on badges, avatars and bullets.
- Borders: 1px `--do-line-soft` on glass; 2px `--do-line` for thread lines in nested outlines and stat rules.
- Shadows: one soft drop (`--do-shadow`) under blocks; the featured plan gets an aqua ring glow (`--do-shadow-glow`).
- Blur: glass blocks use a 10px backdrop blur so the graph behind them softens.
- Sections: 72px to 128px vertical padding. Container 1180px with 24px gutters, reading column 700px.
- Blocks sit 14px apart (`--do-gap`), stacked in a 540px column in the hero, with a narrower block underneath to make a loose pyramid.
- Graph drawings: inline SVG with `.do-s-line` for lines, `.do-s-thread` for the one curved aqua link, `.do-f-node`, `.do-f-aqua` and one `.do-f-ember` circle.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.do` | Put on `<body>`: deep teal page, Figtree, light text |
| `.do-wrap`, `.do-narrow`, `.do-section`, `--sea`, `--tight`, `.do-center` | Layout |
| `.do-nav`, `__links`, `__end`, `.do-logo`, `__mark`, `.do-ext` | Nav with a glowing square logo mark and external-link ticks |
| `.do-title`, `__soft`, `__strong`, `.do-h2`, `.do-soft`, `.do-h3`, `.do-lead`, `.do-eyebrow`, `.do-cite` | Type |
| `.do-btn`, `--primary`, `--small`, `--block`, `.do-actions`, `.do-link` | Glass and teal buttons, aqua text links |
| `.do-hero`, `__stage`, `__graph` | Centred hero with a glow, then a stage of blocks over a drawn graph |
| `.do-block`, `--narrow`, `.do-outline`, `.do-ref`, `.do-tag`, `--ember`, `.do-check`, `.do-pair` | The outline block: bullets, nested thread lines, bracketed refs, tags |
| `.do-entity`, `__art`, `--square`, `__name`, `.do-prop` | A page card with a round avatar or a small ember cover, and property lines |
| `.do-grid`, `--2`, `.do-card`, `__icon`, `__demo`, `.do-split` | Feature cards with a mini block inside |
| `.do-stats`, `.do-stat` | Numbers with a thread rule on the left |
| `.do-badge`, `--ember`, `--plain` | Round badges |
| `.do-quote`, `__by` | Big italic serif quote |
| `.do-toggle`, `.do-plans`, `.do-plan`, `--featured`, `.do-price` | Pricing |
| `.do-table-wrap`, `.do-table`, `.do-yes` | Compare table |
| `.do-faq` | `<details>` list with an aqua plus |
| `.do-article`, `.do-meta`, `.do-avatar`, `.do-figure`, `__frame` | Long-form reading |
| `.do-form`, `.do-row`, `.do-field`, `.do-label`, `.do-input`, `.do-select`, `.do-hint`, `.do-checkline`, `.do-choices`, `.do-choice`, `.do-panel` | Forms on a glass panel |
| `.do-footer`, `__cols`, `__base` | Footer with a low glow |
| `.do-s-*`, `.do-f-*` | Stroke and fill classes for drawn graphs |

## Pages in this kit

- `demo.html`: landing page. Two-weight title, lead, a stage of outline blocks and two entity cards over a drawn graph, buttons, a stats band, three feature cards with mini blocks, a split with a person page in a panel, a serif quote, a CTA panel and the footer.
- `pricing.html`: two-weight title with a billing toggle, three plans with the featured one glowing, a compare table on a sea band, and an FAQ split.
- `blog.html`: left-aligned two-weight title, meta row, an 18px article with an outline block figure, an aqua-ruled serif blockquote, a drawn graph figure and related cards.
- `signup.html`: split. Left is the title, lead and a preview block of the page you will create; right is a glass panel form with choice tiles and one primary button.

## Page recipe

1. Nav: logo mark, two plain links, external links with ticks, one small primary button.
2. Hero: centred two-weight title, mist lead, then a stage of blocks (one wide, a pair of entity cards, one narrower) over a faint graph, then two buttons.
3. A tight sea band of stats.
4. A centred two-weight h2, then three cards, each holding a mini outline block.
5. A split: text left, a glass panel right showing a real-looking page.
6. A serif quote, a CTA panel, the footer.

Pricing recipe: two-weight title and toggle centred, three plans with aqua bullets and the featured plan on `block-hi` with an aqua ring and the ember badge, compare table on a sea band, FAQ beside an h2.

Article recipe: 700px column, left-aligned two-weight title, mist lead at 22px, meta row with an avatar, body at 18px, one outline block figure and one graph figure with captions, an aqua-ruled italic blockquote.

Sign-up recipe: two columns. Left: eyebrow, title, lead and a block previewing what gets made. Right: a glass panel with labelled fields, choice tiles, a select, a checkbox and one full-width primary button.

## Don'ts

- Don't use black or grey backgrounds. Everything is a step of teal.
- Don't bold both lines of a headline, and don't use the serif for headlines.
- Don't use more than one ember accent per screen.
- Don't use sharp corners or pill buttons; buttons are 6px.
- Don't drop the brackets, bullets or thread lines from outline blocks: they are the style.
- Don't use photos or stock illustrations. Draw graphs and covers with CSS and SVG.
- Don't use em dashes in copy.
