# Sunset Steps

Bright, engineered and a little retro. A warm paper page ruled into hairline cells like a blueprint sheet, held between two thin column rails. Headlines are a tight, heavy grotesk; small labels are set in a pixel face. Corners are square and nothing has a shadow. All the color lives in one place: a stepped sunset ramp of red, orange, amber and gold that climbs like a staircase at the edge of the page, joined by a rotated diamond or two and small pixel sprites drawn in SVG. It feels confident and future-facing without going dark.

Use it for: energy and climate products, infrastructure, hardware, co-ops and civic tech, research labs, developer platforms that want warmth, launches. Avoid it for: luxury, wellness and calm editorial brands, anything that needs soft curves or photography-led layouts.

## 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 Sunset Steps 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 for one invented product, Brightfield, a community solar co-op. They are built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines and body | Instrument Sans 400 to 700 | Headlines at 600 with tight negative tracking; body at 400; nav and buttons at 500. |
| Labels | Silkscreen 400 | Eyebrows, form labels, chips, table heads, captions, plan names. Always uppercase and always small (11 to 13px). Never for sentences. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ss-paper` | #FBFAF7 | The page background and most cells |
| `--ss-white` | #FFFFFF | The hero, the nav, featured cells and every input |
| `--ss-cream` | #FFF4DC | Callouts, hover on outlined buttons and nav links |
| `--ss-rule` | #E5E0D6 | Every hairline: cell gaps, column rails, dividers |
| `--ss-ink` | #17140F | Text, the primary button, the one dark section |
| `--ss-soft` | #6A645B | Leads and secondary text |
| `--ss-red` | #E3371E | Sunset step 1 (the lowest) and hover on ink buttons |
| `--ss-orange` | #F2631C | Sunset step 2, diamonds and bullet markers |
| `--ss-amber` | #F9951B | Sunset step 3 and avatar tiles |
| `--ss-gold` | #FFC522 | Sunset step 4 (the highest), sun chips, the button on dark |

Rules:
- The four sunset colors always appear together, in order, red at the bottom or left and gold at the top or right. Use `.ss-stair`, `.ss-bands`, `.ss-band` or `.ss-mark`.
- Outside the ramp, a single sunset color only appears as a small marker: a diamond, a bullet, a chip, a meter cell.
- No gradients that blend. Every color transition is a hard step.
- Green (`--ss-green`) is for live dots inside product UI only.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ss-text-hero` | clamp(44px, 7.4vw, 104px) | Hero headline, left aligned, 2 or 3 lines, tracking -0.045em, line-height 0.98 |
| `--ss-text-h2` | clamp(32px, 4.4vw, 60px) | Section headings, tracking -0.035em |
| `--ss-text-h3` | 22px | Sub-headings |
| `--ss-text-lead` | 19px | The sentence under a headline, soft, max 600px |
| `--ss-text-body` | 16px | Body |
| `--ss-text-pixel` | 12px | Silkscreen labels |

Headlines are plain, confident statements that end with a period ("Own a slice of the sun."). One headline per page may carry an inline `.ss-mark`, the small stepped square, in place of a word gap.

## Shape and space

