# Sparkle Shelf

A cheerful, warm shop-front style. Bright white pages, one soft gray "shelf" band where the goods sit, chunky rounded headlines in charcoal and a single coral accent. The signature is a row of candy-colored pill chips (marigold, bubblegum, lilac, teal) under a big pill search, with little four-point sparkles used as separators, bullets and button icons. Uppercase section heads trail off into a thin rule, and every card wears its own header band above a flat, pastel illustration tile. It feels friendly, generous and a bit playful, like a well-run indie shop that knows its regulars.

Use it for: online shops, marketplaces, rentals and sharing services, memberships, local services, community projects and any consumer product with a catalog. Avoid it for: serious B2B, finance, health records, luxury, or anything that should feel quiet and austere.

## 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 Sparkle Shelf 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 invented product, Toolhouse, a neighborhood tool library.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@700;800;900&family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Outfit 800 to 900 | Hero, section heads, card bands, plan names, big numbers. Always heavy, tight tracking. |
| Body | Figtree 400 to 700 | Paragraphs, nav, buttons, chips, forms. |
| Italic | Figtree Italic 400 and 600 | The one-line subline under each section head, promos, quotes. Italic is a voice, use it for asides. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ss-paper` | #FFFFFF | Main background, cards |
| `--ss-shelf` | #F3F2F0 | The gray shelf band behind product grids, table headers, footer |
| `--ss-line` | #E2DFDA | Every border and hairline |
| `--ss-ink` | #2E2D33 | Headlines and body text (charcoal, never pure black) |
| `--ss-soft` | #69676E | Leads, sublines, meta |
| `--ss-coral` | #EC5B46 | The accent: logo ring, primary button, search button, sparkles, one band per page |
| `--ss-marigold` | #F2A818 | Candy chip (takes ink text) |
| `--ss-bubble` | #EE5C9C | Candy chip |
| `--ss-lilac` | #9686F0 | Candy chip, second step number |
| `--ss-teal` | #12A596 | Candy chip, "in stock" tags, third step number |
| `--ss-*-soft` | pastel tints | Illustration tiles behind drawn objects, soft tags |

Rules:
- White is the default. One shelf-gray band holds the main grid; alternate white and shelf after that.
- Coral is the only accent in page chrome. The four candy colors appear together as a chip row, as illustration tiles, or as plan stripes, never as backgrounds for whole sections.
- One full coral band per page, at most, usually the closing call to action.
- No gradients.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ss-text-hero` | clamp(38px, 5.6vw, 66px) | Hero headline, centered, two lines, ends with a period or question mark |
| `--ss-text-h2` | clamp(28px, 3.6vw, 42px) | Centered headings in bands |
| `--ss-text-head` | clamp(19px, 2vw, 23px) | Uppercase section head with trailing rule (`.ss-head`) |
| `--ss-text-h3` | 22px | Step and sub titles |
| `--ss-text-lead` | 19px | Soft lead under a headline |
| `--ss-text-body` | 16px | Body; articles use 18px |

Headlines talk like a shopkeeper: "Welcome to Toolhouse. What are you fixing this weekend?" Section heads are short nouns in caps ("ON THE SHELF THIS WEEK") followed by one italic sentence.

## Shape and space

