# Steel Fader

Sturdy, plain-spoken and a little old-school, like the homepage of an open-source desktop tool that has shipped every year for two decades. The page is slate blue-grey, never black. A darker top bar casts a soft shadow down the page. Headlines are tall condensed Oswald set in a stack of short lines: the first lines are bright, the last ones fade to a misty grey, so each headline reads as a statement and then a quieter follow-on. Buttons are glossy cobalt with a lit top edge, the one bit of shine on the page. The product is always drawn as a real app window (tracks, meters, a clock readout) sitting in a carousel frame with round glass arrows. Lime level meters are the only bright color.

Use it for: open-source and indie desktop software, hardware tools and their apps, data and monitoring tools for farms, workshops, labs and co-ops, release notes and community sites. Avoid it for: fashion, luxury, soft wellness, kids, or anything that wants to feel airy and 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 Steel Fader 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 Furrow, a made-up open-source soil sensor and irrigation app for small farms.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines and buttons | Oswald 500 | The stacked hero headline, page titles, card titles, button labels, prices. The wordmark is Oswald uppercase with 0.14em tracking. |
| Section headings | Oswald 400 | `.st-h2`: misty grey with a bright `<strong>` lead-in. |
| Body | Source Sans 3 400 to 700 | Paragraphs, nav links (19px), form labels (600). |
| Readouts | JetBrains Mono 400 | Kickers, badges, version numbers, the app window, bylines, code. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--st-slate` | #2C3843 | The page |
| `--st-slate-deep` | #1E262E | Top bar, footer, window chrome, every second section |
| `--st-slate-raised` | #374552 | Cards, plans, form panel, stat bands |
| `--st-slate-well` | #232C35 | App window body, inputs, code blocks |
| `--st-slate-night` | #10161B | Meter wells and the clock readout |
| `--st-line` | #4A5A69 | Borders and rules |
| `--st-ink` | #EEF2F5 | Headlines and body |
| `--st-mist` | #97A6B3 | The fading lines of a headline, leads, captions |
| `--st-cobalt` / `--st-cobalt-deep` | #2A7BEA / #0F56C4 | The glossy button gradient, the lit plan, focus rings |
| `--st-cobalt-lit` | #6AA8FF | Links, feature icons, button top highlight |
| `--st-lime` | #86D13F | Meters, the logo, the live kicker and status dots |
| `--st-amber`, `--st-ember` | #E9B33B, #DC4A3D | Only in meters, track lines and the playhead |

Rules:
- Slate is the default. Alternate `--slate`, `--slate-deep` and `--slate-raised` sections; never use pure black.
- Cobalt is for things you can click. One glossy primary button per view; the rest are ghost buttons.
- Lime, amber and ember live only inside drawn app windows, meters, the logo and status dots. Never color headings or buttons with them, except the lime kicker above a hero headline.
- The only gradients are the button gloss, the meter fill and the fade under the top bar.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--st-text-hero` | clamp(40px, 5.4vw, 68px) | The stacked hero headline `.st-hl` |
| `--st-text-h1` | clamp(34px, 4.2vw, 52px) | Page titles, the closing call to action |
| `--st-text-h2` | clamp(28px, 3.2vw, 40px) | Section headings |
| `--st-text-h3` | 22px | Card and feature titles |
| `--st-text-lead` | 19px | Misty lead under a headline, max 620px |
| `--st-text-body` | 17px | Body |
| `--st-text-micro` | 12px | Mono kickers and badges, uppercase with 0.06em tracking |

Headline voice: short verbs with commas, then a quieter tail. "Read, Log, / and Water / every field / you farm". Two bright lines, then one or two faded lines in `.st-hl__fade`.

## Shape and space

- Radius: 3px on buttons, inputs and badges; 5px on cards, plans and windows. Only carousel arrows and dots are round.
- Borders: 1px `--st-line` or `--st-line-soft`. The lit plan gets a cobalt border; a blockquote gets a 3px cobalt left rule.
- Shadows: the top bar (`--st-shadow-bar` plus a fade below), windows and the lit plan (`--st-shadow-panel`), primary buttons (`--st-shadow-btn` with an inset top highlight). Inputs are slightly sunken with an inset shadow.
- Container 1160px; articles 700px. Sections 72px vertical padding, 48px on phones.
- Motion: brightness and color only, 0.18s.

## Components (in components.css)

