# Pencil Town

Light, cheerful and plain-spoken, like a children's picture book that also does your paperwork. The signature is a centered soft-gray serif headline sitting above a wide pencil-line drawing of a little street: houses, a van, boxes, a dog, all in thin gray strokes on white, standing on a pale gray ground that runs edge to edge. Everything is quiet grays except one hot pink, which carries every action and glows softly under the main button. A loose handwritten wordmark adds the wink.

Use it for: friendly consumer services that want to feel instant, honest and kind: moving and storage, insurance, rentals, pet care, banking apps, delivery, home services, local marketplaces. Avoid it for: luxury brands, nightlife, developer tools, dense dashboards, anything that should feel dark, edgy 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 Pencil Town 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 moving company called Boxwell.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=Nunito+Sans:opsz,wght@6..12,400;6..12,600;6..12,700;6..12,800&family=Caveat:wght@700&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | Source Serif 4 | 400 | Hero titles, section titles, prices, big numbers, quotes |
| Body and UI | Nunito Sans | 400 to 800 | Text, nav, labels, forms; 800 uppercase for buttons and eyebrows |
| Wordmark | Caveat | 700 | The logo, avatar initials and the odd handwritten label inside a drawing. Nothing else |

Headlines are always 400 and soft gray (`--pt-ink`), never bold, never black.

## Color

| Token | Hex | Use |
|---|---|---|
| `--pt-white` | #FFFFFF | The page, cards, fields, drawing fills |
| `--pt-mist` | #F6F6F7 | The ground under the hero drawing, quiet sections, footer, table heads |
| `--pt-fog` | #ECECEF | Empty progress bars, gray badges |
| `--pt-line`, `--pt-line-strong` | #E3E3E7, #C9C9CF | Hairlines; outlined buttons and fields |
| `--pt-ink` | #48474D | Headlines and body text |
| `--pt-ink-strong` | #2F2E33 | Small bold labels, plan names, the wordmark |
| `--pt-soft`, `--pt-faint` | #77767D, #A7A6AD | Leads and meta; hints and press names |
| `--pt-pink` | #FF1F8E | The one accent: primary buttons, links, eyebrows, checks, focus, one detail per drawing |
| `--pt-pink-dark` | #E0077A | Button hover, pink text on pink-soft |
| `--pt-pink-soft` | #FFE6F2 | Icon circles, check dots, selected choices, focus halo |
| `--pt-sketch`, `--pt-sketch-light` | #5A5960, #B4B3BA | Pencil strokes; far-away buildings and clouds |
| `--pt-sketch-shade` | #EEEEF1 | Doors, windows and shadows inside drawings |

## Type scale

| Class | Size | Notes |
|---|---|---|
| `pt-hero-title` | clamp(44px, 6.2vw, 84px) | Source Serif 4, line-height 1.08, centered, 2 lines |
| `pt-h1` | clamp(40px, 5.2vw, 68px) | Inner-page titles |
| `pt-h2` | clamp(32px, 3.8vw, 50px) | Section titles |
| `pt-h3` | 24px | Serif 600, card titles |
| `pt-lead` | 20px | Nunito Sans, `--pt-soft`, max 560px |
| Body | 17px | Nunito Sans 400, line-height 1.6; articles use 19px |
| `pt-eyebrow` | 13px | 800, uppercase, tracking 0.06em, gray or `--pink` |
| Buttons | 16px | 800, uppercase, tracking 0.02em |

## Shape and space

- Buttons and fields have small 6px corners (`--pt-radius-sm`), 56px tall (40px for `--sm`). Not pills.
- Cards, plans and tiles have 14px corners; drawing panels have 22px. Only the segment toggle and badges are pills.
- Borders are 1px cool hairlines. Shadows are nearly invisible; the featured plan lifts a little and the pink button has a soft pink glow (`--pt-pink-glow`). Nothing else glows.
- Lots of white. Sections are 72 to 128px tall in padding and most content is centered.

## Drawings

The drawings are the brand. Draw them as inline SVG with the `pt-art` class, which sets a 2.2px round gray stroke and no fill. Then add helper classes to shapes:

- `pt-f` fills white (so shapes overlap cleanly), `pt-s` fills the pale shade (doors, windows, shadows), `pt-l` uses the light stroke (far buildings, clouds, motion marks), `pt-g` is the mist ground.
- `pt-k` makes a shape solid pink. Use it once per drawing: a heart on a box, a dot on the van, a check in a circle.
- Keep it simple and front-on: boxes, roofs, windows, wheels, a plant, a dog. No gradients, no color fills, no shading other than `pt-s`.
- The hero drawing is a wide 1440 by 380 viewBox with the ground at y 340. Leave the middle low so the headline and button can sit over it.

## Components (in components.css)

