# Line Banner

Friendly and a little nerdy. Every page opens with a bright cobalt banner holding a thin, monoline wordmark drawn in SVG, a headline that mixes bold and regular weights in one line, and a warm orange button next to an outlined one. Under the banner the page drops into deep navy, where the signature tile wall lives: rounded tiles in quiet tints, each with a line drawing, a row of outlined pill tags in tracked capitals and a big white title in the corner. It feels like a community project that is proud of what it has made.

Use it for: community projects, libraries and catalogs, memberships, clubs, open source projects, showcases of things people made, local services with an inventory. Avoid it for: luxury, finance that needs to look formal, editorial reading sites, anything that should feel quiet or minimal.

## 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 Line Banner 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 for an invented community tool library, built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Lexend 300 to 700 | Hero and section headings (regular, with the key words in `<b>` at 700), tile titles at 700, leads and big numbers at 300, tags at 700 in tracked capitals. |
| Body | Figtree 400 to 600 | Paragraphs, nav links, table cells, form text. |
| Mono | IBM Plex Mono 400 | Spec lists, item codes, inline code. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--lb-cobalt` | #2E7AD3 | The banner at the top of every page, the closing call to action band, pull quotes |
| `--lb-cobalt-deep` | #1E5DAA | Hover on the ghost button inside the banner |
| `--lb-cobalt-ice` | #CFE2F8 | Nav links on cobalt, line drawings, step numbers, links in prose |
| `--lb-night` | #0C1420 | The page background under the banner |
| `--lb-panel` | #152031 | Cards, plans, inputs, alternating sections |
| `--lb-panel-2` | #1C2A3F | Table header, inline code, hover |
| `--lb-line` | #2A3B54 | Every border and divider on night |
| `--lb-ink` | #EEF3FA | Text everywhere, the outline on tags and ghost buttons |
| `--lb-soft` | #98A9C2 | Leads on night, meta, helper text |
| `--lb-orange` | #F27B30 | The primary button, eyebrows, the featured plan border, warning tags, errors |
| `--lb-mint` | #63CFA8 | The "in" dot on tags and "Yes" in tables, nothing else |
| `--lb-tint-1` to `--lb-tint-4` | #1B3350, #2A2440, #183A3A, #3A2A22 | Tile backgrounds only, rotate them across a wall |

Rules:
- The page always starts with the cobalt banner and drops into night. Never a cobalt page body, never a white section.
- One orange filled button per screen. Everything else is outlined.
- Tile tints are only for tiles. Don't use them for sections or cards.
- No gradients except the dark fade at the bottom of each tile that keeps the title readable.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--lb-text-hero` | clamp(34px, 4.6vw, 56px) | Hero headline, centered, "**Bold words** regular words" |
| `--lb-text-h2` | clamp(28px, 3.4vw, 42px) | Section headings, same bold plus regular mix |
| `--lb-text-h3` | 22px | Card and step headings, Lexend 600 |
| `--lb-text-tile` | clamp(22px, 2vw, 28px) | Tile titles, Lexend 700 with a soft text shadow |
| `--lb-text-lead` | clamp(18px, 2vw, 24px) | Lexend 300 lead under a headline |
| `--lb-text-body` | 16px | Body (18px inside `.lb-prose`) |
| `--lb-text-tag` | 11px | Tags, eyebrows, footer headings, tracked 0.12em to 0.16em, capitals |

## Shape and space

