# Pixel Lime

Fresh, confident and a little nerdy. A warm chalk page, deep aubergine ink and one acid-lime accent. Headlines are wide, heavy and uppercase; everything else is a calm sans with small uppercase labels. The signature is pixels: little clusters of lime squares drift around headlines and blink in steps, one word per headline sits on a stepped lime highlighter, and product UI is drawn as grids of squares. Corners are almost square, lines are hairlines, and nothing casts a shadow.

Use it for: tools and services with a practical, hands-on audience (community projects, booking tools, developer tools, local services, clubs), anything that wants to feel modern and precise without being cold. Avoid it for: luxury, wellness, finance that needs to look conservative, or anything soft and romantic.

## 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 Pixel Lime 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 community garden service called Plotline.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@112..125,500..800&family=Instrument+Sans:wght@400;500;600&family=Silkscreen&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Archivo 700, width 118 | Hero, section headings, plan names, big numbers. Uppercase, wide, tight line-height. |
| Body | Instrument Sans 400 to 600 | Paragraphs, nav, buttons, forms, cards. Buttons and labels are uppercase with 0.08em tracking. |
| Pixel | Silkscreen 400 | The wordmark, eyebrows, card numbers, FAQ plus signs, footer headings. Small sizes only (12px to 22px). |
| Mono | JetBrains Mono 400 | Frame title bars, keys in rows, chips, code, captions. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--pl-chalk` | #F3F2EC | The page background |
| `--pl-paper` | #FFFFFF | Cards, frames, inputs, alternate sections |
| `--pl-chalk-2` | #E9E7DE | Table headers, inline code, empty map squares |
| `--pl-line` | #DCD9CF | Every hairline |
| `--pl-ink` | #2A1433 | Headlines, body, primary buttons |
| `--pl-plum` | #1D0C25 | Announcement bar, one dark band per page, code, footer |
| `--pl-soft` | #6B6170 | Leads and secondary text |
| `--pl-lime` | #D4FA6C | The accent: pixels, highlighter, nav button, free squares, checked boxes |
| `--pl-lime-deep` | #B8E040 | Lime hover, bullets, ticks |
| `--pl-lime-ink` | #4D6A00 | Lime-family text on chalk: eyebrows, links |

Rules:
- Chalk is the page. Paper is for things that sit on it (frames, cards) and for every second or third section.
- Lime never carries body text and never fills a whole section. It shows up as small squares, one highlighted word per headline, the nav button and status.
- Lime text on chalk is always `--pl-lime-ink`, never the bright lime.
- One plum band per page (stats, a quote or the final call to action) plus the plum footer.
- No gradients, no blur, no photos needed. Visuals are grids of squares.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pl-text-hero` | clamp(40px, 7.2vw, 96px) | Hero headline, uppercase, line-height 0.98, 2 or 3 lines |
| `--pl-text-h2` | clamp(30px, 4.4vw, 56px) | Section headings, uppercase |
| `--pl-text-h3` | 22px | Sub-headings, sentence case, Archivo 600 |
| `--pl-text-lead` | 19px | The sentence under a headline, soft, max 620px |
| `--pl-text-body` | 16px | Body |
| `--pl-text-label` | 12px | Eyebrows and labels |

Headlines are short and concrete ("A patch of soil near your door"). Pick one word to sit on `.pl-mark`. No exclamation marks.

## Shape and space

