# Dark Slide

A pro instrument on a black stage. Pages are near black with a soft spotlight in the middle and big, out-of-focus shapes drifting in the dark behind, like gear left on a studio floor. In the light float tilted device frames with metal rims, their screens full of matte graphite control panels: tick-mark sliders, vertical faders, round dials and mono readouts. Headlines are wide-tracked, squared capitals in Saira, body copy is a calm, clean Figtree, and every label is small spaced-out IBM Plex Mono. One signal yellow does all the pointing: the index on a slider, the needle on a dial, the selected segment, the check button and the main call to action. It feels precise, nerdy and quietly premium, with a little analog nostalgia for knobs and needles.

Use it for: pro tools and utility apps, camera, audio and measuring apps, hardware and gadgets, outdoor and sport instruments, enthusiast hobbies, anything where control and accuracy are the selling point. Avoid it for: kids' products, health and care services, warm community brands, long-form magazines, anything that should feel soft or chatty.

## 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 Dark Slide 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 an invented sailing instruments app called Tiller.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Saira:wght@500;600;700&family=Figtree:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Saira 600 (500 for quotes, 700 for badges) | Always uppercase, tracked 0.07em. Hero, section titles, card and plan names, the wordmark. |
| Body | Figtree 400 to 600 | Paragraphs, buttons (600), inputs, nav links. |
| Labels and readouts | IBM Plex Mono 400 and 500 | Eyebrows, panel heads, chips, table heads, captions (11px, uppercase, tracked 0.16em). Big numbers in readouts (400). |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ds-void` | #09090A | The stage, every page background |
| `--ds-panel` | #151517 | Control panels, cards, plans |
| `--ds-raised` | #222226 | Buttons, segmented controls, inputs, chips |
| `--ds-line` | #313136 | Every hairline and border |
| `--ds-text` | #F1F0EA | Headlines and body copy |
| `--ds-muted` | #8F8E88 | Secondary copy and labels |
| `--ds-faint` | #5B5A57 | Tick marks, switched-off list items |
| `--ds-signal` | #F3CB2F | Index marks, needles, checks, selected states, the main button, one highlighted word per headline |
| `--ds-signal-ink` | #191400 | Text on signal yellow |
| `--ds-cyan` | #46C3BD | Live data, sparingly |
| `--ds-red` | #E4553F | Record dots and warnings only |

Rules:
- The page is always `--ds-void`. Lift content with `--ds-panel`, never with a lighter grey page.
- Yellow is the only accent that points at things. One yellow word per headline at most, one yellow button per view.
- Cyan and red are status colors, never decoration.
- Gradients only inside drawn screens (a dusk sky, a chart swatch) and in the `--ds-spot` spotlight and `--ds-edge` metal rim.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ds-text-hero` | clamp(36px, 5.6vw, 76px) | Page titles, short, one or two lines |
| `--ds-text-h2` | clamp(28px, 3.6vw, 46px) | Section titles, article titles |
| `--ds-text-h3` | 20px | Card and plan names |
| `--ds-text-lead` | 19px | The line under a title |
| `--ds-text-body` | 16px | Body and buttons |
| `--ds-text-small` | 14px | Fine print, tables |
| `--ds-text-label` | 11px | Mono labels |
| `--ds-text-readout` | clamp(34px, 4vw, 52px) | Big numbers in panels and stats |

Write like a calm expert: short, plain sentences, concrete numbers and units ("14 kn", "0.3 deg", "3 s"). Headlines are short commands or claims in capitals ("Read every gust", "Pick your rig").

## Shape and space

