# Rainbow Desk

A playful pastel style for clubs, makers and small creative communities. The page is a warm near-white, and everything sits on flat white tiles with square corners and no shadows. Headlines are heavy, tightly tracked grotesk. The signature move is a soft half-rainbow of pastel arcs behind outlined sticker art: chunky line drawings with a 2px ink outline and flat pastel fills, a few of them floating loose and slightly tilted. Art tiles above cards use a pink-to-periwinkle gradient, a faint blue grid, flat sun or mint, or one dark teal for contrast. It feels like a cheerful community noticeboard, handmade but tidy.

Use it for: hobby clubs, classes and workshops, zines and newsletters, creative tools, community memberships, kids-and-family products with a grown-up eye, indie publishing. Avoid it for: finance, legal, healthcare, enterprise software, luxury goods, anything that has to look sober or expensive.

## 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 Rainbow Desk 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 for one made-up product, Fold Club, an online zine-making club.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Bricolage Grotesque 800 (700 for h3 and quotes) | Hero, section headings, tile titles, prices, big numbers. Tracking -0.035em, line-height about 1.02. |
| Body | Figtree 400 to 700 | Paragraphs, nav, buttons, forms. Nav links and buttons are 600 to 700. |
| Labels | DM Mono 500 | Dates on tiles ("Monday, December 1"), small uppercase labels, inline code. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--rd-paper` | #FAF9F7 | Page background |
| `--rd-white` | #FFFFFF | Every tile, card, plan, form panel and the footer |
| `--rd-line` | #E7E4EC | Hairline borders and table rules |
| `--rd-grid` | #D9E3F2 | The faint blue grid on pattern tiles and diagram guides |
| `--rd-ink` | #19171F | Text, and the 2px outline on stickers, buttons and badges |
| `--rd-soft` | #5F5B6C | Leads, meta, tile summaries |
| `--rd-blue` | #6B76F4 | Primary button, links, checked boxes |
| `--rd-pink` | #F2639F | Hot accent: active nav underline, list bullets, errors, one pink button |
| `--rd-sun` | #FFE58C | Highlighter behind one headline phrase, sticker badges, secondary buttons |
| `--rd-mint` | #A8ECD9 | Step numbers, checked chips, tile art |
| `--rd-lilac` | #E8C6F8 | Avatars, tags, FAQ toggles |
| `--rd-blush` | #FFD9E8 | Tags, plan tops, error glow |
| `--rd-sky` | #D3F4FB | Table header, inline code, small tags |
| `--rd-teal` | #0F6E66 | The one dark art color, for a contrast tile in a row of pastels |

Gradients (both in tokens): `--rd-art` runs pink to lilac to periwinkle and fills art tiles and the call-to-action band. `--rd-rainbow` is the half-rainbow: concentric pastel arcs rising from the bottom centre.

Rules:
- Paper is the page; content always sits on white tiles. Never put body text straight onto a pastel.
- One rainbow per screen: the hero stage, a pricing header, an article cover, or a quote.
- In a row of art tiles, mix fills (gradient, grid, teal). Never three of the same.
- Pastels are fills, not text colors. Text stays ink or soft.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--rd-text-hero` | clamp(44px, 6.6vw, 84px) | Hero and page titles, left aligned in the hero card |
| `--rd-text-h2` | clamp(32px, 4vw, 50px) | Section headings |
| `--rd-text-h3` | 24px | Step and gift headings |
| `--rd-text-tile` | 22px | Tile titles |
| `--rd-text-lead` | 19px | The line under a headline |
| `--rd-text-body` | 16px | Body; article prose is 18px |
| `--rd-text-label` | 13px | Mono dates and labels |

Headlines are short, friendly and concrete ("Make a tiny zine every month"). Sentence case. Highlight at most one phrase per page with `.rd-mark`.

## Shape and space

- Tiles and cards: 2px radius, no border, no shadow. Separation comes from white on paper and 20px gaps.
- Buttons and inputs: 10px radius. Buttons carry a 2px ink outline; inputs a 1px hairline that turns ink on focus with a lilac ring.
- Tags: full pills, no outline.
- Stickers, badges, step numbers, avatars and FAQ toggles: 2px ink outline, flat pastel fill.
- No drop shadows anywhere. No blur.
- Sections: 72px vertical padding. Container 1040px, prose 680px.
- Motion: stickers bob gently (6s), buttons lift and tilt 1 degree on hover with a slight overshoot, art inside a hovered tile rotates a little. All of it switches off for reduced motion.

## Sticker art

