# Flood Fill

Loud, fresh and a little cheeky. The first screen is flooded edge to edge with one acid green, the headline is huge and tightly tracked in a plain grotesque at medium weight, and the product sits dead center as a drawn black phone full of white app tiles with big numbers. Buttons are small black or white pills with an arrow. Sections switch hard between the green flood, plain white, a pale mist and solid black, with no gradients, no outlines and no hard shadows. It feels confident and consumer friendly, like an app you'd tell a friend about.

Use it for: consumer apps, local and booking services, subscriptions, fintech for everyday people, anything with one simple promise and a phone screen to show. Avoid it for: luxury, editorial or long reading sites, anything that should feel quiet, serious or traditional.

## 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 Flood Fill 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 an invented curbside bike repair service called Spokeday. Wrap every page in `<body class="fl">`.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Inter Tight 500 | Hero, section headings, big numbers, quotes. Medium weight with very tight tracking, never bold. |
| Body and UI | Inter Tight 400 to 600 | Paragraphs, buttons, nav, tiles, forms. 600 only for small labels and app titles. |
| Mono | Geist Mono 400 to 500 | Eyebrow labels in caps, step numbers, measurements, code. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--fl-flood` | #19DD3A | The flood: hero background, final call to action, one card per row, accent dots and bars |
| `--fl-flood-deep` | #0FB82C | Hover on flood buttons, checkmark rings on white |
| `--fl-flood-soft` | #D6F9DC | Callouts and soft chips only |
| `--fl-white` | #FFFFFF | Default page, tiles on the flood, the primary button on the flood |
| `--fl-mist` | #F2F2EF | Quiet sections, phone screen, inputs, secondary buttons |
| `--fl-black` | #0B0B0A | Text, phone frame, the primary button on white, the black band and the footer |
| `--fl-soft` | #5C5C57 | Leads and secondary text on white |
| `--fl-amber` | #FFB020 | Status dots inside app UI only |

Rules:
- One flood per screen: the hero, then at most one more flood band (usually the final call to action). Never two flood sections in a row.
- Text on the flood is always black. Never put white text on green.
- On the flood the main button is white; on white or mist it's black; on black it's flood.
- Amber and red live only inside app UI and forms, never in the page chrome.
- No gradients, no tinted shadows, no outlines around tiles.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--fl-text-mega` | clamp(56px, 10vw, 148px) | One closing statement per page ("Ride more. Fix less."), tracking -0.045em, line-height .9 |
| `--fl-text-hero` | clamp(42px, 5.6vw, 76px) | Hero headline, 3 short lines, left aligned, line-height .98 |
| `--fl-text-h2` | clamp(34px, 4.4vw, 60px) | Section headings, tracking -0.035em |
| `--fl-text-number` | clamp(40px, 4.6vw, 64px) | Stats and prices, tracking -0.05em |
| `--fl-text-h3` | 24px | Sub-headings |
| `--fl-text-lead` | 19px | The sentence under a heading, max 460px |
| `--fl-text-body` | 16px | Body |

Headlines are plain promises in sentence case ("Bike repairs that come to your street"). Short, no exclamation marks. A period is fine on two-part slogans ("One flat price. Every visit.").

## Shape and space

