# Peek Panel

Cheeky, hand-made and honest, like a personal homepage someone drew for you. The page is plain white paper, and almost everything sits inside one big rounded panel outlined in a thick ink line. A doodled mascot peeks over the panel's top edge with its hands on the line, and a small speech tail on that edge points at it, so the whole page reads as the mascot talking. Text is a light, plain grotesque set large and friendly; section heads are wide, heavy, letter-spaced capitals. One tomato-red pen does links (always underlined), checks and the main button, and a marigold fills small doodles. Work is shown as flat ink title cards with wide white capitals and a line drawing, each with a two-tone caption: the name in ink, the description in grey. No shadows, no gradients, no photos.

Use it for: small clinics and local services, kids and family products, indie makers, personal sites, newsletters, community projects, booking pages, anything that should feel like one friendly person is explaining it plainly. Avoid it for: luxury and fashion, dense dashboards, enterprise software, finance tools that must feel formal, or dark and moody brands.

## 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 Peek Panel 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 kids' dental clinic called Tidy Tooth, whose mascot is a tooth in red glasses.

## Fonts

One family, free on Google Fonts, loaded with its width axis:

```html
<link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Body, leads, greeting | Archivo | 300 | Everything you read. Set large: 18px body, 19 to 23px leads, 26 to 36px greeting |
| Emphasis | Archivo | 700 | The first words of the greeting (`<b>`), card names, labels, buttons, prices |
| Wide heads | Archivo at `font-stretch: 125%` | 850 | Page titles, section heads, plan names, title cards, the wordmark. Always uppercase, tracked 0.08em |

The contrast between very light body text and very wide, very heavy capitals is the type signature. Never set body copy bold or wide, and never set a wide head in lower case.

## Color

| Token | Hex | Use |
|---|---|---|
| `--pk-paper` | #FFFFFF | The page and the panel |
| `--pk-paper-2`, `--pk-paper-3` | #F5F4F1, #EBE9E4 | Table heads, inline code, hover, light title cards |
| `--pk-ink` | #252423 | Headlines, the panel line, every border, doodle strokes |
| `--pk-ink-soft` | #464442 | Body copy |
| `--pk-grey` | #95928D | Caption descriptions, dates, hints, footer text |
| `--pk-night` | #1A1918 | The default title card ground |
| `--pk-red` | #E4483A | Links, check marks, the primary button, the mascot's glasses, the selected choice |
| `--pk-red-deep`, `--pk-red-wash` | #BF3427, #FDE9E6 | Hover, red text on wash; the picked plan and focused inputs |
| `--pk-marigold`, `--pk-marigold-wash` | #F4A436, #FFF2DC | Doodle fills, the "most picked" tag, step numbers, one title card |
| `--pk-line` | #DEDBD5 | Dotted dividers and table rules only |

Red is a pen, not a surface: it marks things to click. Use at most one red title card per row. Borders are always ink (quiet cards use `--pk-line`), never red.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `pk-hello` | clamp(26px, 3.4vw, 36px) | Light, centered; open with a bold greeting in `<b>` |
| `pk-h1` | clamp(30px, 4.4vw, 50px) | Wide 850 caps, centered, inner page titles |
| `pk-h2` | clamp(24px, 3.2vw, 38px) | Wide 850 caps, centered, section heads |
| `pk-h3` | 22px | Archivo 700, card and step names |
| `pk-lead` | clamp(19px, 2vw, 23px) | Light, centered under titles |
| Body | 18px | Light 300, line-height 1.6; articles 19px, line-height 1.75 |
| `pk-tile-title` | clamp(18px, 2.6vw, 30px) | Wide caps on title cards; the second line in `<span>` is light |
| `pk-cap` | 17px | Two-tone caption: `<b>` name in ink, the rest grey |
| `pk-small` | 15px | Hints, fine print |

## Shape and space

- The panel: 3px ink line, 30px corners, generous padding (22 to 56px). One panel per page holds all the content; only the nav and the footer sit outside it.
- The mascot (`pk-peek`) sits on the panel's top edge, left side, with its hands resting on the line. The speech tail (`.pk-panel::before`) sits just right of it.
- Cards, plans and the table: 3px ink line, 18px corners. Buttons: 3px ink line, 14px corners. Inputs: 3px, 10px corners. Badges, choices and the toggle are pills with a 2px line.
- Title cards are square-cornered, flat color, 16 by 5. They are the only square shapes.
- No shadows anywhere. Hover on a button tilts it -1.5deg; nothing lifts.
- Doodles use a 4px round-capped ink stroke (2.5px for small details), flat fills, no shading.
- Sections are 64px apart inside the panel (40px on phones). Text columns are 660px max.

## Components (in components.css)

- Stage: `pk-stage` wraps `pk-stage-head` (holds `pk-peek` and `pk-nav`) and the `pk-panel`. `pk-panel--plain` drops the speech tail for a second panel.
- Nav: `pk-nav`, plain light words separated by middle dots; `is-here` gets a red underline. No buttons in the nav.
- Mascot: an inline SVG with `class="pk-peek pk-art"`, viewBox 0 0 200 190, its hands drawn at y 150 so they rest on the panel line. Swap the tooth for your own character; keep the hands and the size.
- Type: `pk-hello`, `pk-lead`, `pk-h1`, `pk-h2`, `pk-h3`, `pk-small`, `pk-grey`, `pk-red`, `pk-under`, `pk-link`.
- Callout: `pk-callout` puts a sentence with red links between two `pk-callout-icon` doodles, with a `<small>` line under it.
- Buttons: `pk-btn`, `--red`, `--sm`, `--block`; group them in `pk-actions`.
- Badges: `pk-badge`, `--red`, `--marigold`; `pk-tag` is the tilted marigold label that sits on a card's top edge.
- Title cards: `pk-tiles` (2 columns, 1 on phones) of `pk-tile`, each a `pk-tile-art` (`--red`, `--paper`, `--marigold`, default night) holding a `pk-tile-title` and an optional right-aligned SVG, then a `pk-cap`.
- Content: `pk-card` (`--quiet` for a grey line), `pk-card-icon`, `pk-steps` + `pk-step` (numbered circles), `pk-quote` + `pk-quote-by` (red curly quotes), `pk-rule` (dotted divider).
- Pricing: `pk-toggle`, `pk-plans`, `pk-plan`, `pk-plan--pick`, `pk-plan-name`, `pk-price`, `pk-checks`, `pk-table-wrap`, `pk-table`, `pk-yes`, `pk-no`, `pk-faq`.
- Article: `pk-article-head`, `pk-tags`, `pk-byline`, `pk-avatar`, `pk-figure`, `pk-prose` (wide caps h2, red dot bullets, red-ruled blockquote).
- Forms: `pk-form`, `pk-field`, `pk-label`, `pk-hint`, `pk-input`, `pk-select`, `pk-textarea` (focus turns the line red and the fill red-wash), `pk-choices` + `pk-choice` (radio pills), `pk-check`.
- Footer: `pk-footer` with `pk-wordmark` and `pk-footer-links`.
- Doodles: put `pk-art` on an inline SVG; fills `w`, `k`, `r`, `m`, `g`, `rw`; strokes `o` (4px ink), `o2` (2.5px ink), `ow` (white, for night cards), `or` (red). Draw a filled shape, then the same path again with `o` on top.

## Pages in this kit

- `demo.html`: mascot and nav, then the panel: greeting, lead, a callout between a calendar and a toothbrush, four title cards ("Things we do"), three numbered steps, two quote cards, a dotted rule and a closing greeting with two buttons; footer.
- `pricing.html`: wide "Prices" title, an honest lead, the billing toggle (a small inline script swaps prices), three plans with the middle one red-wash and tagged, a fine-print line with a red link, a comparison table, FAQ.
- `blog.html`: tags, wide title, lead, byline with a drawn avatar, a night title card as the figure, prose with red bullets and a red-ruled quote, a dotted rule and two related title cards.
- `signup.html`: wide title and lead, then a form (inputs, choice pills, select, textarea, checkbox, red button) beside a card with an envelope doodle, a quiet checklist card and a quote.

## Page recipe

1. Start every page with the stage head: mascot on the left, the plain dotted nav on the right.
2. Open the panel with a greeting (`pk-hello`): one bold phrase, then a light sentence. On inner pages, use a wide `pk-h1` instead.
3. Follow with one centered `pk-lead`, then one red-link callout or a pair of buttons. Not both.
4. Show things as title cards with two-tone captions, in pairs.
5. Give each section a wide centered `pk-h2`. Keep the panel white; color only lives in title cards, the picked plan and doodles.
6. Close inside the panel with a dotted rule and a second greeting plus one red button. The footer sits outside, small and grey.

Pricing: wide title, honest lead about totals, toggle, three plans with the picked one in the middle (first on phones), fine print with a kind exception, table, FAQ in `pk-text`.

Article: badges, wide title, lead, byline, one title card as the figure, `pk-prose`, dotted rule, two related title cards.

Sign up: wide title and a lead that removes the fear, then the form on the left and two cards plus a quote on the right. Use choice pills for four or fewer options.

## Don'ts

- Don't add shadows, glows or gradients. The ink line does all the work.
- Don't put the nav or footer inside the panel, and don't use more than one panel with a speech tail per page.
- Don't make body text bold, wide or uppercase. Light and plain is the point.
- Don't use red as a big surface except for one title card or the main button.
- Don't use photos or detailed illustrations. Flat doodles with a round 4px line.
- Don't center-align body paragraphs in long articles; only greetings, leads and titles are centered.
- Don't drop the mascot. If you can't draw one, use a simple face on a basic shape, but keep it peeking over the panel.
