# Sky Rule

A cheeky, plain-spoken light style that feels like a friendly hardware catalog. The page is warm putty paper, cut into full-width bands of sky blue and sunflower yellow that meet at hard 2px ink rules. Headlines are set in light uppercase mono, so they read like labels on a shelf, while the body copy stays in a soft, easy grotesque. Every corner is square, every box is ruled in ink, and nothing floats on a blurry shadow. Product shots sit in square ink-framed windows with a soft sunny glow in one corner, small orange dots punctuate names and lists, and little drawn doodles with dot eyes peek in over the band edges to keep it from getting too serious.

Use it for: co-ops and community services, local businesses with a sense of humor, developer and data tools that want to feel approachable, rentals and sharing services, memberships, hobby clubs, anything that wants to be honest, a bit nerdy and fun. Avoid it for: luxury and fashion, wellness and spa, formal finance or legal, dark moody brands, anything that needs soft curves or glossy depth.

## 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 Sky Rule 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 neighborhood tool library called Shedful.

## Fonts

All free on Google Fonts:

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

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines and labels | Martian Mono | 300 (headlines), 400 (labels, buttons, nav) | Always uppercase. Hero, section titles, card titles, quotes, prices, buttons, nav links, kickers, chips, table heads |
| Body and UI | Instrument Sans | 400 to 600 | Paragraphs, list items, form inputs, the logo wordmark, FAQ questions. 600 for names and emphasis |

Headlines are light (300) with slight negative tracking (-0.02em). Never set body paragraphs in mono, and never set headlines in the sans.

## Color

| Token | Hex | Use |
|---|---|---|
| `--sr-paper` | #F4F0E9 | The page. Warm putty, never pure white |
| `--sr-paper-deep` | #E9E3D8 | Soft table row lines |
| `--sr-white` | #FFFFFF | Windows, cards, plans, panels, the white band |
| `--sr-sky` | #A9D9F4 | Sky bands, the picked plan, callouts, the sign-up side panel |
| `--sr-sky-deep` | #6CBDEB | The primary button, step numbers, status dots, checked boxes |
| `--sr-sun` | #FFE03A | The announcement strip, the quote band, pull quotes, chosen options, one highlight card |
| `--sr-sun-soft` | #FFF3B0 | The glow in window corners and the active tile |
| `--sr-tang` | #FF8B3D | Only small: dots after names, list bullets, doodle fills, "out" status |
| `--sr-ink` | #2B2926 | Text, every rule and border, the dark button |
| `--sr-ink-soft` | #5F5A54 | Secondary text, hints, captions |

A page usually runs paper, sky band, paper, white band, sun band, paper. Never put two bands of the same color next to each other. Tangerine is never a background bigger than a doodle.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `sr-hero-title` | clamp(34px, 4.6vw, 60px) | Mono 300 uppercase, line-height 1.08, two to four short lines |
| `sr-h2` | clamp(26px, 3.2vw, 40px) | Mono 300 uppercase. Can be a full plain sentence |
| `sr-h3` | 18px | Mono 400 uppercase, for card and step titles |
| `sr-lead` | clamp(18px, 1.5vw, 21px) | Sans, ink-soft, max 600px |
| Body | 17px | Sans 400, line-height 1.6 |
| `sr-prose` | 19px | Article body, line-height 1.7 |
| `sr-label`, `sr-kicker` | 12px | Mono uppercase, tracking 0.06em. Kickers run into a thin rule |
| Stats and prices | 36 to 54px | Mono 300, tight tracking |

## Shape and space

- Radius is 0 everywhere. Only avatars, status dots and bullets are round.
- Borders are 2px ink (`--sr-rule`) on buttons, windows, cards, plans, fields and bands; 1px ink (`--sr-rule-thin`) inside them, to split tiles, steps and stats.
- No drop shadows. Depth comes from the window glow (`--sr-glow`) and from color bands.
- Grouped things share borders: steps, plans and stats sit in one ruled box split by inner rules, not as separate floating cards.
- Bands run full width with a 2px ink rule at the top and bottom. Sections are 64 to 120px tall in padding.
- Focus is a sun ring with an ink outline (`--sr-focus`).

## Components (in components.css)

