# Air Mail

Light, playful and a little nostalgic, like a care package from a pen pal. The page is warm blush paper with a faint red-ink sketch pattern behind the hero. Headlines are a soft, high-contrast display serif, set huge and centered, with one italic word painted in a rainbow ink gradient. Body text is a friendly rounded sans and the margins carry handwritten notes. The signature moves come from the post office: cream envelopes with red and blue airmail stripe borders, perforated stamps with a single bold color, round postmarks, tilted snapshot frames with thick white borders and handwritten captions, and scalloped edges between sections.

Use it for: clubs and communities, swaps and sharing, nonprofits, kids and family products, classes and workshops, hobby apps, anything that should feel personal, handmade and a bit cheeky. Avoid it for: luxury brands, dense dashboards, finance or legal tools, serious B2B software, or anything that must feel dark, quiet or technical.

## 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 Air Mail 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 seed swap club called Seedpost, where home gardeners post seeds to each other.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Nunito:wght@400;600;700;800&family=Caveat:wght@500;700&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | DM Serif Display | 400 (and italic) | Hero titles, section titles, plan names, prices, stats, quotes, stamp faces. Tracking -0.02em, line-height about 1 |
| Body and UI | Nunito | 400 to 800 | Text, nav (700), buttons (800), labels (800), badges, card titles (800) |
| Notes | Caveat | 500 to 700 | Logo, snapshot captions, sticky notes, small asides like "two months free ↑". Never for body copy |

Headlines are ink, never colored, except one italic word per page title that gets the rainbow gradient (`am-rainbow am-italic`). Never more than one rainbow word on a screen.

## Color

| Token | Hex | Use |
|---|---|---|
| `--am-paper` | #FDF5F3 | The page |
| `--am-cream` | #FFFDF8 | Envelopes, cards, plans, FAQ items |
| `--am-blush`, `--am-blush-deep` | #FBE4E3, #F6CFD0 | Alternate sections, blockquotes, snapshot backdrops |
| `--am-white` | #FFFFFF | Snapshot frames, inputs, the featured plan, stamp perforations |
| `--am-line`, `--am-line-strong` | #EFDCD9, #E0C3C0 | Card outlines, table rules, input outlines |
| `--am-ink` | #1E1A26 | Headlines, the main dark button, footer |
| `--am-ink-soft`, `--am-muted`, `--am-faint` | #3B3545, #6D6577, #A69DAF | Body, meta, placeholders |
| `--am-red`, `--am-red-deep` | #E5384F, #C4233A | The main call to action, logo flag, stamps, airmail stripes |
| `--am-blue` | #2C5BD4 | Airmail stripes, focus ring, the second stamp color |
| `--am-leaf` | #2F9E63 | Checks, "Yes" cells, plant drawings |
| `--am-sun` | #F6B73C | Flowers and the fourth stamp |
| `--am-*-soft`, `--am-*-text` | tints and dark shades | Badge and icon backgrounds, and text on them |
| `--am-sketch` | #F1A7B1 | The red-ink doodle pattern |

`--am-stripes` is the airmail pattern (red, white, blue, white at 135 degrees). `--am-rainbow` is the leaf to blue to violet ink for the one hero word. Red is for one primary action per view; everything else uses the dark ink button or the white ghost button.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `am-hero-title` | clamp(48px, 7.4vw, 104px) | DM Serif Display, line-height 0.98, centered |
| `am-h1` | clamp(42px, 5.6vw, 76px) | Inner page titles |
| `am-h2` | clamp(34px, 4.2vw, 56px) | Section titles |
| `am-h3` | 24px | Nunito 800, card titles |
| `am-lead` | 20px | Nunito, max 560px |
| Body | 17px | Nunito 400, line-height 1.6; articles 19px, line-height 1.75 |
| `am-eyebrow` | 15px | Nunito 800 in red text, with a tiny airmail stripe chip in front |
| `am-hand` | 26px | Caveat 700 in red text |

## Shape and space

- Controls are pills: buttons (52px, 40px for `--sm`), inputs, toggles, choices, badges.
- Cards and plans have 26px corners and a 1.5px inset outline, no shadow. Envelopes have 16px corners, a 9px stripe border and the soft `--am-shadow`.
- Snapshots are white frames (10px sides, 30px bottom for the caption) with almost square 4px corners, tilted -3deg or +2.5deg, with the stronger `--am-shadow-lift`.
- Stamps are tilted a few degrees and always sit on top of something (an envelope corner, a plan, a cover photo).
- Sections are 112px tall in padding (72px on phones). Section intros are centered.

## Components (in components.css)