- Borders: 1px `--ss-line`. Cards always have one.
- Radius: pills on buttons, chips, search, toggles and tags. 8px on cards and plans. 12px on inputs. Circles for the logo, avatars and step numbers.
- Shadows: almost none. A 1px hairline shadow on cards and a soft lift on hover. No hard offsets.
- Sections: 56px to 96px vertical padding. Container 1280px, text 720px.
- Motion: chips and cards lift 2 to 3px on hover; the hero pops in with a small scale. Respects reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ss-spark`, `--lg/--xl/--coral` | Four-point sparkle, drawn with clip-path. Separator, bullet and icon |
| `.ss-sparks` | Big and small sparkle pair, the icon inside chips and buttons |
| `.ss-nav`, `__side`, `__icon`, `__link` | Three-part header: icons left, logo center, account and basket right |
| `.ss-logo`, `.ss-wordmark` | Round coral-outlined logo that hangs over the header line; heavy text wordmark |
| `.ss-subnav`, `__links`, `.ss-promo` | Second row: links separated by sparkles, italic promo with a spaced code on the right |
| `.ss-hero`, `.ss-hero-title`, `.ss-lead` | Centered hero |
| `.ss-search`, `__go` | Big pill search with a round coral sparkle button |
| `.ss-chips`, `.ss-chip--marigold/bubble/lilac/teal/coral` | The candy chip row |
| `.ss-tag`, `--coral/teal/marigold/lilac`, `.ss-dot` | Small soft status tags |
| `.ss-btn--primary/ink/line/social`, `--sm/--block` | Pill buttons |
| `.ss-head`, `.ss-italic` | Uppercase heavy head with a trailing rule, plus italic subline |
| `.ss-section--shelf/coral` | Section surfaces |
| `.ss-grid`, `--3/--2` | Shelf grid of cards |
| `.ss-card`, `__band/__art/__body/__meta/__text`, `__art--{color}` | Item card: header band, pastel illustration tile, price row |
| `.f-*`, `.s-ink` | Fill classes for inline SVG drawings |
| `.ss-price` | Heavy price with a small unit |
| `.ss-steps`, `.ss-step` | Numbered steps in coral, lilac and teal circles |
| `.ss-quote`, `.ss-stats`, `.ss-stat__num/__label` | Italic quote and big heavy numbers |
| `.ss-toggle` | Pill toggle for monthly or yearly |
| `.ss-plans`, `.ss-plan`, `--lilac/--coral/--featured`, `__band/__name/__desc/__body/__price/__list/__flag` | Plan cards with a colored top stripe and sparkle bullets |
| `.ss-table-wrap`, `.ss-table`, `__yes/__no` | Comparison table with a shelf header, scrolls sideways on phones |
| `.ss-faq` | FAQ from `<details>`; the sparkle turns when open |
| `.ss-article-head`, `.ss-meta`, `.ss-cover` | Article header with sparkle-separated meta and a pastel cover |
| `.ss-prose`, `.ss-callout` | Long-form text with sparkle bullets, coral numbers, a quote framed by two sparkles, a teal tip box |
| `.ss-avatar`, `.ss-author`, `--card` | Initials avatar and author block |
| `.ss-form`, `.ss-field`, `.ss-row`, `.ss-label`, `.ss-input`, `.ss-select`, `.ss-help`, `.ss-error`, `--error` | Stacked form |
| `.ss-picks`, `.ss-pick` | Radio choices drawn as pills; the chosen one turns ink |
| `.ss-check`, `.ss-divider-text`, `.ss-btn__letter` | Checkbox, italic "or" divider, letter tile on social buttons (no brand logos) |
| `.ss-footer`, `__cols/__about/__bottom` | Shelf-gray footer with sparkle-separated legal line |
| `.ss-pop` | Entrance animation |

## Pages in this kit

- `demo.html`: landing page (two-row header, hero with search and chips, shelf grid, steps, kits split, quote and stats, coral band, footer).
- `pricing.html`: three plans with a monthly or yearly toggle, a comparison table, an FAQ and a coral call to action.
- `blog.html`: an article with a chip label, sparkle meta, a drawn cover, prose, callout, author card and related cards.
- `signup.html`: a split page, the form on white and a shelf-gray panel with a reserved kit card and a quote.

## Page recipe

1. Header: `.ss-nav` with icons left, round logo center, account and basket right. Under it `.ss-subnav` with sparkle-separated links and an italic promo.
2. Hero on white, centered: two-line heavy headline, then `.ss-search`, then a row of four candy chips with sparkle pairs.
3. Shelf band: `.ss-head` plus italic subline, then a 4-up `.ss-grid` of item cards, then one line button.
4. White section: steps in three colored circles.
5. Shelf band: text plus a big pastel illustration tile.
6. White: italic quote and three big numbers.
7. Coral band: centered white h2, lead and white chips.
8. Shelf-gray footer.

Pricing: centered hero with a pill toggle, plans on the shelf band (middle plan featured with a coral border and a tag), comparison table on white, FAQ on shelf, coral band.

Article: centered head with one chip, heavy title and sparkle meta; a pastel cover; 720px prose; author card; three related cards.

Sign up: header, then a two-column split. Form on white with social buttons, an "or" divider, fields, pill picks and a block coral button. Shelf panel on the right with a reserved item card and a quote.

## Drawing items

Draw products as flat shapes in inline SVG, never photos: two or three candy colors, ink for handles and bases, a paper dot or bar for highlights. Put them on a pastel `__art--{color}` tile in a matching or contrasting tint.

## Don'ts

- Don't use more than one coral band per page or make chips into section backgrounds.
- Don't put white text on marigold; use ink.
- Don't use thin or light headline weights. Heads are 800 to 900.
- Don't add drop shadows with hard offsets, gradients or glassy effects.
- Don't use photos or brand logos; draw items flat.
- Don't drop the italic subline under a section head; it's half the voice.
- No em dashes in copy.
