# Cobalt Floor

A saturated cobalt stage over plain white paper. Every page opens on a full-bleed field of electric blue: a faint grid covers it, a perspective grid floor recedes toward the horizon at the bottom, one hairline spine runs down the middle and small outlined paper sheets drift across the floor. On that stage sit square white panels, like index cards laid on a blue desk. Headlines are a calm book serif, labels are small mono capitals, body text is a clean grotesk, and nothing has a rounded corner. Below the stage the page turns to white paper with hairline grids. It feels exact, quiet and slightly from the future, with one color doing all the work.

Use it for: search and data products, archives and collections, research tools, science and nature projects, museums, libraries, anything that indexes a lot of material and wants to feel precise without feeling cold. Avoid it for: cosy food and lifestyle brands, kids' products, anything loud or multicolored, luxury goods that need photography to lead.

## 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 Cobalt Floor 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 an invented botanical archive called Herbaria that reads the labels on pressed plant specimens.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Source Serif 4, 400 | Hero, section headings, prices, stats, quotes, FAQ questions. Regular weight, slightly tight tracking. Never bold. |
| Body | Geist, 400 to 500 | Paragraphs, nav, buttons, cards, forms, product UI. |
| Labels | Geist Mono, 400 | Eyebrows, plan names, table heads, form labels, bylines, scores, figure captions. Always 12px capitals with 0.08em tracking. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--cf-cobalt` | #1D21E6 | The stage background, primary buttons on paper, links, check squares |
| `--cf-cobalt-deep` | #1417B4 | Bottom fade of the stage, hover on cobalt buttons |
| `--cf-cobalt-soft` | #3A3EF0 | Ghost buttons, toggles and badges sitting on the stage |
| `--cf-night` | #0A0C66 | Announcement strip and code blocks |
| `--cf-ice` | #C3C6FF | Secondary text on the stage (leads, eyebrows, bylines) |
| `--cf-paper` | #FFFFFF | Page background below the stage, panels on the stage, the main button on the stage |
| `--cf-fog` | #F3F4FA | Quiet sections, table heads, tool chips |
| `--cf-rule` | #DCDEEA | Every hairline on paper |
| `--cf-tint` | #E8E9FD | Featured plan, selected choices, highlights, icon tiles |
| `--cf-ink` | #10123A | Text on paper |
| `--cf-soft` | #575A7C | Secondary text on paper |

Rules:
- Cobalt is the only hue. No second accent, no gradients beyond the stage's own fade to `--cf-cobalt-deep`.
- Each page has one stage at the top (hero) and at most one more (a closing call to action). Everything else is white paper or fog.
- On the stage, the main button is white paper with ink text. On paper, the main button is cobalt with white text.
- Green, amber and red (`--cf-ok`, `--cf-warn`, `--cf-error`) appear only in product UI and form messages.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--cf-text-hero` | clamp(40px, 5.4vw, 72px) | Hero headline, line-height 1.04, tracking -0.022em, centered on landing and pricing |
| `--cf-text-h2` | clamp(30px, 3.6vw, 46px) | Section headings |
| `--cf-text-h3` | 22px | Card and feature titles, serif 500 |
| `--cf-text-lead` | 18px | Lead under a heading, max 580px, `--cf-soft` on paper and `--cf-ice` on the stage |
| `--cf-text-body` | 16px | Body; 18px inside articles |
| `--cf-text-label` | 12px | Mono capitals for every label |

Headlines are short and plain: a statement in sentence case, no period, usually broken onto two lines (`Every pressed plant,<br>searchable`).

## Shape and space

- Radius: 0 everywhere. Buttons, inputs, panels, badges, avatars and checkboxes are all square.
- Borders: 1px `--cf-rule` on paper. Feature grids share borders (a single grid of hairline cells, not separate cards).
- Shadows: only `--cf-shadow-panel`, a deep soft drop under white panels that sit on the stage. Nothing on paper has a shadow.
- Bullets and checks are 10px solid cobalt squares, not ticks.
- Container 1180px, narrow 720px. Sections 120px top and bottom (76px on phones). Nav 64px tall.

## Components (in components.css)

