# Sunset Pill

Airy, centered and a little cheeky. The page is almost empty: a white field, a tiny gray lowercase wordmark with a sparkle, and a tight, heavy grotesk headline stacked in the middle of the screen. One phrase in that headline is filled with a magenta to coral to amber sunset gradient, and it's the only color you notice. Under it sit a black pill button and a gray text link, floating on a faint warm halo. Everything else is quiet gray, round and soft, so the few words on the page do all the work.

Use it for: consumer apps, clubs and memberships, events and invites, subscription boxes, food and drink, anything friendly that wants to feel modern and confident with very little on screen. Avoid it for: dense dashboards, documentation, serious B2B or finance, anything that needs lots of content above the fold.

## 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 Sunset Pill 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 Steep, an invented tea tasting club, built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Display | Inter Tight 700 | Hero, section headings, prices, big numbers, quotes. Always tight tracking (-0.035em to -0.045em). |
| Wordmark and h3 | Inter Tight 600 | The lowercase wordmark, card titles. |
| Body | Inter 400 to 600 | Paragraphs, nav, buttons, forms, meta. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--su-paper` | #FFFFFF | The page. Almost everything sits on white |
| `--su-mist` | #F6F6F7 | Every second or third section, inputs, chips, flat cards, secondary buttons |
| `--su-mist-2` | #EDEDF0 | Hover on mist |
| `--su-line` | #E9E9EC | Hairline borders on cards and dividers |
| `--su-ink` | #121215 | Headlines, body text, the primary pill button |
| `--su-soft` | #85858F | Leads, nav links, text links, the wordmark |
| `--su-faint` | #B7B7BF | Placeholders, the sparkle, footer small print |
| `--su-magenta` | #D4349C | Sunset start |
| `--su-coral` | #F2564B | Sunset middle |
| `--su-amber` | #EFA52F | Sunset end |
| `--su-blush` | #FDEEF3 | Soft chip background ("Most picked") |
| `--su-peach` | #FFF3E2 | Soft chip background, with `--su-amber-ink` text |

Rules:
- The three sunset colors only ever appear together as `--su-sunset`, the gradient. Never use magenta, coral or amber as a flat button, background or text color.
- The gradient fills one short phrase per screen (`.su-sunset`): usually the last word or two of a headline. It can also fill a small swatch (ticket art, an avatar, an illustration), and a 1.5px ring on the featured pricing plan. That's all.
- Buttons are black or mist. Never gradient.
- The warm halo (`--su-halo`) sits behind the main call to action and the sign-up form. It should be barely there.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--su-text-hero` | clamp(46px, 7.4vw, 96px) | Hero headline, centered, 2 short lines, line-height 0.98 |
| `--su-text-h2` | clamp(32px, 4.4vw, 56px) | Section headings, centered |
| `--su-text-h3` | 22px | Card titles |
| `--su-text-lead` | 19px | Gray sentence under a headline, max 34 characters per line so it wraps into a neat block |
| `--su-text-body` | 16px | Body |

Write headlines as short, slightly cheeky statements ("Tea you'll actually finish", "Pick a pace"). Sentence case, no period. Put the sunset on the payoff word.

## Shape and space

- Radius: pills (999px) on everything you press, chips and toggles. 20px on cards and FAQ rows, 28px on pricing plans and covers, 14px on inputs and icon tiles.
- Borders: 1px `--su-line` hairlines on white cards only. Mist cards have no border.
- Shadows: whisper soft (`--su-shadow`). `--su-shadow-lift` adds a faint magenta tint for hover and the featured plan. Never hard offsets.
- Space: huge. Hero fills most of the first screen with the content stacked in the middle. Sections get 96px to 168px of vertical padding. Text blocks max 640px, page container 1080px.
- Layout: centered single column first. Grids (cards, plans, tickets) are centered under a centered heading.
- Motion: a short rise (12px, 0.9s) on the hero stack, staggered. Buttons lift 1px on hover.

## Components (in components.css)

