# Pink Spiral

A fast, cheeky dark style for products whose whole pitch is speed. The page is near-black, split by hairlines instead of floating cards. Headlines are huge and condensed, set in Barlow Condensed 800 with tight leading, and exactly one word in each headline turns hot-pink italic. The hero's right side is a wall of loud pink concentric rings with a cream mascot sitting in them, and a tabbed "benchmark" panel overlaps the rings to prove the claim with plain bars and mono numbers. Every button has one notched corner (top right). The result feels like a confident little product that knows it's quicker than you expected.

Use it for: anything sold on speed or turnaround (delivery, repairs, on-demand services, developer tools, booking apps), consumer launches with a mascot, products that can show a number that beats the competition. Avoid it for: healthcare, legal, finance dashboards, luxury, anything quiet, slow or solemn.

## 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 Pink Spiral 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` is a complete landing page built only with the kit. `pricing.html`, `blog.html` and `signup.html` show the same product (Spokeline, a curbside bike repair service) on other page types. Add `class="ps"` to `<body>`.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,700;0,800;1,800&family=Instrument+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Barlow Condensed 800 | Hero, page titles, section headings, prices, stats. Line-height 0.9, tracking -0.015em, balanced wrap. |
| Hot word | Barlow Condensed 800 italic | One word or short phrase per headline, in pink (`.ps-hot`). |
| Quotes | Barlow Condensed 700 | Pull quotes and testimonials. |
| Body and UI | Instrument Sans 400 to 600 | Paragraphs, nav, buttons, card titles (600). |
| Data | JetBrains Mono 400 to 500 | Benchmark values, command lines, badges, small caps labels. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ps-ink` | #111013 | Page background |
| `--ps-panel` | #19181C | Panels, benchmark, alternate sections, plans |
| `--ps-raised` | #232127 | Tabs, inputs, bar tracks, ghost buttons |
| `--ps-lift` | #2D2B32 | Hover |
| `--ps-line` | #2E2C33 | Every hairline |
| `--ps-line-strong` | #45424B | Input borders, toggles |
| `--ps-text` | #F4F1EC | Headlines, primary text |
| `--ps-text-2` | #B3AFB8 | Body and leads |
| `--ps-text-3` | #77737D | Labels, metadata, axis ticks |
| `--ps-pink` | #FF2F92 | The one accent: hot word, primary button, rings, the winning bar |
| `--ps-pink-deep` | #C4166B | Pressed state, hard offset shadow |
| `--ps-cream` | #F7EAD6 | Mascot body, secondary "Book" button |
| `--ps-blush` | #FF9FC4 | Mascot cheeks only |
| `--ps-bar` | #8F8B94 | The losing bars in a benchmark |
| `--ps-green` | #57D69B | "Live" dot only |

Rules:
- The page is almost all near-black. Pink is loud but rationed: one hot word per headline, one pink button per view, the rings, and the single winning bar.
- The rings (`--ps-rings`) are the only big pattern. Use them once per page: hero art, a sign-up side panel, a cover image or a small avatar.
- The call to action band is the one place the page flips: solid pink, ink headline, cream hot word.
- No gradients other than the rings and a short fade where the rings meet the copy.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ps-text-hero` | clamp(52px, 6.6vw, 96px) | Landing hero, left aligned |
| `--ps-text-h1` | clamp(48px, 6.4vw, 88px) | Page titles, call to action band |
| `--ps-text-h2` | clamp(38px, 4.6vw, 62px) | Section headings |
| `--ps-text-h3` | 22px | Card and plan titles (Instrument Sans 600) |
| `--ps-text-lead` | 19px | Paragraph under a headline, max 32em |
| `--ps-text-body` | 16px | Body |
| `--ps-text-label` | 12px | Mono caps labels, tracking 0.12em |

## Shape and space

- Corners are square. Radius is 2px on tabs, inputs and badges, 4px at most on panels. Round shapes are only the mascot, avatars and dots.
- The notch: buttons, the command box and icon tiles cut their top right corner with `clip-path` (`--ps-notch`, 12px; 8px on small buttons). Never notch more than one corner.
- Grids of cells share 1px hairlines (`.ps-grid`), drawn as a gap over a line-colored background.
- Shadows: `--ps-shadow-panel` under the benchmark panel; `--ps-shadow-pop` (a hard 6px pink-deep offset) on the mascot and the featured plan. Nothing else casts a shadow.
- Spacing runs 4, 8, 12, 16, 24, 32, 48, 72, 112. Sections are 112px apart on desktop, 72px on phones, divided by a top hairline.

## Components (in components.css)

