# Pen Pal

A crisp white workspace that doesn't take itself too seriously. Headlines are big, heavy and tightly tracked, and one word in each sits in a soft yellow highlighter pill with a dot, like a tag you would drop into a doc. Black pen doodles (a swimmer in goggles, a rubber duck, a few waves) peek in from the edges of the product window, drawn with one round-capped line weight and a dab of pale fill. One blue button leads, a pale blue one follows. Product screenshots are drawn as tidy app windows with a sidebar, tabs and pastel status chips. Everything else is quiet: grey hairlines, 10px corners, soft shadows and plenty of white.

Use it for: productivity and booking tools, clubs and lessons, schools and courses, family and community apps, memberships, friendly B2B software that should feel approachable. Avoid it for: luxury brands, nightlife, anything that needs a dark or moody page, very serious finance or legal products, image-heavy shops.

## 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 Pen Pal 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 swim school booking app called Lido.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Inter Tight 700 (600 for h3 and quotes) | Display, h1 and h2 at 700 with very tight tracking (-0.045em to -0.03em) and a line height near 1. The wordmark and big numbers too. |
| Body and UI | Inter 400 to 600 | Body at 400, buttons and nav at 500, labels and table heads at 600. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--pp-paper` | #FFFFFF | The page, cards, windows, inputs |
| `--pp-wash` | #F6F5F2 | Alternate sections, card art tiles, callouts, the toggle track |
| `--pp-sheet` | #FBFBFA | Window bars, sidebars, board columns, table heads |
| `--pp-line` | #E7E5E1 | Every hairline |
| `--pp-line-strong` | #D3D0CB | Inputs, ghost buttons, hover borders |
| `--pp-ink` | #191817 | Text and every doodle line |
| `--pp-graphite` | #5E5B57 | Leads, card copy, captions |
| `--pp-pencil` | #8F8B86 | Hints, meta, small labels |
| `--pp-blue` | #1F6FE5 | The main button, links, checks, focus |
| `--pp-blue-soft` | #E8F1FD | The second button, check circles, doodle fills |
| `--pp-sun` | #FFE3A8 | The highlighter pill, selected choices, `mark` |
| `--pp-sun-dot` | #F5A30B | The dot inside the pill |
| `--pp-lilac`, `--pp-honey`, `--pp-sky`, `--pp-mint`, `--pp-peach` | #8E5BD9, #B9790A, #2F7FD6, #2E9A5D, #D9603A | Chip dots and text, each with a `-soft` fill |

Rules:
- The page is white. Color arrives in small pastel patches: the pill, chips, icon tiles and the odd doodle fill.
- Blue is for action only: one solid blue button per view, links and checks.
- Use one highlighter pill per headline, at most three per page. It wraps one word, mid-sentence.
- Pastel chips are for status inside product windows and tags on articles. Don't use them as decoration.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pp-text-display` | clamp(44px, 7.4vw, 104px) | The landing hero, centered, two lines |
| `--pp-text-h1` | clamp(38px, 5.4vw, 72px) | Page titles, the closing CTA |
| `--pp-text-h2` | clamp(30px, 3.8vw, 50px) | Section headings |
| `--pp-text-h3` | 20px | Card, plan and step titles |
| `--pp-text-lead` | 20px | Leads, max 600px |
| `--pp-text-body` | 16px | Body; articles use 18px |
| `--pp-text-small` | 14px | Lists, tables, meta |

Headlines are plain sentences with a full stop. Keep them short enough to fit on two lines at display size.

## Shape and space

