# Tube Sign

A pitch black page lit by one neon sign. Headlines are tall condensed capitals drawn as glowing mint outlines, like bent glass tubes hung in a dark window. Pictures are small pixel-stepped night scenes (a lamp post, ferns, an old glasshouse, blinking fireflies) set inside thin pale frames with soft corners. Everything else stays quiet: short bold uppercase labels, plain grey body copy, periwinkle links. It feels dreamy and a little retro, like the title screen of a game you played late at night.

Use it for: night tours and after-dark events, gardens and nature reserves, observatories, small museums with late openings, indie games, night markets, bars and venues with one strong sign, memberships and booking flows that should feel magical. Avoid it for: banks and insurance, healthcare, dense dashboards, long reading-heavy documentation, anything that must feel daytime, 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 Tube Sign 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="ts"` 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, Glimmerwood (a botanical garden that runs lantern walks after dark), on other page types.

## Fonts

Both free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;700;800&family=Archivo:wght@400;500;700;800&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Tube | Big Shoulders Display 800, uppercase, outline only | The signature. Hero names and page titles: transparent fill, a 2px mint stroke and a mint glow (`.ts-tube`, `.ts-hero-title`). Also step numbers, the featured price and the logo. |
| Display | Big Shoulders Display 700 to 800, uppercase, solid | Section heads, card titles, quotes, solid prices and stats. Line-height 0.9. |
| Label | Archivo 800, uppercase, 0.12em tracking, 12 to 13px | Nav, buttons, kickers, table heads, footer heads, badges, form labels. |
| Body | Archivo 400 to 700 | Paragraphs and leads. Leads are 17 to 20px. |

Only one or two tube titles per screen. Everything else is solid.

## Color

| Token | Hex | Role |
|---|---|---|
| `--ts-black` | #000000 | Page background. Really black. |
| `--ts-soot` | #0A0B0F | Alternate bands, cards, plans |
| `--ts-coal` | #14161D | Inputs, hover |
| `--ts-frame` | #C6CFDF | The 1.5px pale rim around scenes, panels and the framed card |
| `--ts-line` / `--ts-line-strong` | frame at 16% / 34% | Hairlines, ghost buttons, card borders |
| `--ts-glass` | #ECF6F1 | Solid headlines, primary text |
| `--ts-moss` | #A2AAB7 | Body copy |
| `--ts-dim` | #626977 | Captions, placeholders, metadata |
| `--ts-tube` | #8EF0C9 | The neon: tube titles, the primary button, glyph badges, focus, fireflies |
| `--ts-wire` | #86A3FF | Links, footer heads, table heads |
| `--ts-lamp` | #F2C76A | Lamp light, stats, small trail and issue labels, the note box |
| `--ts-ink` | #03140D | Text on the tube color |

Scene colors (`--ts-sky`, `--ts-dusk`, `--ts-bark`, `--ts-fern`, `--ts-fern-deep`, `--ts-cap`) are only for drawn scenes, through the `.ts-s-*` classes. Never use them for text or UI.

Rules:
- Mint glows, periwinkle points, amber warms. A button or a title is mint, a link is periwinkle, a number or a light is amber.
- One filled mint button per view. Everything else is a ghost button with a pale line.
- No gradients on surfaces. Light only comes from glows and the lamps inside scenes.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ts-text-mega` | clamp(64px, 13vw, 176px) | The landing hero name, one word or two |
| `--ts-text-hero` | clamp(54px, 9vw, 124px) | Page titles on pricing, blog and sign up; closing band |
| `--ts-text-h1` | clamp(46px, 6.4vw, 92px) | Solid big titles |
| `--ts-text-h2` | clamp(38px, 4.6vw, 64px) | Section heads |
| `--ts-text-h3` | 28px | Card and step titles |
| `--ts-text-label` | 13px | Labels and buttons |
| `--ts-text-lead` | clamp(17px, 1.5vw, 20px) | Leads, max 34em |
| `--ts-text-body` | 16px | Body (articles use 18px) |

## Shape and space

- Radius: scene frames and panels 18px, cards and plans 12px, inputs 8px, buttons 6px. Glyph badges are circles. No pills.
- Borders: always 1.5px (`--ts-stroke`). Scene frames and the sign-up panel use the pale `--ts-frame`; cards use `--ts-line`; the featured plan uses mint with a soft glow.
- Shadow: only glows. `--ts-glow-tube` (a filter) on outlined text, `--ts-glow-soft` on the filled button, glyphs and the featured plan, `--ts-glow-lamp` on stats, `--ts-glow-frame` on frames. No drop shadows.
- Layout is centered and poster-like: a centered title, a row of glyph badges, then one wide framed scene (max 880px) with a small caption row under it.
- Space: sections are 72 to 112px of padding, container 1160px, text columns 680px.

## Components (in components.css)