- **Nav** `pt-nav`: three columns with links on the left, the centered `pt-logo` (Caveat wordmark with a pink dot) and `pt-nav__end` on the right. `pt-nav--line` adds a hairline. Under 860px the links hide and the logo moves left.
- **Hero** `pt-hero` with `pt-hero__copy` (title, lead, one pink button) and `pt-hero__town` (the wide drawing, tucked up under the button, with the mist ground running full width). `pt-hero--plain` for inner pages.
- **Buttons** `pt-btn` plus `--primary` (pink with glow), `--outline`, `--quiet`, `--sm`, `--block`. `pt-link` is a pink text link with an arrow.
- **Press strip** `pt-press`: faint serif names on the mist ground. `pt-facts` for small pink-icon facts.
- **Section head** `pt-head`: centered eyebrow, `pt-h2` and lead.
- **Pick tiles** `pt-picks` of `pt-pick`: a small drawing, a bold name and a "from" price. Hover turns the border pink.
- **Feature rows** `pt-feature` (`--flip`) with `pt-feature__art`: a drawing on a mist (or white, inside mist sections) panel next to an eyebrow, `pt-h2` and lead.
- **Cards** `pt-cards` of `pt-card` with a `pt-icon` pink circle.
- **Stats** `pt-stats` of `pt-stat`: big gray serif numbers.
- **Quote** `pt-quote`, `pt-byline`, `pt-avatar` (outlined circle with a Caveat initial).
- **Badges and toggle** `pt-badge` (`--gray`), `pt-segment` with `aria-pressed` buttons.
- **Pricing** `pt-plans` of `pt-plan` (`--featured` with a pink border and a pink badge on top), `pt-plan__art`, `pt-plan__name`, `pt-plan__price`, `pt-plan__note`, `pt-checks` (`li.is-off`). Compare table `pt-table` in `pt-table-wrap` with `pt-yes` and `pt-no`.
- **FAQ** `pt-faq` of `<details>` rows with a pink plus.
- **Article** `pt-article-head`, `pt-meta`, `pt-figure` with `pt-figure__art`, `pt-prose` (h2, lists with pink markers, blockquote with a pink rule, links), `pt-note` (dashed callout).
- **Forms** `pt-form`, `pt-row`, `pt-field`, `pt-label`, `pt-input`, `pt-select`, `pt-hint`, `pt-check`, `pt-choices` of `pt-choice` drawing cards, `pt-progress`, `pt-panel`, and `pt-chat` with a `pt-bubble` for a friendly helper.
- **Sections** `pt-section`, `--mist`, `--tight`; `pt-container`, `pt-narrow`, `pt-center`, `pt-rule`.
- **Footer** `pt-footer` (mist) with `pt-footer__grid`, `pt-footer__title`, `pt-footer__base`.

## Pages in this kit

- `demo.html`: landing page (centered nav, hero with the drawn street, press strip, pick tiles, three feature rows, stats, quote, call to action, footer)
- `pricing.html`: three plans with a size toggle, a compare table and an FAQ
- `blog.html`: a moving guide article
- `signup.html`: a one-column quote form with a friendly helper, drawn choice cards and a progress bar

## Page recipe

1. `pt-nav` with the wordmark centered and one small pink button.
2. `pt-hero`: a 2-line `pt-hero-title` that pokes fun at the old way, a one-line lead, one `pt-btn--primary`, then the `pt-hero__town` drawing.
3. `pt-press` on the mist ground straight after the drawing.
4. A `pt-head` and four `pt-pick` tiles that start the main task.
5. A mist section with three `pt-feature` rows, alternating sides, numbered eyebrows.
6. `pt-stats` with three big numbers.
7. A mist `pt-quote` from a real-sounding customer.
8. A centered call to action, then `pt-footer`.

## Pricing page recipe

`pt-nav--line`, a `pt-hero--plain` with eyebrow, `pt-h1`, lead and `pt-segment`. Three `pt-plan` cards each with a small drawing, the middle one `--featured`. A centered compare table, then a mist section with the heading on the left and a `pt-faq` on the right.

## Article page recipe

`pt-nav--line`, then a centered `pt-article-head` (eyebrow, `pt-h1`, lead, `pt-meta`). A wide `pt-figure` with a drawing and caption, then `pt-prose` in `pt-narrow` with numbered h2s, a list, a blockquote and one `pt-note`. End with a byline row and a `pt-panel` call to action on mist.

## Sign-up page recipe

`pt-nav--line` with a back link. One centered 620px column: `pt-progress`, a step line, a small drawing of the helper, a `pt-chat` bubble that asks the question, `pt-choices` drawing cards, paired fields in `pt-row`, a checkbox, one primary block button and a reassuring small line.

## Don'ts

- Don't add a second accent color, and don't color the drawings beyond one pink detail.
- Don't use black text or bold serif headlines. Headlines stay soft gray and 400.
- Don't use photos where a drawing would do; never mix photos into the hero.
- Don't round buttons into pills or give cards heavy shadows.
- Don't use Caveat for anything longer than a few words.
- Don't use em dashes in copy.
