# Swipe Mark

Light, creative and a little cheeky, like a homemade website its owner is still fiddling with. The page is warm paper with a slim sidebar on the left: a black capsule for log in, a few small uppercase links and a sage sticky note at the bottom. In the middle sits a big serif wordmark on two rough highlighter swipes, butter yellow over blush pink, with a cursor arrow parked on it as if someone just clicked. Headlines are a plain, friendly sans in mixed case. Buttons are wide flat blocks in electric violet and mint with uppercase labels and an arrow. Soft gray clay objects (balls, rings, tubes, springs, cubes and arches) float in the margins, and a little mint chip sits in the corner, ready to be pressed.

Use it for: creative tools and site builders, studios and workshops, maker spaces, hobby clubs, class booking, small creative businesses, playful launches and anything that wants to feel hands-on and unpolished in a good way. Avoid it for: banks, healthcare, legal or enterprise software, dense dashboards, luxury brands, or anything that needs to feel serious, dark or very 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 Swipe Mark 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 drop-in pottery studio called Kiln Day.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Instrument+Sans:wght@400;500;600&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Wordmark and numbers | DM Serif Display | 400 | The swiped wordmark, plan names, prices, stats, pull quotes, avatars. Lowercase for the wordmark |
| Headlines, body and UI | Instrument Sans | 400 to 600 | Headlines at 500 in mixed case, body at 400, nav and form labels at 600 uppercase |
| Labels | DM Mono | 400 to 500 | Eyebrows, chips, badges, table heads, meta rows. Always uppercase and tracked |

Headlines are near black and never uppercase. Buttons are uppercase Instrument Sans at 500.

## Color

| Token | Hex | Use |
|---|---|---|
| `--sw-paper` | #FAF8F3 | The page |
| `--sw-paper-deep` | #F2EFE7 | Sidebar, deep sections, card stages, the sign-up art panel |
| `--sw-white` | #FFFFFF | Cards, plans, quotes, inputs, the table |
| `--sw-line`, `--sw-line-strong` | #E3DFD5, #C9C4B8 | Hairlines, dashed stage borders, input borders |
| `--sw-ink` | #17151C | Headlines, the capsule, the CTA band, the featured plan border |
| `--sw-ink-soft` | #3B3842 | Body text, dotted connectors |
| `--sw-muted`, `--sw-faint` | #7A7680, #AAA6AD | Leads and card text; placeholders and "No" cells |
| `--sw-violet`, `--sw-violet-deep` | #6B1FE3, #5310C4 | The main block button, links, selection boxes, numbers |
| `--sw-mint`, `--sw-mint-deep` | #74DD9B, #4FC77D | The second block button, chips, check marks, cursor glints |
| `--sw-butter`, `--sw-blush` | #F4D777, #EDA6AA | Highlighter swipes only, plus butter for selected choices and one badge |
| `--sw-sage` | #C3D3CC | Sticky notes and callouts |
| `--sw-clay-hi`, `--sw-clay`, `--sw-clay-lo` | #FBFAF8, #DCD9D4, #A9A59F | The three shades of every clay object |

Violet and mint are flat block colors for things you press. Butter and blush only ever appear as swipes. Everything else is paper, white and ink.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `sw-mark` | clamp(64px, 11vw, 132px) | DM Serif Display, lowercase, line-height .95, always inside `sw-swipe` |
| `sw-hero-title` | clamp(36px, 4.6vw, 56px) | Instrument Sans 500, tracking -0.02em, centered, two lines |
| `sw-h1` | clamp(36px, 4.4vw, 54px) | Inner-page titles |
| `sw-h2` | clamp(30px, 3.4vw, 42px) | Section titles |
| `sw-h3` | 22px | Card titles |
| `sw-lead` | clamp(19px, 2vw, 24px) | Muted, line-height 1.45, max 560px |
| Body | 17px | Instrument Sans 400, line-height 1.6; articles use 19px |
| `sw-label` | 12px | DM Mono 500 uppercase, tracking 0.08em, with a short dotted rule in front |
| Buttons | 17px | Instrument Sans 500 uppercase, tracking 0.04em, with an arrow |

## Shape and space

- Buttons, inputs and chips are nearly square (`--sw-radius-xs`, 3px). Block buttons are 56px tall and usually full width in a stack of two.
- Cards, plans, quotes, the cover and the CTA band have 14px corners (`--sw-radius-lg`) and a hairline border. No shadows on cards.
- The capsule, toggle and badges are full pills.
- Dotted rules (`--sw-dots`) do the dividing: under labels, between stats, in FAQ lists, around the author box and as a vertical connector under the hero.
- Generous space. The hero and section intros are centered, sections run 64 to 112px of padding.

## The signature moves