- `.cf-strip`: the night announcement bar, mono capitals with one inverted white link.
- `.cf-stage`: the cobalt field. Inside it put `.cf-stage__spine` (center hairline), `.cf-stage__floor` (perspective grid) and `.cf-sheets` with 14 empty `<span>`s (8 for a short stage). Wrap content in `.cf-stage__inner`; add `.cf-stage--short` for article heads and closing bands.
- `.cf-nav`, `.cf-nav__links`, `.cf-nav__actions`, `.cf-nav__signin`, `.cf-logo`: white on the stage; add `.cf-nav--paper` for a nav on white.
- `.cf-btn` with `--paper`, `--ghost` (both for the stage), `--cobalt`, `--line` (both for paper), plus `--lg` and `--block`. Primary buttons end in a small arrow SVG that nudges right on hover. `.cf-btn-row` lays them out.
- `.cf-panel` with `__head`, `__query` (and `.cf-caret`), `__tools`, `__body`: the signature white query box on the stage. `.cf-tool` (and `--go`), `.cf-tabs`, `.cf-results`, `.cf-thumb`, `.cf-score` fill it.
- `.cf-hero-title`, `.cf-h2`, `.cf-h3`, `.cf-lead`, `.cf-eyebrow`, `.cf-mono`, `.cf-mark`.
- `.cf-grid` (`--2`, `--4`) of `.cf-cell` with `.cf-cell__index` ("01 / Scan"): hairline feature grids. `.cf-icon` for an optional square icon tile.
- `.cf-stat`, `.cf-card`, `.cf-badge` (`--line`), `.cf-split`, `.cf-code`, `.cf-quote`.
- Pricing: `.cf-toggle`, `.cf-plans` (one white panel split into three columns), `.cf-plan` (`--featured` gets the tint), `.cf-plan__name`, `.cf-price`, `.cf-plan__note`, `.cf-checks`, `.cf-table-wrap`, `.cf-table`, `.cf-yes`, `.cf-no`, `.cf-faq`.
- Article: `.cf-byline`, `.cf-avatar`, `.cf-article`, `.cf-figure`, `.cf-aside`.
- Forms: `.cf-form`, `.cf-row`, `.cf-label`, `.cf-input`, `.cf-select`, `.cf-textarea`, `.cf-hint`, `.cf-error`, `.cf-check`, `.cf-choice`, `.cf-divider`.
- `.cf-footer` with `__grid` and `__base`.

## Pages in this kit

- `demo.html`: strip, stage hero with a live-looking query panel and result list, a hairline "how it works" grid, a fog split with an annotated specimen sheet, a row of serif stats, a short closing stage, footer.
- `pricing.html`: stage hero with a billing toggle and the three-column plans panel resting on the floor, a comparison table, FAQ on fog.
- `blog.html`: short stage with eyebrow, serif title, lead and mono byline; a narrow article with a figure, quote, aside and code block; three related cards.
- `signup.html`: a split screen, a full-height stage on the left with the headline and a quote at the bottom, the form on white on the right.

## Page recipe

1. Optional `.cf-strip` for one announcement.
2. A `.cf-stage` with spine, floor and sheets. Nav inside it, then a centered eyebrow, two-line serif headline, lead and one white button.
3. A white `.cf-panel` sitting on the floor that shows the product working (a query and its results, a plan grid, a form).
4. Paper sections: a hairline `.cf-grid`, a `.cf-split` on fog with an annotated figure, a stats row.
5. Optional short closing stage with one headline and two buttons, then the footer on white.

Pricing recipe: stage hero with `.cf-toggle`, then `.cf-plans` inside the stage so it rests on the floor, then the comparison table and FAQ on paper.

Article recipe: `.cf-stage--short` header with a left-aligned narrow column (eyebrow, title, lead, byline), then `.cf-article` in `.cf-narrow` on white. Figures sit in a fog frame with a mono caption.

Sign-up recipe: two columns, stage left (logo top, headline at the bottom), form right with mono labels, a three-way `.cf-choice`, one cobalt block button and a line button below an `or` divider. On phones the stage stacks on top and its quote hides.

## Don'ts

- Don't round anything. Not buttons, not avatars, not checkboxes.
- Don't add a second accent color or a multicolor gradient. Cobalt and white only.
- Don't bold the serif. Weight comes from size.
- Don't put the floor and sheets on white sections; they belong only on the stage.
- Don't stack cards with gaps and shadows on paper. Use shared hairline grids.
- Don't write labels in sentence case. Labels are mono capitals; headings are serif sentence case.
- Don't use em dashes in copy.
