# Ink Squiggle

A blank white page that someone has been doodling on during a meeting. A heavy, tightly tracked black headline sits dead center with one word underlined by a wobbly magenta zigzag. Loose ballpoint line drawings (speech bubbles, a smiling face, little boats, stars) float in the margins, all stroke and no fill. Under the hero, a plain product window shows the real thing. There is exactly one blue button per screen, and short handwritten notes with curly arrows point at what matters. It feels minimal and a little cheeky, like a tool made by people who still keep a pen behind their ear.

Use it for: simple tools and consumer apps, booking and matching services, community products, clubs and hobby platforms, form or survey builders, anything that wants to say "this is easy" with a smile. Avoid it for: luxury, finance or legal pages that need gravitas, dark or moody brands, image-heavy shops, anything where hand-drawn marks would read as unserious.

## 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 Squiggle 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 product called Crewline (skippers post sailing trips, nearby sailors ask for a seat).

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Inter Tight 800 | Hero, section headings, plan names, prices, quotes (700). Tracking -0.035em, line height about 1. |
| Body | Inter 400 to 600 | Paragraphs, nav, buttons, forms, small print. |
| Margin notes | Gochi Hand 400 | Only for short handwritten notes next to an arrow, and words inside drawings. Never for paragraphs or buttons. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--iq-paper` | #FFFFFF | Every page background, cards, the product window |
| `--iq-mist` | #F6F6F7 | Quiet sections, table heads, the sign-up art panel |
| `--iq-line` | #E6E6EA | Borders and dividers |
| `--iq-line-strong` | #D2D2D8 | Input and ghost button borders, grey margin ticks |
| `--iq-ink` | #121214 | Headlines, body, every doodle stroke |
| `--iq-graphite` | #38383E | Leads, prose, handwritten notes |
| `--iq-muted` | #6B6B74 | Nav links, meta, small print |
| `--iq-faint` | #A9A9B2 | Placeholders, "No" cells, text wordmarks |
| `--iq-blue` | #0A66D8 | The one action color: primary buttons and links |
| `--iq-blue-deep` | #0850AE | Hover, callout emphasis |
| `--iq-blue-wash` | #EAF2FD | Callouts, blue badges |
| `--iq-magenta` | #EE22C4 | The squiggle, note arrows, one highlighted stroke per drawing, a few margin ticks |
| `--iq-magenta-wash` | #FDE9F8 | Magenta badge |
| `--iq-sun` | #FFE15C | The only fill: a sun, an avatar, one badge |
| `--iq-red` | #D9312B | Form errors only |
| `--iq-green` | #1F9D55 | "Yes" cells in comparison tables |

Rules:
- The page is white. Mist is the only other section background.
- Blue is only for actions and links. Magenta is only for marks (squiggle, arrows, ticks, highlight strokes), never for text or buttons.
- Doodles are ink strokes with round caps and joins at about 2.2px. No fills except one sun-yellow shape per screen.
- Inline SVG strokes inherit `currentColor` from `.iq-doodle`; add `class="iq-hl"` to the one stroke you want magenta.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--iq-text-hero` | clamp(42px, 6.4vw, 84px) | Centered hero headline, two lines, one squiggled word |
| `--iq-text-h2` | clamp(32px, 4vw, 52px) | Section headings, a short sentence with a period |
| `--iq-text-h3` | clamp(19px, 1.6vw, 22px) | Feature and card titles |
| `--iq-text-lead` | clamp(18px, 1.5vw, 21px) | Graphite lead under headlines, max about 560px |
| `--iq-text-prose` | 18px | Article body, line height 1.7 |
| `--iq-text-body` | 16px | Everything else |
| `--iq-text-hand` | 22px | Handwritten margin notes |

Copy is plain and short. Headlines make a simple claim ("The easiest way to find a crew"). One small joke per page, usually in a margin note or the footer.

## Shape and space

- Radius: 8px on buttons and inputs, 12px on cards, plans, tables, covers and the product window, pills only on badges.
- Borders: 1px `--iq-line`. The featured plan gets a 2px ink border. Inputs turn blue with a soft ring on focus.
- Shadows: almost none. `--iq-shadow-window` under the product window, `--iq-shadow` on the featured plan and hovered post cards.
- Tilt: doodles sit at -6deg or +5deg, handwritten notes at about -4deg. Nothing else tilts.
- Space: generous. Sections are 112px apart, the hero has 112px above the headline, articles are 640px wide.

## Components (in components.css)

