# Safe Light

A single-ink, after-hours workroom look. The page is near black and everything on it is printed in one safelight red at three strengths: there is no white text and no second accent. Headlines are tall modular capitals in Handjet, set huge with a faint red glow, and everything else is a small mono (Red Hat Mono), often in uppercase. Labels live in solid red tabs pinned to 1px red hairlines, boxes carry crop marks on their corners like an instrument panel, and every picture is red line art: contact sheets, film strips, tanks and timers. Corners are square and there are no shadows.

Use it for: night businesses and workshops, labs and makers, darkrooms and studios, small brands with a strong point of view, launch pages that should feel like a control room after hours, anything retro and hands-on. Avoid it for: healthcare and finance forms where red reads as error, kids' products, long dashboards with status colors, calm wellness brands, anything that needs photos.

## 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 Safe Light 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="sf"` 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, Stopbath (a night film lab that develops rolls by post and rents darkroom bays), on other page types.

## Fonts

Both free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Handjet:wght@300..800&family=Red+Hat+Mono:wght@400;500;700&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Display | Handjet 700 to 800, uppercase, line-height 0.82 | Hero words, page titles, section heads, card titles, prices, timers, stats, the footer word. Always with the red glow except on card titles. |
| Numbers | Handjet 600, tabular | Timers, prices, card numbers, stat values. |
| Body | Red Hat Mono 400 | Paragraphs, list items, inputs. Sentence case. |
| Labels and leads | Red Hat Mono 500, uppercase, 0.04 to 0.08em tracking | Tabs, buttons (700), nav, form labels, captions, the lead paragraph. |

Never set body copy in Handjet, and never set a headline in the mono.

## Color

| Token | Hex | Role |
|---|---|---|
| `--sf-black` | #070202 | Page background |
| `--sf-dark` | #130505 | Alternate sections, featured plan, side panels, notes |
| `--sf-deep` | #240907 | Low tabs (price chips), quiet fills |
| `--sf-line` | red at 32% | Every hairline, grid gap and input border |
| `--sf-red` | #E8241C | The ink: headlines, body text, tabs, buttons, list squares |
| `--sf-red-hot` | #FF3A2C | Hover on buttons and links, strong words in articles |
| `--sf-red-mid` | #A8201A | Secondary text: card copy, captions, table cells, hints |
| `--sf-red-low` | #6A1511 | Card numbers, placeholders, switched-off items, the footer word |
| `--sf-amber` | #FF8A3D | The "ready" lamp only |
| `--sf-on-red` | #070202 | Text on a red fill (tabs, buttons, the band) |

Rules:
- One ink. Hierarchy comes from strength (red, mid, low) and size, never from a second hue.
- Amber appears once per screen at most, as an 8px lamp that means ready or open.
- The band (`.sf-band`) is the one place a whole section turns red; its text and button flip to black.
- Don't use red to mean "error". Mark a wrong field with a hot red border and a mid-red hint, plus words.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--sf-text-mega` | clamp(64px, 15vw, 232px) | The landing hero, two short lines |
| `--sf-text-hero` | clamp(56px, 10vw, 148px) | Page titles on pricing and sign up |
| `--sf-text-h1` | clamp(48px, 7vw, 104px) | Article titles |
| `--sf-text-h2` | clamp(40px, 5vw, 72px) | Section heads, band headline |
| `--sf-text-h3` | 30px | Card, plan and row titles |
| `--sf-text-lead` | clamp(15px, 1.4vw, 18px) | Uppercase lead, max 36em |
| `--sf-text-body` / `--sf-text-article` | 14px / 16px | Body copy, article body |
| `--sf-text-label` / `--sf-text-micro` | 12px / 10.5px | Tabs, labels, captions |

## Shape and space

- Radius: 0 everywhere. Only the lamp is round.
- Lines: 1px red hairlines. Grids share borders with a 1px gap over `--sf-line` (`.sf-grid`, `.sf-plans`, `.sf-choices`).
- Crop marks: `.sf-marks` draws 14px corner marks on any box. Use it on pictures, figures and one feature panel per page.
- Shadow: none. The only glow is `--sf-glow` on display type, timers and focused inputs.
- Space: sections are 72 to 112px tall in padding, the container is 1360px with a 14 to 28px gutter, text columns are 700px (`.sf-narrow`).

## Components (in components.css)

