# Deep End

Cool, fresh and precise, like a floodlit pool before opening. The page sits on a blue-black slate, and a soft green horizon glow bleeds down from the very top edge with a thin bright line at its rim. Headlines are big rounded geometric sans in near-white, with one word lit in pool-green. The product is shown in a tabbed workspace window: a row of tabs across the top, a narrow tree sidebar on the left, and a pane of lane-like rows where one green block glows. Buttons are solid bright green with dark text, set next to a slate ghost button. Mono type labels the data, never the story. It feels like a clean, well-run service that knows exactly what is happening right now.

Use it for: booking and timetable products, leisure and sport, public services that want to feel modern, fitness and gyms, live status tools, local services, consumer apps with a schedule at their heart. Avoid it for: luxury and fashion, warm hospitality, kids' products, editorial sites that are mostly long reading, anything that needs photography to sell.

## 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 Deep End 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 built only with the kit, for a made-up lane booking app for public swimming pools called Laneline.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Sans | Outfit 400 to 700 | Everything people read: display at 700 with tight tracking, headings at 600 to 700, body at 400, buttons at 600. |
| Mono | Fira Code 400 to 500 | Eyebrows written as `// comments`, tags, pane paths, table heads, axis labels, code. |

## Color

| Token | Hex | Use |
|---|---|---|
| `--de-night` | #05080f | Page background. |
| `--de-deep` | #0a0f1a | Windows, inputs, table heads, the CTA band. |
| `--de-panel` | #0f1624 | Cards and lane tracks. |
| `--de-panel-2` | #151e2f | Selected tabs, tags, booked slots. |
| `--de-line` | #1e293b | Every hairline border. |
| `--de-line-strong` | #2c3a52 | Ghost buttons, inputs, hovered cards. |
| `--de-text` | #f1f5f9 | Headlines and primary text. |
| `--de-text-2` | #a3b0c2 | Body copy and leads. |
| `--de-text-3` | #6b7a90 | Meta, hints, mono labels. |
| `--de-green` | #1fe08f | The one loud color: primary buttons, the lit word, your slot, live dots, eyebrows. |
| `--de-aqua` | #5ad1f0 | Second accent, quiet: classes, code strings, secondary tags. |
| `--de-coral` | #ff7a6b | Closed or blocked, only as a hatched stripe. |

