# Postcard OS

A summer holiday that runs on a 1997 computer. The page is a pastel flamingo desktop with a fine dither, and everything sits in cream windows with hairline ink borders, a close box and a condensed title in the corner. A menu bar of boxed tabs hangs from the top with a date stamp and a blinking clock, and a dock of small drawn icons waits at the bottom. Headlines are tall, tight Anton in capitals, body copy is typewriter Courier Prime, and every label, tag and caption is pixel VT323. Colour is a poolside set: pool blue for the main button, a sunny yellow for stickers, coral for anything live. It feels nostalgic, sunny and a little bit silly, like a leisure brochure that came on a floppy disk.

Use it for: leisure, travel and hospitality, summer events and festivals, radio and music clubs, retro consumer apps, membership clubs, anything that wants to feel like a holiday. Avoid it for: banks, healthcare, B2B dashboards, serious news, anything that needs to look current and 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 Postcard OS 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 outdoor pool booking app called Deckchair.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Anton&family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=VT323&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Anton 400 | Always uppercase, line-height 0.95. Hero, section titles, card and plan names, window titles, prices, stickers. |
| Body | Courier Prime 400 and 700, italic | Paragraphs, buttons (700), form inputs, quotes (italic). |
| System labels | VT323 400 | Menu bar, eyebrows, tags, labels, captions, table heads. Uppercase and set large (17 to 24px) because the pixel face reads small. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--pc-flamingo` | #F5CDD1 | The desktop wallpaper behind everything |
| `--pc-flamingo-deep` | #E9AEB5 | The dither dots on the wallpaper, a soft icon fill |
| `--pc-cream` | #FBF3E8 | Window frames, menu bar tabs, the dock, plain buttons |
| `--pc-paper` | #FFFDF8 | The inner panel of a window, inputs |
| `--pc-ink` | #17131A | All text and every border |
| `--pc-muted` | #6D6168 | Small print and hints |
| `--pc-shade` | #E6DACB | Pressed buttons |
| `--pc-pool` | #A6DCE8 | The main button, selected choices, hover on menu tabs, the highlighted plan |
| `--pc-pool-deep` | #2F78A8 | Links and focus rings, deep water in drawings |
| `--pc-coral` | #EF5A60 | Live dots, "almost full" tags, one hot button per page |
| `--pc-sun` | #F7D768 | Stickers, pull quotes, highlighter marks |

Rules:
- The wallpaper is always flamingo with the dither. Content never sits on it bare for long: put it in a window.
- Pool blue is the default main button. Coral is for one action per page, usually the final call to action, and for anything live.
- Sun yellow is for stickers and quotes, never for large backgrounds.
- No gradients except inside drawn scenes (the sky over the pool).

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pc-text-hero` | clamp(46px, 6.4vw, 88px) | Page titles, two or three short lines |
| `--pc-text-h2` | clamp(32px, 4.4vw, 56px) | Section titles |
| `--pc-text-h3` | 22px | Card names, plan names, footer brand |
| `--pc-text-lead` | 18px | The paragraph under a title |
| `--pc-text-body` | 16px | Body and buttons |
| `--pc-text-small` | 14px | Fine print, table cells |
| `--pc-text-system` | 20px | VT323 labels |

Write like a holiday brochure: short, warm and slightly cheeky ("Get in. The water's lovely."). Window titles read like file names (`Find.exe`, `Receipt.txt`, `Season.pass`).

## Shape and space

