# Glow Plot

A deep green-black style for technical products that want to feel calm and a little bit alive. Light, regular-weight grotesk headlines with one phrase lit in sprout green, soft pill buttons (a pale one for the main action, a dark one beside it), and rounded dark panels that hold smaller node cards full of colored cells. The signature is the glow: solid-looking shapes drawn entirely from fields of tiny green dots, and diagrams where each group of cells gets its own color (sprout, violet, coral). No shadows and no gradients beyond a faint wash; the only light on the page comes from green.

Use it for: labs and testing services, science and research tools, agriculture and soil, health diagnostics, data and AI infrastructure, developer platforms, energy and climate tech. Avoid it for: bright consumer brands, kids' products, food and fashion, editorial storytelling, anything that needs a white page or a warm mood.

## 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 Glow Plot 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 mail-in soil testing lab called Tilth.

## Fonts

All free on Google Fonts:

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

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines and body | Hanken Grotesk | 300 for big numbers and prices, 400 for headlines and text, 500 for buttons and small titles, 600 for the logo | Everything people read |
| Labels | JetBrains Mono | 400 | Small uppercase panel labels, captions, tags, table heads, code, step lists |

Headlines are never bold. Hierarchy comes from size and from the lit phrase, not weight.

## Color

| Token | Hex | Use |
|---|---|---|
| `--gp-paper` | #090D0A | The page, inputs |
| `--gp-night` | #050806 | The announcement bar and the closing band |
| `--gp-mat` | #111612 | The big rounded panel around every figure, the code panel |
| `--gp-panel` | #181E19 | Node cards, plan cards, stat cards, cards, dark pill buttons |
| `--gp-raised` | #212822 | The active tab, the pressed toggle, inline code, avatars |
| `--gp-line`, `--gp-line-strong` | #222A23, #364037 | Hairlines; field borders |
| `--gp-ink` | #E8EDE6 | Text |
| `--gp-soft` | #9AA49B | Leads, secondary text, nav links |
| `--gp-faint` | #646E65 | Captions, panel labels, idle text |
| `--gp-sprout` | #7FE35A | The lit phrase, live cells, the dot shapes, chart lines, bullets, index numbers, the one green button |
| `--gp-sprout-soft`, `--gp-sprout-wash` | #27431F, #122012 | Focus halo and active tab icon; the featured plan's and chosen option's wash |
| `--gp-pill` | #E6EBE3 | The pale pill: main buttons, with `--gp-on-pill` text |
| `--gp-violet`, `--gp-violet-dim` | #8F7CF0, #4A4285 | A second group of cells; finished cells |
| `--gp-coral` | #EF7D5E | A third group of cells, resample and fail states |
| `--gp-cell` | #2B332C | Idle cells |

Green is the light source: use it for one phrase per headline at most, and for things that are live. Violet and coral only appear inside diagrams.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `gp-hero-title` | clamp(38px, 5vw, 68px) | Hanken Grotesk 400, line-height 1.1, tracking -0.025em. Wrap the key phrase in `gp-lit` |
| `gp-h2` | clamp(28px, 3vw, 40px) | Same, may also have a lit phrase |
| `gp-h3` | 17px | 500 |
| `gp-stat`, `gp-plan__price` | clamp(36px, 3.6vw, 48px), 44px | Weight 300, tracking -0.04em |
| `gp-lead` | 18px | `--gp-soft`, max 580px |
| Body | 15px | 400, line-height 1.6 |
| `gp-prose` | 17px | line-height 1.7, h2s with a green number above |
| `gp-label` | 11px | JetBrains Mono, uppercase, tracking 0.08em |
| `gp-caption` | 11px | JetBrains Mono, `--gp-faint` |

Buttons, nav and copy are sentence case. Only mono labels are uppercase.

## Shape and space

- Figures are 14px-radius panels (`--gp-radius`), node cards and plans are 10px (`--gp-radius-card`), tags and inputs 6px, buttons and tabs are full pills.
- Panels nest: page, then a `--gp-mat` panel, then `--gp-panel` cards inside it. Each step is a little lighter. Never put a light surface on the page.
- Hairlines separate; nothing has a shadow.
- Cells are 10px rounded squares; `gp-plate--hex` and `gp-plate--diamond` change their shape per diagram.
- Sections are 72 to 128px tall in padding. The hero is centered; most other sections are left aligned.

## Components (in components.css)

