# Red Thread

Friendly, hand-made and quietly confident. Plain white pages, one soft rounded humanist sans at heavy weight for headlines, and a single warm tomato-red accent. One word per page gets a hand-drawn teal underline, little four-point sparkles float around the hero, and the product itself is the picture: a real-looking app window with a dark sidebar, a note list and an open note. Further down, feature rows float white cards on big soft blobs of teal, plum and sage. It feels like a well-loved notebook, not a dashboard.

Use it for: personal apps, note and writing tools, recipe and home apps, family and hobby products, small consumer software made by small teams. Avoid it for: enterprise dashboards, finance that must look formal, loud launches, anything dark or edgy.

## 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 Red Thread 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 one invented product, Larder (a recipe notebook), built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Figtree 700 to 800 | Hero, section headings, plan prices. Tight tracking, sentence case. |
| Body | Figtree 400 to 600 | Paragraphs, nav, buttons, cards, the app window. |
| Mono | IBM Plex Mono 400 | Plain-text recipe or code snippets, version numbers. |

One family does all the work. Hierarchy comes from weight and size, never from a second display face.

## Color

| Token | Hex | Role |
|---|---|---|
| `--rt-paper` | #FFFFFF | The page. Almost everything sits on white |
| `--rt-cream` | #FAF7F4 | Quiet sections, the footer, the active note in the list |
| `--rt-line` | #EBE6E2 | Every border and divider |
| `--rt-ink` | #2C2A2E | Headlines and body text |
| `--rt-soft` | #6D686F | Leads and secondary text |
| `--rt-red` | #D94A3D | The one accent: logo, primary button, active tab, the cursor, links in articles |
| `--rt-red-soft` | #FBE6E2 | Icon tiles, focus rings, avatars |
| `--rt-teal` | #47AEBB | Hand-drawn marks only: the underline, tab ticks, sparkles, done ticks |
| `--rt-blob-teal` / `--rt-blob-plum` / `--rt-blob-sage` | #93D0DA / #A982AB / #9FB8A6 | Big soft blobs behind floating cards, one per feature row |
| `--rt-sidebar` | #2E2F34 | The app window's sidebar |
| `--rt-mark` | #FBEEA0 | Highlighter, only inside notes |