Draw every illustration as inline SVG: simple geometric objects (pages, envelopes, stars, hearts, scissors, pencils, windows), `stroke="#19171F"`, `stroke-width` 2.5 to 3, `stroke-linejoin="round"`, flat fills from the palette. No gradients, no shading, no outlines thicker than 3. Loose stickers on a stage are 54px, use `.rd-sticker` and a `--rd-tilt` angle between -14deg and 14deg.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.rd-masthead`, `__row` | Logo left, two links and a sun button right |
| `.rd-logo`, `__mark`, `__word` | Outlined folded-sheet mark and a two-weight wordmark |
| `.rd-topics` | A row of bold section links under the masthead; the current one gets a pink underline. Scrolls sideways on phones |
| `.rd-hero-title`, `.rd-h2`, `.rd-h3`, `.rd-lead` | Heavy grotesk headings and the soft lead |
| `.rd-date`, `.rd-label` | Mono date line; mono uppercase label |
| `.rd-mark` | Sun highlighter behind one phrase |
| `.rd-btn`, `--primary/pink/sun/mint`, `--sm`, `--block`, `--social`, `.rd-btn__letter` | Outlined buttons; social buttons use a letter tile, never brand logos |
| `.rd-tag`, `--mint/sun/blush/sky/ink` | Pastel pill tags |
| `.rd-sticker-badge` | Tilted sun badge with an ink outline ("Most folded") |
| `.rd-stage`, `__art` | The rainbow panel that holds the hero art, pinned to the bottom |
| `.rd-sticker`, `--b`, `--c` | Floating outlined stickers on a stage |
| `.rd-tile`, `__body`, `__title`, `__text`, `--lead` | The white post or feature tile |
| `.rd-art`, `--grad/grid/teal/sun/mint/rainbow` | The 16:9 art block on top of a tile |
| `.rd-grid`, `--2`, `--3` | Tile grids that drop to one column on phones |
| `.rd-section`, `--white`, `--rainbow`, `.rd-section-head` | Section wrappers and a heading row with a link on the right |
| `.rd-steps`, `.rd-step` | Three numbered steps with outlined pastel number circles |
| `.rd-quote`, `.rd-byline`, `.rd-avatar` | Big grotesk quote on white with an outlined initial avatar |
| `.rd-stats`, `.rd-stat` | Big numbers under a 2px ink rule |
| `.rd-band`, `__form` | Gradient call-to-action band with an inline email form |
| `.rd-toggle` | Outlined segmented toggle; the active option is sun |
| `.rd-plans`, `.rd-plan`, `__top/__body/__name/__desc/__price/__list`, `--featured` | Plan cards with a colored art strip on top; the featured one gets an ink outline and a sticker badge |
| `.rd-table-wrap`, `.rd-table`, `__yes`, `__no` | Comparison table with a sky header |
| `.rd-faq` | `<details>` list with an outlined plus that turns into a cross |
| `.rd-article-head`, `.rd-meta` | Article header and dot-separated meta |
| `.rd-prose` | Article text: grotesk h2 and h3, pink diamond bullets, rainbow pull quote, sky inline code |
| `.rd-callout`, `__icon` | Outlined note box with a sticker icon |
| `.rd-author-card` | Author box closing an article |
| `.rd-form`, `.rd-field`, `.rd-label-text`, `.rd-input`, `.rd-select` | Stacked form fields |
| `.rd-input-wrap`, `.rd-input-toggle` | Password field with a show or hide button inside |
| `.rd-help`, `.rd-error`, `.rd-field--error` | Helper text and the pink error state |
| `.rd-choices`, `.rd-choice` | Pill checkboxes that turn mint with an ink edge |
| `.rd-check` | Outlined checkbox that fills blue |
| `.rd-divider-text` | "or with email" divider |
| `.rd-footer`, `__cols`, `__bottom` | White footer with mono column headings |
| `.rd-pop` | Entrance animation with a small overshoot |

## Pages in this kit

- `demo.html`: landing page with masthead, topic links, a rainbow hero stage over a white title card, a row of three art tiles, steps, a quote next to a feature tile, and a gradient email band.
- `pricing.html`: rainbow pricing header with a monthly or yearly toggle, three plan cards, a comparison table, a gift strip and an FAQ.
- `blog.html`: a how-to article with a rainbow cover, white header tile, prose with a callout and an SVG diagram, an author card and related tiles.
- `signup.html`: split sign-up, the form on white and a rainbow panel with sticker art and a member quote.

## Page recipe

1. Masthead on paper: logo, two links, a small sun button. Under it, a row of topic links.
2. Hero: a rainbow stage with one big sticker scene pinned to the bottom and two to four loose stickers, then a white title card directly under it holding the date line, the hero title with one highlighted phrase, the lead and two buttons (blue primary, plain outlined secondary).
3. A section heading row and three art tiles with mixed fills.
4. A white section with three numbered steps on paper tiles.
5. A quote tile beside one feature tile.
6. The gradient band with a tilted sun badge and an email form.
7. White footer.

### Pricing recipe

Rainbow header tile with the title centred and the toggle under the lead. Three plans: free on mint, featured on the gradient with a sticker badge and ink outline, top plan on blush. Then the table, a gift strip, and the FAQ.

### Article recipe

Rainbow cover stage, then a white header tile (tags, mono date, title, meta) touching it. Prose sits in its own white tile at 680px. Use one callout, one figure and one rainbow pull quote. Close with an author card and three related tiles.

### Sign-up recipe

Two columns: the form on white (social buttons with letter tiles, divider, fields, chip choices, a consent checkbox, a full-width blue button) and a rainbow panel with a sticker badge, an illustration and a quote. One column on phones.

## Don'ts

- No drop shadows, glows, glass or blur.
- No rounded cards: tiles stay nearly square. Roundness belongs to buttons, tags and stickers.
- No photos inside art tiles; draw objects with outlined SVG.
- Don't outline tiles. The ink outline is for small things: stickers, buttons, badges, toggles.
- Don't set text in pastel colors or put long text on the rainbow.
- Don't use more than one gradient band per page.
- No em dashes in copy.
