# Gum Drop

A quick, light app on a black page. Big centred headlines in heavy Plus Jakarta Sans sit on near-black, and the second half of every headline glows in a soft lavender to sky gradient. Body text is friendly Figtree in grey. Two moves carry the personality: glossy round "gum drop" icons, each in its own candy hue (lemon, aqua, mint, bubblegum, grape, coral) with a shine in the top-left corner, and "wallpaper slabs", rounded panels washed plum to violet to blue that hold stacked dark app windows with three coloured dots in their title bars. It feels fresh, friendly and a little sweet, like a well-made desktop app.

Use it for: consumer apps, family and household tools, food and cooking apps, subscriptions, productivity apps, launch pages for small software. Avoid it for: serious finance, legal or healthcare, long editorial reading sites, anything that needs real photography as its hero.

## 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 Gum Drop 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 family meal planner called Larder.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&family=Figtree:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Plus Jakarta Sans 800 | Hero and section titles, -0.035em tracking, 1.04 line height. Card titles and stats at 700 to 800. |
| Body and UI | Figtree 400 to 600 | Body at 400, nav and labels at 500, buttons at 600. |
| Data | JetBrains Mono 400 | Day labels, row meta, terminal lines inside app windows. 11 to 12px only. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--gd-page` | #050506 | The page |
| `--gd-panel` | #0F0F12 | Cards, plans, form card, window sidebars |
| `--gd-raised` | #18181D | Inputs, line buttons, toggles |
| `--gd-window` | #1C1B22 | App window body |
| `--gd-line` | #26262D | Every 1px border |
| `--gd-text` | #F5F5F7 | Headlines and key text |
| `--gd-dim` | #A1A1AA | Leads, card copy |
| `--gd-faint` | #6B6B75 | Hints, meta, footer base |
| `--gd-iris` | #5A5CF0 | The pill button, selected sidebar row, focus ring |
| `--gd-lavender` / `--gd-sky` | #C9B6FF / #8DB8FF | The two ends of `--gd-glow-text`; lavender alone for links |
| `--gd-lemon`, `--gd-aqua`, `--gd-mint`, `--gd-bubble`, `--gd-grape`, `--gd-coral` | #FFC93D, #3EC7F2, #3FD68B, #FF6FAE, #B07CFF, #FF5E57 | Gum drop hues. Mint also marks ticks and "yes" cells |
| `--gd-plum`, `--gd-violet`, `--gd-cobalt` | #8E2C8A, #6A3BE0, #3F6BE8 | The wallpaper wash in slabs |

Rules:
- The page is black. Colour lives in three places only: the glow on headline words, the gum drops, and the wallpaper slabs.
- Every gum drop in a group gets a different hue. Never two of the same colour side by side.
- `.gd-btn--iris` is the main action. Inside a slab CTA, use `.gd-btn--white` instead, so it reads on the wallpaper.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--gd-text-hero` | clamp(38px, 6vw, 72px) | Page titles, centred, max 16ch, two or three lines |
| `--gd-text-h2` | clamp(30px, 4vw, 48px) | Section titles, centred, max 20ch |
| `--gd-text-h3` | 18px | Card, plan and media titles |
| `--gd-text-lead` | clamp(17px, 1.7vw, 20px) | Grey lead under a title |
| `--gd-text-body` | 16px | Body and UI |
| `--gd-text-small` | 14px | Notes, captions |
| `--gd-text-micro` | 12px | Mono labels |

Headlines are a plain first half and a glowing second half: "Stop asking what's for dinner. <glow>Larder already knows.</glow>" Wrap the glowing words in `<span class="gd-glow">`.

## Shape and space

