# Lilac Drift

Dreamy, playful and a little bit cosmic. Pages sit on a pale lilac mist, and the hero is a grainy periwinkle sky that melts into blush and aqua clouds at the edges. Headlines are a soft, wide serif in sentence case, and the second line always turns into a violet italic. Everything else is a friendly rounded sans. A frosted glass pill holds the nav, and one warm coral pill with a small chevron carries every main action. Instead of photos, the sky is filled with storybook line drawings in thick indigo ink: hot-air balloons, a cratered moon and little islands floating under glass domes. It feels like a picture book for grown-ups that still means business.

Use it for: education and kids' products, family travel and experiences, science and nature, events and clubs, consumer apps that want to feel warm and imaginative, and technical products that want to feel friendly. Avoid it for: finance dashboards, legal or medical services that must feel sober, luxury fashion, dark or nightlife brands, and anything that needs a hard, corporate edge.

## 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 Lilac Drift 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 stargazing field trip company called Skylark.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Fraunces 400 | Hero, section headings, card titles, prices, quotes, the footer wordmark. Sentence case, slight negative tracking. |
| Headline accent | Fraunces 500 italic | The second half of every headline (`<em>`), in violet. Also step numbers and the logo strip. |
| Body and UI | Figtree 400 to 700 | Paragraphs, nav, buttons, labels, forms, tables. |

The serif is soft, never sharp: keep it at 400 for headlines and 500 for small titles. Never set body copy in the serif.

## Color

| Token | Hex | Role |
|---|---|---|
| `--ld-mist` | #F7F6FE | The main page background |
| `--ld-paper` | #FFFFFF | Cards, plans, alternate sections, inputs |
| `--ld-haze` | #ECEAFC | Quiet plates, FAQ icons, the footer |
| `--ld-line` | #DFDCF3 | Borders and dividers |
| `--ld-sky`, `--ld-sky-deep` | #B6BBF7, #9AA0F0 | The hero sky, drawing fills, the footer wordmark |
| `--ld-blush` | #F6AEC4 | Cloud banks, accents on the night section, chart bars |
| `--ld-aqua`, `--ld-teal`, `--ld-teal-soft` | #BCE6EA, #4B9893, #8FCBC6 | Cloud edges, islands, success badges, table ticks |
| `--ld-sun` | #FFD58A | Small warm details: balloon stripes, step circles |
| `--ld-ink` | #231848 | Headlines, drawing outlines, the night section |
| `--ld-ink-2` | #3A2F63 | Body text |
| `--ld-soft` | #5D5779 | Leads and secondary text |
| `--ld-violet` | #7740DE | The italic half of headlines, labels, links, the featured plan, secondary buttons |
| `--ld-coral` | #F46B52 | The one main action per view |
| `--ld-alert` | #C2361F | Form errors only |

