# Ember

Calm, editorial SaaS. Mostly white, with warm sand sections, big serif headlines at regular weight, quiet Inter body text and a single vivid ember-orange accent used sparingly. The product is the hero: layered app windows, a phone and a dark terminal sit on a soft peach glow. It feels trustworthy, considered and premium without shouting.

Use it for: B2B software, developer platforms, fintech, operations and productivity tools, anything that needs to look serious and modern. Avoid it for: playful consumer brands, kids, games, anything that should feel loud.

## 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 Ember 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.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500&family=Inter:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Newsreader 400 | Hero, section headings, pull quotes and big numbers. Always regular weight, never bold. |
| Body | Inter 400 to 600 | Paragraphs, nav, buttons, cards, product UI. |
| Mono | Geist Mono 400 | Terminals, IDs ("INV-2041"), timestamps. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--em-white` | #FFFFFF | The main background |
| `--em-sand` | #F7F3EC | Quiet sections, announcement bar, secondary buttons, segmented toggles |
| `--em-sand-2` | #EFE7DA | Hover on sand, avatars |
| `--em-line` | #E8E1D6 | Every border and divider |
| `--em-ink` | #141210 | Headlines and body text |
| `--em-soft` | #6E6862 | Leads and secondary text |
| `--em-ember` | #EE5A36 | The one accent: primary button, one accent word, the ember band, live dots |
| `--em-ember-soft` | #FDE4DA | Icon tiles, soft chips |
| `--em-peach` | #FBD9C9 | The glow behind product shots |
| `--em-night` | #18161A | Terminal windows and code |

Rules:
- White is the default. Use sand for every second or third section, never for the whole page.
- Ember appears a few times per screen at most: the primary button, maybe one highlighted word, a dot. One full ember band per page, max.
- Status colors (green, amber, blue) live only inside product UI, never in page chrome.
- No gradients except the peach glow on the product stage.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--em-text-hero` | clamp(48px, 7vw, 88px) | Hero headline, centered, 2 lines, tracking -0.04em, line-height 1.02 |
| `--em-text-h2` | clamp(34px, 4.2vw, 52px) | Section headings, tracking -0.03em |
| `--em-text-h3` | 24px | Sub-headings |
| `--em-text-lead` | 20px | The sentence under a headline, soft gray, max 640px |
| `--em-text-body` | 16px | Body |

Headlines are short, plain statements ("Your books, done before Friday"), not slogans with punctuation tricks. Sentence case, no period, unless it's a question.

## Shape and space

