# Lit Cell

A black night city seen from above, out of focus. Behind the page sits a mosaic of soft grey blocks, like lit windows through fog, and somewhere in it one or two sharp cobalt pixels glow and blink now and then. They are the only colour. Over that sit big, thin grotesque headlines, small uppercase mono labels and a strict square system: a white nav slab floating on black, solid white buttons beside white outline buttons, and hairline grids with hard corners. It feels raw, quiet and exact, like infrastructure that works at night.

Use it for: logistics and pickup networks, local services with a physical footprint, rentals, storage, food and farming businesses with a technical side, infrastructure and developer platforms, anything that wants to feel engineered and calm after dark. Avoid it for: kids, wellness, fashion, warm community brands, anything that needs photos, lots of colour or soft friendly shapes.

## 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 Lit 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 built only with the kit, for an invented network of cold pickup lockers for small food makers called Larder.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Hanken Grotesk 300 | Display, h1, h2, prices, stats and pull quotes. Thin weight, tight tracking (-0.035em), sentence case. |
| Body and UI | Hanken Grotesk 400 to 500 | Body and buttons at 400, h3, names and the wordmark at 500. |
| Labels | IBM Plex Mono 400 | Eyebrows, badges, table heads, form labels, meta lines, step numbers and panel readouts. Uppercase, 0.06em tracking, 11 to 12px. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--lc-pitch` | #060607 | The page and input fills |
| `--lc-coal` | #0E0F10 | Panels, cards, figure frames |
| `--lc-ash` | #1A1B1D | Every hairline and grid line |
| `--lc-ash-bright` | #303135 | Input borders, toggle and badge outlines, unlit icon dots |
| `--lc-block-1` to `--lc-block-4` | #121315 to #333438 | Mosaic blocks, locker cells and chart bars, darkest to lightest |
| `--lc-paper` | #F3F3F0 | Headlines, the nav slab, solid buttons, the featured plan |
| `--lc-ink` | #0A0A0B | Text on paper |
| `--lc-smoke` | #8D8E93 | Leads, body copy on dark, quieter halves of headlines |
| `--lc-fog` | #5A5B60 | Meta, placeholders, step numbers |
| `--lc-cobalt` | #4150F2 | The lit pixel, eyebrow squares, checks, list bullets, focus rings, link underlines |
| `--lc-cobalt-deep` | #2A35B5 | The second, dimmer pixel |
| `--lc-signal` | #F2655A | Errors only |

Rules:
- The page is black, white and grey. Cobalt appears only as small squares: a pixel, a bullet, a dot, one lit locker, one chart bar.
- Never fill a button or a section with cobalt. The main action is always the solid white button.
- At most two cobalt pixels per mosaic, one bright and one `--deep`.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--lc-text-display` | clamp(44px, 6.4vw, 92px) | Landing hero, two lines at most |
| `--lc-text-h1` | clamp(40px, 5.2vw, 72px) | Page titles, CTA titles |
| `--lc-text-h2` | clamp(30px, 3.6vw, 48px) | Section headings |
| `--lc-text-h3` | 21px | Card, plan and form titles, weight 500 |
| `--lc-text-lead` | 18px | Smoke lead, max 540px |
| `--lc-text-body` | 16px | Body |
| `--lc-text-micro` | 12px | Mono labels |

Headlines are short plain statements. A second clause can drop to `.lc-muted` ("Pay by the cell, by the morning."). Never bold or uppercase a headline.

## Shape and space

