# Fair Lime

Loud, plain-spoken and friendly. Mostly white with pale sage sections, giant compressed all-caps headlines in deep forest green, Instrument Sans for everything else and one fresh lime that marks every action. Shapes are big, flat and rounded: pill buttons, 28 to 40px panels, a drawn globe. No shadows, no photos. It feels honest and confident, like a product that has nothing in the small print.

Use it for: consumer fintech, transport and travel apps, civic and public services, utilities, anything that needs to feel fair, clear and a little bit bold. Avoid it for: luxury, quiet editorial brands, dark or moody products, anything that should whisper.

## 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 Fair 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 transit pass called Wayfare.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Archivo 900 at width 78 | Hero, section headings, big numbers, prices. Always uppercase, always heavy, tight line-height (0.86 to 0.9). |
| Body | Instrument Sans 400 to 700 | Paragraphs, nav, buttons, cards, forms, quotes. |
| Mono | JetBrains Mono 400 | Pass numbers, route codes, small IDs. |

The compressed look comes from Archivo's width axis: `font-variation-settings: "wdth" 78` (already in `.fl-display`, `.fl-h2`, `.fl-stat` and the prices).

## Color

| Token | Hex | Role |
|---|---|---|
| `--fl-white` | #FFFFFF | The main background |
| `--fl-mist` | #F2F4EE | Quiet sections, cards, plan cards, toggles |
| `--fl-sage` | #E3EAD8 | Panels that hold product shots, avatars and thumbnails |
| `--fl-line` | #DCE2D3 | Borders and dividers |
| `--fl-forest` | #15330F | Headlines, links, the dark section, the featured plan, the footer |
| `--fl-ink` | #121510 | Body text |
| `--fl-soft` | #5A6255 | Leads and secondary text |
| `--fl-lime` | #A3E66A | The accent: primary buttons, highlighter marks, icon circles, badges, the lime band |
| `--fl-lime-deep` | #8FD157 | Hover on lime, bullets |
| `--fl-lime-soft` | #E5F6D3 | Soft badges, callouts, focus glow |
| `--fl-sky`, `--fl-sun`, `--fl-coral` | #CFE8F2, #FFE58A, #FF9F87 | Illustration tints only: the globe ocean, blog thumbnails |
| `--fl-alert` | #C8351E | Form errors only |

Rules:
- White first, mist every second or third section, one forest section and one lime band per page.
- Lime is always paired with forest text. Never put white text on lime.
- On forest, headlines turn lime and body text turns white.
- The only gradients are inside `.fl-globe`.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--fl-text-hero` | clamp(50px, 8.2vw, 124px) | Hero headline, centered, 2 to 3 lines, line-height 0.86 |
| `--fl-text-h2` | clamp(40px, 5.6vw, 76px) | Section headings, line-height 0.9 |
| `--fl-text-h3` | 24px | Sub-headings in Instrument Sans 700 |
| `--fl-text-lead` | 20px | The sentence under a headline, soft gray, max 620px |
| `--fl-text-body` | 17px | Body |

Headlines are short, flat statements with a full stop at most ("Pay the fare. Never more"). Mark one phrase per page with `.fl-mark`, the lime highlighter.

## Shape and space

- Radius: 40px on panels, 28px on cards and plans, 18px on callouts, 10px on inputs, pills on buttons, badges and toggles.
- Borders: 1px `--fl-line`; 2px forest only for outline buttons and the top of the FAQ.
- Shadows: none. Depth comes from tint changes (white card on sage panel, forest plan between mist plans).
- Sections: 72px to 128px vertical padding. Container 1200px, text blocks 760px.
- Motion: one short rise on the hero (24px, 0.7s) and the city ticker. Both stop for reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.fl`, `.fl-container`, `.fl-narrow`, `.fl-center` | Body class and layout wrappers |
| `.fl-nav`, `__left`, `__links`, `__actions`, `.fl-logo` | Logo and links left, text links and a small lime pill right |
| `.fl-display`, `.fl-h2`, `.fl-h3`, `.fl-mark` | Compressed uppercase headlines; `.fl-mark` is the lime highlighter |
| `.fl-lead`, `.fl-eyebrow`, `.fl-mono` | Soft lead, small uppercase label, mono IDs |
| `.fl-btn--primary/forest/outline/social`, `--sm/--lg/--block` | Pill buttons |
| `.fl-link`, `.fl-actions` | Thick underlined text link that sits next to a pill; the row that holds them |
| `.fl-hero` | Hero spacing |
| `.fl-globe`, `--half`, `__pin` | The drawn planet; the half version sits cut off under the hero with white pill pins |
| `.fl-panel`, `--sage/lime/forest/sky` | Big flat rounded blocks |
| `.fl-grid-2`, `.fl-grid-3` | Simple responsive grids |
| `.fl-card`, `--white`, `__icon/__title/__text` | Feature card with a lime icon circle |
| `.fl-badge`, `--lime/forest/line` | Small pills |
| `.fl-app`, `__row`, `__big`, `.fl-flag` | A flat product card with a big number and itemised rows |
| `.fl-stats`, `.fl-stat` | Huge compressed numbers with a short label |
| `.fl-ticker`, `__track` | A scrolling row of uppercase words, clipped so it never scrolls the page |
| `.fl-quote`, `.fl-avatar` | Large sans quote with an initials avatar |
| `.fl-segment` | Pill toggle; the pressed option turns forest |
| `.fl-plans`, `.fl-plan`, `--featured`, `__top/__name/__desc/__price/__cta/__list` | Pricing cards; the featured one is forest with lime price and button |
| `.fl-table-wrap`, `.fl-table`, `__yes/__no` | Comparison table in a rounded white frame |
| `.fl-faq` | `<details>` FAQ with a lime plus that turns into a cross |
| `.fl-prose`, `.fl-callout`, `.fl-meta`, `.fl-author`, `--card` | Article text, a lime-soft note, author lines |
| `.fl-post`, `__thumb`, `__title` | Related post card with a tinted thumbnail |
| `.fl-form`, `.fl-field`, `.fl-label`, `.fl-input`, `.fl-select`, `.fl-input-wrap`, `.fl-input-toggle` | Form fields with 2px borders and a forest focus ring |
| `.fl-help`, `.fl-error`, `.fl-field--error`, `.fl-check`, `.fl-divider-text`, `.fl-btn__letter` | Form helpers |
| `.fl-section`, `--mist/forest/lime` | Section surfaces |
| `.fl-footer`, `__cols`, `__bottom` | Forest footer with a lime logo |
| `.fl-rise` | Entrance animation |