- Borders: 1px `--em-line`. Nothing thicker.
- Radius: 22px on the product stage, 14px on windows and cards, 8px on small things, pills on buttons, chips and toggles.
- Shadows: soft and layered (`--em-shadow` on cards, `--em-shadow-lg` with a warm tint on product windows). Never hard offsets.
- Sections: 80px to 128px vertical padding. Container 1160px, text blocks 760px.
- Motion: slow, small fades (14px, 1s). Nothing bounces or tilts.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.em-announce` | Sand strip with rounded ends above the nav, one short line |
| `.em-nav`, `.em-nav__links` | Logo left, 5 or 6 links center, actions right |
| `.em-hero-title`, `.em-h2`, `.em-h3`, `.em-accent` | Serif headlines; `.em-accent` colors one word ember |
| `.em-lead`, `.em-eyebrow` | Soft lead under a headline; small ember label above one |
| `.em-btn--primary/secondary/white/ghost`, `--sm` | Pill buttons; ember primary next to a sand secondary |
| `.em-segment` | Sand pill toggle with 2 or 3 options ("Problem" / "Solution") |
| `.em-stage`, `.em-stage__dots` | The rounded peach-glow panel that holds the product shot |
| `.em-window`, `--night` | App window with traffic lights; the night version is a terminal |
| `.em-phone` | Small phone frame for a notification or mobile screen |
| `.em-chip`, `--ember`, `--soft`, `.em-dot` | Small status pills inside product UI |
| `.em-logos` | A wall of customer wordmarks in two rows |
| `.em-card`, `__icon/__title/__text` | White feature card with an ember icon tile and generous space above the title |
| `.em-quote` | Large serif pull quote with avatar and byline |
| `.em-stats`, `.em-stat` | Big serif numbers with a short gray label |
| `.em-section--sand/ember/night` | Section surfaces |
| `.em-fade` | Entrance animation, respects reduced motion |
| `.em-plans`, `.em-plan`, `--featured`, `__label/__name/__desc/__price/__list` | Pricing cards in a row of 3; the featured one has an ember border, a chip and the ember button |
| `.em-table`, `.em-table-wrap`, `__yes/__no` | Plan comparison table with a sand header; the wrap scrolls sideways on small screens |
| `.em-faq` | FAQ built from `<details>`, with a plus that turns into a cross when open |
| `.em-prose` | Long-form article text: serif h2, sans h3, ember bullets, serif pull quote, sand inline code, night code blocks, figures |
| `.em-callout` | Sand note inside an article with a thin ember edge |
| `.em-author`, `--card`, `.em-meta` | Author line with avatar, name and dot-separated meta; the card version closes an article |
| `.em-post`, `__thumb` | Related post card with a peach glow thumbnail, eyebrow, serif title and summary |
| `.em-form`, `.em-field`, `.em-label`, `.em-input`, `.em-select` | Stacked form fields with pill-free 8px inputs and a quiet focus ring |
| `.em-input-wrap`, `.em-input-toggle` | Input with a small text button inside it (show or hide a password) |
| `.em-help`, `.em-error`, `.em-field--error` | Gray helper text; ember error border and message |
| `.em-check` | Checkbox with a wrapped label, ember when checked |
| `.em-btn--block`, `.em-btn--social`, `.em-btn__letter` | Full-width button; white bordered social button with a letter tile (no brand logos) |
| `.em-divider-text` | A thin line with "or" in the middle |
| `.em-footer`, `__cols`, `__bottom` | Four-column footer with a small legal line |

## Pages in this kit

- `demo.html`: the landing page (hero, product stage, logos, features, quote, call to action).
- `pricing.html`: plans with a monthly or yearly toggle, a comparison table, an FAQ and a final call to action.
- `blog.html`: a long-form guide with an article header, a cover stage, prose, related posts and a footer.
- `signup.html`: a split sign-up page, the form on white and a sand panel with a product shot and a quote.

## Page recipe

1. Announcement bar in sand, then the nav on white: logo, links, a sand "Log in" pill.
2. Hero on white, centered: serif headline over 2 lines, a soft lead, an ember primary button next to a sand secondary.
3. Product stage right under the hero: the peach-glow panel with 2 or 3 layered windows (an app window, a phone, a night terminal) overlapping like a real desktop.
4. Logo wall.
5. Sand section: a segmented toggle, a centered h2 and a lead, then a simple diagram or window.
6. Ember band: centered white h2, lead and a ghost button, then a row of white cards.
7. Quote and stats on white.
8. Final call to action in sand: centered h2, two buttons.

## Pricing page recipe

1. Announcement bar and nav as on the landing page.
2. Centered serif hero and lead, then an `.em-segment` for Monthly / Yearly. Keep both prices in `data-monthly` and `data-yearly` and swap the text in a few lines of JS.
3. `.em-plans` with 3 cards. Feature the middle one: `.em-plan--featured`, an ember chip, the only primary button. The others get sand secondary buttons.
4. One line of small print under the cards (VAT, trial).
5. Sand section with an `.em-table` comparison inside `.em-table-wrap`.
6. `.em-faq` on white in the narrow container, 4 to 6 questions, the first one open.
7. Final call to action in sand.

## Article page recipe

1. Nav on white, no announcement bar.
2. In the narrow container: an ember eyebrow for the category, the hero title at a smaller clamp, a lead, then `.em-author` with `.em-meta` (date, read time).
3. A wide `.em-stage` as the cover with one window in it. No photos needed.
4. Body in `.em-narrow .em-prose`: short paragraphs, h2 for sections, h3 below them, one pull quote, one `.em-callout`, code in `<pre>`, a `<figure>` with a caption.
5. `.em-author--card` to close the article.
6. Sand section with 3 `.em-post` cards, then `.em-footer`.

## Sign-up page recipe

1. Two columns, full height. Left on white: logo, an h2-size serif headline, a one-line lead.
2. `.em-form` with name, email, password (`.em-input-wrap` plus a show/hide toggle), a select, an `.em-check` for terms and an `.em-btn--primary .em-btn--block`.
3. `.em-divider-text`, then two `.em-btn--social` buttons side by side with letter tiles, then a "Log in" link.
4. Show errors with `.em-field--error` and an `.em-error` message under the field; put hints in `.em-help`.
5. Right column in sand: a small `.em-stage` with one window summarizing the product, then an `.em-quote`. Hide the right column below 860px.

## Don'ts

- Don't bold the serif. Don't use the serif for body text or buttons.
- Don't add a second accent color to the page chrome.
- Don't use hard shadows, thick borders or tilted elements.
- Don't fill the product stage with a flat screenshot; layer real-looking windows with depth.
- Don't use em dashes in copy.