- **Strip** `sr-strip`: the sunflower announcement line at the very top, mono uppercase, with one underlined link.
- **Nav** `sr-nav`: `sr-logo` (a small drawn mark and a sans wordmark), mono uppercase `sr-nav__links`, then `sr-nav__end` with a text log in and a small sky button. Links hide under 900px.
- **Buttons** `sr-btn` plus `--sky` (primary, turns sun on hover), `--line` (outlined), `--ink` (dark), sizes `--sm`, `--lg`, `--block`. Square, 2px ink border, mono uppercase. An arrow SVG nudges right on hover.
- **Hero** `sr-hero` inside `sr-split`: title, lead, actions, `sr-hero__note`, and `sr-proof` with a kicker and `sr-proof__names` (names with an `sr-dot`).
- **Window** `sr-window` with `sr-window__bar` and `sr-window__body`: the ink-framed product shot with a sunny glow. Holds `sr-tiles` of `sr-tile` (`--on` for the active one).
- **Chips** `sr-chip` (blue status dot), `--out` (orange dot), `--sun`, `--plain` (no dot).
- **Doodles** `sr-doodle`, with `sr-doodle--peek` to sit on top of a band edge. Draw them with inline SVG using the fill classes `sr-f-tang`, `sr-f-sun`, `sr-f-sky`, `sr-f-white`, `sr-f-paper`, `sr-f-ink`, `sr-f-none` and the stroke `sr-s-ink`. Give them two white eyes with ink pupils and a small smile.
- **Bands** `sr-band` plus `--sky`, `--sun`, `--white`, `--ink`, with `sr-section` for padding.
- **Stats** `sr-stats` of `sr-stat` (`sr-stat__num`, `sr-stat__label`), split by thin rules.
- **Steps** `sr-steps` of `sr-step`: one ruled box with numbered columns (01, 02, 03 in sky mono).
- **Cards** `sr-card`, `--sky`, `--sun`, with `sr-card__icon` and `sr-card__num`.
- **Lists** `sr-list` with orange dot bullets.
- **Quote** `sr-quote`, `sr-quote__by` and `sr-avatar`, usually on a sun band.
- **Pricing** `sr-toggle`, `sr-plans` of `sr-plan` (`--pick` is sky), `sr-plan__top`, `sr-plan__name`, `sr-plan__price`, plus `sr-table` inside `sr-table-wrap`.
- **FAQ** `sr-faq` of `details`, with a square plus box that turns sun when open.
- **Article** `sr-article-head`, `sr-meta`, `sr-prose`, `sr-pull` (a sun box), `sr-figure` (a window with a drawing) and `sr-callout` (a sky box with an icon).
- **Forms** `sr-panel`, `sr-form`, `sr-row`, `sr-field`, `sr-label`, `sr-input`, `sr-select`, `sr-hint`, `sr-fieldset`, `sr-choices` of `sr-choice` (the checked one turns sun), `sr-check`, `sr-progress`.
- **Footer** `sr-footer` with `sr-footer__cols` and a mono `sr-footer__base`.

## Pages in this kit

- `demo.html`: strip, nav, split hero with a window of tool tiles, a sky band with a peeking doodle and stats, ruled steps, a white band of category cards, a sun quote band, a closing call to action, the footer.
- `pricing.html`: a plain header with a toggle, three plans in one ruled box (middle one sky), a comparison table on a white band, a two-column FAQ.
- `blog.html`: chips, a mono title, meta with avatar, prose with dot lists, a sun pull quote, a window figure with a drawing, a sky callout, a sky band of related cards.
- `signup.html`: a two-column page split by an ink rule, a sky side panel with perks and a doodle, then progress, the form panel and choices.

## Page recipe

1. Start with the `sr-strip` if there is news, then `sr-nav`.
2. Hero on paper: an uppercase mono title of four to eight words, one lead paragraph, a sky button and a line button, a small proof row.
3. Put the product in an `sr-window` beside the copy. Fill it with tiles, chips and tiny drawings, never a photo.
4. Alternate bands: sky (a claim and stats, with a doodle peeking over the top edge), paper (steps), white (cards), sun (one quote).
5. Close on paper with one plain question and an ink button, then the footer.

Pricing recipe: header on paper with a kicker, a two-line title and the toggle; plans in one `sr-plans` box with the recommended plan in sky and a sun chip; comparison table on a white band; FAQ in two columns.

Article recipe: narrow column, chips, title, lead, meta row under a thin rule. Use h2s in mono uppercase, orange dot lists, one sun pull quote and one window figure. End with a sky band of three related cards.

Sign-up recipe: split the page with a 2px ink rule. Left is a sky panel with a short promise, a dot list and a doodle. Right is progress, then a white `sr-panel` with fields, choices and a large sky button.

## Don'ts

- Don't round corners or add drop shadows.
- Don't set headlines in mixed case or in the sans font.
- Don't use tangerine for backgrounds, buttons or text.
- Don't float cards apart when they belong together; share borders instead.
- Don't use photos. Draw with inline SVG in the kit's fills and an ink stroke.
- Don't stack two bands of the same color, and don't skip the ink rules between bands.
