# Badge Wall

A collector's night sky. Deep midnight navy, heavy rounded-grotesk headlines that fade from white to slate, tiny monospace meta, one sky-blue action color and a coral second line. The signature is the badge: a round stitched medallion with a dashed ring, a glowing rim and a small drawn glyph inside. Columns of them line both sides of the hero and fade toward the page edge, and cards wear one sitting half over their top edge. It feels playful and a little nerdy, like a game's achievement screen made calm enough for grown-ups.

Use it for: learning platforms, hobby and club apps, habit and fitness trackers, collecting and checklist products, community memberships, anything with progress, levels or achievements. Avoid it for: banks, legal and medical services, luxury goods, anything that should feel quiet and corporate, or bright daytime brands.

## 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 Badge Wall 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. They use a made-up bird-spotting app called Fieldmark.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Figtree 800 to 900 | Hero, section headings, prices, big numbers. Heavy, tight tracking, white-to-slate sheen. |
| Body | Figtree 400 to 600 | Paragraphs, nav, buttons, cards, forms. |
| Mono | Martian Mono 400 | Meta lines under names, stats, eyebrows, chips, dates. Always small (11px). |

## Color

| Token | Hex | Role |
|---|---|---|
| `--bw-night` | #070B18 | Page background |
| `--bw-deep` | #0C1224 | Alternate sections, CTA band, footer |
| `--bw-panel` | #141B31 | Cards, inputs' frames, secondary buttons |
| `--bw-panel-2` | #1C2541 | Hover on panels, avatars |
| `--bw-line` | #232C4A | Every border and divider |
| `--bw-text` | #EEF1F8 | Main text |
| `--bw-soft` | #9AA3BF | Leads and secondary text |
| `--bw-faint` | #5D6684 | Eyebrows, hints, quote marks |
| `--bw-sky` | #1FA6F0 | Primary buttons, links, focus, the featured price card |
| `--bw-coral` | #F2835C | The second line of a two-line heading |
| `--bw-ruby` / `--bw-cobalt` / `--bw-gold` / `--bw-moss` | #E2445C / #3D6FF2 / #F3C24D / #55C38A | Badge rings only |

Rules:
- Midnight everywhere. No light sections. Use `--bw-deep` with a top and bottom border for every second section.
- Sky blue is for things you click. One primary button per view.
- Coral appears once per section at most, as the second line of a heading (`<span class="bw-second">`).
- Ruby, cobalt, gold and moss live only on badges and their tiny chips. Never on buttons, text or backgrounds.
- The only gradients are the headline sheen and the soft spotlight from above (`--bw-spot`).

## Type scale

| Token | Size | Use |
|---|---|---|
| `--bw-text-hero` | clamp(44px, 6.6vw, 84px) | Hero headline, centered, 2 lines, weight 900, tracking -0.035em, line-height 1.02 |
| `--bw-text-h2` | clamp(30px, 3.6vw, 44px) | Section headings, weight 900, often two lines with a coral second line |
| `--bw-text-h3` | 20px | Card titles, weight 800 |
| `--bw-text-lead` | 19px | The sentence under a headline, soft, max 560px |
| `--bw-text-body` | 16px | Body |
| `--bw-text-micro` | 11px | Mono meta |

Headlines are two short lines with a comma break: "Spot a bird, keep the badge". The first line states the thing, the second line (often coral) gives the twist. Sentence case, no period.

## Shape and space

- Two shapes only: soft rectangles for UI (6px buttons and inputs, 10px cards, 16px panels) and perfect circles for badges.
- Borders: 1px `--bw-line`. Dashed borders are reserved for badge rings, the logo dot, feature bullets and the pull quote.
- Shadows: deep, soft and dark (`--bw-glow`). Badges add a colored glow from their own ring color. No hard offsets.
- Sections: 72px to 120px vertical padding. Container 1180px, text column 720px.
- Motion: small lifts (1px on buttons, 3px on cards). Nothing spins.

## Components (in components.css)