- Radius: 52px on the phone frame, 36px on cards and plans, 24px on tiles and tables, 12px on inputs, pills on every button, chip and toggle.
- Borders: none on tiles. Hairlines only for table rows, stat rules and the FAQ.
- Shadows: only the phone gets a shadow (`--fl-shadow-phone`). Tiles and cards are flat.
- Sections: 72px to 140px vertical padding. Container 1320px with 20px gutters, text blocks 720px.
- Motion: tiles rise in (24px, .9s), arrows nudge 3px on hover, a black ticker scrolls slowly under the hero. All of it stops for reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.fl` | Body class: font, color, base resets, no sideways scroll |
| `.fl-container`, `.fl-narrow`, `.fl-center` | Page widths and centering |
| `.fl-section`, `--flood/--mist/--black` | Section surfaces |
| `.fl-mega`, `.fl-hero-title`, `.fl-h2`, `.fl-h3`, `.fl-lead`, `.fl-number` | Type |
| `.fl-eyebrow` | Mono caps label with a dot, above a heading |
| `.fl-mark` | A word highlighted with a flood block |
| `.fl-logo`, `__tile` | Black rounded square with a flood glyph, then the wordmark |
| `.fl-nav`, `__links`, `__actions`, `.fl-menu` | Logo left, pills and a round black menu button right |
| `.fl-btn--white/black/flood/mist`, `--sm`, `--block` | Pill buttons with an optional arrow svg that nudges on hover |
| `.fl-hero`, `__grid`, `__left`, `__phone`, `__right` | Three column flood hero: headline left, phone center, copy and button right |
| `.fl-phone`, `__top`, `__status`, `__title`, `__avatar`, `__screen` | The drawn phone, cut off by the bottom of its section |
| `.fl-tile`, `--mist/--flood`, `__label/__value/__sub/__row/__pill` | White app tiles with a big number |
| `.fl-bar` | Thin progress bar with a flood fill |
| `.fl-ring`, `--sm`, `--ink` | Thin green circle holding an icon or a step number |
| `.fl-chip`, `--flood/--black/--soft`, `.fl-dot` | Small pills and status dots |
| `.fl-grid`, `--2`, `.fl-card`, `--flood/--black` | Tall feature cards with the title pinned to the bottom |
| `.fl-split` | Statement left, tiles or stats right |
| `.fl-stats`, `.fl-stat` | Big numbers under a thin rule |
| `.fl-ticker`, `__track` | Black strip of short claims in flood green, scrolling |
| `.fl-quote`, `.fl-byline`, `__avatar`, `--black` | Big quote and byline |
| `.fl-segment` | Black pill toggle with a white active option |
| `.fl-plans`, `.fl-plan`, `--featured`, `__head/__name/__desc/__price/__list` | Pricing tiles on the flood; the featured one is black |
| `.fl-table-wrap`, `.fl-table`, `__yes/__no` | Comparison table in a white tile, scrolls sideways on phones |
| `.fl-faq` | `<details>` list with black rules and a round plus that turns into a flood cross |
| `.fl-meta`, `.fl-author`, `--card` | Article meta line and author card |
| `.fl-prose` | Article text: flood dot bullets, flood blockquote tile, black code blocks |
| `.fl-callout` | Soft green note with a ring icon |
| `.fl-cover` | Flood panel for an article cover, art rising from the bottom edge |
| `.fl-post`, `__thumb`, `--black/--white`, `__title` | Related post card with a big number thumb |
| `.fl-form`, `.fl-field`, `.fl-label`, `.fl-input`, `.fl-select`, `.fl-input-wrap`, `.fl-input-toggle` | Mist filled inputs that turn white with a black edge on focus |
| `.fl-help`, `.fl-error`, `.fl-field--error`, `.fl-check` | Helper, error and checkbox |
| `.fl-btn--social`, `.fl-btn__letter`, `.fl-divider-text` | Social buttons with a letter tile (no brand logos) and an "or" divider |
| `.fl-footer`, `__cols`, `__word`, `__bottom` | Black footer with a giant flood wordmark |
| `.fl-rise`, `--2`, `--3` | Staggered entrance |

## Pages in this kit

- `demo.html`: landing page (flood hero with phone, ticker, how it works, feature cards, black quote and stats, mega call to action, footer).
- `pricing.html`: plans on the flood with a monthly or yearly toggle, comparison table, FAQ, call to action.
- `blog.html`: an article with a flood cover, prose, callout, code, a figure and related posts.
- `signup.html`: split page, form on white and a flood panel with a quote and a phone.

## Page recipe

1. `.fl-hero` on the flood. Nav: logo left; a white "Sign up" pill, a black "Log in" pill and a round menu button right.
2. `.fl-hero__grid`: the hero title at bottom left over 3 lines, the phone in the middle cut off by the bottom edge, one short paragraph and a white button on the right.
3. A black `.fl-ticker` right under the hero.
4. White section with `.fl-split`: eyebrow, h2, lead and a black button left; three step tiles right (mist, mist, flood).
5. Mist section with three `.fl-card`s: white, flood, black.
6. Black section: a `.fl-quote` with byline next to `.fl-stats`.
7. Flood section with one `.fl-mega` line and two buttons, then `.fl-footer`.

## Pricing page recipe

1. Keep the flood hero. Eyebrow, a two line hero title, and the `.fl-segment` on the right on the same row.
2. `.fl-plans` with 3 tiles in the flood. Middle one `.fl-plan--featured` (black, flood chip, flood button). Keep prices in `data-monthly` and `data-yearly` and swap them in a few lines of JS.
3. Small print in black under the plans.
4. Mist section with `.fl-table` inside `.fl-table-wrap`.
5. White section with `.fl-faq` in `.fl-narrow`, first one open.
6. Flood call to action with one `.fl-mega` line, then the footer.

## Article page recipe

1. Nav on white with a mist and a black pill. No flood hero.
2. In `.fl-narrow`: eyebrow with the category, hero title, lead, then author and `.fl-meta`.
3. A wide `.fl-cover` with a drawn SVG tile rising from its bottom edge.
4. `.fl-prose` body: short paragraphs, h2 and h3, flood bullets, one flood blockquote, one `.fl-callout`, a code block and a figure.
5. `.fl-author--card`, then a mist section with three `.fl-post` cards, then the footer.

## Sign-up page recipe

1. Two columns, full height. Left on white: logo, an h2 headline, a one line lead.
2. `.fl-form`: name, email, password with a Show toggle, a select, a checkbox and a black block button. Show one error state as an example.
3. `.fl-divider-text`, two `.fl-btn--social` buttons, a "Log in" line.
4. Right column on the flood: a quote with a black avatar at the top and the phone rising from the bottom edge. Hide it below 860px.

## Don'ts

- Don't bold the headlines; medium weight with tight tracking is the look.
- Don't use a second bright color in the chrome, and don't tint the green toward teal or yellow.
- Don't put white text on the flood.
- Don't add outlines, hard offset shadows or gradients to tiles.
- Don't center the hero headline; it sits left, the phone sits center.
- Don't use em dashes in copy.
