# Pulse Bars

A black room with the lights down and one hot magenta pulse running through it. Pages sit on true black, faint grey blocks drift in the dark behind the content, and a light geometric headline sits centered above a glowing band of thin vertical bars, like a waveform or a heart rate trace. A ringed magenta pill button sits right in the middle of that band. Everything else stays quiet: hairline panels, gray leads, small mono labels. It feels bold, cinematic and a little futuristic, like the moment before a set starts.

Use it for: fitness and live classes, music and audio products, streaming, events and nightlife, creative AI tools, consumer apps with one big action. Avoid it for: banks, healthcare records, government, kids' products, anything that must feel bright, warm or paper-like.

## 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 Pulse Bars 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 one made up product, Halfbeat, live indoor cycling classes paced by your heart rate.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Outfit 500 for the hero, 400 for h2, 300 for big numbers, prices and quotes | Tight tracking (-0.025em). Light weights at large sizes are part of the look. |
| Body | DM Sans 400 to 700 | Paragraphs, nav, forms, card text. |
| Mono | Space Mono 400 | Eyebrows, chips, timers, table headers, meta. Uppercase, wide tracking (0.14em), 11px. |

Buttons use Outfit 500 so they read as part of the headline voice.

## Color

| Token | Hex | Role |
|---|---|---|
| `--pb-void` | #040405 | Page background. True black, always. |
| `--pb-coal` | #0D0D10 | Alternate sections, footer, table headers, cover frames |
| `--pb-panel` | #141418 | Cards, the console window, inputs, plans |
| `--pb-ghost` | #1C1C21 | The drifting ghost blocks and quiet fills |
| `--pb-line` / `--pb-line-hi` | #29292F / #3B3B43 | Hairline borders, then hover and input borders |
| `--pb-ink` | #F4F2F6 | Headlines and body text |
| `--pb-mute` / `--pb-dim` | #8F8C97 / #5D5A64 | Leads and captions, then meta and placeholders |
| `--pb-magenta` | #EC1677 | The one accent: bars, the primary button, hot words, featured prices |
| `--pb-rose` | #FF5CA6 | Bar tips, links, the live dot |
| `--pb-plum` | #8B36D1 | Only at the far end of the button gradient |
| `--pb-mint` | #39D6A3 | "Yes" in tables and success states only |
| `--pb-error` | #FF6B5E | Errors only |

Gradients and glow: `--pb-fill` (magenta into plum) fills the primary button. `--pb-band` is the soft magenta ellipse behind the pulse band. `--pb-halo` tints the top of panels. `--pb-bar` runs rose to magenta down each bar. `--pb-glow` and `--pb-glow-sm` are the only shadows that carry color.

