# Pine Window

Warm retro software on a deep pine-green desk. Chunky geometric headlines in parchment cream sit on a dark green page, with friendly Figtree body text in soft sage. The signature is the window: cream panels with a striped classic title bar, a tiny square close box, a hard 2px dark border and a solid offset shadow, like an old desktop app that learned to be cozy. Marigold is the one loud accent, tomato shows up rarely, and a small drawn mascot peeks over a window corner. It feels friendly, crafted and a little nostalgic, without being a joke.

Use it for: hobby and home products, family and food apps, indie software, small subscriptions, clubs, archives and anything that keeps a personal history. Avoid it for: luxury brands, serious finance or healthcare, enterprise dashboards, anything that needs to feel sleek or corporate.

## 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 Pine Window 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 an invented family recipe archive called Crumb, built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Gabarito 800 | Hero, section headings, prices, big numbers. Tight tracking, short lines. 600 for card titles and FAQ questions. |
| Body | Figtree 400 to 700 | Paragraphs, nav, buttons, form labels. Bold labels lead short notes ("**Fridge search:** type what you have"). |
| Mono | Space Mono 400 and 700 | Window titles, eyebrows, key caps, timestamps, table headers. Always lowercase in labels. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--pw-pine` | #0F2E2B | The page. Every page is pine. |
| `--pw-pine-2` | #153A36 | Raised sections, cards, plain plans |
| `--pw-pine-3` | #1C4742 | Hover on pine, inline code |
| `--pw-moss` | #2B5751 | Every line and border on pine |
| `--pw-cream` | #F1E8D2 | Headlines and text on pine, and the surface of every window |
| `--pw-paper` | #E5D9BB | Title bars, window footers |
| `--pw-paper-2` | #D6C8A3 | Stripes, dashed rules and inset shadows on cream |
| `--pw-bark` | #1D1915 | Text on cream, window borders, button borders |
| `--pw-sage` | #A6BFB1 | Soft text on pine: leads, card copy |
| `--pw-dust` | #6B604C | Soft text on cream |
| `--pw-marigold` | #F2B84B | The accent: primary buttons, eyebrows, stat numbers, list bullets, the mascot |
| `--pw-tomato` | #E0634A | Rare second accent: a version badge, the featured plan label, mascot cheeks |
| `--pw-leaf` | #72C98D | Status only (live, synced) |

Rules:
- The page is always pine. Cream lives inside windows, buttons, tiles and key caps, never as a full section background.
- One or two cream windows per screen. They are the product shots and the featured things; plain content goes in pine cards.
- Marigold appears a few times per screen. Tomato appears once per page at most.
- No gradients and no blur. The only pattern is the title-bar stripes.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pw-text-hero` | clamp(46px, 7.4vw, 96px) | Hero headline, 2 lines, tracking -0.035em, line-height .98, ends with a period |
| `--pw-text-h2` | clamp(32px, 4.4vw, 54px) | Section headings and article titles |
| `--pw-text-h3` | 22px | Card titles, window headings |
| `--pw-text-lead` | 19px | The sentence under a headline, sage, max 560px |
| `--pw-text-body` | 16px | Body; article prose is 18px |
| `--pw-text-micro` | 12px | Mono labels and window titles |

Headlines are short and plain, often a full sentence with a period ("Every meal, remembered."). Eyebrows are lowercase mono ("what it keeps").

## Shape and space

- Radius: 3px on buttons, windows, inputs and tiles; 5px on pine cards. Nothing is round: even avatars are 3px squares.
- Borders: 2px `--pw-bark` on anything cream; 1px `--pw-moss` on pine cards; 1.5px cream outlines on ghost buttons, chips and icon tiles.
- Shadows: solid offsets only. 8px 8px on windows, 3px 3px on buttons. Buttons press flat on click.
- Dividers: dashed (`1px dashed`) for lists, tables and FAQ rows.
- Sections: 72px to 120px vertical padding. Container 1120px, text 720px.
- Motion: short and stepped (`--pw-ease` is `steps(3)`). Things press, they don't glide.

## Components (in components.css)