- **Announcement bar** `gp-bar` on night, with one ink link.
- **Nav** `gp-nav`: logo left (a 3x3 grid of green dots, then the name), centered `gp-nav__links` (hidden under 860px), and on the right a "Log in" link and one pale `gp-btn--primary` pill.
- **Buttons** `gp-btn` plus `--primary` (pale pill), `--outline` (dark pill), `--sprout` (green, once per page, usually the closing band), `--lg`, `--block`, `--arrow`.
- **Tags** `gp-tag` (pill), `--pass`, `--fail`, `--live` (green dot), `--new` (solid green).
- **Hero** `gp-hero gp-center`: title with `gp-lit`, `gp-lead`, `gp-actions`, then `gp-shapes`.
- **Dot shapes** `gp-shapes` of `gp-dots` with `--hex`, `--stack`, `--ring`, `--steps`, `--diamond`: objects drawn from two offset fields of green dots with a soft edge. Use four in a row (two on phones).
- **Figure** `gp-fig` > `gp-fig__caption` (an uppercase mono label) + `gp-fig__panel` (a node card), with `gp-fig__head` and `gp-fig__foot`. Use `gp-nodes` for several node cards side by side.
- **Plate** `gp-plate` (set `--cols`) of `gp-cell` with `--run`, `--wait`, `--done`, `--violet`, `--fail`; `gp-legend` names them.
- **Logos** `gp-logos`: a caption on the left, gray wordmarks on the right.
- **Tabs and file** `gp-files`: a vertical pill tab list (the active one is raised with a green icon) beside a code panel with automatic line numbers (`b` keys in green, `i` comments faint).
- **Index** `gp-index`: four columns, green mono numbers above short definitions.
- **Rows** `gp-rows`, **stats** `gp-stats` of `gp-statcard` (each its own card with a green line chart and `gp-results`), **cards** `gp-cards`, **quote** `gp-quote`, **author** `gp-author` with a round `gp-avatar`.
- **Pricing** `gp-plans` of `gp-plan` (`--featured` gets a green edge and a faint wash), `gp-plan__price`, `gp-checks` (green dots, `is-off` for missing), `gp-toggle`, `gp-table`.
- **FAQ** `gp-faq`; **article** `gp-article__meta`, `gp-prose`, `gp-note` (labelled "Note" in green), `gp-toc` (pill links).
- **Forms** `gp-form`, `gp-field`, `gp-input`, `gp-select`, `gp-hint`, `gp-row2`, `gp-choices` of `gp-choice` (green edge and wash when picked), `gp-check`, `gp-steps`.
- **Footer** `gp-footer` with `gp-footer__grid` and a `gp-footer__base` status line with a green dot.

## Pages in this kit

- `demo.html`: landing page. Bar, nav, centered hero with four dot shapes, a live plate figure, logos, a tab list and report file, a numbered index, rows beside a node card, three stat cards, a quote and a night closing band with the green button.
- `pricing.html`: three plan cards inside a figure, a comparison table, add-on cards, an FAQ and the closing band.
- `blog.html`: a field note with meta, a pill table of contents, numbered h2s, a plate figure, a note and related cards.
- `signup.html`: steps, a lit title and a small figure on the left; the form inside a figure on the right.

## Page recipe

1. `body.gp`, optional `gp-bar`, then `gp-nav`.
2. Hero: centered, a six to ten word title with the last phrase in `gp-lit`, one lead sentence, a pale and a dark pill, then `gp-shapes`.
3. Straight after, one big `gp-fig` showing the product as a diagram of cells or node cards.
4. Alternate sections split by `gp-section--ruled`, each opened by a `gp-head`. Keep diagrams in figures and text outside them.
5. End with a `gp-section--night` band: a label, an h2, the green `gp-btn--sprout`, then `gp-footer`.

**Pricing:** left-aligned label, lit title, lead, `gp-toggle`, then the plans inside a `gp-fig`. Feature the middle plan and give it the only pale button; the others get dark pills. Follow with a `gp-table` and an FAQ.

**Article:** meta (section link, number, read time, a `--new` tag), a lit title, lead, author, a hairline, then a pill `gp-toc` beside `gp-prose`. Number each h2 with a green `gp-index__no` and include at least one figure.

**Sign up:** `gp-steps`, a lit title and lead on the left with a small figure and checks; the form inside a `gp-fig` on the right, captioned with an uppercase label. One pale block button.

## Don'ts

- Don't use a white or light section anywhere.
- Don't light more than one phrase per heading, or use green for decoration that isn't live.
- Don't bold headlines or set them in the mono.
- Don't add shadows, glows or neon blur. The dot fields are the glow.
- Don't use square buttons; every button is a pill.
- Don't use violet or coral outside diagrams.
- Don't use em dashes in copy.