- Radius: full pills for buttons, badges and toggles; 12px for inputs, FAQ rows and app windows; 16px for cards and plans; 22px for slabs and the form card.
- Borders: 1px `--gd-line` on cards, plans, tables and the form card. The featured plan has a 1.5px gradient border made from `--gd-glow-text`.
- Gum drops: 44px circles (28px small, 64px large) filled with `--gd-drop-*`, which layers a white shine over a two-stop hue gradient, plus `--gd-shadow-drop`. White line icons sit inside at 46% size.
- Slabs: `--gd-wallpaper` (or `--dusk`, `--sea`) with 20 to 56px padding. App windows inside get `--gd-shadow-window`.
- Sections: 72px to 112px vertical padding. Container 1120px with 24px gutters. Article measure 680px.
- Motion: hero content rises 14px on load, cards lift 2px on hover, button arrows nudge right.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.gd` | Put on `<body>`: black page, Figtree, light text |
| `.gd-container`, `.gd-section`, `--tight`, `.gd-center` | Layout wrappers |
| `.gd-nav`, `__inner`, `__end`, `__links`, `.gd-logo`, `__mark` | Sticky blurred bar, logo left, links and one pill button right |
| `.gd-hero-title`, `.gd-h2`, `.gd-h3`, `.gd-glow`, `.gd-lead`, `.gd-muted`, `.gd-small`, `.gd-micro`, `.gd-link` | Type |
| `.gd-btn`, `--iris`, `--white`, `--line`, `--plain`, `--sm`, `--lg`, `--block`, `.gd-arrow` | Pill buttons |
| `.gd-hero`, `__actions`, `__note` | Centred hero |
| `.gd-drop`, `--lemon/aqua/mint/bubble/grape/coral`, `--sm`, `--lg` | Glossy gum drop icons |
| `.gd-slab`, `--dusk`, `--sea`, `--hero` | Wallpaper panels |
| `.gd-stack`, `.gd-window--back`, `.gd-window--front` | Two overlapping windows in a slab |
| `.gd-window`, `__bar`, `__dot`, `__title`, `__body`, `--single`, `__side`, `__item`, `__main` | Drawn app windows |
| `.gd-row`, `__name`, `__meta`, `.gd-check-dot`, `--on`, `.gd-term` | Rows and terminal lines inside windows |
| `.gd-logos` | Centred wordmark strip |
| `.gd-head`, `.gd-grid--2/3`, `.gd-card` | Section head and feature cards |
| `.gd-zigzag`, `.gd-media` | Two columns, the right one dropped lower, each a slab with a title and copy |
| `.gd-badge`, `--iris`, `.gd-stats`, `.gd-stat` | Badges and stats |
| `.gd-quote` | Centred testimonial |
| `.gd-toggle`, `.gd-plans`, `.gd-plan`, `--featured`, `__top`, `__price`, `__amount`, `__per`, `.gd-list` | Pricing |
| `.gd-table-wrap`, `.gd-table`, `.gd-yes`, `.gd-no` | Comparison table |
| `.gd-faq` | `<details>` FAQ |
| `.gd-auth`, `.gd-form-card`, `.gd-form`, `.gd-field`, `.gd-label`, `.gd-input`, `.gd-select`, `.gd-hint`, `.gd-check`, `.gd-or`, `.gd-social`, `.gd-pick` | Forms; `.gd-pick` is a row of pill checkboxes with small gum drops |
| `.gd-post-head`, `.gd-byline`, `.gd-article`, `.gd-callout`, `.gd-figure` | Long-form post |
| `.gd-cta` | Put on a `.gd-slab` for the closing call to action |
| `.gd-footer`, `__grid`, `__base` | Footer |

## Pages in this kit

- `demo.html`: landing page. Nav, centred hero with a glowing second line, a hero slab with two stacked windows (week plan and shopping list), a logo strip, six feature cards each with a different gum drop, a zigzag of two slabs, three glowing stats, a quote, a slab CTA, footer.
- `pricing.html`: centred title with a billing toggle, three plans (the middle one with a gradient border), comparison table, FAQ, dusk slab CTA.
- `blog.html`: badge, centred title and byline, a slab figure with stacked windows, article with callout, list, quote and code, three related cards, sea slab CTA.
- `signup.html`: a two-column page with the title and gum drop perks on the left and the form card on the right.

## Page recipe

1. `.gd-nav`: logo with a grape gum drop mark, three links and one `--iris --sm` button.
2. `.gd-hero`: a centred title whose second half is `.gd-glow`, a grey lead, an `--iris --lg` button with a `--plain` link beside it, and a faint note.
3. A `.gd-slab--hero` with a `.gd-stack` of a `--back` and a `--front` window that show the product.
4. A `.gd-logos` strip, then a `.gd-head` and a `.gd-grid--3` of `.gd-card`s, each opening with a gum drop in a different hue.
5. A `.gd-zigzag` of two `.gd-media` slabs, stats or a quote, then a `.gd-slab.gd-cta` with a white button, and the footer.

Pricing: centred title and `.gd-toggle`, then three `.gd-plan`s with the middle one `--featured` and its button `--iris`. Each plan opens with a gum drop. Then a table and FAQ.

Article: a `--iris` badge with a small gum drop, a centred title with a glowing half, a `.gd-byline`, a slab `.gd-figure`, then `.gd-article` body with one `.gd-callout`, and three related cards.

Sign up: `.gd-auth` with the title, lead and three gum drop perks on the left, and a `.gd-form-card` on the right with social buttons, `.gd-or`, fields, a `.gd-pick` row and a block `--iris` submit.

## Don'ts

- Don't left-align hero or section titles. Titles are centred.
- Don't glow a whole headline. Only the second half, or one or two words.
- Don't use flat or outline icons in circles. Icons always sit in a glossy gum drop.
- Don't put wallpaper colours on cards or the page. They belong only inside slabs.
- Don't use square buttons. Every button is a full pill.
- Don't add photos. The drawn app windows are the pictures.
- Don't use em dashes in copy.