- Radius: 0 everywhere. Buttons, inputs, cards, badges, avatars, checkboxes and icons are all square.
- Borders: 1px `--lc-ash` for structure, 1px `--lc-paper` for outline buttons. Grids share borders (top and left on the grid, right and bottom on each cell) so they read as one sheet.
- Depth: no drop shadows. Depth comes only from the blurred mosaic behind and the cobalt halo on lit pixels.
- The mosaic: put `.lc-lit` on a section, then a `.lc-mosaic` layer with one full-size `.lc-block--1` and 4 to 12 `.lc-block` rectangles placed with left, top, width and height in percent, mixing `--2`, `--3` and a few small `--4`. Then a `.lc-pixels` layer with one `.lc-pixel` (tall) and maybe one `.lc-pixel--square.lc-pixel--deep`. Put pixels inside or near a light block. The bottom of every lit section fades to black so the text sits on dark.
- Layout: 1360px container with 40px gutters (16px on phones), 700px for articles. Sections 64 to 140px apart. The hero is tall, with the headline at the bottom left and the actions at the bottom right.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.lc` | Put on `<body>`: black page, Hanken Grotesk, clipped sideways overflow |
| `.lc-container`, `.lc-narrow`, `.lc-section`, `--tight`, `.lc-rule` | Layout and a hairline rule |
| `.lc-display`, `.lc-h1`, `.lc-h2`, `.lc-h3`, `.lc-lead`, `.lc-eyebrow`, `.lc-mono`, `.lc-muted`, `.lc-fog`, `.lc-cobalt` | Type. `.lc-eyebrow` carries a small glowing cobalt square |
| `.lc-btn`, `--solid`, `--ink`, `--lg`, `--sm`, `--block`, `.lc-link` | White outline button, solid white button, ink outline for paper surfaces, sizes and an underlined link |
| `.lc-nav`, `__inner`, `__slab`, `__links`, `__end`, `.lc-nav__keep`, `.lc-wordmark`, `__mark` | The white nav slab with square auth buttons beside it on black |
| `.lc-lit`, `.lc-mosaic`, `.lc-block`, `--1` to `--4`, `.lc-pixels`, `.lc-pixel`, `--square`, `--deep` | The signature blurred mosaic and lit pixels |
| `.lc-hero`, `__foot`, `.lc-actions` | Bottom-aligned hero with lead left and buttons right |
| `.lc-strip`, `__item` | A hairline row of customer names |
| `.lc-head` | Two-column section head: title left, lead right |
| `.lc-cells`, `--2`, `--4`, `.lc-cell`, `__icon` | Hairline feature grid with a 3 by 2 dot icon, one dot lit |
| `.lc-lockers`, `.lc-locker`, `--dim`, `--busy`, `--on`, `.lc-legend` | A wall of square cells with one lit cobalt |
| `.lc-panel`, `__bar`, `__body`, `.lc-row` | Readout panel with mono rows (`b` is white, `em` is cobalt) |
| `.lc-split`, `.lc-steps` | Two-column split and numbered hairline steps |
| `.lc-stat`, `__num`, `__label` | Big thin numbers with a cobalt unit |
| `.lc-badge`, `--cobalt`, `--paper`, `.lc-dot` | Square mono badges and a glowing dot |
| `.lc-toggle`, `.lc-plans`, `.lc-plan`, `--featured`, `__top`, `__price`, `__note`, `__list` | Billing toggle and a hairline plan grid; the featured plan turns paper white |
| `.lc-table-wrap`, `.lc-table`, `.lc-yes` | Comparison table with cobalt square ticks |
| `.lc-faq` | Details list with a mono plus and minus |
| `.lc-article__head`, `.lc-meta`, `.lc-author`, `.lc-avatar`, `.lc-prose`, `.lc-quote`, `.lc-figure`, `__frame` | Article parts |
| `.lc-card`, `.lc-form`, `.lc-field`, `.lc-field-row`, `.lc-label`, `.lc-input`, `.lc-select`, `.lc-hint`, `.lc-check`, `.lc-divider` | Forms |
| `.lc-cta`, `__inner` | Closing call to action, title left and buttons right |
| `.lc-footer`, `__grid`, `__base` | Footer |

## Pages in this kit

- `demo.html`: landing page with a tall lit hero, a strip of maker names, a six cell feature grid, a how-it-works split beside a live locker wall panel, a stats row and a lit CTA.
- `pricing.html`: lit header with a billing toggle, three plans with the middle one in paper white, a comparison table, FAQ and CTA.
- `blog.html`: a field-notes article with a bar chart drawn in mosaic greys and one cobalt peak, a pull quote, a list and inline code.
- `signup.html`: two columns, selling points on a lit left side and a coal form card on the right.

## Page recipe

1. A `.lc-lit` header holding `.lc-mosaic`, `.lc-pixels`, the `.lc-nav` slab and a `.lc-hero`: eyebrow, display headline, then lead and two buttons (solid white and outline) on one line.
2. A `.lc-strip` of names.
3. Sections opened by `.lc-head`, each with one idea: a `.lc-cells` grid, a `.lc-split` with `.lc-steps` and a `.lc-panel`, a row of `.lc-stat`.
4. A `.lc-cta` with its own small mosaic and one pixel, then `.lc-footer`.

Pricing recipe: lit header with eyebrow, h1 with a muted second clause, lead and `.lc-toggle`; then `.lc-plans` with the middle plan `--featured` and its `--ink` button; then a table and an FAQ in a 1 to 2 column split.

Article recipe: plain black page (no mosaic), `.lc-narrow` column, `.lc-article__head` with a cobalt badge in `.lc-meta`, h1, lead and `.lc-author`; one `.lc-figure` drawn with block greys and a single `.lc-locker--on` bar; `.lc-prose` with h2s every few paragraphs and one `.lc-quote`.

Sign-up recipe: a `.lc-lit` main with the mosaic low on the copy side, copy and numbered perks on the left, a `.lc-card` form on the right with mono labels, a solid white submit and an outline alternative under a `.lc-divider`.

## Don'ts

- Don't round anything. Not buttons, not inputs, not cards, not avatars.
- Don't add more than two cobalt pixels to a mosaic, and don't put cobalt on buttons or large fills.
- Don't put mosaic blocks behind body copy or forms at full strength; keep them behind headlines and empty space, with the fade at the bottom.
- Don't use drop shadows, gradients on text or glassy blur on cards. Only the mosaic is blurred.
- Don't use photos or colourful illustrations. Draw with blocks, hairlines and squares.
- Don't set headlines bold or in uppercase. Only mono labels are uppercase.
- Don't use em dashes in copy.