- **Base**: `.sf` on body, `.sf-container`, `.sf-narrow`, `.sf-section` (`--tight`, `--dark`), `.sf-stack`, `.sf-center`, `.sf-gap-top`, `.sf-marks`.
- **Type**: `.sf-mega`, `.sf-hero-title`, `.sf-h1`, `.sf-h2`, `.sf-h3`, `.sf-lead`, `.sf-label`, `.sf-micro`, `.sf-num`, strength helpers `.sf-mid`, `.sf-low`, `.sf-hot`. `.sf-def` sets a dictionary entry (`[ word ], noun.` with numbered senses).
- **Tabs and bars**: `.sf-tab` (solid red), `--ghost` (outlined, fills on hover), `--low` (dark chip). `.sf-bar` lines tabs up along a hairline; put `.sf-bar__line` wherever the rule should stretch.
- **Buttons**: `.sf-btn` (red block), `--ghost`, `--ink` (black, for the band), `--sm`, `--block`, `.sf-btn__arrow`; `.sf-link`.
- **Nav**: `.sf-nav` holding an `.sf-bar` with `.sf-logo` (a row of black cells in a red slot), `.sf-nav__links` of ghost tabs, and one solid tab for the main action. Add `.sf-hide-sm` to tabs that drop on phones.
- **Ticker**: `.sf-ticker > .sf-ticker__track > span`, a red strip; repeat the items twice.
- **Hero**: `.sf-hero` with `.sf-hero__title` and `.sf-hero__meta` (timer, lead, `.sf-hero__actions`) under a hairline.
- **Readouts**: `.sf-timer` (`__value`), `.sf-lamp` (blinking red, `--ready` amber), `.sf-meter` (segments, `i.is-on`).
- **Pictures**: `.sf-panel` with an inline SVG drawn in `currentColor` at 1.5px strokes, and `.sf-panel__cap`.
- **Lists and grids**: `.sf-head` (bar, title, action), `.sf-rows` / `.sf-row` (number, name, detail, tab), `.sf-grid` (`--2`, `--3`, `--4`), `.sf-card` (`--dark`), `.sf-card__num`, `.sf-split`, `.sf-stats` / `.sf-stat__value`, `.sf-list` (red squares, `.is-off`).
- **Pricing**: `.sf-toggle`, `.sf-plans`, `.sf-plan` (`--featured` with a tab on its top edge), `.sf-plan__price`, `.sf-table-wrap` / `.sf-table`, `.sf-faq`.
- **Article**: `.sf-byline`, `.sf-avatar`, `.sf-article`, `.sf-figure`, `.sf-note`.
- **Forms**: `.sf-form`, `.sf-field`, `.sf-fieldset`, `.sf-legend`, `.sf-input`, `.sf-select`, `.sf-hint`, `.sf-row2`, `.sf-choices` / `.sf-choice` (radio cards that fill red), `.sf-check`, `.sf-divider`.
- **Ends**: `.sf-band` (`__inner`), `.sf-footer` with `__cols`, `__word` (the product name in low red, edge to edge) and `__base`.

## Pages in this kit

| Page | File | Shows |
|---|---|---|
| Landing | `demo.html` | Ticker, tab nav, dictionary entry, two-line mega title, timer and lead under a hairline, service rows, contact sheet panel with crop marks, four step grid, stats, red band, footer word |
| Pricing | `pricing.html` | Centered tabs and title, toggle, three plans with segment meters, film strip panel, cost table, FAQ |
| Blog post | `blog.html` | Tabs, title, lead, byline, drawn cover with crop marks, article with list, figure chart and pull quote, next step note, related cards |
| Sign up | `signup.html` | Split: dark side with ready lamp, title, perks and a timer; form with social buttons, divider, fields, plan cards and consent |

## Page recipe

1. Optional `.sf-ticker`, then `.sf-nav`: logo, a stretching hairline, a ghost tab with the site name, links as ghost tabs, one solid tab.
2. Hero: an `.sf-def` entry at the top, the product promise in `.sf-mega` on two lines, then `.sf-hero__meta`: a live `.sf-timer`, an uppercase `.sf-lead`, one solid and one ghost button.
3. Every section opens with `.sf-head`: a bar with a number tab and a ghost name tab, then an `.sf-h2`.
4. One index of `.sf-rows` and one `.sf-grid` of numbered cards. One line-art `.sf-panel.sf-marks` in a `--dark` section.
5. `.sf-stats`, then `.sf-band` with one sentence and one `--ink` button.
6. Footer columns, the product name in `.sf-footer__word`, and a bar along the base.

**Pricing recipe**: centered bar of two tabs, `.sf-hero-title`, lead and `.sf-toggle`. Then `.sf-plans` with the middle plan `--featured` and the only solid button; each plan has a lettered bar with an `.sf-meter`. Follow with a dark strip holding a drawn panel and a sentence for bulk buyers, a plain `.sf-table` of where the money goes, and the FAQ beside its heading.

**Article recipe**: `.sf-narrow` header with tabs, `.sf-h1`, lead and `.sf-byline`. A full-width `.sf-marks` cover drawn in SVG, then `.sf-article` at 16px with Handjet subheads, one list, one `.sf-figure` (a line chart or diagram), one blockquote with a 4px red bar, and an `.sf-note` with the next step. End with three related `.sf-card` links.

**Sign-up recipe**: two columns. Left is a dark panel with a tab and `.sf-lamp--ready`, a short `.sf-hero-title`, a lead, an `.sf-list` of perks and a `.sf-timer` with a deadline. Right is the form: step tab, `.sf-h2`, two ghost social buttons, `.sf-divider`, fields, `.sf-choices` for plans, one `.sf-check`, and a block solid button.

## Don'ts

- Don't add white, grey or a second accent color. One ink only.
- Don't round corners, add drop shadows or use gradients.
- Don't use photos. Draw tools, objects and charts as red line art in SVG.
- Don't put Handjet in paragraphs or the mono in headlines.
- Don't fill more than one whole section red per page.
- Don't use em dashes in copy.
