# Tile Key

Dark, exact and a little industrial, like a tool you would use with the lights low. The page is a near-black canvas held between two hairline rails, with light-weight grotesk headlines, mono caps for every label and button, and five saturated key colors. Those colors never fill big areas: they show up as small solid squares, outlined tags and one tinted tab, and each one always names the same category. The hero is a measured board: a hairline grid with a red and a green axis, dimension labels and outlined blocks, the way a CAD viewport or a timeline looks.

Use it for: tools with clear categories (stations, teams, channels, layers), operations and planning software, maker and hardware products, kitchens, workshops, studios, anything that should feel precise and hands-on. Avoid it for: soft wellness brands, kids, luxury fashion, long reading-first sites with no categories to color.

## 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 Tile Key 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 Mise, a made-up prep board for restaurant kitchens, built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Hanken Grotesk 300 | Hero and section headings. Light weight, tight tracking, sentence case. |
| Body | Hanken Grotesk 400 to 500 | Paragraphs, card titles, form inputs. |
| Labels | Spline Sans Mono 400 to 500 | Every button, nav chip, tab, tag, table header, caption and measurement. Always uppercase with 0.06em tracking. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--tk-void` | #09090A | Page background and the board |
| `--tk-panel` | #131315 | Nav bar, tabs, cards, picked plan |
| `--tk-panel-2` | #1C1C1F | Chips, hover, dimension labels |
| `--tk-rule` | #26262A | Every hairline and grid line |
| `--tk-rule-2` | #3A3A40 | Input borders, outlined buttons |
| `--tk-chalk` | #EDEBE5 | Headlines and body text, the light button |
| `--tk-dim` | #8F8D88 | Leads, secondary text |
| `--tk-sky` | #46C2E8 | Key color, and the main action button |
| `--tk-ember` | #F0742E | Key color |
| `--tk-orchid` | #E26BD9 | Key color |
| `--tk-lime` | #92E04C | Key color |
| `--tk-amber` | #EAB531 | Key color |
| `--tk-axis-x` / `--tk-axis-y` | #C8343A / #3F9D55 | The two axis lines on a board, nowhere else |

Rules:
- Decide what each key color means on your site (a station, a team, a product area) and never use it for anything else. No key color for warnings, highlights or decoration.
- Key colors appear as a 10px square (`.tk-key`), an outlined tag (`.tk-tag`), a 2px top line on a picked card, a tinted active tab or an outlined board block. Never as a large fill or a text gradient.
- Sky is also the one primary button. Use chalk (`.tk-btn--light`) for the second action, outlined for the rest.
- No gradients, no glows, no shadows.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--tk-text-hero` | clamp(42px, 6.4vw, 80px) | Hero headline, weight 300, tracking -0.025em, line-height 1.04, centered |
| `--tk-text-h2` | clamp(30px, 3.8vw, 46px) | Section headings, weight 300 |
| `--tk-text-h3` | 26px | Feature headings, weight 400 |
| `--tk-text-lead` | 17px | The sentence under a headline, dim, max 520px |
| `--tk-text-body` | 15px | Body |
| `--tk-text-label` | 11.5px | Mono caps labels, buttons, tabs, tags |

Headlines are plain promises ("Every station prepped before the first ticket"). No exclamation marks, no punctuation tricks.

## Shape and space

- Corners: square. 2px on buttons and inputs at most, 0 everywhere else.
- Lines: 1px hairlines in `--tk-rule`. The page sits inside `.tk-frame`, which draws a rail down each side.
- Section breaks: `.tk-break` is a hairline across the frame with a 7px colored square where it meets each rail. Change the square's color per break (`--ember`, `--lime`, `--sky`, `--amber`).
- Grids of cards share 1px gaps on a `--tk-rule` background, so the lines look ruled, not boxed.
- Sections: 72px to 120px vertical padding. Frame 1200px, content 920px, text 680px.
- Motion: short (150ms) and snappy. Hover changes background or brightness only.