- `.ps-announce`: thin black bar above the nav, one centered line.
- `.ps-nav`, `.ps-brand`, `.ps-nav-links`, `.ps-search` (with a `/` key), `.ps-nav-end`: sticky, 64px, hairline underneath.
- `.ps-btn` plus `--pink` (primary), `--cream` (secondary that still pops), `--ghost` (quiet), `--sm`, `--block`. Every button is notched and never wraps.
- `.ps-badge`, `--pink`, `--live` (green dot).
- `.ps-hero`, `.ps-hero-copy`, `.ps-hero-art` (the rings, right 46%), `.ps-hero-actions`, `.ps-kicker` (a small "New:" line above the headline).
- `.ps-hot`: the pink italic word.
- `.ps-mascot`: a cream bike bell with a face, drawn in CSS. Size it with `font-size`; children are `.ps-eye--l/--r`, `.ps-cheek--l/--r`, `.ps-mouth`.
- `.ps-command`: a one-line mono command with a copy cell. `.ps-toggle`: a two-option segmented switch.
- `.ps-bench`, `.ps-tabs`, `.ps-bench-body`, `.ps-bar-row`, `.ps-bar` (`--win`), `.ps-bar-val`, `.ps-axis`, `.ps-bench-foot`: the benchmark panel. One pink winning bar, the rest gray.
- `.ps-logos`: customer names in condensed caps, gray. Never real logos.
- `.ps-grid` (`--2`), `.ps-cell`, `.ps-icon`, `.ps-head`, `.ps-stats`/`.ps-stat` (big number, pink unit), `.ps-quote`, `.ps-avatar` (tiny rings).
- `.ps-plans`, `.ps-plan`, `.ps-plan--hot`, `.ps-price`, `.ps-table`, `.ps-yes`, `.ps-faq`.
- `.ps-article-head`, `.ps-meta`, `.ps-prose` (pink list markers, pink-bar blockquote in condensed type), `.ps-figure`, `.ps-callout`.
- `.ps-form`, `.ps-field`, `.ps-input`, `.ps-select`, `.ps-row`, `.ps-choice` (radio tiles), `.ps-check`, `.ps-divider`, `.ps-hint`.
- `.ps-split`, `.ps-split-art`, `.ps-split-form`: sign-up layout with rings on the left.
- `.ps-cta` (solid pink band), `.ps-footer`.

## Pages in this kit

| Page | File | Shows |
|---|---|---|
| Landing | demo.html | Announce bar, nav with search, hero with rings, mascot and benchmark tabs, name strip, numbered steps, product panel, stats, quote, pink band, footer |
| Pricing | pricing.html | Centered head over faint rings, billing toggle, three plans with the middle one popped, one-off price grid, comparison table, FAQ |
| Blog post | blog.html | Meta line, condensed title with hot words, author, rings cover with mascot, prose with a bar-chart figure, blockquote and callout |
| Sign up | signup.html | Split screen: rings and mascot on the left, form with social buttons, radio tiles and one pink submit |

## Page recipe

1. Announce bar (optional), then the nav.
2. Hero: kicker line, condensed headline with one hot word, lead with one or two underlined links, a command or proof line, a small toggle plus a live badge, then pink and ghost buttons. On the right, rings with the mascot and a benchmark panel overlapping them.
3. A gray name strip.
4. Sections with a mono label, a condensed heading with a hot word, then hairline grids. Alternate `--panel` backgrounds.
5. Stats row, then one big quote.
6. The pink band with a two to three word headline, then the footer.

Pricing recipe: centered `.ps-h1` with one hot word, a `.ps-toggle`, three `.ps-plan`s with the middle one `--hot` and a pink button, other plans ghost and cream. Follow with a hairline price grid, `.ps-table` and `.ps-faq`.

Article recipe: `.ps-narrow` column, `.ps-meta` with a pink badge, `.ps-h1` with the hot word at the end, a lead, the author, then a cover panel filled with rings. Prose uses condensed `h2`s; data goes in a `.ps-figure` with the benchmark bars.

Sign-up recipe: `.ps-split`, rings and mascot on the left (one small stat card at the bottom), and on the right a badge, `.ps-h1` with a hot word, social buttons, a divider, then the form and one pink block button.

## Don'ts

- Don't make more than one word per headline pink, and never make a whole headline pink.
- Don't round buttons or cards. Don't notch more than the top right corner.
- Don't use the rings more than once per page, or put text directly on them.
- Don't add a second accent color. Green is for the live dot only.
- Don't set body text in the condensed face, or headlines in Instrument Sans.
- Don't use photos or real logos. Draw with CSS, rings and the mascot.