- **Layout:** `.pw-body`, `.pw-container`, `.pw-narrow`, `.pw-section`, `.pw-section--raised`
- **Type:** `.pw-hero__title` / `.pw-h1`, `.pw-h2`, `.pw-h3`, `.pw-lead`, `.pw-eyebrow`, `.pw-soft`, `.pw-mark`
- **Nav:** `.pw-nav`, `.pw-nav__inner`, `.pw-logo` (inline SVG + word), `.pw-nav__links` (`.pw-hide-sm` hides a link on phones), `.pw-nav__toggle`
- **Buttons:** `.pw-btn` (cream), `.pw-btn--primary` (marigold), `.pw-btn--ghost` (outline on pine), `.pw-btn--block`, `.pw-btn--sm`
- **Small things:** `.pw-chip` with `.pw-chip__tag`, `.pw-badge` (`--live`, `--hot`), `.pw-kbd` key caps, `.pw-tiles` / `.pw-tile`
- **Windows:** `.pw-window`, `.pw-window__bar`, `.pw-window__close`, `.pw-window__title`, `.pw-window__action`, `.pw-window__body`, `.pw-window__foot`, `.pw-window--pine` for a dark window. `.pw-line` with `.pw-line__prompt` for a one-line command or query.
- **Hero:** `.pw-hero`, `.pw-hero__grid`, `.pw-hero__notes`, `.pw-hero__actions`, `.pw-stage` + `.pw-mascot` (a drawn SVG peeking over the window corner)
- **Content:** `.pw-grid` (`--2`), `.pw-card`, `.pw-icon`, `.pw-stats` / `.pw-stat`, `.pw-band` (one cream window callout per page)
- **Forms:** `.pw-field`, `.pw-label`, `.pw-input`, `.pw-select`, `.pw-help`, `.pw-check`, `.pw-divider`
- **Pricing:** `.pw-plans`, `.pw-plan`, `.pw-plan__name`, `.pw-price`, `.pw-list`, `.pw-table`, `.pw-scroll`, `.pw-faq`
- **Article:** `.pw-article__meta`, `.pw-prose`, `.pw-quote`, `.pw-author`, `.pw-avatar`
- **Footer:** `.pw-footer`, `.pw-footer__grid`, `.pw-footer__base`
- **SVG paint:** `.pw-f-cream`, `.pw-f-marigold`, `.pw-f-tomato`, `.pw-f-leaf`, `.pw-f-bark`, `.pw-f-none`, `.pw-s-bark`, `.pw-s-cream` so drawn art uses the tokens

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing: chip, hero with bold-label notes and a recipe-card window with mascot, feature cards, a pine search window, stats, a cream callout window |
| `pricing.html` | Pricing: monthly or yearly toggle, two pine plans around a featured cream window plan, a comparison table, FAQ |
| `blog.html` | Blog post: mono eyebrow, title, author row, prose with a "diff" window figure, pull quote, related cards |
| `signup.html` | Sign up: numbered steps beside a form inside a cream window, mascot on the corner |

## Page recipe

1. Pine nav: logo left (small drawn mark + Gabarito word), 3 to 4 links and one square toggle right.
2. Hero in two columns: chip with a marigold "New" tag, a two-line Gabarito headline with a period, a sage lead, two or three bold-label notes, primary + ghost buttons, then a row of small cream tiles. Right column: one cream window showing the product with a mascot peeking over its corner.
3. A raised pine section with a centered eyebrow and heading over three pine cards with outlined icon tiles.
4. A two-column section: text on one side, a `--pine` window on the other.
5. Stats row, then one cream callout window with a single marigold button.
6. Footer with mono lowercase headings.

Pricing recipe: centered heading and a two-button segmented toggle; three plans where the middle one is a cream window with a striped bar and a "Popular" action; a dashed comparison table in a raised section; FAQ beside a short intro.

Article recipe: 720px column, mono eyebrow, h2-size title, lead, meta row in mono with a square avatar. Prose at 18px. Put one window figure in the middle (a diff, a card, a screenshot drawn in HTML) and one marigold-ruled pull quote.

Sign-up recipe: left column with the headline and numbered tile steps; right column is the form inside a cream window titled like a file ("new-box.form"), primary button, a dashed "or" divider, a cream secondary button, and fine print.

## Don'ts

- Don't make cream a page background or a full-width section.
- Don't round things off: no pills, no big radii, no blurred shadows.
- Don't add gradients, glows or photos. Draw what you need with CSS and inline SVG.
- Don't use more than one tomato moment per page.
- Don't set headlines in mono or body text in Gabarito.
- Don't stack more than two cream windows in one view.
- No em dashes in copy.
