# Fixed Rail

A functional catalogue from a company that has made the same good thing for decades. White pages, one Swiss-style grotesk in a heavy and a regular weight, hairline grey rules and square corners everywhere. Nothing is rounded, nothing glows. One muted steel blue carries links, and one signal orange appears once per picture. The product is drawn as a plain mechanical diagram: modules hanging between two slotted aluminium rails on a grey plate, captioned like a figure in a manual. Model numbers and captions are set in mono. It feels honest, durable and calm, like furniture you buy once.

Use it for: long-lived hardware, home and energy products, furniture and homeware makers, modular systems, manufacturers with a catalogue, repair and service businesses, architecture practices, public services that want to sound plain and reliable. Avoid it for: playful consumer apps, kids brands, nightlife and entertainment, anything that needs warmth from photography or bright colour.

## 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 Fixed Rail 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 modular home battery called the Ostra 410.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Everything | Inter Tight 400 and 700 | Headlines at 700 with -0.02em tracking. Body and nav at 400. Links, buttons, card titles and the active nav item at 700. 500 and 600 only for quotes and spec values. |
| Model numbers and captions | IBM Plex Mono 400 and 500 | `No. 410`, figure captions, badges, step labels, footnotes. 11 to 12px. |

Two weights do the work. Hierarchy comes from size and weight, never from colour.

## Color

| Token | Hex | Role |
|---|---|---|
| `--fr-paper` | #FDFDFC | The page, inputs, modules in drawings |
| `--fr-panel` | #F3F3F1 | Plates behind drawings, panel sections, the featured plan |
| `--fr-panel-deep` | #E8E8E5 | The floor strip at the bottom of a plate |
| `--fr-ink` | #141414 | Text, solid buttons, strong rules |
| `--fr-grey` | #5F5F5C | Secondary text, spec labels, captions |
| `--fr-faint` | #8E8E8A | Placeholders, inactive steps |
| `--fr-rule` | #D8D8D4 | Every 1px hairline |
| `--fr-alu` / `--fr-alu-dark` | #B8BBBE / #8C9094 | Rails and module edges in drawings, input borders |
| `--fr-blue` | #1D5890 | Links, arrow links, "Yes" in tables, the callout edge, focus rings |
| `--fr-blue-soft` | #E6EEF6 | Callout fill and focus halo |
| `--fr-orange` | #D2551F | One module per drawing and one badge per page. Nothing else. |
| `--fr-green` | #3E8A4F | Status lights on modules only |

