# Inline Chip

A confident night-shift manual. The page is a deep blue-black, headlines are wide geometric type that glows from mint into aqua, and the body copy does something most sites don't: the important nouns sit inside small tinted chips, so a reader can skim a paragraph by its keys alone. Buttons are squared and flat, a mint strip runs across the top, faint diagonal hairlines cut between sections and dot-grid icon tiles hang on a thin vertical rail. It feels technical and sure of itself, but friendly enough for a neighborhood co-op.

Use it for: memberships and co-ops, tool and gear libraries, maker spaces, developer tools, licensing or account products, anything with a few key terms people need to spot fast. Avoid it for: luxury, weddings, wellness, children's products, anything that should feel soft or quiet.

## 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 Inline Chip 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 Lendshed, an invented member-owned tool library, built only with the kit.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700&family=Figtree:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Display | Unbounded 700 | Hero lines, section headings, big numbers. Wide and round. Tracking -0.02em. |
| Display sub | Unbounded 400 | The second hero line in white, lowercase or sentence case, smaller. |
| Body | Figtree 400 to 600 | Paragraphs, nav, buttons, forms, cards. Italic only for small notes under a form. |
| Mono | JetBrains Mono 400 | Eyebrows (uppercase, wide tracking), console windows, inline code, table headers. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ic-night` | #060A11 | The page background |
| `--ic-deep` | #0A1019 | Alternate sections, console windows, inputs |
| `--ic-panel` | #0F1622 | Cards, plans, callouts |
| `--ic-line` | #1E2938 | Borders and dividers |
| `--ic-text` | #ECF3F6 | Body and white headlines |
| `--ic-soft` | #A6B4C2 | Secondary text |
| `--ic-mint` | #22EE9C | The main accent: strip, primary button, badges, check marks, start of the glow |
| `--ic-aqua` | #3CCFEA | The second accent: outline buttons, focus ring, end of the glow |
| `--ic-chip-bg` | #0E2A33 | Fill of inline chips and icon tiles |
| `--ic-chip-text` | #5EE0F5 | Text inside inline chips |
| `--ic-coral` | #FF7A6B | Errors only |

Rules:
- The page is always dark. Alternate `--ic-night` and `--ic-deep` sections; never a light section.
- The glow (`.ic-glow`, mint to aqua) is for headlines and one big number. Never on body text or buttons.
- Mint and aqua are the only accents. Coral appears only in form errors.
- Chips: 2 to 5 per paragraph, on nouns that matter (the product, a number, a feature name). Never a whole phrase, never in headings.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ic-text-hero` | clamp(34px, 6.2vw, 76px) | First hero line in the glow, line-height 1.05 |
| `--ic-text-hero-sub` | clamp(22px, 3.4vw, 42px) | Second hero line, Unbounded 400, white |
| `--ic-text-h2` | clamp(26px, 3.6vw, 44px) | Section headings |
| `--ic-text-h3` | 20px | Card and step titles |
| `--ic-text-lead` | clamp(18px, 1.6vw, 21px) | The paragraph under a headline, max 680px, line-height 1.75 so chips breathe |
| `--ic-text-body` | 16px | Body |

Headlines are short and plain ("Borrow the drill,"), then the second line finishes the thought in white ("keep your shelf space"). Left aligned, always.

## Shape and space