Rules:
- The page is black. No light sections, no colored section backgrounds.
- Magenta is for light: bars, the primary button, one or two hot words per page, the featured price. Never for body text or large fills.
- One primary button per view. Everything else is outline, ghost or light.
- Plum never appears on its own.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pb-text-hero` | clamp(44px, 7.2vw, 96px) | One short centered line, 3 to 6 words |
| `--pb-text-h2` | clamp(32px, 4.4vw, 56px) | Section headings, with an optional `.pb-hot` phrase |
| `--pb-text-h3` | 22px | Card and plan titles |
| `--pb-text-lead` | clamp(17px, 1.6vw, 21px) | Leads in `--pb-mute`. The hero lead uses Outfit 300. |
| `--pb-text-body` | 16px | Body (18px in articles) |
| `--pb-text-micro` | 11px | Mono labels |

Headlines are sentence case, short and plain. The hero has no period. A two-part statement ("Lights down. Heart up.") can end with periods.

## Shape and space

- Radius: pills (999px) on every button, chip and toggle. 22px on cards, plans, the console and covers. 14px on inputs and callouts. 8px on small rows.
- Borders: 1px hairlines everywhere (`--pb-line`). No thick borders.
- The ring: the primary button wears `--pb-ring`, a thin white ring with a black gap, plus a magenta glow. This ring is a signature; don't put it on other buttons.
- Shadows: deep black under the console (`--pb-shadow`), magenta glow on lit things. No offset or hard shadows.
- Sections: 120px vertical padding (72px tight). Container 1180px, narrow text 720px.
- Motion: content rises in once (`.pb-rise`), and a live pulse band breathes (`.pb-pulse--live`). Both stop with reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.pb-nav`, `__inner`, `__links`, `__actions` | Sticky blurred black bar: logo, gray links, outline "Sign in", primary "Join" |
| `.pb-logo`, `__mark`, `__tag` | Wordmark with five glowing magenta bars and a tiny mono tag |
| `.pb-ghosts` | Ten absolutely placed dim grey blocks, dots and lines that drift behind a hero or panel. Put 10 empty `<span>`s inside. |
| `.pb-hero` | Centered hero; holds ghosts, title, lead, then the pulse band |
| `.pb-pulse`, `__half`, `__gap`, `__cta`, `--live`, `--sm` | The signature band. Two `__half`s of empty `<i>` bars (about 40 each), the second mirrored, with an optional `__gap` and a centered `__cta` button. Heights vary by `nth-child`, so no script is needed. |
| `.pb-meter` | A small bar chart of about 24 `<i>`; bars after the 16th are gray (what's left) |
| `.pb-console`, `__bar`, `__live`, `__time`, `__body`, `__big`, `__unit` | The product window: live label, mono timer, a big light number |
| `.pb-zones` | Five segment bar; `.is-past` and `.is-on` light it |
| `.pb-board` | Ranked rows with mono numbers; `.is-you` gets a magenta outline |
| `.pb-hero-title`, `.pb-h2`, `.pb-h3`, `.pb-hot`, `.pb-lead`, `.pb-eyebrow`, `.pb-mono` | Type. The eyebrow carries a glowing dot. |
| `.pb-btn--primary/outline/light/ghost`, `--sm`, `--lg`, `--block`, `.pb-btn-row` | Pill buttons |
| `.pb-card`, `__num`, `__title`, `__text`, `.pb-grid`, `--2`, `.pb-split` | Hairline feature cards, usually topped with a meter |
| `.pb-chip`, `--hot`, `--solid` | Mono pill labels |
| `.pb-stats`, `.pb-stat`, `__num`, `__label` | A ruled row of big light numbers with magenta units |
| `.pb-quote`, `.pb-byline`, `.pb-avatar` | Light Outfit quote with a glowing open-quote mark; ringed magenta avatar |
| `.pb-toggle` | Monthly / yearly pill switch |
| `.pb-plans`, `.pb-plan`, `--featured`, `__tag`, `__name`, `__desc`, `__per`, `__list`, `.pb-price` | Plans; the featured one glows and its price is magenta |
| `.pb-table-wrap`, `.pb-table`, `.pb-yes`, `.pb-no` | Comparison table that scrolls sideways on phones |
| `.pb-faq` | `<details>` list with a magenta plus that turns into a cross |
| `.pb-meta`, `.pb-cover`, `.pb-prose`, `.pb-callout`, `.pb-author` | Article parts: bar bullets, magenta-edged pull quote, rose inline code |
| `.pb-post`, `__thumb`, `__body`, `__title`, `__text` | Related posts with a glowing meter thumbnail |
| `.pb-form`, `.pb-field`, `--error`, `.pb-label`, `.pb-input`, `.pb-select`, `.pb-input-wrap`, `.pb-input-toggle`, `.pb-help`, `.pb-error`, `.pb-check`, `.pb-divider-text`, `.pb-btn__letter` | Forms |
| `.pb-footer`, `__cols`, `__bottom` | Coal footer with mono column heads |
| `.pb-section`, `--tight`, `.pb-coal`, `.pb-center`, `.pb-container`, `.pb-narrow`, `.pb-rule` | Layout |

## Pages in this kit

- `demo.html`: landing page. Centered hero with ghosts and the pulse band holding the main button, the console window, three cards, a stats row, a quote on coal and a closing pulse band.
- `pricing.html`: hero with a toggle and a pulse band the plan cards overlap, three plans, a comparison table, an FAQ and a call to action panel.
- `blog.html`: a training article with a chip, a cover frame holding a small pulse band, prose, an author card and related posts.
- `signup.html`: split page, the form on black and a coal panel with ghosts, a live pulse band and a quote.

## Page recipe

1. Nav on black.
2. Hero: ghosts, a short centered headline, a light gray lead, then the pulse band with the primary button in its center. One mono note under it.
3. The product, drawn as a `.pb-console` on its own, centered.
4. A section head (eyebrow, h2 with one `.pb-hot` phrase, lead) and three `.pb-card`s.
5. A `.pb-stats` row.
6. A quote on `.pb-coal`.
7. A closing section with ghosts, a centered h2 and a small pulse band holding the button. Then the footer.

Pricing recipe: hero with eyebrow, title and `.pb-toggle`, then a short pulse band with no gap. Pull `.pb-plans` up over its bottom edge. Feature the middle plan. Follow with the table, the FAQ on coal and a rounded call to action panel.

Article recipe: narrow column. Chip, a 3 line title, `.pb-meta`, then a `.pb-cover` that holds ghosts and a small pulse band. Prose at 18px, one blockquote, one callout, an author card, then three `.pb-post`s on coal.

Sign-up recipe: two columns. Form on the left (logo, eyebrow, h2, lead, two ghost social buttons, divider, fields, a large primary button). Coal panel on the right with ghosts, a live pulse band and a quote. The panel drops under the form on phones.

## Don'ts

- Don't add light sections, gradients across whole sections or a second accent color.
- Don't put the glow or the ring on more than one button per view.
- Don't use square buttons or heavy borders.
- Don't use bold headline weights above 500. The light weights are the point.
- Don't draw the bars with images or canvas. They are empty `<i>` elements styled by CSS.
- Don't use em dashes in copy.
