# Scan Line

A raw, after-dark broadcast look. The page is pure black and the headlines are huge: Archivo at weight 900, stretched to 125% width, in capitals with tight tracking and leading under 1. One acid yellow does all the pointing, as a square block button, a ticker strip across the top and small kicker labels. Pictures are never photos: they are drawn "footage" on a tube screen, with red and blue light bleeding in from the edges, a dark vignette and fine scanlines laid over everything, including the headline. Corners are square, there are no shadows, and grids are drawn with 1px hairlines.

Use it for: live events, night markets and street food, festivals, nightlife, film and media channels, memberships around a scene, anything that should feel like a late broadcast. Avoid it for: healthcare, finance dashboards, kids' products, calm wellness brands, anything that must feel soft or corporate.

## 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 Scan Line 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.

Put `class="sl"` on `<body>`. `demo.html` is a complete landing page built only with the kit. `pricing.html`, `blog.html` and `signup.html` show the same product, Kerbside (filmed night-market cooking sessions), on other page types.

## Fonts

Both free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Display | Archivo 900, `font-stretch: 125%`, uppercase | Hero, page titles, section heads, city names, prices, the footer word. Tracking -0.02em, line-height 0.88. |
| Labels | Archivo 700, `font-stretch: 112%`, uppercase, 0.06em tracking | Nav, buttons, badges, kicker labels, form labels, table heads. 11 to 13px. |
| Body | Archivo 400 and 500 | Paragraphs and leads. Leads are 500 weight, 19 to 24px. |
| Mono | Space Mono 400 | Timecodes, dates in bylines, captions, counters, card numbers. Never for headlines. |

Archivo is a variable font: the width axis only works because the link asks for `wdth,wght@62..125,400..900`. Keep that exact link.

## Color

| Token | Hex | Role |
|---|---|---|
| `--sl-black` | #030303 | Page background |
| `--sl-coal` | #0D0D0E | Alternate sections, inputs, featured plan |
| `--sl-ash` | #1A1A1C | Raised surfaces, dark screen variant |
| `--sl-soot` | #26262A | Scrollbars, switched-off list markers |
| `--sl-line` | paper at 14% | Every hairline and grid gap |
| `--sl-line-strong` | paper at 32% | Ghost buttons, badges, inputs |
| `--sl-paper` | #F5F3EE | Headlines and primary text |
| `--sl-smoke` | #A6A3A0 | Body copy and leads |
| `--sl-dim` | #6B6864 | Metadata, captions, placeholders |
| `--sl-volt` | #F4E12B | Primary buttons, ticker, kicker labels, list squares, focus |
| `--sl-flare` | #FF3B2F | LIVE badges only, and as light inside screens |
| `--sl-tube` | #3E4BFF | Light inside screens only |
| `--sl-ember` | #C2263A | Light inside screens only |