- Radius: 3px on chips, 4px on buttons and inputs, 8px on cards and tiles, 12px on console windows. Pills only for outline badges.
- Borders: 1px `--ic-line` on cards, 2px mint or aqua on buttons, badges and the featured plan.
- Shadows: one deep, soft drop shadow on console windows only.
- Patterns: the dot grid (`--ic-dots`) inside icon tiles, post thumbs and the sign-up panel; the diagonal hairline (`.ic-section--cut`) between sections.
- Sections: 96px vertical padding. Container 1120px, text 720px.
- Motion: a short fade up on the hero. Nothing else moves.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ic-strip`, `__sep` | Mint announcement strip with two short items and a thin divider |
| `.ic-nav`, `__links`, `__actions`, `.ic-logo` | Logo left, links center, text "Log in" and a small aqua outline button right |
| `.ic-hero-title`, `.ic-hero-sub`, `.ic-glow` | Two-line hero: wide glowing line, then a lighter white line |
| `.ic-h2`, `.ic-h3`, `.ic-lead`, `.ic-eyebrow`, `.ic-soft` | Headings, lead text, mono eyebrow, soft text |
| `.ic-chip`, `--mint` | The signature inline keyword chip, used inside running text |
| `.ic-badge`, `--aqua`, `--quiet` | Outline pill badge above a hero or on a plan |
| `.ic-btn--primary/outline/ghost`, `--sm`, `--block` | Squared buttons: mint fill, aqua outline, text link style |
| `.ic-join`, `__input`, `.ic-note` | A light input welded to a mint button, with an italic note under it |
| `.ic-rail`, `__step`, `.ic-dot-tile` | Steps hung on a vertical line, each led by a dot-grid tile with a drawn icon |
| `.ic-window`, `__bar`, `__body` | Console window with three gray dots; `.k`, `.s`, `.c` color keys, strings and comments |
| `.ic-grid`, `.ic-card`, `__icon/__title/__text` | Three-up cards on panel with a small dot icon tile |
| `.ic-stats`, `.ic-stat` | Ruled row of big Unbounded numbers |
| `.ic-quote`, `.ic-avatar` | Display-font quote with a mint left rule and an initials avatar |
| `.ic-section`, `--deep`, `--haze`, `--cut` | Section surfaces; `--cut` draws the diagonal hairline at the top |
| `.ic-toggle` | Squared segmented control, the active option in chip colors |
| `.ic-plans`, `.ic-plan`, `--featured`, `__head/__name/__desc/__price/__list` | Pricing cards; the featured one has a 2px mint border and the only primary button |
| `.ic-table-wrap`, `.ic-table`, `__yes/__no` | Comparison table with mono headers; scrolls sideways on phones |
| `.ic-faq` | `<details>` list with a mono plus and minus |
| `.ic-prose`, `.ic-callout` | Article text: display h2, square mint bullets, chip-colored inline code, console code blocks |
| `.ic-meta`, `.ic-author`, `--card`, `.ic-post`, `__thumb/__body/__title` | Article meta, author card and related posts with dot-grid thumbs |
| `.ic-form`, `.ic-field`, `.ic-label`, `.ic-input`, `.ic-select`, `.ic-input-wrap`, `.ic-input-toggle` | Dark squared inputs with an aqua focus ring |
| `.ic-help`, `.ic-error`, `.ic-field--error`, `.ic-check` | Help text, coral errors, mint checkbox |
| `.ic-divider-text`, `.ic-btn--social`, `.ic-btn__letter` | "or" divider and social buttons with letter tiles (no brand logos) |
| `.ic-footer`, `__cols`, `__bottom` | Four-column footer with mono column labels |
| `.ic-fade` | Hero entrance, respects reduced motion |

## Pages in this kit

- `demo.html`: landing page (strip, nav, two-line hero with chips and a joined email field, steps on a rail next to a console window, cards, stats, quote, final call to action).
- `pricing.html`: hero with a billing toggle, three plans, comparison table, FAQ and a call to action.
- `blog.html`: article header, a cover made of dot tiles and a console window, prose, author card and related posts.
- `signup.html`: split page, the form on the left and a haze panel with chips, a live console and a quote on the right.

## Page recipe

1. `.ic-strip` in mint, then `.ic-nav`.
2. Hero, left aligned: `.ic-badge`, a two-line `.ic-hero-title` (glow line, then `.ic-hero-sub`), a `.ic-lead` with 3 or 4 chips, then `.ic-join` and an `.ic-note`.
3. `.ic-section--cut`: an `.ic-rail` of three steps on the left, an `.ic-window` on the right showing a real-looking record of the product (a receipt, a config, a log).
4. `.ic-section--deep`: eyebrow, h2 with one glowing phrase, then `.ic-grid` of three cards.
5. `.ic-stats` row, one number in the glow.
6. `.ic-section--haze`: a `.ic-quote` next to a small card.
7. Final call to action: glowing h2, a lead with one chip, `.ic-join`.
8. `.ic-footer`.

## Pricing page recipe

1. Strip and nav as on the landing page.
2. Hero: badge, two-line title, lead with chips, `.ic-toggle` for Monthly / Yearly. Keep both prices in `data-monthly` and `data-yearly` and swap them in a few lines of JS.
3. `.ic-plans` with three cards; feature the middle one with `.ic-plan--featured`, a badge and the only `.ic-btn--primary`.
4. One line of fine print in `--ic-dim`.
5. `.ic-section--deep .ic-section--cut` with the `.ic-table`.
6. `.ic-faq` in the narrow container, first item open.
7. Final call to action with a primary and an outline button.

## Article page recipe

1. Nav without the strip.
2. Narrow header: mono eyebrow, a smaller glowing title, a lead, `.ic-author` with `.ic-meta`.
3. A cover panel: a 2 by 2 block of `.ic-dot-tile` icons next to an `.ic-window`. No photos.
4. `.ic-prose` in the narrow container: inline `code`, square bullets, one blockquote, one `.ic-callout`, a `pre`, a figure (a stats row works).
5. `.ic-author--card`, then `.ic-section--deep` with three `.ic-post` cards, then the footer.

## Sign-up page recipe

1. Two columns. Left on night: logo, a glowing h2, one lead line.
2. `.ic-form`: name, email, password in `.ic-input-wrap` with a show toggle, `.ic-select`, `.ic-check`, a block primary button, `.ic-divider-text`, two social buttons, a log-in line.
3. Show errors with `.ic-field--error` and `.ic-error`; hints with `.ic-help`.
4. Right column on haze with a faded dot grid: an aqua badge, a lead with chips, a live `.ic-window`, a quote. Hide it below 860px.

## Don'ts

- Don't put chips in headings, buttons or nav. They belong in running text.
- Don't round the buttons into pills or soften them with shadows.
- Don't use the glow on more than one line per section.
- Don't add a light section, a photo background or a third accent color.
- Don't center the hero.
- Don't use em dashes in copy.
