# Wild Deal

A late-night card table on an old CRT. The page is a centered column of deep navy felt with black rails on either side, red and blue ink smoke curling through it and faint scanlines over everything. Headlines are chunky cream pixel letters with a red and blue ink offset, small labels are mint pixel caps split by suit pips, and every panel and button has stepped pixel corners and a pressed bottom edge. The product shows up on tilted cream playing cards, and numbers come as blue "chips" times red "mult" score blocks. It feels cheeky and a bit retro, like the house is in on the joke.

Use it for: events and supper clubs, late-night venues, memberships, games and hobby communities, launches with a sense of humor, anything built around chance, surprise or a "deal" metaphor. Avoid it for: healthcare, legal, finance or government pages that must feel sober, long reading-heavy documentation, and calm wellness brands.

## 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 Wild Deal 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 supper club called Shuffle Supper that seats strangers together every Friday.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Pixelify Sans 600 to 700 | Hero, section headings, card titles, prices, buttons, the logo. Always cream with the red and blue ink offset (`--wd-ink-offset`) on dark. |
| Labels | Silkscreen 400 | Eyebrows, nav links, tags, form labels, table headers. Uppercase, small, tracked, usually mint. |
| Body | Chivo 400 to 700 | Paragraphs, rows, lists, inputs. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--wd-void` | #09090F | The black rails outside the table column, the nav plate, code boxes |
| `--wd-night` | #151633 | The table: the page background inside the column |
| `--wd-night-2` | #1F2149 | Panels, FAQ items |
| `--wd-night-3` | #2A2D5E | Rows and inputs inside panels |
| `--wd-ink` | #F7F1E6 | Headlines and body text |
| `--wd-soft` | #B8B5D8 | Leads and secondary text |
| `--wd-red` | #E3423B | The main button, hearts and diamonds, "mult" blocks, one headline phrase |
| `--wd-blue` | #2F7CF0 | The second button, "chips" blocks, links, card backs |
| `--wd-mint` | #5CE3A7 | Pixel labels, nav links, checks, focus rings |
| `--wd-gold` | #F2B43A | One wink per view: a jackpot tag or a "most dealt" ribbon |
| `--wd-card` | #F3E8D2 | Playing card faces and the quote card |
| `--wd-maroon` | #3D1328 | The warm smoke pooling at the bottom of the table |

`--wd-smoke` builds the table background from red and blue radial glows over a navy gradient. `--wd-scanlines` is laid over the whole column by `.wd-table::after`. `--wd-felt` is a green card-table gradient for CTA panels and covers.

Rules:
- The table column is navy, never flat black. Pure black only appears on the rails, the nav plate and code boxes.
- Red is the main action. One red button per view, with at most one blue button beside it.
- Mint is for small pixel text only, never for buttons or big areas.
- Gold appears once per view at most.
- Text on a playing card is `--wd-card-ink`, never cream.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--wd-text-hero` | clamp(48px, 8vw, 104px) | Hero headline, Pixelify 700, line-height .95, `--wd-ink-offset` |
| `--wd-text-h2` | clamp(34px, 4.6vw, 58px) | Section headings, `--wd-ink-offset-sm` |
| `--wd-text-h3` | 24px | Card and step titles |
| `--wd-text-lead` | 19px | Under a headline, soft lilac, max 600px |
| `--wd-text-body` | 16px | Body |
| `--wd-text-micro` | 12px | Silkscreen labels |

Headlines are short and a little cheeky ("Dinner is a wild card", "Pick your hand"). Put one phrase in `.wd-red` or `.wd-blue`. Label lines start and end with a suit pip: `&#9830; Fridays in six cities &#9830;`.

## Shape and space