- **Base**: `.st` on `<body>`, `.st-container`, `.st-narrow`, `.st-section` with `--deep` or `--raised`, `.st-rule`.
- **Top bar**: `.st-bar`, `.st-bar__inner`, `.st-brand` (`__mark` SVG wedge, `__name`), `.st-nav` (mark the item to keep on phones with `.st-nav__keep`, the current page with `aria-current`).
- **Type**: `.st-hl` with `.st-hl__line` and `.st-hl__fade`, `.st-h1`, `.st-h2` (with `<strong>`), `.st-h3`, `.st-lead`, `.st-body`, `.st-kicker` (`--lit`), `.st-mono`.
- **Buttons**: `.st-btn` with `--primary` (glossy cobalt) or `--ghost`, `--block`, `.st-btn__icon`; group in `.st-actions`.
- **Hero**: `.st-hero`, `.st-hero__grid` (window left, headline right).
- **App window**: `.st-carousel` with `.st-carousel__arrow--prev/--next` and `.st-carousel__dots`; `.st-window`, `__bar`, `__tool` (`--on`), `__clock`, `__body`; `.st-tracks` of `.st-track` (`__name`, `__lane` holding an SVG line, `--now` sets the playhead); `.st-mixer` of `.st-strip` (`.st-meter` with `--lvl`, `__btn` with `--on`, `__id`).
- **Content**: `.st-split`, `.st-features` of `.st-feature` (`__icon`), `.st-cards` of `.st-card` (`__meta`), `.st-badge` (`--live`), `.st-platforms`, `.st-stats` (`__num`, `__label`), `.st-cta`.
- **Pricing**: `.st-page-head`, `.st-toggle`, `.st-plans`, `.st-plan`, `.st-plan--lit`, `.st-plan__name`, `.st-price`, `.st-ticks`, `.st-faq`.
- **Article**: `.st-article-head`, `.st-byline`, `.st-article`, `.st-quote`, `.st-figure`.
- **Forms**: `.st-panel`, `.st-form`, `.st-field`, `.st-label`, `.st-input`, `.st-select`, `.st-hint`, `.st-row`, `.st-check`, `.st-choices` of `.st-choice`.
- **Footer**: `.st-footer`, `.st-footer__grid`, `.st-footer__fine`.

## Pages in this kit

- `demo.html`: top bar, the app window in a carousel frame beside the stacked headline, a "4.2 is out!" news split on deep slate, six features on hairlines, a stat band, a centered call to action and a four-column footer.
- `pricing.html`: centered stacked headline, a monthly or yearly toggle, three plans with the middle one lit, platform badges, FAQ beside a heading.
- `blog.html`: release notes with a mono byline, a window figure of three tracks, a cobalt-ruled pull quote, a code block, then three more posts as cards.
- `signup.html`: the form in a raised panel on the left, a stacked headline, three ticks and a meter bank window on the right.

## Page recipe

1. `<body class="st">`, then `.st-bar` with the wedge mark, an uppercase wordmark and four or five plain nav links.
2. `.st-hero`: a drawn `.st-window` in a `.st-carousel` on the left, a lime kicker, a stacked `.st-hl` and one glossy button on the right.
3. A deep-slate news split: a bright `.st-h2`, two lines of body, a primary button, and a card listing recent versions.
4. Features on hairlines, then a stat band on raised slate.
5. End with a centered call to action and the footer.

Pricing recipe: `.st-page-head` with a two-line stacked headline (statement, faded tail), a `.st-toggle`, `.st-plans` with exactly one `.st-plan--lit` holding the only primary button, then `.st-faq` on deep slate.

Article recipe: `.st-article-head` in `.st-narrow` with a lime kicker, a stacked headline at h1 size and a mono `.st-byline`, then `.st-article`. One figure built from the window parts, one `.st-quote`, one code block if it fits.

Sign-up recipe: two columns. The form in a `.st-panel` with sunken inputs, a `.st-choices` row and one block primary button; the other column holds a stacked headline, three ticks and a small meter window.

## Don'ts

- Don't use black backgrounds or white pages. Everything is slate.
- Don't set headlines in one tone: the tail lines fade to mist.
- Don't use lime, amber or ember for buttons, links or headings.
- Don't put more than one glossy button in a view, and don't make ghost buttons glossy.
- Don't use photos for the product. Draw the app window.
- Don't round corners past 5px or add colored glows.
- Don't use em dashes in copy; use commas, colons or periods.