- Radius: 18px on tiles and plans, 12px on cards, 6px on inputs, a small 4px on buttons (they are rectangles, not pills), pills only on tags.
- Strokes: 1.5px outlines (`--lb-stroke`) on tags, ghost buttons, step numbers and the toggle. Line drawings use 3px strokes with round caps.
- Shadows: only `--lb-shadow-tile`, a deep soft shadow under tiles and plans. Titles on tiles get `--lb-shadow-title`.
- Sections: 104px vertical padding. Container 1240px, articles 720px. The tile wall runs nearly edge to edge with a 16px gap.
- Overlap: on pricing and article pages the plans or cover tile pull up into the banner with a negative top margin.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.lb-band`, `--short` | The cobalt banner that opens every page, centered text |
| `.lb-nav`, `__brand`, `__links`, `--night`, `.lb-nav__keep` | Logo left with a slashed circle mark, links right; on small screens only `.lb-nav__keep` items stay |
| `.lb-wordmark` | The big monoline SVG wordmark in the banner (draw your own letters with strokes, slash through the O) |
| `.lb-hero-title`, `.lb-h2`, `.lb-h3` | Headlines; wrap the first words in `<b>` |
| `.lb-lead`, `.lb-eyebrow`, `.lb-accent`, `.lb-mono` | Light lead, tracked orange label, orange word, mono text |
| `.lb-btn--primary/ghost/line`, `--sm`, `--block`, `.lb-actions` | Orange filled, white outlined (on cobalt), line outlined (on night) |
| `.lb-tags`, `.lb-tag`, `--orange`, `--soft`, `.lb-dot`, `--out` | Outlined pill tags in tracked capitals, a mint or orange status dot |
| `.lb-wall`, `.lb-tile`, `--2/--3/--4`, `__art`, `__body`, `__title` | The signature: a 4 column wall of tinted tiles with a line drawing, tags and a white title bottom left |
| `.lb-section`, `--panel`, `--cobalt`, `__head` | Section surfaces and a centered heading block |
| `.lb-card`, `__icon`, `__text`, `.lb-grid-3` | Panel card with a line icon |
| `.lb-steps` | Numbered steps with outlined number circles |
| `.lb-stats`, `.lb-stat__num/__label` | Big light numbers |
| `.lb-quote` | Centered light pull quote with a caption |
| `.lb-toggle` | Outlined two-option switch on the banner (Monthly / Yearly) |
| `.lb-plans`, `.lb-plan`, `--featured`, `__name/__desc/__price/__list` | Plan cards that overlap the banner; the featured one has an orange border |
| `.lb-table-wrap`, `.lb-table`, `__yes/__no` | Comparison table that scrolls sideways on phones |
| `.lb-faq` | FAQ from `<details>` with a plus and minus |
| `.lb-meta`, `.lb-author`, `--card`, `.lb-avatar` | Article meta, byline with an outlined initials avatar, closing author card |
| `.lb-cover` | A wide tile used as an article cover, pulled up into the banner |
| `.lb-prose`, `.lb-callout`, `.lb-spec` | Article text (orange ring bullets, cobalt pull quote), orange outlined note, mono spec block |
| `.lb-post` | Related post: a small tile and a title |
| `.lb-form`, `.lb-field`, `.lb-row`, `.lb-label`, `.lb-input`, `.lb-select` | Stacked form on night with panel inputs and a cobalt focus ring |
| `.lb-input-wrap`, `.lb-input-toggle` | Password field with a Show button |
| `.lb-help`, `.lb-error`, `.lb-field--error` | Helper and error text |
| `.lb-check`, `.lb-choice` | Checkbox, and a row of tag-shaped radio choices |
| `.lb-divider-text` | Line with "or" |
| `.lb-footer`, `__cols`, `__bottom` | Footer with tracked capital headings |

## Pages in this kit

- `demo.html`: landing page (banner with wordmark, tile wall, steps, cards, stats, quote, cobalt call to action).
- `pricing.html`: banner with a toggle, three plans overlapping it, a comparison table, an FAQ and a closing band.
- `blog.html`: a guide with a cover tile pulled into the banner, prose, an author card and related posts.
- `signup.html`: split page, the form on night and a cobalt side panel with the wordmark, a tile and a quote.

## Page recipe

1. `.lb-band`: nav, then the `.lb-wordmark`, a hero title with the first words bold, a light lead, an orange button next to a ghost button.
2. Straight under the banner, the `.lb-wall`: 8 tiles in 4 columns, tints rotating, each with 2 or 3 tags and a short title. A small eyebrow and hint line sit above it.
3. A split section: heading and lead on the left, `.lb-steps` on the right.
4. `.lb-section--panel` with three `.lb-card`s.
5. `.lb-stats` on night, then a `.lb-quote` on panel.
6. Close with `.lb-section--cobalt`: bold plus regular h2, lead, orange and ghost buttons.

## Pricing page recipe

1. A taller banner: nav, hero title, lead, `.lb-toggle`. Keep both prices in `data-monthly` and `data-yearly` and swap them in a few lines of JS.
2. `.lb-plans` pulled up into the banner. Feature the middle plan with `--featured`, an orange tag and the only orange button.
3. A line of small print, then a panel section with the `.lb-table` inside `.lb-table-wrap`.
4. `.lb-faq` in the narrow container, first item open, then the cobalt closing band.

## Article page recipe

1. Banner with nav, then in `.lb-narrow`: eyebrow, a smaller hero title, lead, `.lb-meta` and `.lb-author`.
2. A wide `.lb-cover` tile pulled up into the banner, with tags and a title, instead of a photo.
3. `.lb-prose` with h2 and h3, ring bullets, one `.lb-spec` block, a cobalt pull quote and one `.lb-callout`.
4. `.lb-author--card`, then a panel section with three `.lb-post`s.

## Sign-up page recipe

1. Two columns. Left on night: brand, eyebrow, h2 with bold first words, lead.
2. `.lb-form`: names in a `.lb-row`, email (show an error state), password with `.lb-input-toggle`, a `.lb-choice` row of plans, a select with help text, an `.lb-check`, and an orange block button.
3. `.lb-divider-text`, then a line outlined button and a log in link.
4. Right column in cobalt: the wordmark, one tile and a quote. Hide it below 900px.

## Don'ts

- Don't round the buttons into pills. Only tags are pills.
- Don't fill tags. They are outlined, with at most a faint dark backing on tiles.
- Don't use photos in tiles. Draw a simple line illustration with round caps.
- Don't put more than one orange filled button on a screen.
- Don't set whole headlines in bold. Bold the first words and leave the rest regular.
- Don't add white or light sections. The page is cobalt on top and night below.
- Don't use em dashes in copy.
