# Green Wire

Quiet, technical and sure of itself on warm charcoal. Headlines split into two tones, a pale first line and a mint second line, so every promise reads as "do this now, get that later". The product is explained in a bento grid of flat panels, and every visual inside them is a thin gray wireframe drawing (a half globe, an isometric box, a calendar of dashed slots, rows of mono tags) with one or two mint nodes lit up. Buttons are small and calm: a deep moss fill with a brighter green edge, next to a dark ghost button. It feels like a tool made by careful engineers who want you to trust them with something important.

Use it for: practice and booking software, healthcare and pet care tools, B2B platforms for small teams, data and records products, developer platforms, anything that has several modules to explain at once. Avoid it for: playful consumer brands, kids' products, fashion and lifestyle, anything that needs photography or loud color 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 Green Wire 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 practice software for independent vet clinics called Pawpost.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Sans | Figtree 400 to 600 | Everything: headlines at 500 with tight tracking, body at 400, the logo at 600. |
| Mono | IBM Plex Mono 400 to 500 | Eyebrows, tags, the command pill, table marks, code, small data in drawings. |

Headlines never go above weight 500. The calm comes from size and tone, not weight.

## Color

| Token | Hex | Role |
|---|---|---|
| `--gw-bg` | #161716 | The page background. Warm charcoal, never pure black. |
| `--gw-sunk` | #121312 | Bands, footer, inputs, code windows |
| `--gw-panel` | #1C1E1D | Bento tiles, cards, plans |
| `--gw-panel-2` | #242725 | Tags, table heads, hover |
| `--gw-line` | #2C2F2D | Every 1px border |
| `--gw-line-bright` | #3B3F3C | Ghost buttons, inputs, dashed rows, bold wire shapes |
| `--gw-wire` | #4A4F4B | Strokes in wireframe drawings |
| `--gw-text` | #ECEDEA | Headlines, strong words in body text |
| `--gw-mute` | #8E938F | Body copy, the second half of a two-tone sentence |
| `--gw-faint` | #5D625E | Captions, placeholders, logo strips |
| `--gw-mint` | #46CF8C | The second headline line, lit nodes, links, check marks |
| `--gw-moss` | #1A6B45 | Primary button fill, with `--gw-moss-edge` (#2F9763) as its border |
| `--gw-amber` | #E2A94E | One warning badge per screen |
| `--gw-coral` | #EC6A5C | Errors only |

Rules:
- The page is charcoal and the panels are one step lighter. No gradients on surfaces, except the featured plan's faint mint wash at the top.
- Mint is a signal. It colors one headline line, a node or two in each drawing, links and check marks. Never body paragraphs, never big fills.
- Body copy is muted gray; pick out the key phrase with `<strong>`, which turns it pale. That pale-in-gray contrast is the voice of the style.
- Amber and coral are status colors. One amber badge per screen at most.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--gw-text-hero` | clamp(36px, 5vw, 60px) | Hero headline: two lines, the second in `.gw-mint` |
| `--gw-text-h1` | clamp(32px, 4vw, 48px) | Page titles and closing bands, same two-line pattern |
| `--gw-text-h2` | clamp(26px, 3vw, 36px) | Section heads and the two-tone sentence |
| `--gw-text-h3` | 18px | Card titles (tile heads are 17px) |
| `--gw-text-lead` | 18px | Leads, max 520px |
| `--gw-text-body` | 15px | Body; article prose is 17px |
| `--gw-text-micro` | 12px | Mono eyebrows and tags |

Headlines are sentence case, short and in two beats: "Run the clinic today / Grow it for years". Tracking is -0.02em. Line height 1.1.

## Shape and space

- Borders: 1px `--gw-line` on every panel. Hover lifts a border to `--gw-line-bright`, nothing moves.
- Radius: 6px buttons and inputs, 10px small cards and code, 14px bento tiles, plans and covers, pill for tags and the command pill.
- Shadows: none on cards. The only glow is on mint nodes (`--gw-glow`) and the focus ring.
- Drawings: inline SVG, 1px strokes in `--gw-wire`, no fills except panel color. Light one or two nodes in mint, keep the rest pale.
- Sections: 112px vertical padding (72px on phones). Container 1120px, narrow 700px. Bento gap 12px.
- Motion: the hero rises in, live dots pulse. Nothing else moves. Both stop with reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.gw-container`, `.gw-narrow`, `.gw-section`, `--tight`, `--sunk`, `__head`, `.gw-split`, `.gw-stack` | Layout: containers, section bands, head with h2 left and lead right, two columns |
| `.gw-hero-title`, `.gw-h1`, `.gw-h2`, `.gw-h3`, `.gw-mint` | Headings and the mint second line |
| `.gw-two-tone` | Big sentence in gray with a pale `<strong>` opening |
| `.gw-lead`, `.gw-small`, `.gw-eyebrow`, `--mint`, `.gw-code-inline` | Lead, small text, mono eyebrow, inline code |
| `.gw-btn--primary/ghost/link`, `--sm/--lg/--block`, `.gw-btn-row` | Small moss and ghost buttons |
| `.gw-nav`, `__inner`, `__links`, `__actions`, `__meta`, `__hide-sm`, `.gw-logo`, `__mark` | Sticky blurred nav with a live meta line |
| `.gw-hero`, `__grid`, `--center` | Hero: headline and buttons left, lead right, aligned to the bottom |
| `.gw-bento`, `.gw-tile`, `--wide`, `--tall`, `__head`, `__text`, `__art`, `--bleed`, `__list` | The bento grid of feature tiles |
| `.gw-wire`, `--bright`, `--bold`, `.gw-node`, `--mint`, `.gw-grid-bg` | Wireframe strokes, nodes and a grid paper background for SVG art |
| `.gw-icon-cells`, `.gw-icon-cell`, `--lit` | A grid of outlined icon squares, one lit |
| `.gw-rows`, `.gw-row` | Dashed rows of mono labels and tags |
| `.gw-tag`, `.gw-cmd`, `.gw-badge`, `--mint/--amber`, `.gw-dot` | Pill tags, the `$ command` pill, square badges, a glowing live dot |
| `.gw-logos` | Faint wordmark strip |
| `.gw-grid`, `--2`, `.gw-card`, `__num/__title/__text` | Flat cards with a mono number |
| `.gw-stats`, `.gw-stat__num`, `__label` | Big pale numbers with a mint unit |
| `.gw-quote`, `__text`, `__by`, `.gw-avatar` | Quote panel with a mono initials avatar |
| `.gw-window`, `__bar`, `.gw-pre` | Code window with mint keywords and amber strings |
| `.gw-cta` | Centered closing band |
| `.gw-billing`, `.gw-plans`, `.gw-plan`, `--featured`, `__top/__name/__desc/__price/__per/__list` | Pricing switch and four plan cards |
| `.gw-table-wrap`, `.gw-table`, `.gw-yes`, `.gw-no` | Comparison table that scrolls sideways on phones |
| `.gw-faq` | `<details>` FAQ with a mint plus |
| `.gw-meta`, `.gw-author`, `--card`, `.gw-cover`, `__tag` | Byline, author card, drawn article cover |
| `.gw-prose`, `.gw-callout`, `--amber` | Article text and callouts |
| `.gw-post`, `__thumb/__body/__title/__text` | Related post cards with wire thumbnails |
| `.gw-form`, `__row`, `.gw-field`, `--error`, `.gw-label`, `.gw-input`, `.gw-select`, `.gw-input-wrap`, `.gw-input-toggle`, `.gw-help`, `.gw-error`, `.gw-check`, `.gw-divider-text`, `.gw-social`, `__tile` | Form parts with a mint focus ring |
| `.gw-footer`, `__cols`, `__bottom` | Sunk footer with a status line |
| `.gw-rise`, `--2/--3`, `.gw-pulse` | Entrance and pulse motion |