- Radius: 0 everywhere. No pills, no rounded cards.
- Borders: 1px hairlines in `--ss-rule` for structure; 1px ink borders for things you can press or read (buttons, readouts, toggles, FAQ markers).
- Shadows: none. Depth comes from cells and hairlines.
- Layout: the page sits in `.ss-rails` (1240px, hairline rails on both sides). Sections run edge to edge inside the rails and are separated by hairlines, never by gaps. Grids are `.ss-cells`, so their gutters are hairlines too.
- Cell padding is `--ss-cell` (24 to 48px). Sections are 64 to 120px tall in padding.
- Motion: things step in with `steps()` timing, never glide or bounce.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ss`, `.ss-rails`, `.ss-narrow` | Body class, the ruled 1240px page, a 720px text column |
| `.ss-nav`, `__logo`, `__links`, `__end`, `__cta` | Nav as a row of ruled cells; the last cell is a solid ink "Join" block that turns red on hover |
| `.ss-hero`, `__arc`, `__body` | White hero cell with one thin hairline arc sweeping in from the top left |
| `.ss-hero-title`, `.ss-h2`, `.ss-h3`, `.ss-lead` | Headlines and leads |
| `.ss-eyebrow`, `.ss-pixel` | Pixel label with an orange diamond; plain pixel text |
| `.ss-mark` | A small square of the four sunset steps, for logos and one headline |
| `.ss-btn--primary/outline/sun/plain`, `--block` | Square buttons with a chevron; ink primary, outlined secondary, gold on dark |
| `.ss-tag-link` | Small boxed link under a headline |
| `.ss-stair`, `--down` | The signature: four sunset columns climbing left to right. Give it a height |
| `.ss-band`, `--thin/--tall`, `.ss-bands` | Horizontal sunset strip; four stacked bands above a footer |
| `.ss-diamond`, `--sm/--gold/--red` | Rotated square marker, orange by default |
| `.ss-sprite` | Pixel art in inline SVG (rects on a 10 or 12 unit grid, crisp edges) |
| `.ss-cells`, `--2/3/4/6`, `.ss-cell--white` | Grid with hairline gutters; collapses to 2 then 1 column |
| `.ss-feature__num/icon/title/text` | Feature cell: pixel step number, sprite icon, title, text |
| `.ss-logo`, `--pixel` | Wordmark cells, alternating grotesk and pixel |
| `.ss-stat__num`, `__label` | Big tight numbers with a soft label |
| `.ss-readout`, `__bar/__body/__row`, `.ss-meter` | Product panel with an ink border and a pixel header; the meter fills in sunset order |
| `.ss-chip`, `--sun`, `--live` | Small pixel tags |
| `.ss-quote`, `__by`, `.ss-avatar` | Large grotesk quote; square amber avatar with pixel initials |
| `.ss-section--white/ink` | Section surfaces |
| `.ss-toggle` | Two-option ink-bordered toggle with pixel labels |
| `.ss-plan`, `--featured`, `__name/__desc/__price/__note/__list` | Plan cells; the featured one is white with a sunset band across the top |
| `.ss-table-wrap`, `.ss-table`, `.ss-yes`, `.ss-no` | Comparison table with pixel heads and orange diamonds for yes |
| `.ss-faq` | `<details>` list with square plus markers that turn gold when open |
| `.ss-meta`, `.ss-author`, `--card` | Article meta with diamond separators; author line and closing card |
| `.ss-cover` | Article cover cell: a stair, a diamond and a sprite, no photo |
| `.ss-prose`, `.ss-callout` | Article body: diamond bullets, a quote with a sunset edge, ink code blocks; cream callout with an ink border |
| `.ss-post`, `__thumb/__title/__text` | Related post cell with a drawn thumbnail |
| `.ss-form`, `.ss-field`, `.ss-label`, `.ss-input`, `.ss-select`, `.ss-row` | Square fields with pixel labels and an ink focus ring |
| `.ss-input-wrap`, `.ss-input-toggle` | Password field with a show/hide button |
| `.ss-help`, `.ss-error`, `.ss-field--error`, `.ss-check` | Helper, error and checkbox (orange square when checked) |
| `.ss-btn--social`, `.ss-btn__letter`, `.ss-divider-text` | Social buttons with letter tiles (no brand logos); "or" divider |
| `.ss-footer`, `__cols`, `__bottom` | Footer: sunset bands, ruled columns, a pixel legal line |
| `.ss-step-in` | Stepped entrance, respects reduced motion |

## Pages in this kit

- `demo.html`: landing page (ruled nav, hero with the stair, logo cells, three feature cells, a readout split, stats, an ink quote band, a call to action and the footer).
- `pricing.html`: plans with a pay-once or monthly toggle, a comparison table, an FAQ and a call to action.
- `blog.html`: a field report with a drawn cover, a stepped bar chart, prose, a callout, code, an author card and related posts.
- `signup.html`: split sign-up, the form on white and a paper side panel with a quote and a readout on the stair.

## Page recipe

1. `.ss-rails` wraps everything. Nav first: logo cell, 4 or 5 link cells, then "Log in" and an ink CTA cell at the far right.
2. Hero in a white cell: pixel eyebrow, a 2 or 3 line headline (one `.ss-mark` allowed), a lead and two buttons. The stair sits flush with the right rail and the bottom edge of the hero, with one diamond and one pixel sprite above it.
3. A row of six logo cells.
4. A short section heading, then three feature cells with step numbers and sprite icons.
5. A two-cell split: copy on paper, a readout on white.
6. Four stat cells.
7. One ink section: a big quote with the stair on the right.
8. Call to action in a white section, centered, two diamonds at the sides.
9. Footer: four sunset bands, ruled columns, pixel legal line.

## Pricing page recipe

1. Nav as above. Hero with a short headline, a lead, an `.ss-toggle` and a sun chip; a small stair at the right.
2. Three `.ss-plan` cells in `.ss-cells--3`. Feature the middle one with `--featured`, a sun chip and the only primary button.
3. One line of small print in its own ruled row.
4. Comparison table in `.ss-table-wrap`, then the FAQ beside its heading, then a centered call to action.
5. Keep both prices in `data-once` and `data-monthly` and swap them with a few lines of JS.

## Article page recipe

1. Nav, then a white header in `.ss-narrow`: eyebrow, a smaller hero title, lead, `.ss-author` with `.ss-meta`.
2. `.ss-cover` drawn with a stair, a diamond and a sprite, plus a pixel label.
3. `.ss-prose` in `.ss-narrow`: short paragraphs, h2 and h3, a diamond list, one quote, one `.ss-callout`, one `<pre>`, one `<figure>` (a chart drawn with stepped bars works well).
4. `.ss-author--card`, then three `.ss-post` cells and the footer.

## Sign-up page recipe

1. Two columns inside the rails. Left on white: logo, eyebrow, an h2-size headline, a lead.
2. `.ss-form`: names in an `.ss-row`, email, password with `.ss-input-wrap`, a postcode, an `.ss-select`, an `.ss-check` and a block primary button.
3. `.ss-divider-text`, two `.ss-btn--social` buttons, then a log in line.
4. Right column on paper: a quote at the top, the stair at the bottom with a readout overlapping it. Hide the column below 860px.

## Don'ts

- Don't round anything or add a shadow.
- Don't use one sunset color as a big fill on its own; the ramp always appears as four steps.
- Don't blend the sunset colors into a smooth gradient.
- Don't set sentences in Silkscreen, and don't use it above 13px.
- Don't leave gaps between sections; separate them with hairlines.
- Don't use photos or stock illustration; draw with blocks, diamonds and pixel sprites.
- Don't use em dashes in copy.