Rules:
- The page is black and off-white. Yellow is the only accent with a job, and every screen has at most one yellow button.
- Red means live. Don't use it for errors, sales or decoration outside a screen.
- Blue and ember exist only as glow inside `.sl-screen`. Never as text, borders or fills.
- The call to action band (`.sl-band`) is the one place a whole section turns yellow; its button flips to black.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--sl-text-mega` | clamp(40px, 11.5vw, 176px) | The product name in the landing hero, one word |
| `--sl-text-hero` | clamp(42px, 8vw, 120px) | Page titles on pricing and sign up |
| `--sl-text-h1` | clamp(36px, 6vw, 84px) | Article titles, band headlines |
| `--sl-text-h2` | clamp(30px, 4.4vw, 60px) | Section headings |
| `--sl-text-h3` | 22px | Tile, card and plan titles (700, not uppercase) |
| `--sl-text-lead` | clamp(19px, 1.9vw, 24px) | Lead paragraph, max 34em |
| `--sl-text-body` | 16px | Body (articles use 18px) |
| `--sl-text-label` / `--sl-text-micro` | 13px / 11px | Uppercase labels and badges |

## Shape and space

- Radius: 0 everywhere. The only round things are the roundel logo, avatars and the live dot.
- Borders: 1px hairlines. Card grids, plan grids and stat rows share borders: a 1px gap over a `--sl-line` background (`.sl-grid`, `.sl-plans`).
- Shadow: none. The featured plan gets a 4px yellow inset bar on top instead.
- Space: sections are 72 to 128px tall in padding, the container is 1320px with a 16 to 36px gutter. Body text sits in a 720px column (`.sl-narrow`).

## Components (in components.css)

- **Base**: `.sl` on body, `.sl-container`, `.sl-narrow`, `.sl-section` (`--tight`, `--coal`), `.sl-rule`.
- **Type**: `.sl-mega`, `.sl-hero-title`, `.sl-h1`, `.sl-h2`, `.sl-h3`, `.sl-lead`, `.sl-sub` (title-case line under the mega word), `.sl-label`, `.sl-mono`, `.sl-muted`, `.sl-dim`, `.sl-volt`, `.sl-outline` (hollow display words, use for half a headline at most).
- **Buttons**: `.sl-btn` (yellow block), `--ghost`, `--wide`, `--sm`, `--block`; `.sl-arrow` (text link with an arrow), `.sl-link`.
- **Nav**: `.sl-nav` with `.sl-roundel` logo (two stacked syllables in a white circle), `.sl-nav__links`, `.sl-nav__end`. Add `.sl-hide-sm` to anything that should drop on phones.
- **Ticker**: `.sl-ticker > .sl-ticker__track > span`. Repeat the items twice so the loop is seamless.
- **Screen**: `.sl-screen` draws a tube screen: glow, vignette and animated scanlines over whatever is inside. Variants `--warm`, `--cold`, `--neon`, `--sodium`. Put an inline SVG inside for the picture.
- **Hero**: `.sl-hero` inside a `.sl-screen`, with `.sl-hero__title`, `.sl-hero__actions` and an optional `.sl-hero__art` SVG anchored to the bottom.
- **Badges**: `.sl-badge`, `--volt`, `--live` (red with a blinking dot), `--dark` (for use on screens).
- **Tiles**: `.sl-rail` (a row that scrolls inside itself) of `.sl-tile`, each a `.sl-screen` with `.sl-tile__tags` and `.sl-tile__time`, then `.sl-tile__meta`.
- **Lists and grids**: `.sl-head`, `.sl-events` / `.sl-event` (date, city, place, button), `.sl-grid` (`--2`, `--4`), `.sl-card`, `.sl-card__num`, `.sl-split`, `.sl-stats`.
- **Pricing**: `.sl-toggle`, `.sl-plans`, `.sl-plan` (`--featured`), `.sl-plan__price`, `.sl-list` (yellow squares, `.is-off` for missing features), `.sl-table`, `.sl-faq`.
- **Article**: `.sl-article`, `.sl-figure`, `.sl-byline`, `.sl-avatar`.
- **Forms**: `.sl-form`, `.sl-field`, `.sl-input`, `.sl-select`, `.sl-hint`, `.sl-row`, `.sl-choices` / `.sl-choice` (radio cards), `.sl-check`, `.sl-divider`.
- **Ends**: `.sl-band` (yellow call to action), `.sl-footer` with `.sl-footer__word` (the product name, edge to edge).

## Pages in this kit

| Page | File | Shows |
|---|---|---|
| Landing | `demo.html` | Ticker, nav, screen hero with a drawn globe, rail of live tiles, event list, how it works grid, stats, yellow band, footer word |
| Pricing | `pricing.html` | Centered title, monthly or yearly toggle, three plans, a screen strip, money table, FAQ |
| Blog post | `blog.html` | Tags, title, byline, full-bleed screen cover, article with figure and pull quote, related tiles |
| Sign up | `signup.html` | Split screen: warm screen with title and perks, form with plan cards |

## Page recipe

1. Optional `.sl-ticker` with live news, then `.sl-nav`.
2. Hero: a full-bleed `.sl-screen` holding `.sl-hero`. A live badge, the product name in `.sl-mega`, one `.sl-sub` line, one `.sl-btn--wide` and one `.sl-arrow`. Draw the picture behind it as SVG.
3. Something live or recent as a `.sl-rail` of tiles, under a yellow `.sl-label` and an `.sl-h2`.
4. A dated list (`.sl-events`) or a hairline grid of four cards.
5. Stats row, then `.sl-band` with one sentence and one black button.
6. Footer with link columns and the product name in `.sl-footer__word`.

**Pricing recipe**: centered `.sl-label`, `.sl-hero-title` and lead, the toggle, then `.sl-plans` with the middle plan `--featured` and the only yellow button. Follow with a short `.sl-screen` strip carrying an `.sl-h2`, a plain table of what the money pays for, and the FAQ.

**Article recipe**: `.sl-narrow` header with badges, `.sl-h1`, lead and `.sl-byline`. Then a full-bleed screen cover with a timecode badge, the `.sl-article` body at 18px, one `.sl-figure`, one blockquote with a yellow bar, and a boxed next step before related tiles.

**Sign-up recipe**: two columns. Left is a `.sl-screen--warm` panel with a live badge, a short `.sl-hero-title` and what you get. Right is the form: kicker, `.sl-h2`, two ghost social buttons, `.sl-divider`, fields, `.sl-choices` for plans, one consent `.sl-check` and a block yellow button.

## Don'ts

- Don't round anything, add drop shadows or use gradients outside `.sl-screen`.
- Don't use photos. Draw footage as SVG shapes inside a screen so the scanlines and glow do the work.
- Don't set long text in the display face. Headlines stay under about eight words.
- Don't use red for anything but live, or blue anywhere outside a screen.
- Don't put more than one yellow button in a view, and don't make yellow body text.
- Don't drop the `wdth` axis from the font link, or the display face falls back to normal width and loses the look.
- Don't let tickers or rails scroll the page sideways: keep them inside `.sl-ticker` or `.sl-rail`.