## Pages in this kit

- `demo.html`: landing page (two-tone hero, a seven-tile bento with a calendar, a paw icon frame, a lab globe, icon cells, a grid with cursors, reminder rows and a box drawing, a logo strip, a two-tone sentence, three steps, a code window, quote and stats, closing band).
- `pricing.html`: four plans with a monthly or yearly switch, a comparison table, an FAQ and a closing band.
- `blog.html`: an article with a drawn reminder timeline cover, prose, a callout, code, a bar chart and related posts.
- `signup.html`: a split sign-up page, the form on the left and a sunk panel with a command pill, a live summary card and a quote over a wire globe on the right.

## Page recipe

1. Nav: logo left, four links, a mono live meta line, a ghost "Sign in" and a small primary button right.
2. Hero (`.gw-hero__grid`): two-line headline with a mint second line and two large buttons on the left; a lead on the right, bottom aligned.
3. `.gw-bento`: one `--wide --tall` tile first, then tall tiles, then a row of four. Every tile has an icon head, a one-sentence text with one `<strong>` phrase, and a wireframe drawing at the bottom.
4. A faint `.gw-logos` strip, then a `.gw-two-tone` sentence alone in a section.
5. `--sunk` band with a section head (two-tone h2 left, lead right) and three numbered cards.
6. A split: copy and a link left, `.gw-window` with code right.
7. `--sunk` band with a quote and stats, then `.gw-cta` and the footer.

## Pricing page recipe

1. Nav, then a centered hero: mint eyebrow, two-line `.gw-h1`, lead and `.gw-billing`. Keep both prices in `data-monthly` and `data-yearly` and swap them with a few lines of JS.
2. `.gw-plans` with four cards. Feature the second (`--featured`, a `--mint` badge, the only primary button).
3. One line of small print, a `--sunk` band with the table, then `.gw-faq` in the narrow container with the first item open, then the closing band.

## Article page recipe

1. Nav, then in the narrow container: an eyebrow path ("Journal / Front desk"), a two-line `.gw-h1`, a lead and `.gw-author`.
2. `.gw-cover` in the wide container: a wire diagram on grid paper with one mint node and one `--amber` badge.
3. `.gw-prose`: short paragraphs, h2 per point, a list, a quote, a numbered list, one `.gw-callout`, a `<pre>` and a figure card with a small bar chart (mint bars for the after).
4. `.gw-author--card`, then three `.gw-post` cards on `--sunk`.

## Sign-up page recipe

1. Two columns, full height. Left: logo, a mint eyebrow, a two-line h2 and a lead.
2. `.gw-form`: names side by side, email in its error state, password with a show toggle and help, a select, `.gw-check`, a large block primary button.
3. `.gw-divider-text`, two ghost social buttons, a sign-in link.
4. Right column on `--gw-sunk`: a `.gw-cmd` pill, a summary card of dashed rows with tags and badges, a quote, and a wire globe rising from the bottom. Hidden below 860px.

## Don'ts

- Don't use photos or colorful illustrations. Every visual is a thin wireframe with one or two mint nodes.
- Don't color a whole headline mint; only the second line.
- Don't make buttons big, round or bright. They're 6px corners, moss fill, a green edge.
- Don't add drop shadows to cards or tiles.
- Don't go to pure black or pure white.
- Don't use em dashes in copy.