- Corners: panels, buttons, tags, inputs and the nav plate use stepped pixel corners (`--wd-pixel-corners`, `--wd-pixel-corners-sm`) through `clip-path`. Only playing cards are round (`--wd-radius-card`, 12px).
- Depth: buttons and panels get a dark inset bottom edge (`--wd-press`), like a chunky arcade button. Playing cards get a hard offset shadow (`--wd-card-shadow`) and a thin inner frame (`--wd-card-frame`). No soft blurry shadows anywhere.
- Tilt: cards sit at small angles (-3deg, 2.5deg) and straighten on hover. The hero fan uses -14deg, -6deg and 5deg.
- Sections: 64px to 120px vertical padding. Table column 1240px, container 1120px, text 720px.
- Motion: quick and springy (`--wd-ease`). Buttons hop 2px, cards lift 6px. All of it stops with reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.wd-table` | The centered smoky column with scanlines. Wrap every page in it. |
| `.wd-nav`, `.wd-nav__plate`, `.wd-nav__links`, `.wd-logo`, `.wd-pip` (`--black`) | Black stepped plate hanging from the top, mint pixel links split by suit pips |
| `.wd-btn` `--red / --blue / --dark / --ghost`, `--sm / --lg / --block` | Stepped pixel buttons with a pressed bottom edge |
| `.wd-label`, `.wd-hero-title`, `.wd-h2`, `.wd-h3`, `.wd-lead`, `.wd-small`, `.wd-link`, `.wd-red / --blue / --mint / --gold` | Type |
| `.wd-score`, `__chips`, `__mult`, `__x`, `__label` | Blue times red score blocks for stats and prices |
| `.wd-hero`, `__grid`, `__actions` (`--center`), `__meta` | Two-column hero |
| `.wd-card`, `__corner` (`--end`, `--red`), `__pip`, `__title`, `--tilt-l / --tilt-r`, `--back` | Cream playing cards with corner rank and suit, or a striped blue back |
| `.wd-fan` | Three overlapping cards for a hero, face card on top |
| `.wd-swirl`, `__red / __blue / __cream` | Inline SVG ink ribbons placed behind a hero or cover |
| `.wd-panel` (`--felt`), `__title`, `.wd-row`, `__name`, `__meta` | Dark stepped surfaces with rows, for anything that looks like product UI |
| `.wd-grid --2 / --3 / --4`, `.wd-tag` `--red / --blue / --mint / --gold` | Grids and pixel tags |
| `.wd-step`, `__num` | Numbered step with a red or blue pixel block |
| `.wd-suits` | A centered row of four suit pips as a divider |
| `.wd-form`, `.wd-field`, `.wd-label-text`, `.wd-input`, `.wd-select`, `.wd-hint`, `.wd-check`, `.wd-choices`, `.wd-choice` | Forms, built for a dark panel |
| `.wd-toggle`, `.wd-plans`, `.wd-plan` (`--featured`), `__name`, `__price`, `__list`, `__ribbon` | Pricing as playing cards; the featured plan lifts and tilts |
| `.wd-table-wrap`, `.wd-compare`, `.wd-yes`, `.wd-no`, `.wd-faq` | Comparison table and FAQ (clubs close, hearts open) |
| `.wd-byline`, `.wd-avatar`, `.wd-cover`, `.wd-article`, `.wd-quote`, `.wd-recipe` | Blog post parts; the quote is a tilted card |
| `.wd-cta` | Green felt panel for the closing call to action |
| `.wd-footer`, `__grid`, `__base` | Dark footer |

## Pages in this kit

- `demo.html`: landing page (nav plate, hero with ink swirls and a card fan, score block stats, three steps as playing cards, a panel of tonight's tables, a felt CTA, footer).
- `pricing.html`: three plans as playing cards with a featured lifted card, a monthly and yearly toggle, a comparison table in a panel and an FAQ.
- `blog.html`: an article with tags, a felt cover with three cards, a card pull quote, a pixel recipe box and a felt CTA.
- `signup.html`: a split sign-up with perks and a small hand of cards on the left, and the form in a panel on the right.

## Page recipe

1. Wrap everything in `.wd-table`. Start with the `.wd-nav` plate.
2. Hero: a `.wd-label` with suit pips, a `.wd-hero-title` with one red phrase, a lead, one red and one blue button, then a `.wd-score` with a short note. Put a `.wd-fan` or a `.wd-panel` on the other side and one or two `.wd-swirl` ribbons behind.
3. Alternate plain table sections with `.wd-section--band` strips. Use playing cards for features and steps, and panels for anything that looks like product UI.
4. Close with a `.wd-cta` felt panel and the footer.

Pricing recipe: a centered header with a `.wd-toggle`, then `.wd-plans` with three `.wd-card.wd-plan`, the middle one `--featured` with a gold ribbon, then a comparison table in a `.wd-panel` on a band, then an FAQ beside a short title.

Article recipe: tags (category, read time), a `.wd-hero-title` at up to 72px, a lead and byline; a `.wd-cover` with felt, swirls and three cards; the body in `.wd-narrow .wd-article` with spade bullets; one `.wd-quote` card; one `.wd-recipe` box; a felt CTA at the end.

Sign-up recipe: a two-column `main`. Headline, lead, three `.wd-step` perks and a small hand of cards on the left; a `.wd-panel` with the form on the right. Use `.wd-choices` for pick-one options and one red block button.

## Don'ts

- Don't use round corners on panels, buttons or inputs; only playing cards are round.
- Don't use soft or blurry shadows. Depth is a pressed inset edge or a hard offset.
- Don't set body text in a pixel font; pixel faces are for headlines and labels.
- Don't drop the ink offset on headlines or use it on body text.
- Don't make the table flat black, and don't remove the rails or scanlines.
- Don't put more than one red button in a view, or use gold more than once.
- Don't tilt panels or forms; only cards tilt.