Rules:
- The page is near-white and flat. Depth comes from the grey plate, not from shadows. Only drawn objects get `--fr-shadow-object`.
- Blue is for things you can click that are not buttons. Buttons are ink.
- Orange is a signal, used once per picture and once per page in a badge.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--fr-text-hero` | clamp(36px, 4.6vw, 60px) | Page titles: a product name or a plain statement |
| `--fr-text-h2` | clamp(28px, 3vw, 38px) | Section titles |
| `--fr-text-lead` | clamp(18px, 1.6vw, 21px) | One or two sentences under a title, in ink, not grey |
| `--fr-text-h3` | 21px | Feature, plan and card titles |
| `--fr-text-body` | 17px | Body copy |
| `--fr-text-small` | 15px | Secondary copy in grey, tables, spec lists |
| `--fr-text-micro` | 12px | Mono model numbers and captions |

Copy is short, factual and specific: numbers, sizes, years. Titles name the thing ("410 Home Battery System", "Pricing"). The only slogans are short and sound like a principle ("Less, but longer.").

## Shape and space

- Radius: 0 everywhere. Only status lights are round.
- Borders: 1px `--fr-rule` hairlines between rows, under the nav and above features. A 2px ink rule (`--fr-border-strong`) opens spec lists, stats, plans, tables and the CTA band.
- Shadows: none on UI. Drawn modules get one short, soft drop (`--fr-shadow-object`).
- Plates: drawings sit on a `--fr-panel` rectangle with a darker floor strip along the bottom and a mono caption in the corner ("Fig. 1 · ...").
- Layout: a 1080px container with 24px gutters, 5:7 splits with text on the left, 4-column feature rows. Sections are 72px tall padding. Generous white space, everything left-aligned.
- Motion: functional. Content rises 10px on load, a charging module's light blinks slowly, arrow links nudge 3px on hover.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.fr` | Put on `<body>`: paper page, Inter Tight, ink text |
| `.fr-container`, `.fr-section`, `--tight`, `--panel`, `.fr-rule`, `--strong` | Layout and hairlines |
| `.fr-split`, `--even`, `.fr-grid--2/3/4`, `.fr-stack`, `.fr-hide-sm` | Grids |
| `.fr-nav`, `__top`, `__utility`, `__main`, `.fr-logo`, `__word`, `__tag` | Two-tier nav: logo with a small tagline and utility links, then main links with a 2px underline on the current page |
| `.fr-hero-title`, `.fr-h2`, `.fr-h3`, `.fr-lead`, `.fr-body`, `.fr-small`, `.fr-micro`, `.fr-model` | Type. `.fr-model` is the mono model number above a title. |
| `.fr-link`, `.fr-inline` | Bold blue arrow link, underlined inline link |
| `.fr-btn`, `--outline`, `--sm`, `--block` | Square ink buttons |
| `.fr-hero`, `__grid`, `__copy`, `__actions` | Text left, plate right |
| `.fr-plate`, `--tall`, `__floor`, `__caption` | The grey stage a drawing sits on |
| `.fr-rig`, `.fr-module`, `--accent`, `--empty`, `--sm`, `--charging` | The drawing: two slotted rails with modules hung between them |
| `.fr-feature`, `--strong` | Numbered item under a rule |
| `.fr-specs` | `<dl>` of label and value rows |
| `.fr-stats`, `.fr-stat`, `__num`, `__label` | Big numbers on a 2px rule |
| `.fr-quote` | Large plain quote with a name |
| `.fr-badge`, `--blue`, `--orange`, `.fr-toggle` | Mono badges, square segmented toggle |
| `.fr-plans`, `.fr-plan`, `--featured`, `__price`, `__amount`, `__per` | Pricing columns divided by hairlines |
| `.fr-table-wrap`, `.fr-table`, `.fr-yes` | Comparison table |
| `.fr-faq` | `<details>` list with a blue plus |
| `.fr-form`, `.fr-field`, `.fr-label`, `.fr-input`, `.fr-select`, `.fr-hint`, `.fr-check`, `.fr-steps` | Forms and a three-step progress bar |
| `.fr-article`, `.fr-byline`, `.fr-callout` | Long-form post |
| `.fr-cta` | Title and button on a 2px rule |
| `.fr-footer`, `__grid`, `__base` | Footer |
| `.fr-rise` | Load motion |

## Pages in this kit

- `demo.html`: landing page. Two-tier nav, hero with the product name and a drawn rig on a plate, four numbered principles, a spec list on a panel, three configurations drawn side by side, stats, two quotes, a CTA band and footer.
- `pricing.html`: title, buy or monthly toggle, three plan columns with the middle one on a panel, a comparison table, FAQ and CTA.
- `blog.html`: badge, title, byline between hairlines, a captioned figure, a side column and the article with a callout and a pull quote, then related posts.
- `signup.html`: a booking form with a three-step bar beside an empty rig waiting for its first module.

## Page recipe

1. `.fr-nav` with the logo, its two-line tagline, utility links on the right and main links underneath.
2. A `.fr-hero`: a `.fr-model` line, the product name as the title, a lead, one sentence of body, an ink button and a blue arrow link. On the right, a `.fr-plate` with a `.fr-rig` and a mono caption.
3. A row of four `.fr-feature--strong` items with numbers.
4. A `--panel` section with a `.fr-split`: text left, `.fr-specs` right.
5. Drawings, stats and quotes, each under a rule. End with a `.fr-cta` and the footer.

Pricing: a `.fr-model` line, title and lead with a `.fr-toggle` on the right, then `.fr-plans` with the middle plan `--featured` and the only solid button. Then a table on a panel and a FAQ in a 4:8 split.

Article: `.fr-badge`, title, lead, `.fr-byline`, a captioned `.fr-plate` figure, then a 3:9 split with a contents column and `.fr-article`. Close with three `.fr-feature` links.

Sign up: a 5:6 split. Title, lead and an empty `.fr-rig` on the left, the `.fr-form` with `.fr-steps` and a `--block` button on the right.

## Don'ts

- Don't round anything. Corners are square.
- Don't add gradients, glows or coloured backgrounds. Panels are grey, the page is near-white.
- Don't use photos or illustration styles. Draw the product as a plain diagram on a plate.
- Don't use the orange more than once in a picture or for text.
- Don't colour headings or use more than two weights of the grotesk on one screen.
- Don't centre the layout. Everything hangs from the left edge of the container.
- Don't use em dashes in copy.