- Borders: 1px hairlines in `--pl-line`; outlined buttons and inputs use `--pl-line-strong`. The featured plan gets a 2px ink border.
- Radius: 2px on chips and toggles, 4px on buttons and inputs, 8px on frames and cards. Nothing round, no pills.
- Shadows: none. Focus is a 3px lime ring.
- Pixels: `--pl-pixel-size` is 14px (8px small, 22px large). Clusters are 4 squares wide with holes in them.
- Sections: 112px vertical padding (72px on phones). Container 1200px, text 720px.
- Motion: pixels blink and content steps in with `steps(4)`. Nothing glides, bounces or tilts.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.pl-announce` | Plum strip above the nav with a lime link |
| `.pl-nav`, `.pl-nav__links`, `.pl-nav__actions` | Pixel wordmark left, uppercase links, a ghost "Log in" and a lime button right |
| `.pl-logo`, `.pl-logo__mark` | Silkscreen wordmark with a 3x3 pixel mark (`<i>` filled, `<b>` empty) |
| `.pl-hero-title`, `.pl-h2`, `.pl-h3` | Wide uppercase Archivo headlines |
| `.pl-mark` | The stepped lime highlighter behind one word |
| `.pl-lead`, `.pl-eyebrow` | Soft lead; pixel-font eyebrow with a lime square |
| `.pl-pixels`, `--sm`, `--lg`, `--float`, `--blink` | A cluster of pixels: a 4-wide grid where `<i>` is a lime square, `<i class="pl-dim">` a pale one, `<i class="pl-ink">` an ink one and `<b>` a hole |
| `.pl-tick` | A short hairline with a lime start |
| `.pl-btn--primary/secondary/lime/ghost/on-plum`, `--sm`, `--block` | Uppercase square-ish buttons; ink primary next to an outlined secondary |
| `.pl-hero`, `.pl-hero__pixels-a/b` | Centered hero with two floating clusters |
| `.pl-section`, `--paper`, `--plum`, `.pl-section-head` | Section surfaces and a left-aligned heading block |
| `.pl-frame`, `__bar`, `__body`, `--plum` | Hairline panel for product UI with a mono title bar and three pixel dots |
| `.pl-grid-map`, `.is-taken/.is-free/.is-path`, `.pl-legend` | A map drawn as squares |
| `.pl-row`, `__key` | Key and value rows inside a frame |
| `.pl-chip`, `--lime/--soft/--ink`, `.pl-dot` | Mono uppercase tags with 2px corners |
| `.pl-cards`, `.pl-card`, `__num/__icon/__title/__text` | Three features in one hairline box, split by lines |
| `.pl-split` | Text column next to a frame or a list |
| `.pl-stats`, `.pl-stat` | Big wide numbers with a 2px top rule |
| `.pl-quote`, `.pl-avatar`, `--ink` | Wide quote with a square pixel-initial avatar |
| `.pl-toggle` | Monthly or yearly switch, the active option filled ink |
| `.pl-plans`, `.pl-plan`, `--featured`, `__name/__desc/__price/__per/__list/__corner` | Pricing cards; the featured one has an ink border and a pixel cluster in its corner |
| `.pl-table-wrap`, `.pl-table`, `__yes/__no` | Comparison table; yes is a lime square |
| `.pl-faq` | `<details>` list with a pixel plus |
| `.pl-prose` | Article text: wide uppercase h2, lime square bullets, lime-edged pull quote, plum code blocks |
| `.pl-callout` | Pale lime note with a pixel label |
| `.pl-meta`, `.pl-author`, `--card` | Byline with square separators |
| `.pl-posts`, `.pl-post`, `__thumb/__body/__title/__text` | Related posts with a pixel cluster thumbnail |
| `.pl-form`, `.pl-field`, `.pl-label`, `.pl-input`, `.pl-select` | Stacked fields, uppercase labels, lime focus ring |
| `.pl-input-wrap`, `.pl-input-toggle` | Password field with a show or hide button |
| `.pl-help`, `.pl-error`, `.pl-field--error` | Help text and error state |
| `.pl-check` | Square checkbox that fills lime with an ink center |
| `.pl-btn--social`, `.pl-btn__letter`, `.pl-divider-text` | Bordered social buttons with pixel letter tiles (no brand logos), and an "or" divider |
| `.pl-footer`, `__cols`, `__bottom` | Plum footer with pixel-font column headings |
| `.pl-step-in` | Stepped entrance, respects reduced motion |

## Pages in this kit

- `demo.html`: landing page (hero with pixel clusters, a product stage of frames with a plot map, features, steps, a plum stats band with a quote, final call to action).
- `pricing.html`: three plans with a monthly or yearly toggle, a comparison table, an FAQ and a plum call to action.
- `blog.html`: a long article with a site-plan cover, prose, a figure, a callout, code, an author card and related posts.
- `signup.html`: a split sign-up page, the form on chalk and a plum panel with a plot summary and a quote.

## Page recipe

1. Plum announcement bar, then the nav on chalk.
2. Hero, centered: pixel eyebrow, a 2 or 3 line uppercase headline with one `.pl-mark` word, a lead, an ink primary and an outlined secondary. Two floating clusters, one blinking.
3. Product stage: 2 or 3 `.pl-frame`s side by side, one of them plum, showing the product as squares, rows and chips. One cluster hangs off a corner.
4. Paper section: left-aligned heading, then `.pl-cards` with small pixel icons.
5. Chalk section: `.pl-split` with a heading and a numbered list.
6. Plum band: `.pl-stats` and a `.pl-quote`.
7. Final call to action on chalk, centered, with a `.pl-mark` word and two clusters.
8. Plum footer.

## Pricing page recipe

1. Announcement and nav as on the landing page.
2. Centered hero with a `.pl-mark` word, a lead and a `.pl-toggle`. Keep both prices in `data-monthly` and `data-yearly` and swap them with a few lines of JS.
3. `.pl-plans`: the middle plan is `--featured` with a lime chip, a corner cluster and the only primary button.
4. One line of small print.
5. Paper section with the comparison table.
6. `.pl-faq` in the narrow container, first item open.
7. Plum call to action with a lime button and an `--on-plum` button.

## Article page recipe

1. Nav only, no announcement.
2. Narrow head: eyebrow, hero title at clamp(34px, 5.4vw, 64px) with one `.pl-mark`, lead, `.pl-author` with `.pl-meta`.
3. A wide cover `.pl-frame` drawn as squares (a plan, a chart, a grid), with a cluster on its corner.
4. `.pl-narrow .pl-prose`: short paragraphs, uppercase h2s, h3s, one list, one blockquote, one `.pl-callout`, one figure, one code block.
5. `.pl-author--card`, then a paper section of three `.pl-post`s, then the footer.

## Sign-up page recipe

1. Two columns. Left on chalk: wordmark, eyebrow, an h2-size headline, a short lead.
2. `.pl-form`: name, email, password with `.pl-input-wrap`, a select, `.pl-check`, then a block primary button. Show one error state with `.pl-field--error`.
3. `.pl-divider-text`, two `.pl-btn--social` buttons with letter tiles, a "Log in" link.
4. Right column in plum: a `.pl-frame--plum` summary, a short quote and two clusters. Hide it below 860px.

## Don'ts

- Don't round anything past 8px, and never use pills.
- Don't add shadows, gradients or blur.
- Don't use bright lime for text on chalk, and don't fill whole sections with lime.
- Don't set body copy in Silkscreen or in uppercase.
- Don't put more than one `.pl-mark` in a headline or more than three clusters on a screen.
- Don't animate with easing curves on pixels; they step.
- Don't use em dashes in copy.