- Radius: 44px device frames (34px screens), 18px panels and cards, 10px tiles, inputs and the check button, full pills for buttons, chips and segmented controls.
- Borders: 1px `--ds-line` on panels, cards, inputs, nav and tables. The featured plan swaps its border for yellow with a soft yellow halo (`--ds-glow-signal`).
- Shadows: devices get a deep drop plus a metal rim (`--ds-shadow-device`, `--ds-edge`). Panels get one soft drop (`--ds-shadow-panel`). Nothing else casts a shadow.
- Patterns: `--ds-ticks` (horizontal tick marks), `--ds-ticks-v` (vertical, for faders) and `--ds-dial` (conic ticks around a dial). Always grey ticks with one yellow index.
- Ghosts: `.ds-ghost` and `.ds-ghost--ring` are blurred, nearly invisible shapes behind the hero. Two to four per stage, half off the edge.
- Tilt: device frames rotate about 8 degrees, the larger one left, the smaller one right, overlapping.
- Sections: 80px vertical padding (48px on phones). Container 1160px with 24px gutters. Text measure 640px.
- Motion: small. Buttons nudge 1px on press, segments switch instantly, needles may ease when a value changes.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ds` | Put on `<body>`: black stage, Figtree, light text |
| `.ds-container`, `.ds-section`, `.ds-center`, `.ds-stage` | Layout helpers. `.ds-stage` adds the spotlight and clips ghosts |
| `.ds-hero-title`, `.ds-h2`, `.ds-h3`, `.ds-mark` | Uppercase Saira headings, `.ds-mark` turns a word yellow |
| `.ds-lead`, `.ds-body`, `.ds-muted`, `.ds-small` | Copy styles |
| `.ds-label`, `.ds-eyebrow` | Mono label, and the eyebrow with a short yellow rule |
| `.ds-readout` (with `<small>` for the unit) | Big mono number |
| `.ds-logo`, `__mark`, `.ds-wordmark` | Ring-and-needle mark with the tracked wordmark |
| `.ds-nav`, `__inner`, `__links`, `__actions` | Sticky, blurred black nav with a hairline under it |
| `.ds-btn`, `--signal`, `--ghost`, `--sm`, `--block` | Pill buttons. Signal is the main action |
| `.ds-check-btn` | Square yellow tile with a check, for confirm or lock |
| `.ds-chip`, `--signal`, `--live`, `.ds-badge` | Mono pills and a solid yellow badge |
| `.ds-hero`, `__brand`, `__actions`, `__devices` | Centered hero: mark, devices, title, copy, buttons |
| `.ds-ghost`, `--ring` | Blurred background objects |
| `.ds-device`, `--phone`, `--tablet`, `__screen`, `.ds-tilt-left`, `.ds-tilt-right` | Metal-rimmed device frames |
| `.ds-scene`, `__hud` | The drawn picture at the top of a screen, with chips over it |
| `.ds-panel`, `--tight`, `__head` | Graphite control panel with a label row |
| `.ds-ticks`, `__index`, `__scale` | Tick slider with a yellow index |
| `.ds-faders`, `.ds-fader`, `__knob` | Vertical faders |
| `.ds-dial`, `__needle`, `__value` | Round tick dial with a needle and readout |
| `.ds-seg` | Segmented control; `aria-pressed="true"` turns a segment yellow |
| `.ds-tiles`, `.ds-tile`, `--on` | Swatch tiles to pick from |
| `.ds-stats`, `.ds-stat` | Ruled row of readouts |
| `.ds-grid`, `--2`, `--3`, `.ds-card`, `__icon` | Feature cards |
| `.ds-pricing`, `.ds-plan`, `--featured`, `__price`, `__list` (`li.is-off`) | Plans |
| `.ds-table-wrap`, `.ds-table`, `.is-yes`, `.is-no` | Comparison table |
| `.ds-faq` | Ruled `<details>` list with a yellow plus |
| `.ds-article`, `__meta`, `__body`, `.ds-quote`, `.ds-figure`, `.ds-author`, `.ds-avatar` | Article parts |
| `.ds-form`, `.ds-field`, `.ds-input`, `.ds-select`, `.ds-hint`, `.ds-checkline`, `.ds-choice`, `.ds-divider` | Forms |
| `.ds-cta`, `.ds-footer`, `__grid`, `__base` | Closing band and footer |
| `.ds-hide-md`, `.ds-hide-sm` | Hide below 900px or 640px |

## Pages in this kit

- `demo.html`: landing page with tilted tablet and phone, stat row, feature cards, a manual-mode panel section, quotes, CTA and footer.
- `pricing.html`: three plans with a billing toggle, a comparison table and an FAQ.
- `blog.html`: an engineering post with a two-panel chart figure, a pull quote and a call to action panel.
- `signup.html`: a split screen with a dial on the left and a stepped form on the right.

## Page recipe

1. `<body class="ds">`, then `.ds-nav`.
2. A `.ds-stage` hero: two to four ghosts, the mark and wordmark, two tilted devices with drawn screens and real controls inside, then the title with one `.ds-mark` word, a lead, a short body line and two buttons (signal first).
3. A `.ds-stats` row of four readouts with units.
4. Sections of `.ds-card` features, then a split section where real `.ds-panel` controls show the product.
5. A `.ds-cta` band and the footer.

Pricing recipe: a `.ds-stage` header with a `.ds-seg` billing toggle and a signal chip, three `.ds-plan` (the middle one featured with a badge), a comparison table, then an FAQ next to its heading.

Article recipe: a `.ds-stage` header with an eyebrow path, the title at h2 size, a lead and author meta with chips, then `.ds-article__body` with `h2` sections, a figure built from panels, one `.ds-quote` and a closing panel with a signal button.

Sign-up recipe: split screen. Left is a `.ds-stage` with the title, a body line and a `.ds-dial`. Right is a narrow form with a three-step progress bar, mono labels, `.ds-choice` cards and one full-width signal button.

## Don'ts

- Don't use a light background or grey page. The stage is always black.
- Don't add a second accent color for decoration. Yellow points, everything else is grey.
- Don't round the headlines or set them in lowercase.
- Don't draw photos or illustrations in full color outside a device screen.
- Don't stack more than two devices, and don't leave them straight. They tilt.
- Don't put heavy shadows on cards, and don't use glows except the yellow focus halo.
- Don't use em dashes in copy.
