# Cobalt Cell

A near-black control room. Content sits in hairline cell grids with small crosshair marks where the lines meet, headlines are tight bold sans, and every label, tab and button speaks in uppercase mono. One electric cobalt accent carries the actions; a warm sodium amber appears only on live readings and warnings. The hero is a tabbed readout panel, like a terminal for real-world data. It feels exact, calm and quietly futuristic, as if the page is reporting rather than selling.

Use it for: monitoring and sensor products, logistics and operations tools, hardware with an app, infrastructure, B2B software, anything whose product is a live number. Avoid it for: warm consumer brands, kids, food menus, wellness, anything that should feel soft or decorative.

## 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 Cell 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 an invented cold-chain monitoring service, built only with the kit.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Archivo 700 | Hero and section headings, big numbers. Tight tracking (-0.035em), line-height near 1. |
| Body | Archivo 400 to 600 | Paragraphs, card titles, form inputs. |
| Mono | IBM Plex Mono 400 to 500 | Nav links, labels, tabs, buttons, table values, readouts. Labels are uppercase with 0.08em tracking. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--cc-void` | #0A0B0E | Page background |
| `--cc-panel` | #101217 | Readout panels, cards, CTA band |
| `--cc-raised` | #161921 | Active tab, selected toggle, inline code |
| `--cc-line` | #22262F | Every cell border and divider |
| `--cc-line-2` | #323845 | Panel outlines, input borders, outline buttons |
| `--cc-text` | #ECEEF3 | Headlines and body |
| `--cc-soft` | #8B92A1 | Leads, labels, secondary text, crosshair ticks |
| `--cc-faint` | #5A6170 | Timestamps, the dimmed half of a headline |
| `--cc-cobalt` | #2F6CF6 | The accent: primary button, active tab underline, section numbers |
| `--cc-cobalt-hi` | #5D8DFF | Cobalt on dark text and lines (chart lines, icons, label accents) |
| `--cc-sodium` | #F2A23C | Live warnings only: a spike, a door left open, a "field notes" badge |
| `--cc-ok` | #4CC38A | Healthy status dots and in-range values |

Rules:
- The page is always `--cc-void`. Panels step up one shade; nothing is ever light.
- Cobalt appears on one primary button per view plus small marks (tab underline, a label, an icon). Never a full cobalt section.
- Sodium is a signal, not decoration. If nothing is wrong or live, it does not appear.
- The only gradients are the faint masked page grid behind heroes and a cobalt wash at the bottom of the CTA band.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--cc-text-hero` | clamp(42px, 5.6vw, 76px) | Hero headline, left-aligned, 2 to 3 lines |
| `--cc-text-h2` | clamp(30px, 3.8vw, 46px) | Section headings |
| `--cc-text-h3` | 21px | Cell and card titles, Archivo 600 |
| `--cc-text-lead` | 19px | The sentence under a headline, soft gray |
| `--cc-text-body` | 16px | Body |
| `--cc-text-label` | 12px | Mono uppercase labels |

Headlines are short, flat statements that end with a period ("Know the temperature of every crate."). A common move is to dim the second half with `.cc-dim`: "Pay per sensor. Nothing else." Section labels are numbered: `01 / What it does`.

## Shape and space

