# Tape Glow

A late-night VHS look, like an old tape playing on a curved TV in a dark room. The page is deep plum, not black. Headlines are set in a pixel terminal face with a faint pink and cyan chroma split, as if the tape is a little worn. Pictures sit inside rounded CRT "screens" with scanlines, a vignette and a slow tracking band rolling down. VCR on-screen display text (PLAY, REC, CH 03, timecodes) is sodium amber, and one neon magenta does the pointing: pill buttons with a soft glow and the occasional vertical neon sign. It feels calm and a bit dreamy, never loud.

Use it for: late-night venues, 24-hour local services, cafes and noodle bars, radio and playlist apps, study and focus rooms, small shops with a night-time personality, memberships and booking flows that should feel cosy. Avoid it for: banks and insurance, healthcare, kids' products that need bright daytime colour, dense dashboards, anything that must feel corporate or clinical.

## 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 Tape Glow 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="tg"` 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, Spinhouse (a 24-hour laundromat with a noodle counter), on other page types.

## Fonts

Both free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Display | VT323 400 | Hero, page titles, section heads, card titles, prices, stats, blockquotes. Sentence case. Line-height 0.92. Headlines from h1 up carry the chroma split (`--tg-chroma`). |
| OSD | VT323 400, uppercase, 0.06em tracking, sodium amber with a glow | On-screen display labels: kickers, timecodes, step numbers, table heads, footer heads, chips. |
| Body | Figtree 400 to 700 | Paragraphs, nav, buttons, form labels. Leads are 18 to 21px. |

VT323 is small for its size, so display sizes run large (a 58px h2 reads like a 40px sans). Never set paragraphs in VT323.

## Color

| Token | Hex | Role |
|---|---|---|
| `--tg-night` | #0E0A1A | Page background |
| `--tg-plum` | #18112B | Alternate sections, cards, plans |
| `--tg-dusk` | #261C40 | Inputs, featured plan, hover |
| `--tg-bezel` | #352A55 | Screen rims, strong borders |
| `--tg-line` / `--tg-line-strong` | mist at 12% / 26% | Hairlines, ghost buttons, chips, inputs |
| `--tg-mist` | #EDE6F7 | Headlines and primary text |
| `--tg-haze` | #A99FC2 | Body copy |
| `--tg-dim` | #6F6590 | Captions, placeholders, metadata |
| `--tg-neon` | #FF5FB4 | Primary buttons, REC dot, neon signs, focus rings on inputs |
| `--tg-sodium` | #FFB84D | OSD text, timecodes, stats, list markers, window lights |
| `--tg-cyan` | #63DCE4 | Chroma split and cold light inside screens only |
| `--tg-ink` | #1B0F24 | Text on neon |