## Pages in this kit

- `demo.html`: landing page (hero, half globe with pins, city ticker, a fare panel, feature cards, stats, forest quote, lime call to action, footer).
- `pricing.html`: plans with a monthly or yearly toggle, a comparison table, an FAQ and a lime band.
- `blog.html`: an article with a sage cover panel, prose, a bar chart figure, a callout and related posts.
- `signup.html`: a split sign-up page, the form on white and a forest panel with the globe and a quote.

## Page recipe

1. Nav on white.
2. Hero, centered: a giant 2 to 3 line headline, a soft lead, a large lime pill and an underlined text link.
3. The half globe cut off at the bottom of the hero, with 2 or 3 white pins naming real-feeling places.
4. A ticker of uppercase words between two thin lines.
5. A split section: h2 with one `.fl-mark` phrase, lead and a forest button; a sage panel with an `.fl-app` card.
6. Mist section: centered h2 and 3 white cards with lime icon circles.
7. Stats on white, then a forest section with a quote.
8. A lime panel call to action with a forest button.
9. Forest footer.

## Pricing page recipe

1. Centered eyebrow, display headline, lead and an `.fl-segment`. Keep prices in `data-monthly` and `data-yearly` and swap them with a few lines of JS.
2. `.fl-plans`: two mist plans with outline buttons around one forest featured plan with a lime badge and the only lime button.
3. Small print line, then a mist section with the comparison table.
4. `.fl-faq` in the narrow container, then a lime band with a forest button.

## Article page recipe

1. Nav, then in the narrow container: eyebrow, display title at a smaller clamp, lead and `.fl-author`.
2. A wide sage `.fl-panel` cover with the globe and a product card. No photos.
3. `.fl-prose`: short paragraphs, uppercase h2s, sans h3s, lime bullets, one quote with a lime bar, one `.fl-callout`, one figure.
4. `.fl-author--card`, then a mist section with three `.fl-post` cards in lime, sky and sun thumbnails, then the footer.

## Sign-up page recipe

1. Two columns. Left on white: logo, display headline, one-line lead, then the form.
2. Name, email, password with a show toggle, a select and a checkbox, then a block lime button, "or", and two social buttons with letter tiles.
3. Errors use `.fl-field--error` and `.fl-error`; hints use `.fl-help`.
4. Right column: a forest panel inset 16px with the globe, a lime h2 and a quote. Hide it below 860px.

## Don'ts

- Don't set headlines in sentence case or at regular weight; the compressed uppercase is the style.
- Don't add shadows, gradients (outside the globe) or photos.
- Don't put white text on lime, or lime text on white.
- Don't use more than one lime band and one forest section per page.
- Don't use em dashes in copy.