- `.bw-nav`: sticky bar. Links left, the spaced uppercase wordmark (`.bw-logo` with a dashed `.bw-logo-dot`) centered, account links right. On phones the left links hide.
- `.bw-btn--primary`, `.bw-btn--ghost`: rectangular 6px buttons; put a `.bw-btn-icon` circle first (a play triangle or an empty ring).
- `.bw-badge`: the medallion. Color with `--ruby`, `--cobalt`, `--gold`, `--moss`, `--coral`; size with `--sm` (44px), default (76px) or `--lg` (104px); `--locked` greys it out. Put a 24x24 stroked SVG glyph inside.
- `.bw-wall--start` and `.bw-wall--end`: two columns of badges inside `.bw-hero` that fade toward the edges. On phones they collapse into one row of five above the headline.
- `.bw-hero`, `.bw-hero-title`, `.bw-lead`, `.bw-btn-row`: the centered hero with the spotlight.
- `.bw-quote`: a centered testimonial in a spotlight, with `.bw-person` (`.bw-avatar` square initials, name, mono meta).
- `.bw-card`, `.bw-badge-card` (badge half over the top edge), `.bw-stats` (mono list with square bullets), `.bw-grid--3`, `.bw-grid--4`.
- `.bw-chip`, `.bw-chip--live` (green dot), `.bw-chip--sky`.
- Forms: `.bw-panel`, `.bw-field`, `.bw-label`, `.bw-input`, `.bw-select`, `.bw-hint`, `.bw-check`, `.bw-picks` and `.bw-pick` (radio pills that carry a small badge), `.bw-divider`.
- Pricing: `.bw-toggle`, `.bw-price-card`, `.bw-price-card--featured`, `.bw-price`, `.bw-features` (dashed-ring bullets), `.bw-faq`.
- Article: `.bw-article-head`, `.bw-byline`, `.bw-prose`, `.bw-pull` (dashed coral edge), `.bw-callout`.
- `.bw-cta` band with `.bw-cta-badges`, and `.bw-footer`.

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing: hero between two badge walls, a spotlit quote, a row of badge cards, three steps with counts, a CTA band |
| `pricing.html` | Three plans with badges on top, a sky-outlined featured plan, a comparison table and an FAQ |
| `blog.html` | Article with a large badge above the title, a badge tally, pull quote and callout, related badge cards |
| `signup.html` | A form panel between two badge walls, a big gold badge breaking its top edge, badge radio pills |

## Page recipe

1. `.bw-nav`.
2. `.bw-hero` with both walls, a `.bw-chip--live`, a two-line `.bw-hero-title`, a lead and two buttons. Optionally a `.bw-quote` at the bottom of the hero.
3. A centered two-line `.bw-h2` and a grid of `.bw-badge-card`s, each with a different ring color.
4. A `.bw-section--deep` with steps or features in plain `.bw-card`s and a row of big counts.
5. A `.bw-cta` with three badges (small, normal, small) over the heading.
6. `.bw-footer`.

Pricing recipe: hero with eyebrow and toggle, then plan cards as `.bw-badge-card.bw-price-card`, the middle one `--featured` with the only primary button, then a comparison table and `.bw-faq` in a deep section.

Article recipe: `.bw-article-head` with a `--lg` badge, eyebrow, title, lead and byline chips; then `.bw-prose` in the narrow column with one `.bw-pull` and one `.bw-callout`; then related posts as badge cards.

Sign-up recipe: badge walls behind a single `.bw-panel` (max 480px) with a `--lg` gold badge pulled up over its top edge, one ghost button for the quick option, a divider, fields, `.bw-picks` and one primary button.

## Don'ts

- Don't add light sections or white cards.
- Don't use badge colors (ruby, cobalt, gold, moss) for buttons, text or backgrounds.
- Don't use photos or emoji in badges: draw a simple stroked glyph.
- Don't round buttons into pills or make cards fully round. Circles are for badges.
- Don't use more than one coral line per section.
- Don't put more than five badges in a row on phones.
- No em dashes in copy.
