# Hex Tracker

Raw, nerdy and a little futuristic, like a piece of hand-built hardware photographed at night. The page is near black with a faint scanline grain and a violet haze behind the hero. Type is a wide geometric sans: white, medium weight and calm in headlines, tiny and widely spaced in the logo, bold caps in the nav. One electric cyan does all the asking. The signature moves are the tracker screen, a blue-black window of pixel-font readings in rows beside violet dot-meter columns with a cyan cursor row, and the blueprint, a thin-line drawing of the product with leader lines and small caps callouts.

Use it for: hardware and gadgets, sensors and loggers, music and audio tools, maker kits, outdoor gear with data, hobby clubs that like numbers. Avoid it for: wellness, kids, fashion, food, anything that should feel soft, warm or light.

## 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 Hex Tracker 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 pocket wind and tide logger called Tidewire T1.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Montserrat 500 | Hero, section headings, plan names. Medium weight, never bold, sentence case. |
| Body | Montserrat 400 | Paragraphs, lists, inputs. Soft grey for leads. |
| Caps | Montserrat 600 to 700 | Nav links (700, 0.06em), labels and panel headings (600, 0.14em, cyan), logo wordmark (500, 0.32em). |
| Pixel | Silkscreen 400 | Only inside tracker screens, prices, table headers, step numbers and inline code. Never for sentences. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ht-void` | #0A0B0D | The page and every second band |
| `--ht-deck` | #111316 | Alternate bands, plan cards, the sign-up side panel |
| `--ht-panel` | #171A1F | Hover fill on inputs |
| `--ht-screen` | #06071A | Inside tracker screens, table heads, the scrolling strip |
| `--ht-line` | #262A31 | Hairlines and panel borders |
| `--ht-line-strong` | #555C68 | Blueprint strokes, input and ghost button borders |
| `--ht-text` | #ECEEF1 | Headlines and body |
| `--ht-soft` | #A9AFB8 | Leads and list text |
| `--ht-dim` | #6C737E | Meta, captions, unlit values |
| `--ht-cyan` | #1AD6E6 | The primary button, labels, links, the cursor row, the lit screen outline in blueprints |
| `--ht-violet` | #5E56EE | Dot meters and column headers on screens, the pull quote edge |
| `--ht-lime` | #8FE35A | Level meter and the "ok" status dot |
| `--ht-amber` | #F0AD32 | Level meter peak and notes |
| `--ht-red` | #FF5470 | Form errors only |

Rules:
- Cyan is the only filled color outside screens. One solid cyan button per view, the rest are ghost outlines.
- Violet lives inside screens and meters. Never fill a button or a band with it.
- Lime and amber appear only as tiny meter blocks or status dots.
- No drop shadows. The only glow is `--ht-glow`, around a tracker screen.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ht-text-hero` | clamp(30px, 4.4vw, 52px) | Hero and page titles, line-height 1.12 |
| `--ht-text-h2` | clamp(24px, 3vw, 34px) | Section headings |
| `--ht-text-h3` | 15px | Cell and card headings, 600 |
| `--ht-text-lead` | 16px | Leads, `--ht-soft` |
| `--ht-text-body` | 14px | Body |
| `--ht-text-small` | 12.5px | Lists inside panels, meta |
| `--ht-text-label` | 11px | Caps labels |
| `--ht-text-screen` | 13px | Pixel font inside screens (10.5px on phones) |

Headlines stay modest. The hero is not huge: the screen above it is the loudest thing on the page.

## Shape and space

