# Bracket Mint

Fast, flat and plain-spoken on near-black. A big, light sans headline sits centered over small mono details, and every label, tab and toggle is wrapped in square brackets: `[Pricing]`, `[+]`, `[ live ]`. Corners are square everywhere. The main button is a solid block of spring mint with dark mono text, and the only other color on screen is the mint of live numbers glowing inside thin bordered panels. There are no shadows, no gradients and no rounded pills. It feels like a well-made instrument panel: honest, quick, a little nerdy, and fresh rather than cold.

Use it for: live data and monitoring products, small-business tools with numbers at their heart (breweries, farms, workshops, logistics), developer and data platforms, sensor and hardware companions, anything that sells on "see it now". Avoid it for: luxury and lifestyle brands, kids' products, wellness and calm-first products, anything that needs photography, warmth or soft shapes to sell.

## 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 Bracket Mint 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 a made-up live fermentation monitor for craft breweries called Hoplog.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Sans | Geist 300 to 600 | Headlines at 400 (big stats at 300), body at 400, card titles at 500, the logo at 600. |
| Mono | Geist Mono 400 to 500 | Nav links, every button label, bracket tabs, eyebrows, badges, table heads, axis labels, code. |

The split is strict: sentences are sans, controls and labels are mono. If a user can click it or it names a thing, it is mono.

## Color

| Token | Hex | Role |
|---|---|---|
| `--bm-bg` | #0C0D0C | Page background. Near-black with a hint of green. |
| `--bm-sunk` | #080908 | Footer, inputs, code blocks |
| `--bm-panel` | #131514 | Readout windows, featured plan, closing band |
| `--bm-panel-2` | #1A1D1B | Selected tab, table heads, hover |
| `--bm-line` | #252A27 | Every 1px border and grid gap |
| `--bm-line-bright` | #353B37 | Inputs, ghost buttons, chart guides |
| `--bm-text` | #F1F3F1 | Headlines, strong words, nav links |
| `--bm-mute` | #959C97 | Body copy and leads |
| `--bm-faint` | #5F6661 | Captions, axis labels, logo strip |
| `--bm-mint` | #33F0A0 | Primary button fill, live numbers, active tab, brackets, links |
| `--bm-mint-ink` | #03140B | Text on a mint button |
| `--bm-amber` | #F2BD4B | One warning badge per screen |
| `--bm-red` | #FF6A5C | Errors only |

