# Night Lap

Bold and fast on pure black. A deep green glow rises behind the hero like stage light on a dark track, and wide all-caps Michroma headlines sit under it with the confidence of a race livery. Small labels are letterspaced mono caps, the only button that matters is a sharp white block, and the product shows up as tilted phone screens with big numbers, surrounded by drawn 3D objects: a lime ring, glossy spheres, a violet crystal and a checkered flag. It feels like a launch night: loud, a little futuristic and still tidy.

Use it for: sport and motorsport venues, games and interactive products, leagues and competitions, event nights, creative tools that want energy, consumer apps built around scores and stats. Avoid it for: healthcare, legal, finance pages that must feel sober, long reading products, and anything aimed at people who want softness or warmth.

## 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 Night Lap 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 electric indoor karting venue called Kerbside.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Display | Michroma 400 | Every headline, card title, plan name, big number and pull quote. Always uppercase. |
| Body | Manrope 400 to 700 | Paragraphs, leads, nav links (600, uppercase), form text. |
| Mono | JetBrains Mono 400 to 500 | Eyebrows, buttons, badges, labels, table heads, readouts. Uppercase, tracked 0.14em. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--nl-void` | #040504 | The page background. Near pure black. |
| `--nl-pit` | #0B0E0C | Bands, inputs, code boxes, the sign-up side panel |
| `--nl-panel` | #121713 | Cards, plans, panels |
| `--nl-panel-2` | #1A211C | Table heads, inline code, progress tracks |
| `--nl-line` | #242C26 | Every 1px border and divider |
| `--nl-line-bright` | #3C4A40 | Ghost button borders, the unfilled part of the rule |
| `--nl-chalk` | #F3F5F1 | Headlines, body text, the primary button fill |
| `--nl-smoke` | #9AA39C | Leads and secondary text |
| `--nl-glow` | #17A35A | The green light: the aura, avatars, the glowing card edge |
| `--nl-volt` | #D6EF46 | The signal: stats, live dots, list bullets, one highlighted phrase, the ring |
| `--nl-flag` | #EC3F2A | One red number or badge per screen, and errors |
| `--nl-violet` | #8F7CF6 | Only the crystal object. Never text or buttons. |

Rules:
- The page is black. Light only comes from the green aura (`--nl-aura` at the top of a hero, `--nl-aura-low` rising from the bottom of a band or cover).
- One aura per viewport. Don't stack a top aura and a low aura on screen together.
- The primary button is always chalk white. It turns volt on hover. Green buttons (`--glow`) are rare and only for secondary confirmations.
- Volt is a signal, not a fill. Use it on small things: numbers, dots, bullets, one phrase in a headline.
- Red appears once per screen at most.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--nl-text-hero` | clamp(30px, 5.2vw, 68px) | Hero headline, 2 lines, uppercase, line-height 1.08 |
| `.nl-hero-title--sm` | clamp(26px, 4vw, 48px) | Pricing and article heroes |
| `--nl-text-h2` | clamp(24px, 3.3vw, 42px) | Section headings |
| `--nl-text-h3` | 18px | Card titles (15px Michroma in `.nl-card__title`) |
| `--nl-text-lead` | 18px | Leads, smoke gray, max 560px |
| `--nl-text-body` | 16px | Body |
| `--nl-text-micro` | 12px | Eyebrows, buttons, badges, labels |

Headlines are short, verb-led and punchy ("Race at night, chase your lap", "Get on the grid"). Michroma is wide, so keep them to 3 to 6 words and break lines by hand.

## Shape and space