Rules:
- Mist first, paper every second section, one night section per page at most.
- Coral is only for the main button (one per view) and its soft tint for "most booked" style badges. Violet does links and secondary buttons.
- The sky gradient (`.ld-sky`) belongs in the hero, the closing call to action, the sign-up side panel and article covers. Never inside cards.
- The grain sits only on `.ld-sky`. Everything else is clean and flat.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ld-text-hero` | clamp(44px, 5.6vw, 78px) | Hero headline, 2 to 3 lines |
| `--ld-text-h2` | clamp(34px, 3.8vw, 52px) | Section headings |
| `--ld-text-h3` | 23px | Step and card titles, Fraunces 500 |
| `--ld-text-lead` | 19px | The sentence under a headline, max 560px |
| `--ld-text-body` | 17px | Body |
| `--ld-text-label` | 13px | Uppercase violet labels with a dot |

Every headline is two thoughts: a plain half and an italic violet half ("Pick a sky, *we bring the rest*"). In the hero, `<em class="ld-turn">` drops the italic half onto its own line. On the night section, the italic turns blush.

## Shape and space

- Radius: 32px on plans and article covers, 22px on cards, windows and FAQ rows, 14px on card plates and callouts, 10px on inputs, pills on buttons, badges, chips, the nav and toggles.
- Glass: `.ld-glass` (white at 62% with a blur and a bright top edge) for the nav pills and toggles over the sky. `.ld-window` and `.ld-panel` are the stronger glass for floating app panels.
- Shadows: soft and purple-tinted. `--ld-shadow-card` under floating windows, the featured plan and hovered cards; `--ld-shadow-button` gives the coral pill its glow ring.
- Drawings: 2.4px indigo strokes with round caps, flat fills from the palette, a slow 7 to 10 second float.
- Sections: 72px to 128px vertical padding. Container 1180px, text column 720px.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ld`, `.ld-container`, `.ld-narrow`, `.ld-center` | Body class and layout wrappers |
| `.ld-section`, `--paper/--haze/--night` | Section surfaces; night is a deep indigo with a violet glow |
| `.ld-nav`, `__links`, `__end`, `__actions`, `.ld-logo`, `.ld-glass` | Logo left, a glass pill of links centered, a glass pill of actions right; links hide on phones |
| `.ld-display`, `.ld-h2`, `.ld-h3`, `.ld-turn`, `.ld-lead`, `.ld-label`, `.ld-small` | Type |
| `.ld-btn--coral/violet/paper/ghost`, `--sm/--lg/--block`, `.ld-link`, `.ld-actions` | Pill buttons (put a chevron SVG inside the coral one) and a plain text link |
| `.ld-sky`, `--soft`, `.ld-hero`, `__art`, `--short` | The grainy sky and the two-column hero with absolutely placed drawings |
| `.ld-ink`, `--thin`, `.ld-fill-*`, `.ld-float`, `--slow`, `.ld-rise` | Drawing strokes, fills and motion |
| `.ld-strip`, `.ld-badge`, `--coral/--teal/--glass` | Italic serif logo strip and soft pill badges |
| `.ld-grid-2/3`, `.ld-head` | Grids and a section head |
| `.ld-card`, `__plate`, `--sky/--blush/--aqua/--night`, `__title`, `__text` | White card with a drawing on a tinted plate |
| `.ld-window`, `__bar`, `__body`, `.ld-row`, `.ld-dot`, `--coral/--teal` | A glass app window with list rows and initials dots |
| `.ld-steps`, `.ld-step` | Three steps with italic numbers in sun circles |
| `.ld-stats`, `.ld-stat`, `.ld-quote`, `.ld-who` | Big serif numbers and quotes |
| `.ld-toggle`, `.ld-plans`, `.ld-plan`, `--featured`, `__top/__name/__price/__desc/__list` | Pricing; the featured plan has a violet border and a lilac wash |
| `.ld-table-wrap`, `.ld-table`, `.ld-yes`, `.ld-no` | Comparison table in a rounded card |
| `.ld-faq` | `<details>` rows with a plus that turns violet |
| `.ld-meta`, `.ld-author`, `.ld-cover`, `.ld-prose`, `.ld-callout`, `.ld-figure` | Article parts |
| `.ld-form`, `.ld-row-2`, `.ld-field`, `.ld-field-label`, `.ld-input`, `.ld-select`, `.ld-help`, `.ld-error`, `.ld-field--error`, `.ld-chips`, `.ld-chip`, `.ld-check`, `.ld-divider-text`, `.ld-panel` | Forms with a violet focus halo |
| `.ld-footer`, `__cols`, `__mark`, `__bottom` | Haze footer with a giant italic periwinkle wordmark |

## Drawing the sky

Define a few `<symbol>`s once per page (balloon, island under a glass dome, moon, cloud bank, sparkle) and place them with `<use>`. Outline every shape with `.ld-ink` on top of a flat `.ld-fill-*` shape. Keep the drawings loose and friendly: rounded joins, a few inner lines, no gradients inside them. Scatter three to six drawings over a hero, let one or two float, and keep the left half of the hero clear for the headline.

## Pages in this kit

- `demo.html`: landing page (sky hero with glass nav and drawings, logo strip, three cards on tinted plates, a split section with a glass forecast window, steps, the night section with a quote and stats, a soft sky call to action, footer).
- `pricing.html`: a short sky hero with a glass toggle, three plans with the featured one in the middle, a comparison table and an FAQ.
- `blog.html`: an article with a soft sky header, a drawn cover, prose with a pull quote, a bar chart, a coral callout and related cards.
- `signup.html`: a split sign-up page with the sky and a quote on the left and the form on mist.

## Page recipe

1. Sky hero: glass nav, a label, a two-part headline, a lead, a coral pill and a text link, drawings on the right.
2. A quiet strip on mist (logos or a single line of proof).
3. Paper section with a centered head and three cards.
4. Mist section split in two: words left, a glass window right.
5. Paper section with steps.
6. One night section with a quote and stats.
7. A soft sky call to action with one coral pill.
8. Haze footer with the giant italic wordmark.

Pricing recipe: short sky hero with the toggle, plans pulled up over the sky edge, table, FAQ in a two-column paper section.

Article recipe: soft sky header with label, two-part headline and author, a rounded sky cover with drawings, prose at 720px, one figure, one callout, then related cards.

Sign-up recipe: two columns. Sky panel with logo, drawings and a quote; the form on mist with a paper social button, an email divider, chips for choices and a full-width coral submit.

## Don'ts

- Don't use photos. The drawings are the imagery.
- Don't put two coral buttons side by side. Pair coral with a text link or a ghost button.
- Don't set a whole headline in italic, and don't make the plain half violet.
- Don't add grain or the sky gradient to cards, tables or forms.
- Don't use sharp corners or hard black shadows.
- Don't draw with thin gray lines: outlines are always the indigo ink.
- Don't use em dashes in copy.