Rules: green appears in at most four places per screen. Never fill a large surface with green; it is a light source, not a paint. Aqua never sits next to green on a button.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--de-size-display` | clamp 2.6 to 4.6rem | Hero headline, 700, tracking -0.03em, line height 1.05. |
| `--de-size-h1` | clamp 2.2 to 3.4rem | Section titles and article titles. |
| `--de-size-h2` | clamp 1.7 to 2.4rem | Sub-sections, pricing heads. |
| `--de-size-h3` | 1.25rem | Card titles. |
| `--de-size-lead` | 1.2rem | Lead paragraph under a headline. |
| `--de-size-body` | 1rem | Body, line height 1.6. |
| `--de-size-mono` | 0.8125rem | Mono labels. |

## Shape and space

- Radius: 6px for buttons, tags and inputs; 10px for callouts and the rail; 14px for cards, windows and the CTA band; pills only for the badge and the billing toggle.
- Borders: 1px hairlines in `--de-line` everywhere. Cards are flat, no drop shadow.
- Shadows: only two. `--de-shadow-window` lifts the workspace window. `--de-shadow-glow` is a green ring and halo for the one featured card and the primary button on hover.
- The horizon: `.de-horizon` on the first block of each page adds the radial green glow and the bright 1px line along the top edge. Use it once per page.
- Space: 4px base. Sections breathe at 112px (`.de-section`) or 72px (`.de-section-tight`). Content max width 1200px, reading width 720px.

## Components (in components.css)

- `.de-nav` with `.de-logo`, `.de-nav-links` (hidden under 820px) and `.de-nav-end`.
- `.de-badge`: green pill with an arrow, for announcements above a headline.
- `.de-btn` with `.de-btn-primary` (solid green), `.de-btn-ghost` (slate with strong border), `.de-btn-quiet`, sizes `.de-btn-lg` and `.de-btn-block`.
- `.de-display` with `.de-glow-word` for the one lit word, `.de-lead`, `.de-actions`, `.de-hint`.
- `.de-window`: the signature. `.de-window-tabs` and `.de-window-tab[aria-selected]`, `.de-window-body` with `.de-tree` (heads and items, `.is-active`, `.is-nested`) and `.de-pane` with `.de-pane-head`.
- `.de-lanes`, `.de-lane`, `.de-lane-track`, `.de-slot` (`.is-mine`, `.is-class`, `.is-closed`) and `.de-lane-axis`: a schedule drawn as lanes. Position slots with `left` and `width` in percent of the track.
- `.de-tag` (`.de-tag-green`, `.de-tag-aqua`), `.de-dot` (glowing live dot).
- `.de-strip`: logo or name strip between hairlines.
- `.de-eyebrow`, `.de-h1`, `.de-h2`, `.de-h3`, `.de-section-head`, `.de-muted`.
- `.de-rail` with `.de-rail-item` and `.de-rail-num`: numbered steps in a segmented bar, active step underlined in green.
- `.de-grid-2`, `.de-grid-3`, `.de-card`, `.de-card-icon`, `.de-card-glow`.
- `.de-stats` with `.de-stat`, `.de-stat-num`, `.de-stat-label`.
- `.de-quote`, `.de-person`, `.de-avatar`.
- `.de-cta`: dark band with green glow rising from the bottom.
- Pricing: `.de-toggle`, `.de-plan`, `.de-plan-name`, `.de-price`, `.de-checks`, `.de-table-wrap`, `.de-table`, `.de-yes`, `.de-no`, `.de-faq`.
- Article: `.de-article-head`, `.de-meta`, `.de-cover`, `.de-figure`, `.de-prose`, `.de-callout`, `.de-pre` (with `.k`, `.s`, `.c`).
- Forms: `.de-form`, `.de-field`, `.de-label`, `.de-help`, `.de-input`, `.de-select`, `.de-check`, `.de-choice`, `.de-divider`, and the split layout `.de-auth`, `.de-auth-side`, `.de-auth-main`, `.de-auth-card`.
- `.de-footer` with `.de-footer-grid` and `.de-footer-base`.

## Pages in this kit

- `demo.html`: landing page. Horizon hero with a split layout (copy left, workspace window right), name strip, how-it-works rail with two cards, three feature cards, stats row, quote, CTA band, footer.
- `pricing.html`: centered horizon head with a billing toggle, three plans (middle one glowing), comparison table, FAQ.
- `blog.html`: narrow article with a lane drawing as the cover, prose, callout, code block, list, next-up card.
- `signup.html`: split screen, horizon panel with promises and a small window on the left, the form on the right.

## Page recipe

1. `body.de-body`, then a `header.de-horizon` holding the nav and the hero.
2. Hero: `.de-badge`, `.de-display` with one `.de-glow-word`, `.de-lead`, two buttons (primary then ghost), a mono `.de-hint`.
3. Right of the hero, a `.de-window` showing the product as rows, tree and tabs. Exactly one green `.is-mine` block.
4. A `.de-strip` of names, then sections alternating `.de-section` and `.de-section-tight`, each with a mono `// eyebrow`.
5. Finish with a `.de-cta` and `.de-footer`.

Pricing recipe: horizon head centered with a `.de-badge`, a display line with a lit phrase and `.de-toggle`. Three `.de-plan` cards, the recommended one `.de-card-glow` with the only primary button. Then a comparison table and a two-column FAQ.

Article recipe: horizon over a narrow head (back link, meta with tag, `.de-h1`, lead, author). A `.de-cover` figure drawn with lanes or a window, never a photo. `.de-prose` with h2s, one `.de-callout`, at most one `.de-pre`. End with a next-up card and a slim CTA.

Sign-up recipe: `.de-auth` split. The side panel carries the horizon, a short promise list with `.de-dot`s and a small window. The form card has a ghost alternative button, a divider, fields, a `.de-choice` group and one primary block button.

## Don'ts

- Don't use green for backgrounds, large text blocks or more than one word in a headline.
- Don't add drop shadows to cards; hairlines only.
- Don't use the horizon glow twice on a page.
- Don't put mono type in headlines or body copy.
- Don't use photography or gradients other than the horizon and the CTA glow.
- Don't round corners past 14px except pills.
- Don't use em dashes in copy.