- **The swipe** `sw-swipe`: two rough painted strokes behind a word, butter on top and blush underneath, each slightly tilted. Use it once per heading on one or two words, and always on the wordmark. `--butter` and `--blush` give a single stroke for smaller words.
- **Clay objects** `sw-clay` with `--ball`, `--ring`, `--tube`, `--spring`, `--cube` and `--arch`. Size them with `--s` (and `--w` for tubes and springs) and place them absolutely in the hero margins, card stages, the cover and the sign-up panel. Tilt them a little. They are drawn with CSS gradients, so they need no images.
- **The cursor** `sw-cursor`: an inline SVG arrow with three mint glint lines, parked on the wordmark or in a stage as if someone is editing.
- **Selection box** `sw-select`: a dashed violet box with two square handles around one clay object, often with a mint `sw-chip` label beside it.
- **Edit chip** `sw-chip--float`: one small mint chip fixed in the bottom right corner.

## Components (in components.css)

- **Shell** `sw-shell` with `sw-side` (sticky sidebar: `sw-capsule`, `sw-sidenav` with small icons, and `sw-side__foot` holding a `sw-note`) and `sw-main`. Under 860px the sidebar becomes a top bar with icon-only links.
- **Hero** `sw-hero` with `sw-hero__inner`, `sw-hero__mark` (wordmark plus cursor), title, lead, `sw-stack` of two block buttons and `sw-hero__note`. `sw-hero--plain` is the inner-page header. Hero clay hides under 520px.
- **Buttons** `sw-btn` (violet) with `--mint`, `--ink`, `--ghost`, `--sm` and `--block`. Put the arrow in `sw-btn__arrow`.
- **Chips and badges** `sw-chip` (mint, square), `sw-badge` (violet tint pill) with `--mint`, `--butter` and `--ink`.
- **Cards** `sw-card` in `sw-grid` or `sw-grid--2`, with an optional `sw-card__stage` (dashed paper box for clay objects) and `sw-num`.
- **Stats** `sw-stats` of `sw-stat`, divided by dotted rules. **Quotes** `sw-quote` with `sw-who` and `sw-avatar` (`--blush`, `--mint`, `--sage`).
- **Note** `sw-note`: the sage sticky note. **Callout** `sw-callout`: the same look inside articles.
- **CTA band** `sw-band`: the one ink block, with a swiped word and a mint button.
- **Pricing** `sw-toggle`, `sw-plans`, `sw-plan`, `sw-plan--featured` (2px ink border and a butter tag), `sw-plan__name`, `sw-plan__price`, `sw-checks`, `sw-table` in `sw-table-wrap`, and `sw-faq`.
- **Article** `sw-article-head`, `sw-meta`, `sw-cover`, `sw-prose` (with a butter-ruled serif `blockquote`), `sw-callout` and `sw-author`.
- **Forms** `sw-form`, `sw-field`, `sw-label-text`, `sw-input`, `sw-hint`, `sw-fieldset`, `sw-choices` with `sw-choice` (selected turns butter), `sw-check`, `sw-divider`, and `sw-split` with `sw-split__form` and `sw-split__art`.
- **Footer** `sw-footer` with a dotted top rule, a serif wordmark and three link columns.

## Pages in this kit

- `demo.html`: landing page with the swiped wordmark, cursor and floating clay, a two-button stack, three step cards with clay stages, a stats row with quotes, and the ink CTA band.
- `pricing.html`: plain hero with a swiped phrase and a billing toggle, three plans with the middle one featured, a comparison table and an FAQ beside its heading.
- `blog.html`: centered article header with a swiped phrase, a clay cover with a selection box, prose with a list, pull quote and callout, the author and related posts.
- `signup.html`: split page with a short form on the left and the wordmark, a clay ring and a sticky note on the right.

## Page recipe

1. `body.sw`, then `sw-shell` with the sidebar and `sw-main`.
2. A hero: the lowercase wordmark in a swipe with the cursor on it, a two-line sans headline, one muted lead, a stack of a violet and a mint block button, and a small note. Four to six clay objects in the margins.
3. A short dotted connector, then a centered intro (`sw-label`, `sw-h2` with one swiped word, `sw-lead`) and three cards with clay stages.
4. One deep paper section with stats and quotes.
5. The ink `sw-band` CTA, then the footer. Add the floating mint chip.

**Pricing:** plain hero with a swiped phrase and a toggle, three plans with the middle one featured, a table, then the FAQ on deep paper.

**Article:** a mint badge, an `sw-h1` with one swiped phrase, a mono meta row, a clay `sw-cover`, prose in `sw-narrow` at 19px with one blockquote and one callout, then the author box.

**Sign up:** `sw-split` with the form first. Two fields, one choice group, one checkbox, a violet submit and a mint secondary block. The art side is the wordmark over a clay ring with a sticky note.

## Don'ts

- Don't fill sections or big cards with violet or mint. They are for buttons, chips and small marks.
- Don't use butter or blush for anything but swipes (and the selected choice). Never swipe more than one phrase per heading.
- Don't round the block buttons into pills or give them shadows.
- Don't color the clay objects or add photos. Clay is always the three grays.
- Don't uppercase headlines or set them in the serif. The serif is for the wordmark, names, prices and quotes.
- Don't let clay objects sit behind body text or forms.
- No em dashes in copy.