Rules:
- Mint is for action and for live data. Use it on the primary button, the selected tab, the number that matters in a sentence (`<b>` inside `.bm-statline`), one line of a headline and the bracket marks. Never for body paragraphs or big background fills.
- Surfaces are flat. The page is near-black, panels are one step up, and nothing has a shadow or gradient. The only translucent fill is the faint mint wash under a chart line.
- Amber is a status color: one badge per screen at most.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--bm-text-hero` | clamp(40px, 6vw, 76px) | Centered hero headline, weight 400, two lines |
| `--bm-text-h1` | clamp(34px, 4.6vw, 56px) | Page titles and closing bands |
| `--bm-text-h2` | clamp(28px, 3.4vw, 40px) | Section heads |
| `--bm-text-h3` | 19px | Card titles, weight 500 |
| `--bm-stat` | clamp(36px, 4vw, 52px) | Big numbers, weight 300, with a mono mint unit |
| `--bm-text-lead` | 18px | Leads, max 560px |
| `--bm-text-body` | 15px | Body; article prose is 17px |
| `--bm-text-micro` | 12px | Mono eyebrows, tags, axis labels |

Headlines are sentence case with tight tracking (-0.03em) and line height 1.06. They are short and concrete ("Know every tank before the beer does"). Mono text is never uppercase except eyebrows, labels and table heads.

## Shape and space

- Radius: 0 everywhere. Buttons, inputs, panels, badges, avatars: all square.
- Borders: 1px `--bm-line`. Grids of cards are drawn with a 1px gap over the line color, so cells share borders like a spreadsheet.
- Shadows: none. Focus is a 2px mint ring. The featured plan gets a 2px mint top edge.
- Brackets: tabs, toggles, list bullets (`[+]`), FAQ toggles (`[+]` / `[-]`), eyebrows (`[ PRODUCT ]`) and footer notes all use square brackets. That is the signature; keep it consistent.
- Charts: inline SVG, 1px grid lines in `--bm-line`, one 2px mint line, a faint mint wash below, one square marker. Mono axis labels in `--bm-faint`.
- Sections: 120px vertical padding (80px on phones), separated by 1px lines. Container 1120px, narrow 680px.
- Motion: only the live dot blinks (a square, in steps). It stops with reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.bm-nav` | Sticky bar with logo, mono links (`Product [+]`, a mint `NEW` superscript via `.bm-sup`) and two buttons |
| `.bm-btn--mint` / `--text` / `--ghost` / `--sm` / `--block` | Square mint block, mint text link button, bordered ghost, small and full width |
| `.bm-hero` | Centered hero: headline, lead, actions |
| `.bm-tabs` + `.bm-tab` | Bracket tab bar: `[Lagers] \| [Hazy IPA]`, selected tab is mint in a bordered cell |
| `.bm-eyebrow` | Mono uppercase label in mint brackets |
| `.bm-window` (`__bar`, `__body`) + `.bm-live` | Readout panel with a mono title bar and a blinking live marker |
| `.bm-statline` | A sentence with its number in mint `<b>` |
| `.bm-stat` | Big light number with a mono mint unit in `<small>` |
| `.bm-grid--2` / `--3` + `.bm-card` | Spreadsheet-style card grid with shared 1px borders |
| `.bm-code` | Sunk code block; `.k` mint keywords, `.s` amber strings, `.c` faint comments |
| `.bm-badge` / `--mint` / `--amber` | Square mono badges |
| `.bm-logos` | Mono customer name strip |
| `.bm-field`, `.bm-label`, `.bm-input`, `.bm-hint`, `.bm-check`, `.bm-choice` | Form parts; `.bm-choice` is a segmented radio that brackets the chosen option |
| `.bm-plans` + `.bm-plan` (`--hot`) | Pricing columns sharing borders; the featured plan has a mint top edge |
| `.bm-table` in `.bm-table-wrap` | Comparison table with mono heads |
| `.bm-faq` | Details list with `[+]` / `[-]` toggles |
| `.bm-article-head`, `.bm-meta`, `.bm-prose` | Article header, bracketed meta line, prose with `##` heads and `[+]` bullets |
| `.bm-band` | Closing call to action on a panel |
| `.bm-footer` | Sunk footer with mono column heads and a bracketed base line |

## Pages in this kit

- `demo.html`: landing page. Centered hero, a readout window with bracket tabs that swap a stat sentence, a live chart and side stats, a logo strip, a six-card grid, a config code block and a stats row.
- `pricing.html`: bracket billing toggle, three plans sharing borders, comparison table, FAQ, closing band.
- `blog.html`: article with a chart cover in a readout window, prose, quote, code and bracket bullets.
- `signup.html`: split screen, a panel with the promise and a live window on the left, the form on the right.

## Page recipe

1. `.bm-nav` at the top.
2. `.bm-hero`: centered headline (two lines), one lead, a mint button plus a text button.
3. Directly under it, a `.bm-window` that shows the product as live data: a `.bm-tabs` bar to switch examples, a `.bm-statline`, a mint chart and two or three `.bm-stat` numbers.
4. A `.bm-logos` strip between two lines.
5. A `.bm-grid--3` of numbered cards (`[01] SENSE`).
6. A split section with copy on one side and `.bm-code` or another window on the other.
7. A stats row, a `.bm-band`, then `.bm-footer`.

Pricing recipe: centered head with a bracket billing toggle, `.bm-plans` with the middle plan `--hot`, a comparison `.bm-table`, then `.bm-faq` beside its heading.

Article recipe: `.bm-article-head` in the narrow container with eyebrow, title, lead, `.bm-meta` and a chart in a `.bm-window` as the cover; then `.bm-prose`.

Sign-up recipe: two columns. The left is a `.bm-panel` side with the promise, a `[+]` list and a live window; the right is the form with a ghost social button, an "or" rule and mono labels.

## Don'ts

- Don't round anything. Not buttons, not avatars, not badges.
- Don't add shadows, glows on cards or gradient backgrounds.
- Don't use mint for paragraphs or large fills; it is for the action and the live number.
- Don't set sentences in mono or labels in sans.
- Don't drop the brackets on some tabs and keep them on others.
- Don't use photography or illustration. Show the product as numbers, charts and code.