- Borders: 1px `--nl-line` everywhere. The featured card loses its border and gets `--nl-halo`, a green edge and soft glow.
- Radius: 2px on buttons, inputs, badges and chips; 6px on cards and plans; 14px on covers; 28px on the drawn phones.
- Shadows: only on floating things (phones and 3D objects) as deep black drops. Cards are flat.
- The rule: a 1px line with a white filled part (`--nl-progress`) and four short dashes on the right, between the hero stage and the headline.
- Sections: 72px to 112px vertical padding. Container 1160px, narrow 720px.
- Motion: objects float slowly, the marquee scrolls, live dots pulse, the hero rises in. All of it stops with reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.nl-aura`, `--low` | Adds the green radial glow behind a section (from the top, or rising from the bottom) |
| `.nl-hero-title`, `--sm`, `.nl-h2`, `.nl-h3`, `.nl-glow-text` | Michroma uppercase headings; volt phrase |
| `.nl-eyebrow`, `--volt`, `.nl-lead`, `.nl-small`, `.nl-caps` | Mono labels, smoke lead, small text |
| `.nl-btn--primary/ghost/glow/link`, `--sm/--lg/--block`, `.nl-btn-row` | Sharp mono-caps buttons |
| `.nl-nav`, `__inner`, `__links`, `__actions`, `__text`, `.nl-logo`, `__mark` | Sticky black nav with uppercase links and a white button |
| `.nl-hero`, `--center`, `__copy` | Hero wrapper |
| `.nl-rule`, `__line`, `__dots` | Thin progress rule with dash pagination |
| `.nl-stage`, `.nl-device`, `--a/b/c/d`, `__screen`, `--light/--glow`, `__big`, `--volt`, `__label`, `__title`, `__pill`, `__rows`, `__row` | Fan of tilted phone screens holding big numbers |
| `.nl-target` | Striped spiral target inside a screen |
| `.nl-obj`, `.nl-ring`, `.nl-sphere`, `--sm/--green`, `.nl-crystal`, `.nl-flag`, `.nl-checker` | Drawn 3D objects you place absolutely |
| `.nl-section`, `--tight`, `--pit`, `__head`, `.nl-split` | Sections, the darker band and a two-column split |
| `.nl-marquee`, `__track` | Scrolling row of wide caps names, clipped |
| `.nl-grid`, `--2/--4`, `.nl-card`, `--glow`, `--media`, `__num/__icon/__title/__text/__art/__body` | Flat cards; one can glow |
| `.nl-list`, `__label`, `__meta` | Ruled rows with a caps label and mono value |
| `.nl-badge`, `--volt/--glow/--flag`, `.nl-live` | Square badges and a pulsing live dot |
| `.nl-stats`, `.nl-stat__num`, `__label` | Big volt numbers on a top rule |
| `.nl-quote`, `__text`, `__by`, `.nl-avatar` | Uppercase pull quote with a green initials avatar |
| `.nl-cta` | Centered closing band (pair with `.nl-aura--low`) |
| `.nl-billing` | Monthly or yearly switch |
| `.nl-plans`, `.nl-plan`, `--featured`, `__top/__name/__desc/__price/__per/__list` | Pricing cards; the featured one glows green inside |
| `.nl-table-wrap`, `.nl-table`, `.nl-yes`, `.nl-no` | Comparison table that scrolls sideways on phones |
| `.nl-faq` | `<details>` FAQ with a volt plus that turns into a cross |
| `.nl-meta`, `.nl-author`, `--card`, `__name`, `.nl-cover` | Byline and the article cover |
| `.nl-prose`, `.nl-callout` | Article text with square volt bullets, green mono numbers and a volt-ruled quote; green callout |
| `.nl-post`, `__thumb/__body/__title/__text` | Related post cards |
| `.nl-form`, `__row`, `.nl-field`, `--error`, `.nl-label`, `.nl-input`, `.nl-select`, `.nl-input-wrap`, `.nl-input-toggle`, `.nl-help`, `.nl-error`, `.nl-check`, `.nl-divider-text`, `.nl-social`, `__tile` | Form parts with a volt focus ring |
| `.nl-footer`, `__cols`, `__bottom`, `__big` | Footer with a giant dim wordmark |
| `.nl-rise`, `--2/--3`, `.nl-float`, `--slow` | Entrance and float motion |

## Pages in this kit

- `demo.html`: landing page (stage of tilted phones and floating objects, rule, headline, marquee, steps, league split with sector bars, track cards, quote and stats, closing band).
- `pricing.html`: three passes with a monthly or yearly switch, a comparison table, an FAQ and a closing band.
- `blog.html`: an article with a drawn track cover, prose, a callout, code, a chart figure and related posts.
- `signup.html`: a split sign-up page, the form on the left and a dark panel with a live phone and a quote on the right.

## Page recipe

1. Nav: logo left, uppercase links, "Log in" text and a small white button right.
2. Hero on `.nl-aura`: `.nl-stage` first with 3 or 4 tilted `.nl-device` screens (mix light, dark and glow screens, each with one big number) and 3 or 4 `.nl-obj` objects. On phones only two screens stay.
3. `.nl-rule` under the stage, then a mono eyebrow, a 2-line `.nl-hero-title` and a white primary plus a ghost button. Two caps/value facts on the right.
4. `.nl-marquee` of names in wide caps.
5. Section head (h2 left, lead right), then 3 numbered `.nl-card`s, the last one `--glow`.
6. `--pit` band: copy and `.nl-list` left, a glowing card with bars right.
7. `.nl-card--media` cards with a drawn object in each `__art`.
8. `--pit` band with `.nl-quote` and `.nl-stats`.
9. `.nl-cta.nl-aura--low`, then the footer with `__big`.

## Pricing page recipe

1. Nav as on the landing page.
2. Centered hero on `.nl-aura` with two floating objects, an eyebrow, a `--sm` title with one `.nl-glow-text` phrase, a lead and `.nl-billing`. Keep both prices in `data-monthly` and `data-yearly` and swap them with a few lines of JS.
3. `.nl-plans` with 3 cards. Feature the middle one (`--featured`, a `--volt` badge, the only white button). The others get ghost buttons.
4. One line of small print, then a `--pit` band with the table.
5. `.nl-faq` in the narrow container, first item open, then a closing band.

## Article page recipe

1. Nav, then in the narrow container: eyebrow as a path ("Pit notes / Driving"), a `--sm` title, a lead and `.nl-author`.
2. `.nl-cover` in the wide container: a drawn SVG diagram, one or two objects and a `--flag` badge pointing at the key spot.
3. `.nl-prose`: short paragraphs, h2 per point, a bullet list, a quote, a numbered list, one `.nl-callout`, a `<pre>` and a `<figure>` holding a card with a small chart.
4. `.nl-author--card`, then 3 `.nl-post` cards on `--pit`.

## Sign-up page recipe

1. Two columns, full height. Left: logo, a volt eyebrow, an h2 and a lead.
2. `.nl-form`: first and last name side by side, email (shown in its error state), password with a show toggle and help, a select, `.nl-check`, a white block button.
3. `.nl-divider-text`, two ghost social buttons with letter tiles, a "Log in" link.
4. Right column on `--nl-pit` with `.nl-aura--low`: one tilted `.nl-device` with a live readout, two objects and a short quote. Hidden below 860px.

## Don'ts

- Don't set headlines in lowercase or sentence case; Michroma is always uppercase.
- Don't use rounded pill buttons. Buttons are 2px sharp blocks. Pills only live inside the drawn phone screens.
- Don't add photos to the hero; draw the screens and objects with CSS.
- Don't use more than one aura per viewport, or color the page anything but black.
- Don't make volt or violet a button fill.
- Don't use em dashes in copy.