- Layout: `am-wrap` (1180px), `am-wrap--text` (700px), `am-section` with `--blush` and `--cream`, `am-section-head`, `am-grid--2/3/4`, `am-center`.
- `am-scallop` on a section draws a stamp-like scalloped top edge in its own background color. Use it where a blush or cream section meets the paper.
- `am-sketch` paints the red-ink doodle pattern, fading into blush at the bottom. Heroes and the sign-up page only.
- Nav: `am-nav`, `am-nav-inner`, `am-nav-links`, `am-nav-cta`, and `am-logo`, a tilted red pennant with a handwritten wordmark.
- Buttons: `am-btn` (ink), `--red`, `--ghost`, `--sm`, `--block`; add `am-arrow` for a trailing arrow.
- Hero: `am-hero`, `am-hero-title`, `am-rainbow`, `am-italic`, `am-lead`, `am-join` (pill email field with the button inside), `am-bubble` (fine print), `am-hero-actions`.
- Post: `am-envelope` (with `am-envelope-from`, `am-envelope-to`, `am-envelope-line`), `am-stamp` + `am-stamp-face` (`--blue`, `--leaf`, `--sun`), `am-postmark`, `am-ribbon` (stripe rule above the footer).
- Snapshots: `am-snap`, `am-snap--alt`, `am-snap-art` (holds an inline SVG scene), `am-snap-caption`, and `am-wall--left/right` to hang three snapshots on each side of a hero on wide screens.
- Content: `am-card`, `am-card--tilt`, `am-icon` (`--blue`, `--leaf`, `--sun`), `am-badge` (`--blue`, `--leaf`, `--sun`, `--ink`), `am-stat`, `am-quote`, `am-quote-by`, `am-avatar`, `am-checks`, `am-note` (a tilted yellow sticky note in Caveat).
- Pricing: `am-toggle`, `am-plans`, `am-plan`, `am-plan--featured` (white with a stripe border, tilted -1deg), `am-plan-name`, `am-plan-price`, `am-plan-flag` (a stamp pinned to the corner), `am-table-wrap`, `am-table`, `am-yes`, `am-no`, `am-faq`.
- Article: `am-article-head`, `am-byline`, `am-tags`, `am-prose` (serif h2, blush blockquotes, red bullets).
- Forms: `am-form`, `am-field`, `am-label`, `am-hint`, `am-input`, `am-select`, `am-textarea`, `am-choices` + `am-choice` (pill checkboxes), `am-check`.
- Footer: `am-footer`, `am-footer-grid`, `am-footer-base`.
- Drawings: put `class="am-art"` on an inline SVG and color shapes with `r`, `rd`, `rs`, `b`, `bs`, `l`, `ls`, `s`, `ss`, `k`, `c`, `w`, `p`, `pd`; strokes with `o` (ink), `ol` (stems), `ow`, `osk`. Scenes are flat and simple: a colored sky, a ground band, a few circles for fruit or flowers, stems, envelopes.

## Pages in this kit

- `demo.html`: landing page. Nav, sketch hero with snapshot walls, rainbow word, join bar, addressed envelope, three tilted step cards, stats, a story with overlapping snapshots and a postmark, a row of stamps, an envelope CTA with a sticky note, ribbon and footer.
- `pricing.html`: sketch header with a toggle, three plans (the middle one is an airmail envelope with a stamp flag), a comparison table and an FAQ next to a sticky note.
- `blog.html`: centered article header on the sketch, a tilted cover snapshot with a stamp, prose with a blockquote, an inline snapshot and a sticky note, an author card and three related cards.
- `signup.html`: a two-column page on the sketch, a pitch with two snapshots on the left and the form inside a big envelope on the right.

## Page recipe

1. `am-nav` with the pennant logo, three or four links and one ink `--sm` button.
2. Hero on `am-sketch`: eyebrow, `am-hero-title` with one `am-rainbow am-italic` word, a lead, then either `am-join` or two buttons, then one post object (an envelope or a stamp). On wide pages, hang snapshot walls left and right.
3. Alternate sections: paper, then `am-section--blush am-scallop`, then `--cream am-scallop`. Each section has a centered head.
4. Add one human moment: a quote with overlapping snapshots and a postmark.
5. Close with an `am-envelope` CTA, then `am-ribbon` and `am-footer`.

**Pricing recipe:** sketch header with `am-toggle` and a handwritten aside, `am-plans` with the middle plan as `am-plan--featured` and a stamp flag, then a table, then FAQ on blush.

**Article recipe:** `am-article-head` on `am-sketch` with tags, title, lead and byline; a tilted cover snapshot with a stamp on its corner; `am-prose` at 700px with at most one blockquote, one inline snapshot and one `am-note`; related cards on blush.

**Sign-up recipe:** the form lives inside `am-envelope` with a stamp in its top corner and the title "Address your first envelope". Use pill inputs, pill choices for interests, one red submit button and a ghost button for social sign-in.

## Don'ts

- Don't color headlines, and don't use the rainbow on more than one word per screen.
- Don't fill large areas with red, blue, leaf or sun. They are for stamps, stripes, buttons, icons and drawings.
- Don't use the stripe border on more than one or two objects per screen, or it stops feeling special.
- Don't tilt text blocks, forms or tables. Only snapshots, stamps, notes, postmarks and the odd card tilt.
- Don't use Caveat for paragraphs or buttons.
- Don't use photos with hard shadows or glossy gradients. Drawings stay flat.
- No em dashes in copy.