## Components (in components.css)

- `.tk` on `<body>`: base font, background and color.
- `.tk-frame`, `.tk-container`, `.tk-narrow`, `.tk-section`, `.tk-break`: layout and section breaks.
- `.tk-nav` with `.tk-nav__logo`, `.tk-nav__links` and `.tk-chip`: one boxed bar of mono chips, each with its key square, plus one button on the right.
- `.tk-btn` with `--primary` (sky), `--light` (chalk), `--line` (outlined), `--block`: mono caps with a chevron added by CSS.
- `.tk-key` (+ `--lg`) and `.tk-c-*` (`lime`, `orchid`, `ember`, `amber`, `sky`, `chalk`): the key square and its color.
- `.tk-tag`: outlined mono caps label in a key color.
- `.tk-tabs` and `.tk-tab`: equal cells over a board. Set `aria-selected="true"` and `--tk-c` to tint the active one.
- `.tk-board`, `.tk-board__axis-x`, `.tk-board__axis-y`, `.tk-dim-label`, `.tk-block`: the measured board. Position axes, labels and blocks with `left`, `top` and `width` in percent.
- `.tk-feature`, `.tk-panel`: a picture panel next to a key square, heading and paragraph.
- `.tk-grid-3`, `.tk-cell`, `.tk-spec`: ruled card grid and spec list.
- `.tk-links`, `.tk-linkbox`: outlined download or platform links.
- `.tk-toggle`, `.tk-plans`, `.tk-plan` (+ `--pick`), `.tk-price`, `.tk-checks`, `.tk-table`, `.tk-faq`: pricing.
- `.tk-article`, `.tk-byline`, `.tk-figure`, `.tk-legend`: blog posts.
- `.tk-form`, `.tk-field`, `.tk-input`, `.tk-select`, `.tk-pickgrid`, `.tk-pick`, `.tk-check`: forms. `.tk-pick` is a checkbox drawn as a key-colored chip.
- `.tk-footer`: one ruled row.

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing page: boxed nav, centered light headline, tabs over a measured board, platform links, three feature rows, a ruled card grid, a closing call to action |
| `pricing.html` | Three ruled plans with a monthly and yearly toggle, a comparison table, FAQ |
| `blog.html` | A journal post with a byline row, a figure built from key colors, a pull quote and related posts |
| `signup.html` | A split screen: a board on the left, a form with station chips on the right |

## Page recipe

1. `<body class="tk">`, then `.tk-nav` above `.tk-frame`.
2. Hero: an optional `.tk-tag`, a `.tk-hero-title` of 6 to 9 words, a `.tk-lead`, then a sky button and a light button.
3. Right under the hero, the signature: `.tk-tabs` over a `.tk-board` showing your product as measured blocks on a grid with two axes and two or three dimension labels.
4. Between every section, a `.tk-break` with a different colored corner square.
5. Feature rows: picture panel on the left, then a large key square, an h3 and two sentences.
6. Close with a centered h2, a lead and two buttons, then `.tk-footer`.

Pricing recipe: tag, hero title, lead and `.tk-toggle`, then three `.tk-plan`s in `.tk-plans` (the middle one `--pick` with a tag), then a `.tk-table` and a two-column FAQ.

Article recipe: `.tk-narrow` column, a `.tk-tag` for the category, a slightly smaller hero title, `.tk-byline` in mono caps, then `.tk-article`. Use one figure built from key colors and one pull quote.

Sign-up recipe: two columns. Left: a `.tk-board` filling the column with a tag and h2 over it. Right: step label, h2, short lead, `.tk-form` with `.tk-pick` chips for categories, and a full-width sky button.

## Don'ts

- Don't round corners, add shadows or use gradients.
- Don't use a key color as a big background or for anything outside its category.
- Don't set labels or buttons in the sans font, or in sentence case.
- Don't make headlines bold. 300 is the weight.
- Don't drop the frame rails or the colored break squares: they hold the page together.
- Don't use em dashes in copy.