- Radius: 6px windows, 3px buttons, 4px icon tiles, 0 on inputs, tags and table cells. Nothing is round except live dots.
- Borders: 1px `--pc-ink` on everything that is a thing. Dashed 1px ink for list rows and dividers.
- Shadows: windows get a 1px ink bottom edge and one soft pink drop (`--pc-shadow-window`). Buttons and keys get a 1px bevel (`--pc-shadow-bevel`) that flips to `--pc-shadow-pressed` on press. Stickers and pull quotes get a hard 3px ink offset (`--pc-shadow-sticker`).
- The window: a cream frame, a 30px title bar with a close box (and optional zoom box) on the left and an Anton title on the right, then one or more paper panels inside a hairline border.
- Patterns: `--pc-dither` on the wallpaper, `--pc-scan` scan lines over drawn screens.
- Sections: 72px vertical padding (48px on phones). Container 1120px with 24px gutters. Text measure 660px.
- Motion: almost none. The live dot blinks in two steps, the ticker drifts, buttons nudge 1px on press.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.pc` | Put on `<body>`: dithered flamingo wallpaper, Courier Prime, ink text |
| `.pc-menubar`, `__group`, `__item`, `__logo`, `__hide-sm` | Sticky top bar of boxed tabs, logo tab in ink, date and clock on the right |
| `.pc-window`, `__bar`, `__close`, `__zoom`, `__title`, `__title--left`, `__body`, `__body--flush` | The window, the core of the style |
| `.pc-screen`, `__caption`, `.pc-scene` | A drawn "screen" with scan lines and a file name caption; draw the scene with inline SVG |
| `.pc-status`, `.pc-live` | A status strip under a screen, and the blinking coral dot |
| `.pc-btn`, `--pool`, `--coral`, `--lg`, `--block`, `.pc-btn-row` | Bevelled buttons |
| `.pc-keys`, `.pc-key`, `--on` | A row of square player keys |
| `.pc-tag`, `--pool`, `--sun`, `--coral`, `.pc-sticker` | Pixel tags and tilted yellow stickers |
| `.pc-dock-wrap`, `--pinned`, `.pc-dock`, `__item` | The dock of drawn icons, pinned to the bottom of the viewport |
| `.pc-grid`, `--2`, `--3`, `.pc-card`, `.pc-icon`, `--sun`, `--coral` | Window cards with a bevelled icon tile |
| `.pc-rows` | A dashed list of rows: timetables, receipts, perks |
| `.pc-ticker`, `__track` | An ink ticker strip; it clips itself so it never scrolls the page |
| `.pc-field`, `.pc-label`, `.pc-input`, `.pc-select`, `.pc-hint`, `.pc-check`, `.pc-choice` | Form parts; `.pc-choice` is a segmented radio row |
| `.pc-plans`, `.pc-plan`, `--hot`, `.pc-price`, `.pc-list` | Pricing windows with crossed-box ticks |
| `.pc-table`, `.pc-table-scroll`, `.pc-faq` | Comparison table and FAQ |
| `.pc-article`, `.pc-byline`, `.pc-prose`, `.pc-figure` | Blog post: the post sits in one big window |
| `.pc-footer`, `__grid`, `__base` | Footer straight on the wallpaper |
| `.pc-draw`, `.pc-f-*`, `.pc-no-stroke` | For inline SVG drawings: ink outlines, flat token fills |
| `.pc-hero-title`, `.pc-h2`, `.pc-h3`, `.pc-lead`, `.pc-eyebrow`, `.pc-system`, `.pc-small`, `.pc-muted`, `.pc-mark`, `.pc-center` | Type helpers |

## Pages in this kit

- `demo.html`: landing page with a hero window holding a drawn pool scene, status strip and player keys, a ticker, three feature windows, a timetable and guestbook pair, and a CTA window with a sticker.
- `pricing.html`: three pass windows (the middle one raised, pool-blue and stickered), a monthly or season toggle, a comparison table, an FAQ and a receipt.
- `blog.html`: a centred article header with tags, and the whole post inside one window with a bar chart, a sticker-style pull quote and related posts.
- `signup.html`: a headline with a perks list beside a form window with a segmented choice, checkboxes and a sticker.

## Page recipe

1. `<body class="pc">`, then `.pc-menubar` with the logo tab, two or three links, and the date and clock on the right.
2. A hero: an eyebrow, an Anton title, a lead and a `.pc-btn-row` (pool button first), beside a window holding a drawn `.pc-screen` and a `.pc-status`.
3. A `.pc-ticker` of short live facts.
4. Sections of windows: cards in a `.pc-grid`, lists in `.pc-rows`, a quote with a `.pc-system` attribution.
5. A final CTA window with one coral button and a sticker hanging off its corner.
6. `.pc-footer` on the wallpaper, then the pinned `.pc-dock` last.

Pricing: a centred head with a `.pc-choice` toggle, `.pc-plans` with the middle plan `--hot` and a sticker, then a compare table in a flush window, then FAQ and receipt windows side by side.

Article: a centred head (eyebrow, title, lead, byline of tags), then the post inside one wide window with `.pc-prose`. Charts are bevelled bars in a cream frame. Pull quotes are yellow stickers.

Sign up: two columns. Left: title, lead, perks as `.pc-rows` with small icon tiles. Right: a form window with a sticker, labels in VT323, a `.pc-choice` row, checkboxes, one pool button and a plain second option.

## Don'ts

- Don't put body copy straight on the wallpaper in long runs. Use a window.
- Don't round corners past 6px, and don't use soft pill buttons.
- Don't use photos. Draw scenes and icons with inline SVG in ink outlines and flat token fills.
- Don't use more than one coral button per screen.
- Don't set VT323 small; under 17px it falls apart.
- Don't add new colours or gradients outside drawn scenes.
- Don't use em dashes in copy.