Rules:
- White is the default. Cream for every third section at most.
- Red appears a few times per screen: the logo, the main button, the active state. Never as a section background.
- Teal is a pen, not a paint. It draws lines and small marks, never fills a button or a card.
- Blobs are the only large color. Each feature row gets one, alternating teal, plum and sage. Never put text straight on a blob, always a white card.
- No gradients.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--rt-text-hero` | clamp(40px, 5.6vw, 68px) | Hero headline, centered, 700, tracking -0.025em |
| `--rt-text-h2` | clamp(32px, 3.8vw, 46px) | Section headings and article titles |
| `--rt-text-h3` | 24px | Feature row headings, which take a blob color (`rt-h3--teal`, `--plum`, `--sage`) |
| `--rt-text-lead` | 21px | The sentence under a headline, soft gray, max 600px |
| `--rt-text-body` | 17px | Body |

Headlines are warm and plain ("Recipes you'll actually cook"), sentence case, no period. One word in the hero gets the scribble.

## Shape and space

- Borders: 1px `--rt-line`. Inputs get 1.5px `--rt-line-strong`.
- Radius: 16px on windows, cards and plans; 10px on buttons and inputs; 6px on small things. Pills only for tags and the plan badge.
- Shadows: soft. `--rt-shadow` on cards, `--rt-shadow-lg` on the app window and floating cards.
- Sections: 80px to 128px vertical padding. Container 1120px, text blocks 700px. Lots of white around the hero.
- Motion: only the blinking red cursor and small hover shifts.

## Components (in components.css)

- `rt` on `<body>`: base font, colors and `overflow-x: clip`.
- Layout: `rt-container`, `rt-narrow`, `rt-center`, `rt-section`, `rt-section--cream`.
- Type: `rt-hero-title`, `rt-h2`, `rt-h3` (+ `--teal`, `--plum`, `--sage`), `rt-lead`, `rt-eyebrow`, `rt-muted`, `rt-mono`, `rt-red`.
- Hand-drawn marks: `rt-scribble` (wrap one word, put the inline SVG path inside), `rt-sparkle` (+ `--teal`, `--red`; position it absolutely and set a width), `rt-cursor`.
- Nav: `rt-nav`, `rt-logo` with `rt-logo__mark`, `rt-nav__links` (hidden under 900px; keep one small button visible).
- Buttons: `rt-btn` with `--primary` (red), `--outline` (ink border), `--quiet`, `--sm`, `--block`. Group with `rt-actions`.
- Platform tabs: `rt-tabs` with `<button aria-pressed>`; the active one gets the three teal ticks.
- App window: `rt-app` with `rt-app__side` (`rt-app__lights`, `rt-app__item`, `--on`, `--sub`), `rt-app__list` (`rt-app__note`, `--on`, `rt-app__time`) and `rt-app__doc`. Under 900px only the open note shows.
- Note pieces: `rt-tag`, `rt-mark`, `rt-callout`, `rt-check` (+ `--done`).
- Awards: `rt-awards` with `rt-award` (dotted laurel brackets).
- Feature row: `rt-feature` (+ `--flip`), `rt-feature__media` holding an `rt-blob` (+ `--plum`, `--sage`) and an `rt-card rt-card--float`. Bullets with `rt-list`.
- Cards: `rt-card`, `rt-grid`, `rt-icon`. Quote: `rt-quote` (+ `--sm` inside cards) with `<cite>`.
- Pricing: `rt-billing`, `rt-plans`, `rt-plan` (+ `--featured`), `rt-plan__badge`, `rt-plan__name`, `rt-plan__price`. FAQ: `rt-faq` with `<details>`.
- Article: `rt-article`, `rt-byline`, `rt-avatar`, `rt-figure`.
- Forms: `rt-form`, `rt-field`, `rt-label`, `rt-input`, `rt-hint`, `rt-checkline`, `rt-or`.
- Footer: `rt-footer` (+ `--slim` for a one-line footer), `rt-footer__cols`, `rt-footer__base`.

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing page: centered hero with scribble, platform tabs, the app window, awards, feature rows on blobs, card grid, quote |
| `pricing.html` | Three plans with a billing toggle, awards, FAQ |
| `blog.html` | An article that reads like an open note, with a figure on a blob |
| `signup.html` | A sign-up card beside floating cards on a plum blob |

## Page recipe

1. Nav: logo left, four or five quiet links, one small outline button.
2. Hero, centered: headline with one scribbled word, a soft lead, platform tabs, red primary button plus outline button, two or three sparkles around it.
3. The app window, wide and shadowed, showing real content from the product.
4. Awards or a short proof row.
5. A centered "what it is" heading, then two or three feature rows alternating sides, each with a blob color.
6. A cream section with three small cards.
7. A quote and the main button again.
8. Cream footer.

Pricing recipe: centered headline with scribble, billing toggle, three plans with the middle one featured (red border, badge), a small note, then FAQ on cream.

Article recipe: eyebrow, h2-size title, lead, byline with initials avatar. Body at 18px in a 700px column. Red links, one red-ruled pull quote, one figure on a blob, plain-text snippets in mono on cream.

Sign-up recipe: one white card with eyebrow, scribbled headline, short form and a red full-width button; beside it, floating cards on a blob showing what happens next.

## Don'ts

- Don't add a second accent color for buttons. Red only, outline for the rest.
- Don't scribble more than one word per page, and don't use the scribble on body text.
- Don't put text directly on a blob, or use blobs as section backgrounds.
- Don't use pills for buttons, or bold drop shadows.
- Don't use dark sections; the only dark surface is the app sidebar.
- Don't use stock photos. Show the product with real-looking content instead.
- No em dashes in copy.