- `.iq-nav`, `.iq-logo` (lowercase wordmark plus a raised asterisk `.iq-logo__star`), `.iq-nav__links` (`.iq-nav__hide` drops on phones).
- `.iq-btn` with `--primary`, `--ghost`, `--quiet`, `--social`, `--sm`, `--lg`, `--block`, and `.iq-btn__arrow` that nudges right on hover. `.iq-letter` for social sign-in tiles.
- `.iq-hero` (`--short`), `.iq-hero__inner`, `__title`, `__lead`, `__cta`.
- `.iq-squiggle` (`--blue`): wrap one word to draw the zigzag under it.
- `.iq-doodles`, `.iq-doodle` (`--tilt`, `--tilt-alt`, `--side` hides below 900px), `.iq-tick` (`--magenta`) for the short margin dashes.
- `.iq-note`: a handwritten line with an inline SVG arrow.
- `.iq-window` with `__bar`, `__dot`, `__tools`, `__crumbs` and `__body`: the plain product frame.
- `.iq-badge` (`--blue`, `--magenta`, `--sun`), `.iq-logos`.
- `.iq-features`, `.iq-feature`, `.iq-feature__art`; `.iq-cards`, `.iq-card`.
- `.iq-quote` with `__text` and `__who`; `.iq-avatar` (`--sun`, `--lg`) holding a drawn face.
- `.iq-toggle`, `.iq-plans`, `.iq-plan` (`--featured`, `__note`, `__name`, `__price`, `__list`), `.iq-table-wrap`, `.iq-table`, `.iq-yes`, `.iq-no`, `.iq-faq`.
- `.iq-meta`, `.iq-author` (`--card`), `.iq-cover`, `.iq-prose`, `.iq-callout`, `.iq-figure`, `.iq-bars` with `.iq-bar` and `.iq-bar__fill` (`--hl`) for hatched bar charts, `.iq-posts`, `.iq-post`.
- `.iq-form`, `.iq-field` (`--error`), `.iq-label`, `.iq-input`, `.iq-select`, `.iq-input-wrap`, `.iq-help`, `.iq-error`, `.iq-check`, `.iq-choices` with `.iq-choice`, `.iq-divider-text`.
- `.iq-footer` with `__grid`, `__brand` and `__base`.

## Pages in this kit

| Page | File |
|---|---|
| Landing | `demo.html` |
| Pricing | `pricing.html` |
| Blog post | `blog.html` |
| Sign up | `signup.html` |

## Page recipe

1. `.iq-nav`: logo left; Stories, Pricing, Log in and a small primary button right.
2. `.iq-hero`: two or three doodles down each side (`--side`), four `.iq-tick` dashes (two magenta). A two-line headline with one `.iq-squiggle` word, a three-line lead, one large primary button with an arrow and a small line under it.
3. An `.iq-window` with a real slice of the product, and an `.iq-note` above its corner pointing in.
4. A row of text wordmarks in `.iq-logos`.
5. A centered h2 and lead, then `.iq-features` with three small line drawings, one stroke magenta in each.
6. A mist section: steps on the left, one large doodle on the right with the single sun fill and a handwritten label.
7. A centered `.iq-quote` with a drawn quote mark doodle and a sun avatar.
8. A mist call to action: h2 with a squiggled word, a lead, a primary and a ghost button.
9. `.iq-footer`.

## Pricing page recipe

1. Nav, then `.iq-hero--short` with one doodle each side, a squiggled headline, a lead, a `.iq-toggle` and a sun badge with the yearly saving. Keep prices in `data-monthly` and `data-yearly` and swap them in a few lines of JS.
2. `.iq-plans`: three plans. The middle one is `--featured`, has an `.iq-plan__note` handwritten above it and the only primary button.
3. A `.iq-small` line, then a centered h2 and the comparison `.iq-table`.
4. A mist section: h2, lead and a handwritten note on the left, `.iq-faq` on the right with the first item open.
5. Footer.

## Article page recipe

1. Nav, then a 640px header: `.iq-eyebrow` breadcrumb, a title with one squiggled word, a lead and `.iq-author` with `.iq-meta`.
2. A wide `.iq-cover` line drawing with handwritten labels, one magenta stroke and one sun fill.
3. `.iq-prose`: h2 sections, a blockquote (magenta rule), a list, one h3, an `.iq-callout`, an `.iq-figure` with hatched `.iq-bars` (the winning bar `--hl`).
4. `.iq-author--card`, then a mist section with three `.iq-post` cards, each with a small doodle, then the footer.

## Sign-up page recipe

1. Two columns, full height. Left on white: logo, a magenta badge, a squiggled h1, a lead.
2. `.iq-form`: name, email, password in `.iq-input-wrap` with a show toggle, `.iq-choices` for the role, a select, a `.iq-check` and a large block primary button.
3. `.iq-divider-text`, two `.iq-btn--social` buttons with letter tiles (no brand logos), then a log in line.
4. Errors use `.iq-field--error` with a friendly `.iq-error`; hints use `.iq-help`.
5. Right column on mist: margin ticks, one large doodle with a handwritten "that's you" note, then a short `.iq-quote`. Hide it below 900px.

## Don'ts

- Don't squiggle more than one word per headline, or more than one headline per screen.
- Don't fill doodles, shade them or add detailed faces. Lines, round caps, two dots and a curve for a face.
- Don't use magenta or sun yellow for buttons, links or text.
- Don't use the handwriting font for anything longer than six words.
- Don't add gradients, heavy shadows or colored section backgrounds.
- Don't put more than one primary button in a single view.
- Don't use em dashes in copy.