- Borders: 1px only. `--cc-line` inside grids, `--cc-line-2` around panels and inputs.
- Radius: 3px on buttons, inputs and badges, 6px on cards, 10px on readout panels and the CTA band. Nothing round except status dots.
- Shadows: one deep, soft drop under readout panels (`--cc-shadow`) and a cobalt glow on primary button hover (`--cc-glow`). No hard offsets.
- Crosshair ticks: every `.cc-cell` draws a 9px "+" at its top-left corner, so a grid of cells shows small marks at each meeting point. This is the signature; keep it on every grid.
- Sections: 112px vertical padding (72px when tight). Container 1180px, article text 700px.
- Motion: color and glow transitions of 150ms. No scroll animation.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.cc-nav`, `.cc-nav__links`, `.cc-nav__slash` | Sticky blurred bar: logo, a mono slash, mono uppercase links, two small buttons right |
| `.cc-logo`, `.cc-logo__mark` | Wordmark with a square-in-square mark |
| `.cc-hero`, `.cc-hero__grid`, `.cc-hero__actions` | Two-column hero: text left, readout right |
| `.cc-gridbg` | Faint 72px line grid, masked to fade at the edges; place absolutely behind a hero |
| `.cc-hero-title`, `.cc-h2`, `.cc-h3`, `.cc-dim` | Tight bold headings; `.cc-dim` fades part of one |
| `.cc-lead`, `.cc-label`, `.cc-label--cobalt`, `.cc-mono` | Lead text, mono uppercase labels |
| `.cc-btn--primary/outline/ghost`, `--sm`, `--block` | Mono-text square buttons |
| `.cc-badge`, `--cobalt`, `--sodium`, `.cc-dot` | Outlined mono tags and status dots |
| `.cc-readout`, `__tabs`, `__tab`, `__bar`, `__body`, `__line` | The tabbed product window with a status bar, a chart and timestamped lines |
| `.cc-chart` | Inline SVG chart slot inside a readout |
| `.cc-cells`, `.cc-cell`, `--center`, `.cc-cells--logos` | The hairline grid with crosshair ticks; set columns with `style="--cols:3"` |
| `.cc-cell__icon`, `.cc-wordmark`, `.cc-stat__num` | Outlined icon tile, text wordmark for logo walls, big numbers |
| `.cc-head` | Section header row: label and heading left, a small button right |
| `.cc-card` | A standalone panel when a grid is too much |
| `.cc-field`, `.cc-input`, `.cc-select`, `.cc-choice`, `.cc-check`, `.cc-hint` | Form parts; `.cc-choice` is a row of radio tiles |
| `.cc-toggle` | Mono segmented control (billing period) |
| `.cc-plan`, `--featured`, `__price`, `__list` | Pricing cells, used inside `.cc-cells` |
| `.cc-table`, `.cc-table-wrap` | Comparison table with mono values |
| `.cc-faq` | Details list with a mono plus |
| `.cc-article`, `.cc-prose`, `.cc-callout`, `.cc-figure` | Blog post parts |
| `.cc-cta` | Bordered closing band with a cobalt wash at the bottom |
| `.cc-footer`, `__grid`, `__base` | Four-column footer with mono headings |

## Pages in this kit

- `demo.html`: landing page (hero with readout, logo cells, feature cells, stat cells, steps, quote, CTA, footer)
- `pricing.html`: three plans in a cell grid, billing toggle, comparison table, FAQ
- `blog.html`: a field-notes post with a chart figure and a callout
- `signup.html`: split screen, grid-backed pitch with a readout on the left, form on the right

## Page recipe

1. `.cc-nav` with logo, slash, 4 to 5 links, a ghost and an outline button.
2. `.cc-hero` with `.cc-gridbg` behind: a badge, a 2 to 3 line headline, a lead, a primary and an outline button. The right column is always a `.cc-readout` showing the product as live data, never a photo.
3. A logo wall as `.cc-cells--logos` with 6 columns of text wordmarks.
4. Numbered sections (`01 / ...`) whose content lives in `.cc-cells`: 3 columns of features, 4 columns of stats, 3 columns of steps.
5. A plain quote: large Archivo 500, a mono label for the name.
6. `.cc-cta`, then `.cc-footer`.

**Pricing recipe:** centered head over the page grid, `.cc-toggle`, plans as three `.cc-cell.cc-plan` in one grid with the middle one `--featured`, then `.cc-table`, then a two-column FAQ.

**Article recipe:** mono back link, a badge, headline, lead and mono meta row, a hairline rule, then `.cc-prose` at 700px. Charts go in a `.cc-readout` figure. One `.cc-callout` per post. End with two related posts in a 2-column cell grid.

**Sign-up recipe:** two columns at full height. Left: grid background, label, heading, lead, three stat cells and a small readout showing what happens next. Right: a form no wider than 440px with mono labels, a radio tile row and one block primary button.

## Don'ts

- Don't use a light background or a light section anywhere.
- Don't round buttons into pills or use radius above 10px.
- Don't drop the crosshair ticks from a grid or replace cells with floating shadowed cards.
- Don't use photos or illustrations for the product. Show it as a readout, a chart or numbers.
- Don't use sodium amber for decoration or cobalt for large fills.
- Don't set body copy or headlines in mono; mono is for labels, controls and data.
- Don't use em dashes in copy.