- Radius: 0 everywhere. Status dots are square too.
- Borders: 1px `--ht-line` on panels, `--ht-line-strong` on inputs and ghost buttons.
- Tracker screens have a 10px dark bezel, a 1px outline and the glow. `--flat` drops the bezel and glow for screens inside content.
- The hero screen is tilted in 3D (`rotateX(14deg) rotateZ(-5deg)`), like a device on a table. Only the hero screen tilts.
- Panels sit in grids with 8px gaps. Sections: 104px vertical padding (72px tight). Container 1240px, text 660px.
- Motion: only the readout strip scrolls, and it stops for reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ht-nav`, `__inner`, `__links`, `__right`, `__bag`, `.ht-logo`, `__mark` | Sticky black nav: spaced wordmark with a bar mark, bold caps links, sign in and bag on the right |
| `.ht-band`, `--deck`, `--tight`, `--line` | Section surfaces |
| `.ht-hero`, `__stage` | Grain and violet haze, a tilted screen on the stage, centered title, lead and buttons |
| `.ht-hero-title`, `.ht-h2`, `.ht-h3`, `.ht-lead`, `.ht-small`, `.ht-label`, `--dim`, `.ht-section-head` | Type |
| `.ht-btn`, `--ghost`, `--sm`, `--block`, `.ht-btn-row`, `--center` | Square buttons: solid cyan or a grey outline |
| `.ht-screen`, `--flat`, `__head`, `__body`, `__cols`, `__rows`, `__row`, `--cursor`, `__foot` | The tracker screen. Rows are a step number in `<b>`, values in `<span>`, the last value in `<em>` (cyan) |
| `.ht-meters`, `--short` | Violet dot-meter columns. Each `<i>` takes `style="--h:62%"` |
| `.ht-level` | A row of lime and amber blocks; add `.is-off` to unlit ones |
| `.ht-diagram`, `.ht-ink`, `.ht-ink-hi`, `.ht-lead-line`, `.ht-dot`, `.ht-hatch` | Blueprint SVG helpers: grey strokes, one cyan stroke, leader lines, dot ends and a dotted grille fill (define `#ht-hatch` in the SVG) |
| `.ht-split`, `--even`, `--top` | Two-column layouts that stack under 900px |
| `.ht-specs`, `.ht-spec`, `.ht-dashlist` | Three spec panels with a cyan caps heading and dash lists |
| `.ht-cells`, `.ht-cell`, `__num` | Ruled grid of steps with a pixel step number |
| `.ht-badge`, `--cyan`, `.ht-status`, `--warn` | Outlined caps badge; square glowing status dot |
| `.ht-strip`, `__track` | Scrolling readout strip in pixel type, clipped so it never scrolls the page |
| `.ht-quote`, `__by` | Plain medium-weight quote |
| `.ht-toggle` | Two-way caps switch, the pressed side goes cyan |
| `.ht-plans`, `.ht-plan`, `--featured`, `__name`, `__desc`, `__price` | Plan panels; the featured one gets a cyan outline and top rule; prices in pixel type |
| `.ht-table-wrap`, `.ht-table`, `.ht-yes`, `.ht-no` | Comparison table with a screen-colored head in pixel type |
| `.ht-faq` | `<details>` list with a pixel plus and minus |
| `.ht-article-head`, `.ht-meta`, `.ht-article`, `.ht-toc`, `.ht-prose`, `.ht-note` | Article header, sticky contents, prose with cyan dash bullets, violet-edged pull quote, amber note |
| `.ht-cards`, `.ht-card`, `__title`, `.ht-author`, `.ht-avatar` | Related posts and the byline with a pixel-initial avatar |
| `.ht-form`, `.ht-field`, `--error`, `.ht-input`, `.ht-select`, `.ht-row`, `.ht-fieldset`, `.ht-legend`, `.ht-choice`, `.ht-check`, `.ht-help`, `.ht-error`, `.ht-inline` | Square outlined fields, a three-way choice strip, a square checkbox, an email row with an arrow button |
| `.ht-auth`, `__form`, `__side` | Split sign-up page |
| `.ht-footer`, `__top`, `__title`, `__social`, `__bottom` | Newsletter row and caps social links, then a ruled bottom line |
| `.ht-center`, `.ht-mt-4`, `.ht-mt-6`, `.ht-mt-7`, `.ht-mb-0`, `.ht-stack`, `.ht-mx-auto`, `.ht-measure`, `.ht-container` | Helpers |

## Pages in this kit

- `demo.html`: landing page. Tilted tracker screen over a centered title, a readout strip, the blueprint beside the story, three spec panels, a club board section with step cells and a flat meter screen, a quote and a closing call.
- `pricing.html`: title with a billing toggle, three plan panels, a comparison table, FAQ and a short closing band.
- `blog.html`: article header, a tracker screen as the cover, sticky contents beside prose, a flat screen figure, a note, the byline and three related cards.
- `signup.html`: split page with the form on black and a deck panel holding a pairing screen, a small blueprint flow and a quote.

## Page recipe

1. Black nav: wordmark, three caps links, sign in and bag.
2. Hero: one tilted tracker screen showing real-looking data for the product, then a short centered headline, a lead and one cyan button plus one ghost.
3. Readout strip.
4. Black band: blueprint of the product on one side, label, h2, two leads and a ghost button on the other.
5. Deck band: "Specifications" with three spec panels.
6. Black band: a feature story with step cells beside a flat screen.
7. Deck band: one quote.
8. Closing band, centered: label, h2, lead, two buttons.
9. Footer: newsletter row and caps social links.

Pricing recipe: label, title and lead with the toggle on the right; three plans with the middle one featured; a deck band with the comparison table; FAQ beside a short heading; a short closing band.

Article recipe: grained header with a caps category, title and meta; a full tracker screen as the cover; sticky contents beside prose; at least one flat screen figure; an amber note; byline; three related cards on deck.

Sign-up recipe: form on the left with a label, h2 and lead, fields stacked, a choice strip, a checkbox and one block cyan button; deck side panel with a flat screen, a small blueprint and a quote.

## Don'ts

- Don't round corners or add drop shadows.
- Don't use the pixel font for headlines or paragraphs.
- Don't put more than one solid cyan button in a view.
- Don't tilt anything but the hero screen.
- Don't use photos. Draw the product as a blueprint and show its data on a screen.
- Don't use em dashes in copy.