- **Base**: `.ts` on body, `.ts-container`, `.ts-narrow`, `.ts-framewidth`, `.ts-section` (`--tight`, `--soot`), `.ts-center`, `.ts-stack`, `.ts-grid` (`--2`, `--3`).
- **Type**: `.ts-tube` (mega outlined), `.ts-hero-title` (outlined page title), `.ts-tube--flicker` (a rare flicker, once every 7s), `.ts-h1`, `.ts-h2`, `.ts-h3`, `.ts-lead`, `.ts-label` (`--tube`, `--wire`, `--lamp`), `.ts-muted`, `.ts-dim`, `.ts-strong`.
- **Buttons**: `.ts-btn` (filled mint, uppercase), `--ghost`, `--sm`, `--lg`, `--block`; `.ts-link`, `.ts-link--caps`.
- **Nav**: `.ts-nav` > `.ts-nav__inner` with `.ts-logo` (outlined wordmark plus a lantern `.ts-logo__mark`), `.ts-nav__links`, `.ts-nav__end`. `.ts-hide-sm` drops things under 820px.
- **Hero**: `.ts-hero`, `.ts-hero__actions`, `.ts-hero__status`; `.ts-glyphs` > `.ts-glyph` for the row of round outlined icons under the title.
- **Frame**: `.ts-frame` is the pale-rimmed window. Put an inline SVG with `.ts-frame__art` (16:9, or `--wide` 21:9, `--square`) inside, drawn with `shape-rendering="crispEdges"` and whole-number rects so it reads as pixel art. Color shapes with `.ts-s-sky`, `-dusk`, `-bark`, `-fern`, `-fern-deep`, `-cap`, `-lamp`, `-tube`, `-glass`, `-halo`, `-halo-2`, and `.ts-s-fly` for blinking fireflies. `.ts-frame-foot` is the caption row under a frame: a link left, a link right.
- **Badges**: `.ts-badge` (`--tube`, `--lamp`), `.ts-dot` (a blinking mint dot).
- **Cards**: `.ts-card` (`--framed`), `.ts-card__art` for a small scene on top; `.ts-steps` (numbered with outlined numbers); `.ts-stats` > `.ts-stat__num` / `.ts-stat__label`; `.ts-quote`.
- **Pricing**: `.ts-plans` > `.ts-plan` (`--featured`), `.ts-plan__price`, `.ts-plan__amount`, `.ts-plan__per`, `.ts-plan__list`; `.ts-table-wrap` > `.ts-table`, `.ts-yes`; `.ts-faq` with `<details>`.
- **Article**: `.ts-article-head`, `.ts-byline`, `.ts-prose` (h2, lists, blockquote between mint rules, figure), `.ts-note` (amber outlined aside).
- **Forms**: `.ts-panel` (the framed form box), `.ts-form`, `.ts-field`, `.ts-input`, `.ts-select`, `.ts-hint`, `.ts-row`, `.ts-choices` > `.ts-choice`, `.ts-check`, `.ts-legend`.
- **Footer**: `.ts-footer`, `.ts-footer__grid`, `.ts-footer__base`.

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing: outlined name, glyph row, framed scene with caption row, lead and two buttons, steps, three trail cards with small scenes, stats, quote, closing band, footer |
| `pricing.html` | Three plans with the middle one featured, comparison table, FAQ |
| `blog.html` | Journal article with an outlined title, a wide framed scene, prose, quote, note box and related cards |
| `signup.html` | Two columns: title, scene and perks on the left, the framed form panel on the right |

## Page recipe

1. Sticky black nav with the outlined wordmark and one filled button.
2. Centered hero: `.ts-tube` name (one or two words), the `.ts-glyphs` row, a `.ts-label` status line with `.ts-dot`.
3. One wide `.ts-frame` with a pixel scene, then `.ts-frame-foot` with two caps links.
4. Lead and two buttons (filled plus ghost), centered.
5. Alternate black and `--soot` bands: steps, cards with small scenes, stats in amber, a solid uppercase quote.
6. Close with a `.ts-hero-title` band and the footer.

**Pricing recipe**: outlined page title, then three `.ts-plan` cards; the featured one gets the mint rim and an outlined price. Follow with a table in `.ts-table-wrap` and a `.ts-faq`.

**Article recipe**: centered `.ts-article-head` with an outlined title and a byline badge, a wide `--wide` frame, then `.ts-prose` at 680px. Use one blockquote and one `.ts-note` at most.

**Sign-up recipe**: two columns that stack on phones. Left: label, outlined title, lead, a small framed scene and a short perk list with glyphs. Right: `.ts-panel` holding the form, choice tiles for the plan, one full-width filled button.

## Don'ts

- Don't fill tube titles or use them for body sizes; never more than two outlined titles in one view.
- Don't use a background other than pure black and `--soot` for page bands.
- Don't draw scenes with smooth curves, gradients or photos. Keep them pixel-stepped and dim, with one light source.
- Don't round buttons into pills or add drop shadows.
- Don't use mint for links or periwinkle for buttons.
- Don't animate more than the fireflies, the status dot and a rare title flicker.