Rules:
- Neon is for doing, amber is for reading the machine. A button is neon; a label, a time or a number is amber.
- Cyan never appears as text, buttons or borders. It lives in the chroma split and inside drawn screens.
- One filled neon button per view. Everything else is a ghost pill.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--tg-text-mega` | clamp(56px, 10vw, 148px) | Landing hero, one to two short lines |
| `--tg-text-hero` | clamp(48px, 7vw, 104px) | Page titles on pricing and sign up |
| `--tg-text-h1` | clamp(42px, 5.4vw, 80px) | Article titles, band headline |
| `--tg-text-h2` | clamp(36px, 4vw, 58px) | Section heads |
| `--tg-text-h3` | 30px | Card and plan titles |
| `--tg-text-osd` | 20px | OSD labels |
| `--tg-text-lead` | clamp(18px, 1.6vw, 21px) | Leads, max 34em |
| `--tg-text-body` | 16px | Body (articles use 18px) |

## Shape and space

- Radius: screens 28px (18px on phones), cards and plans 18px, inputs 12px, buttons and chips are pills. Nothing is square.
- Borders: 1px at `--tg-line`. The featured plan gets a neon ring and a pink glow instead of a heavier border.
- Shadow: only glows. `--tg-glow-neon` on filled buttons, `--tg-glow-sodium` on OSD text and stats, `--tg-glow-screen` on screens. No drop shadows.
- Space: sections are 72 to 112px tall in padding, the container is 1240px with a 16 to 32px gutter, text columns are 700px (`.tg-narrow`).

## Components (in components.css)

- **Base**: `.tg` on body, `.tg-container`, `.tg-narrow`, `.tg-section` (`--tight`, `--plum`), `.tg-center`, `.tg-stack`.
- **Type**: `.tg-mega`, `.tg-hero-title`, `.tg-h1`, `.tg-h2`, `.tg-h3`, `.tg-lead`, `.tg-osd`, `.tg-neon-text`, `.tg-muted`, `.tg-dim`, `.tg-caret` (a blinking block cursor after the text).
- **Buttons**: `.tg-btn` (neon pill with glow), `--ghost`, `--sm`, `--lg`, `--block`; `.tg-play` inside a button draws a play triangle; `.tg-link`.
- **Nav**: `.tg-nav` > `.tg-nav__inner` with `.tg-logo` (a drawn cassette `.tg-logo__mark`), `.tg-nav__links`, `.tg-nav__end`. `.tg-hide-sm` drops things under 820px.
- **Screen**: `.tg-screen` is the CRT: rounded bezel, radial glow, scanlines, vignette and a tracking band that rolls down every 7s. Variants `--warm` and `--cold`. Put an inline SVG with `.tg-screen__art` inside for the picture, `.tg-screen__scrim` over it when text sits on top, and `.tg-osd-bar` for the top OSD line. `.tg-rec` adds a blinking neon dot.
- **Sign**: `.tg-sign` is vertical neon lettering for the edge of a hero.
- **Hero**: `.tg-hero` > `.tg-screen` with `.tg-osd-bar` and `.tg-hero__body` (copy left, `.tg-sign` right), `.tg-hero__actions`.
- **Chips**: `.tg-chip`, `--sodium`, `--neon`, `--glass` (for use on screens).
- **Cards and lists**: `.tg-head`, `.tg-grid` (`--2`, `--3`, `--4`), `.tg-card`, `.tg-card--screen` with `.tg-tile-osd` and `.tg-card__body`, `.tg-guide` (a TV-guide schedule: time, title, chip), `.tg-stats`.
- **Pricing**: `.tg-toggle`, `.tg-plans`, `.tg-plan` (`--featured`), `.tg-plan__price`, `.tg-list` (amber `>` markers, `.is-off`), `.tg-table` in `.tg-table-wrap`, `.tg-faq`.
- **Article**: `.tg-byline`, `.tg-avatar`, `.tg-article`, `.tg-figure`, `.tg-callout`.
- **Forms**: `.tg-form`, `.tg-field`, `.tg-label`, `.tg-input`, `.tg-select`, `.tg-hint`, `.tg-row`, `.tg-choices` / `.tg-choice` (radio cards), `.tg-check`, `.tg-divider`, `.tg-split`.
- **Ends**: `.tg-band` (call to action, inside a screen), `.tg-footer` with `.tg-footer__cols` and `.tg-footer__base`.

## Pages in this kit

| Page | File | Shows |
|---|---|---|
| Landing | `demo.html` | Nav, screen hero with a drawn night street, OSD bar and neon sign, TV-guide schedule, three screen cards, amber stats, band inside a screen, footer |
| Pricing | `pricing.html` | Centered title, monthly or yearly toggle, three plans with the middle one featured, a live screen strip, money table, FAQ |
| Blog post | `blog.html` | Chips, title, byline, wide screen cover with REC timecode, article with figure, quote and callout, related screen cards |
| Sign up | `signup.html` | Split: warm screen panel with perks, form with social buttons, fields, plan cards and consent |

## Page recipe

1. `.tg-nav` with the cassette logo, three or four links and one neon button.
2. Hero: a `.tg-screen` holding a drawn SVG scene, a scrim, an OSD bar (`PLAY ▶ CH 03` left, a `.tg-rec` status right), one or two glass chips, the headline in `.tg-mega`, a lead, one neon button and one ghost button. Add a `.tg-sign` on the right on wide screens.
3. A schedule (`.tg-guide`) or a grid of `.tg-card--screen` cards, each with OSD corners.
4. Stats in amber, then a `.tg-band` inside a screen with one sentence, a `.tg-caret` and one button.
5. Footer with amber OSD column heads.

**Pricing recipe**: centered OSD kicker, `.tg-hero-title`, lead and toggle. Three `.tg-plan`s with `CH 01` to `CH 03` labels; the middle one is `--featured` and holds the only filled button. Then a cold screen strip with live status, a table of where the money goes and the FAQ.

**Article recipe**: `.tg-narrow` header with chips, `.tg-h1`, lead and byline. A wide `--warm` screen cover with `Rec` and tape OSD corners. Body at 18px with VT323 subheads, one `.tg-figure` screen, one blockquote and a `.tg-callout` before related screen cards on a plum section.

**Sign-up recipe**: `.tg-split`. Left is a `--warm` screen panel with an OSD bar, a sodium chip, a `.tg-hero-title` and a `.tg-list` of perks. Right is the form: OSD step label, `.tg-h2` with a caret, two ghost social buttons, `.tg-divider`, fields, `.tg-choices` for plans, one `.tg-check` and a block neon button.

## Don'ts

- Don't use photos. Draw scenes as flat SVG shapes inside a `.tg-screen` so the scanlines and glow do the work.
- Don't go pure black, and don't add a second accent color. Plum, magenta and amber only, cyan inside screens.
- Don't set paragraphs, buttons or form labels in VT323.
- Don't put the chroma split on small text; it is for h1 and bigger.
- Don't square off corners or add drop shadows; use glows.
- Don't let the tracking band or caret animate when the user prefers reduced motion (the kit already handles this; keep it).
- Don't stack more than one filled neon button in a view.
