# Ink Relay

Calm, exact and a little nocturnal. The page sits on a near-black ink with a violet cast, lit by a single soft violet glow at the top, like a screen left on in a dark lab. Navigation floats in a glass pill capsule in the middle of the header. Actions are pale pearl pills that glow against the dark, with dark ghost pills beside them. The hero of every page is a hairline data panel: rows of mono IDs, small uppercase status pills and violet toggle switches. Violet is the only brand colour and signal green only ever means "live", "yes" or "done". It feels like a product you could trust with something sensitive, without being cold.

Use it for: products that handle sensitive or precise data (research, science and conservation tools, security and privacy, payments and fintech infrastructure, health records, data platforms), B2B software, anything with IDs, statuses and settings worth showing off. Avoid it for: food, kids, retail, playful consumer apps, editorial sites that are mostly long reading, anything that needs warmth or bright colour.

## 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 Ink Relay 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 bird tracking network called Wingline.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Geist 500 | Display, h1, h2, h3, prices and stat numbers. Tight tracking (-0.03em), line height 1.08. Never bold. |
| Body | Geist 400 | Paragraphs, nav links, buttons (500), form labels. |
| Mono | Geist Mono 400 to 500 | IDs, timestamps, code, section labels, badges, table headers, footer small print. Labels are uppercase with 0.08em tracking. |

## Color

| Token | Hex | Use |
|---|---|---|
| `--ir-abyss` | #09071A | Page background, inputs, code blocks |
| `--ir-night` | #110E25 | Panels, cards, plans, ghost buttons |
| `--ir-panel` / `--ir-raised` | #17132F / #1F1A3D | Icon tiles, active nav pill, quiet badges |
| `--ir-line` | #2B2650 | Every 1px border |
| `--ir-text` | #EDEBF6 | Headlines and main text |
| `--ir-muted` / `--ir-faint` | #9C97B6 / #6A6588 | Secondary text / hints, logos, table headers |
| `--ir-violet` | #7A5CF2 | The accent: "New" chip, toggles on, featured plan border, quote rule |
| `--ir-violet-lit` | #B4A3FF | Labels, icon strokes, violet badge text, inline code |
| `--ir-signal` | #3ECF91 | Live, yes, done. Never decoration. |
| `--ir-amber` | #F2B860 | Warnings only (low battery, expiring) |
| `--ir-pearl` | #ECE9F7 | Primary button fill, with `--ir-pearl-ink` text |

Badges use the matching `-wash` token as background and the full colour as text. The top glow is `--ir-glow`, applied with `.ir-glow` to the header area of each page.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ir-size-display` | 42 to 70px | Landing hero only |
| `--ir-size-h1` | 35 to 54px | Page titles, CTA bands |
| `--ir-size-h2` | 27 to 38px | Section titles |
| `--ir-size-h3` | 20px | Card titles |
| `--ir-size-lead` | 18px | Intro paragraphs, in muted |
| `--ir-size-body` | 16px | Body |
| `--ir-size-small` / `--ir-size-micro` | 14px / 11.5px | Meta, mono labels |

## Shape and space

- Radii: pills (999px) for buttons, nav capsule, badges and switches; 20px for panels, plans and CTA bands; 14px for cards and tables; 8px for inputs and icon tiles; 5px for the "New" chip.
- Borders: every surface has a 1px `--ir-line` border. Rows inside a panel are divided by the softer `--ir-line-soft`.
- Shadows: panels get a deep, soft drop shadow plus a 1px white top highlight (`--ir-shadow-panel`). Pills get only the top highlight. No coloured shadows.
- Space: 4, 8, 12, 16, 24, 32, 48, 72, 112. Sections are 72px apart; content width 1180px; article width 680px.

## Components (in components.css)

- `.ir-strip`: a thin announcement bar with an `.ir-chip` "New" tag and a link.
- `.ir-nav` with `.ir-logo`, a centred `.ir-capsule` of links (glass, pill, `.is-active` gets a raised pill) and `.ir-nav-actions`.
- Buttons: `.ir-btn-primary` (pearl pill), `.ir-btn-ghost` (dark pill with border), `.ir-btn-violet` (rare), `.ir-btn-sm`, `.ir-btn-block`. Put `<span class="ir-arrow">&rarr;</span>` after primary labels.
- `.ir-badge` with `-live`, `-violet`, `-amber`, `-quiet`; add `<span class="ir-dot"></span>` for a status dot.
- `.ir-panel`, `.ir-panel-head`, `.ir-row` (icon or badge, content, trailing value), `.ir-row-id`, `.ir-row-sub`, `.ir-icon-tile`, `.ir-toggle` (`.is-on`).
- `.ir-hero`, `.ir-hero-actions`, `.ir-logos` (grey wordmarks with faded edges).
- `.ir-grid` of `.ir-card`, `.ir-stats` of `.ir-stat`, `.ir-section` and `.ir-section-head` with an `.ir-label`.
- `.ir-code` with `.k` (keys) and `.s` (strings).
- Pricing: `.ir-switch`, `.ir-plans`, `.ir-plan` (`.is-featured`), `.ir-price`, `.ir-list`, `.ir-table-wrap` and `.ir-table`, `.ir-faq`.
- Article: `.ir-article`, `.ir-article-meta`, `.ir-prose`, `.ir-figure`, `.ir-author`, `.ir-avatar`.
- Forms: `.ir-form`, `.ir-field`, `.ir-input`, `.ir-select`, `.ir-hint`, `.ir-check`, `.ir-divider`.
- `.ir-cta` band and `.ir-footer` with `.ir-footer-grid` and `.ir-footer-base`.

## Pages in this kit

- `demo.html`: landing page with strip, nav, centred hero, a settings panel beside a live data panel, logos, feature cards, stats, a code split, a quote and a CTA band.
- `pricing.html`: pricing hero with a yearly or monthly switch, three plans, a comparison table and FAQ.
- `blog.html`: a data policy article with a figure, pull quote and related cards.
- `signup.html`: a two-column sign-up with steps panel and a form panel.

## Page recipe

1. `<body class="ir-body">`. Wrap the strip, nav and hero in `.ir-glow` so the violet light sits behind the header.
2. Centred hero: a violet or live badge, a display headline over two lines, one muted lead, a pearl primary and a ghost button.
3. Directly under the hero, show the product as a hairline panel: rows with mono IDs, status badges and toggles. This is the signature; don't swap it for a photo.
4. Then logos, three cards, a stats strip, a code or detail split, one quote and a `.ir-cta` band. Keep sections 72px apart.

Pricing recipe: centred title with a mono label, an `.ir-switch` for billing period, three `.ir-plan`s with the middle one `.is-featured`, then a table and FAQ in a 1:2 split.

Article recipe: meta row (badge, read time, date in mono), h1, lead, author, then `.ir-prose` at 680px. One figure inside an `.ir-panel`, one blockquote with the violet rule.

Sign-up recipe: left column with title, lead and a steps panel using numbered badges; right column is the form in an `.ir-panel`, a ghost SSO button, an `.ir-divider`, fields and a full-width pearl button.

## Don'ts

- Don't use pure black or pure white surfaces. Stay on the ink scale.
- Don't add a second brand colour. Violet is the accent, green is status only, amber is warnings only.
- Don't use bold headlines or big drop shadows on text.
- Don't make violet buttons the default. The primary action is the pearl pill.
- Don't use square buttons or sharp-cornered panels.
- Don't put long paragraphs in mono. Mono is for IDs, labels and code.
- Don't use em dashes in copy.