- **Nav** `.su-nav`: just a gray sparkle on the left and gray links plus a mist `Sign in` chip on the right. No logo text, no bar, no border.
- **Wordmark** `.su-mark`: lowercase gray name with a tiny sparkle at its top right. Sits above the hero headline and in the footer.
- **Hero** `.su-hero` + `.su-stack`: centered column, `.su-hero-title`, `.su-lead`, then `.su-cta` (which draws the halo).
- **Buttons** `.su-btn--ink` (primary), `.su-btn--mist` (secondary), `.su-btn--chip` (small), `.su-btn--block` (full width). `.su-textlink` is the gray link with an arrow that sits under the primary button.
- **Sunset text** `.su-sunset`: wrap one phrase.
- **Badges** `.su-badge`, `--blush`, `--peach`, and `.su-dot` (a gradient dot).
- **Cards** `.su-card` (white, hairline, soft shadow), `.su-card--flat` (mist, no border), `.su-icon` tile.
- **Ticket** `.su-ticket`: a gradient poster swatch with a title and gray meta line. Use it for events, items or anything listable.
- **Stats** `.su-stats` and `.su-stat`; **quote** `.su-quote` and `.su-quote-by`.
- **Forms** `.su-form`, `.su-label`, `.su-input`, `.su-select` (mist fields that turn white with an ink border on focus), `.su-check`, `.su-or`, and `.su-inline-form` (a mist pill holding an input and a black button).
- **Pricing** `.su-toggle`, `.su-plans`, `.su-plan`, `.su-plan--pick` (gradient ring and lifted shadow), `.su-price`, `.su-list` (round check bullets).
- **FAQ** `.su-faq` with native `details`.
- **Article** `.su-article`, `.su-article-meta`, `.su-avatar`, `.su-cover`, `.su-prose` (centered display blockquotes), `.su-tag-row`.
- **Footer** `.su-footer`: wordmark, gray links, faint small print. One row.

## Pages in this kit

| File | Shows |
|---|---|
| `demo.html` | Landing: centered hero with halo, a mist section of tickets, three flat step cards, quote and stats, a drawn gradient tin and a closing call to action |
| `pricing.html` | Centered title, monthly or yearly toggle, three plans with the middle one ringed, FAQ |
| `blog.html` | Centered article header, drawn cup cover, prose with a display blockquote, inline subscribe pill |
| `signup.html` | A narrow centered form on a halo, social button, two-column name row, ticket preview |

## Page recipe

1. `.su-nav` with the sparkle, two gray links and a `Sign in` chip.
2. `.su-hero`: wordmark, a two-line headline ending in a `.su-sunset` phrase, one gray lead, then a black pill and a gray text link in `.su-cta`.
3. Alternate white and `.su-section--mist` sections. Each starts with a centered `.su-h2` (optionally a small gray `.su-eyebrow` above it).
4. Show content as centered grids of tickets or cards, never long rows of text.
5. One quote or stat section, set big in display type.
6. Close with a centered headline (with its own sunset phrase) and the same pill and link pair.
7. One-row `.su-footer`.

Pricing recipe: centered `.su-hero-title` with a sunset word, a lead, `.su-toggle`, then `.su-plans` with three plans. The middle plan gets `.su-plan--pick`, a blush badge and the only black button; the others use mist buttons. FAQ in a narrow column below.

Article recipe: centered badge, headline (with a sunset word) and `.su-article-meta`, then a `.su-cover` drawn with inline SVG, then `.su-prose` at 680px. End with tags and an `.su-inline-form` subscribe block.

Sign-up recipe: full-height centered column at 420px, wordmark, short headline with a sunset word, lead, then the form inside a wrapper that draws the halo. Social button first, `.su-or`, fields, black block button.

## Don'ts

- Don't left-align the hero or put an image beside it. The emptiness around the stack is the point.
- Don't use the sunset on more than one phrase per screen, on buttons or as a background.
- Don't add colored sections, dark bands or borders thicker than 1px.
- Don't use square corners on anything clickable.
- Don't fill the first screen with features. One headline, one sentence, one button.
- Don't use bold body text for emphasis in paragraphs more than once or twice.
- No em dashes in copy.