- Radius: 6px for buttons and inputs (they are soft rectangles, not pills), 10px for tiles and callouts, 16px for cards, plans and windows. Chips, the highlighter and choice pills are fully round.
- Borders: 1px `--pp-line` on cards, windows and tables. Featured plans get a 2px blue border.
- Shadows: `--pp-shadow-window` under product windows, `--pp-shadow` on featured or lifted cards, `--pp-shadow-sm` on tickets and notes. Nothing heavier.
- Doodles: inline SVG with `.pp-doodle` (2.2px ink stroke, round caps and joins, no fill by default). Use `.pp-fill-paper`, `.pp-fill-sun` or `.pp-fill-blue` for a single flat fill and `.pp-fill` for solid ink details (eyes, a swim cap). Draw simple faces and objects from circles and smooth curves.
- Sections: 72 to 128px vertical padding. Container 1200px with 32px gutters (20px on phones); articles 680px.
- Motion: none beyond hover color shifts. Reduced motion turns transitions off.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.pp` | Put on `<body>`: white page, Inter, ink text, clipped overflow |
| `.pp-container`, `.pp-narrow`, `.pp-section`, `--wash`, `--flush`, `.pp-rule`, `.pp-center` | Layout |
| `.pp-display`, `.pp-h1`, `.pp-h2`, `.pp-h3`, `.pp-lead`, `.pp-muted`, `.pp-small`, `.pp-eyebrow` | Type; the eyebrow can lead with a small doodle icon |
| `.pp-mark`, `--blue`, `--plain` | The highlighter pill with a dot |
| `.pp-btn`, `--soft`, `--ghost`, `--ink`, `--lg`, `--sm`, `--block`, `.pp-link`, `.pp-actions` | Buttons and links |
| `.pp-nav`, `__inner`, `.pp-logo`, `__mark`, `.pp-nav__links`, `.pp-nav__end` | Sticky white nav; the logo mark is an ink-outlined tile with a hard 2px offset shadow |
| `.pp-hero`, `--short`, `__stage` | Centered hero; the stage holds the product window and its doodles |
| `.pp-doodle`, `.pp-fill*`, `.pp-peek`, `--hide-sm` | Pen drawings and absolutely placed peeking doodles |
| `.pp-window`, `__bar`, `__dots`, `__body`, `.pp-side`, `__item`, `--on`, `.pp-main`, `__title`, `.pp-tabs` | An app window with a sidebar |
| `.pp-board`, `.pp-col`, `__head`, `.pp-ticket` | A board of columns and tickets inside a window |
| `.pp-chip`, `--lilac`, `--honey`, `--sky`, `--mint`, `--peach`, `--plain` | Pastel status chips with a dot |
| `.pp-logos` | A row of customer names under a hairline |
| `.pp-head`, `--center` | Section heading block |
| `.pp-grid`, `--2`, `--3`, `.pp-card`, `--wash`, `--lift`, `__art`, `.pp-icon`, `--lilac` etc. | Cards with a doodle art tile or a pastel icon tile |
| `.pp-stats`, `.pp-stat__num` | Big numbers in a row |
| `.pp-feature`, `--flip`, `.pp-check` | Text and window side by side, with blue check circles |
| `.pp-quote`, `.pp-avatar` | Centered quote with a doodled avatar |
| `.pp-toggle`, `.pp-plans`, `.pp-plan`, `--featured`, `__tag`, `.pp-price`, `.pp-list` | Pricing |
| `.pp-table-wrap`, `.pp-table`, `.pp-yes`, `.pp-no`, `.pp-faq` | Comparison table and FAQ |
| `.pp-article__meta`, `.pp-author`, `.pp-prose`, `.pp-figure`, `.pp-callout` | Article parts; `mark` in prose is a yellow highlight |
| `.pp-form`, `.pp-field`, `.pp-label`, `.pp-input`, `.pp-select`, `.pp-hint`, `.pp-choices`, `.pp-choice`, `.pp-checkline`, `.pp-divider` | Forms; selected choices turn highlighter yellow |
| `.pp-split`, `__art`, `__form`, `__inner` | Two-column sign-up with a washed art side |
| `.pp-cta`, `.pp-footer`, `__grid`, `__base` | Closing CTA and footer |

## Pages in this kit

- `demo.html`: nav, a centered display hero with a highlighter pill, blue and pale blue buttons, then a product window with a sidebar and a board of chips, a duck doodle on its top edge and a swimmer peeking from its bottom left. Then a logo row, stats, three cards with doodle art on a wash section, a feature split with a progress window, a quote, a CTA with a duck and the footer.
- `pricing.html`: short hero with two doodles in the margins and a billing toggle, four plans (the second featured), a comparison table and an FAQ.
- `blog.html`: article header with a chip, title with a pill, lead, author and a doodled cover, then prose with a highlight, a chart drawn in a window, a numbered list, a quote, a callout and two follow-up cards.
- `signup.html`: split layout, a washed art side with the pitch, a doodle scene and two notification notes, and the form on the right with choice pills.

## Page recipe

1. `.pp-nav` with the logo, four links, a text link or two and a small blue button.
2. A `.pp-hero` with a `.pp-display` headline holding one `.pp-mark`, a lead, then a blue `--lg` button and a `--soft` one.
3. A `.pp-hero__stage` with a `.pp-window` showing the product, plus one or two `.pp-peek` doodles overlapping its edges.
4. `.pp-logos`, then alternate white and `--wash` sections: stats, cards, a `.pp-feature`, a `.pp-quote`.
5. A `.pp-cta` with a small doodle above the headline, then `.pp-footer`.

Pricing recipe: `.pp-hero--short` centered with doodles in the far margins (hidden under 900px) and `.pp-toggle`, then `.pp-plans` with one `--featured` plan holding the only solid blue button, a `.pp-table` on a wash section and a `.pp-faq` in a one-third, two-thirds split.

Article recipe: left-aligned `.pp-hero--short` inside `.pp-narrow` with meta chips, an h1 with one pill, a lead, `.pp-author` and a pastel cover tile holding a doodle scene. Then `.pp-prose`, using a `.pp-window` as a figure, a `blockquote` with an ink rule, a `.pp-callout` and two `.pp-card--wash` links at the end.

Sign-up recipe: `.pp-split` with the art side on `--wash` (eyebrow, h2 with a pill, lead, a doodle scene and one or two notification notes) and a 400px form: inputs, a select, `.pp-choices`, a `.pp-checkline`, a blue block button, `.pp-divider`, then a ghost block button.

## Don'ts

- Don't use more than one solid blue button in a view, or blue for decoration.
- Don't add color fills to big areas. Sections are white or the warm wash, nothing else.
- Don't draw doodles with gradients, multiple stroke weights or detailed shading. One pen, one flat fill.
- Don't put doodles behind text. They sit on the edges of windows, cards and margins.
- Don't use pill-shaped buttons. Buttons are 6px rectangles; pills are for the highlighter, chips and choices.
- Don't use a serif, light weights for headlines or loose tracking.
- Don't use em dashes in copy.
