# Seven Piece

A quiet white page with one big tangram. Seven flat pieces in a stack of cerulean tints (plus one warm birch square) fit together with thin white seams, and that figure is the whole illustration system: pieces assemble in the hero, pull apart in articles, and one goes missing on the sign-up page. Headlines are light and geometric, body text is extra legible, corners are square, and every button is a 2px blue outline sitting on a tinted hard offset. It feels calm, friendly and a little clever, like a well-made instruction sheet.

Use it for: home and local services, booking flows, education, kids and family products, furniture and interiors, friendly developer tools, anything that promises "we put it together for you". Avoid it for: luxury fashion, nightlife, edgy campaigns, photo-led brands, or dense dashboards.

## 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 Seven Piece 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 flat-pack furniture assembly service called Flatwise.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500&family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Outfit 300 | Hero, page titles, section headings, prices, stat numbers. Sentence case, light, slightly tight. |
| UI | Outfit 400 and 500 | Logo, buttons, labels, plan names, eyebrows (500, uppercase, tracked). |
| Body | Atkinson Hyperlegible 400 and 700 | Paragraphs, lists, forms, table cells. |
| Quotes | Atkinson Hyperlegible 400 italic | Customer quotes and figure captions. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--sv-paper` | #FFFFFF | The page, cards, inputs and the seams between pieces |
| `--sv-snow` | #F3F7FA | The one soft band per page, figure backgrounds |
| `--sv-line` / `--sv-line-strong` | #D8E2E9 / #B9C9D4 | Dividers / input borders |
| `--sv-ink` | #1D2932 | Text |
| `--sv-soft` / `--sv-faint` | #586771 / #8A98A2 | Leads and secondary copy / hints and meta |
| `--sv-blue` | #1E88C8 | Links, primary buttons, outlines, the largest piece |
| `--sv-blue-deep` | #12679C | Hover, small dark piece, table heads |
| `--sv-blue-2` / `-3` / `-4` / `-5` | #4BA4D8 / #82C0E6 / #BCDDF1 / #E4F1FA | Piece tints; `-4` is the hard offset under buttons; `-5` is badge backgrounds |
| `--sv-birch` / `--sv-birch-soft` | #E3BA80 / #F7EBD9 | The one warm piece per figure; "new" badges |
| `--sv-pin` | #EE6E3A | Reserved: one tiny piece or dot per page at most |
| `--sv-ok` / `--sv-ok-soft` | #2F8A5B / #E2F3EA | Success messages |

Rules:
- White is the page. One `.sv-section--snow` band per page at most.
- Blue is for things you can click and for tangram pieces. Nothing else is blue.
- Each figure has exactly one birch piece. Never two warm pieces side by side.
- No gradients, no photos, no soft shadows.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--sv-text-hero` | clamp(34px, 4.6vw, 54px) | Hero title, Outfit 300 |
| `--sv-text-h1` | clamp(32px, 4vw, 46px) | Page titles |
| `--sv-text-h2` | clamp(26px, 3vw, 34px) | Section headings |
| `--sv-text-h3` | 21px | Card and step titles, Outfit 400 |
| `--sv-text-lead` | 19px | Paragraph under a title, soft gray |
| `--sv-text-body` | 17px | Body, line-height 1.6 (articles 18px, 1.7) |
| `--sv-text-small` / `--sv-text-micro` | 15px / 13px | Meta, hints, eyebrows |
| `--sv-text-price` | clamp(40px, 5vw, 52px) | Prices, Outfit 300 |

Write short, reassuring sentences. Headlines are complete thoughts with a full stop: "Three steps, no surprises."

## Shape and space

- Radius: 0 everywhere. The only circles are carousel dots.
- Borders: 2px `--sv-blue` on buttons, the picked plan, callouts and the booking panel; 1px `--sv-line` on plain cards and dividers; 2px `--sv-line-strong` on inputs.
- Shadows: hard offsets in blue tints only. `--sv-shadow` (4px 4px 0 blue-4) on buttons and outlined boxes, `--sv-shadow-pick` (6px 6px 0 blue-3) on the chosen plan and the form panel. Buttons lift 1px on hover and press 3px into their shadow.
- Tangram seams: pieces are SVG polygons with a 4px white stroke (`--sv-gap-piece`).
- Space: generous. Hero has 112px above it; sections are 72px apart. Content width 1040px, reading column 680px.
- Motion: the hero tangram assembles once on load (pieces slide in from outside). Respect reduced motion. Nothing loops except the quote carousel.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.sv-body` | Put on `<body>`. Font, colors, link behavior, no sideways scroll. |
| `.sv-wrap`, `.sv-read`, `.sv-section`, `--snow`, `.sv-center`, `.sv-rule` | Layout |
| `.sv-nav`, `__inner`, `__links`, `.sv-logo` | Plain top bar: logo of three small pieces plus a lowercase wordmark, blue text links |
| `.sv-eyebrow`, `.sv-hero-title`, `.sv-h1`, `.sv-h2`, `.sv-h3`, `.sv-lead`, `.sv-small`, `.sv-micro` | Type |
| `.sv-btn`, `--primary`, `--sm`, `--block`, `.sv-actions`, `--center`, `.sv-or` | Outlined square buttons with tinted hard offset; "or read more" line under them |
| `.sv-hero`, `__art`, `__copy` | Two columns: tangram left, centered copy right. Stacks on phones. |
| `.sv-tangram`, `--sm`, `--xs`, `--apart` | The seven-piece SVG. Pieces take `.sv-pc-1` to `.sv-pc-5`, `.sv-pc-birch`, `.sv-pc-pin` or `.sv-pc-ghost` (dashed empty slot) |
| `.sv-steps`, `.sv-step` | Three centered steps, each with a single piece as its icon |
| `.sv-cards`, `.sv-card`, `--outline` | Plain or outlined cards |
| `.sv-badge`, `--birch`, `--ok` | Small square uppercase labels |
| `.sv-quotes`, `.sv-quote`, `.sv-dots` | One italic quote at a time with dot pager |
| `.sv-stats`, `.sv-stat` | Ruled strip of big light numbers |
| `.sv-plans`, `.sv-plan`, `--pick`, `__top`, `__name`, `.sv-price`, `.sv-toggle` | Pricing: each plan shows how many pieces it covers; bullets are tiny triangles |
| `.sv-table-wrap`, `.sv-table`, `.sv-yes`, `.sv-no` | Comparison table with a blue rule under the head |
| `.sv-faq` | `<details>` list with blue plus and minus |
| `.sv-meta`, `.sv-article`, `.sv-figure`, `.sv-pull`, `.sv-callout`, `--birch`, `.sv-author`, `.sv-avatar` | Article parts; the avatar is a triangle |
| `.sv-form`, `.sv-field`, `.sv-row`, `.sv-label`, `.sv-input`, `.sv-select`, `.sv-textarea`, `.sv-hint`, `.sv-check`, `.sv-choices`, `.sv-choice`, `.sv-panel`, `.sv-success` | Forms; focus gives inputs the same blue border and offset as buttons; choice tiles carry a piece icon |
| `.sv-footer`, `__cols`, `__end` | Ruled footer with four columns |

## The tangram

Draw it in a 240 by 240 box with `viewBox="-6 -6 252 252"`:

```html
<svg class="sv-tangram" viewBox="-6 -6 252 252" aria-hidden="true">
  <polygon class="sv-pc-1" points="0,0 240,0 120,120"/>
  <polygon class="sv-pc-2" points="0,0 120,120 0,240"/>
  <polygon class="sv-pc-3" points="240,120 240,240 120,240"/>
  <polygon class="sv-pc-4" points="240,0 240,120 180,60"/>
  <polygon class="sv-pc-birch" points="120,120 180,60 240,120 180,180"/>
  <polygon class="sv-pc-5" points="120,120 180,180 60,180"/>
  <polygon class="sv-pc-2" points="0,240 60,180 180,180 120,240"/>
</svg>
```

Use the whole square once per page as the hero or figure. Elsewhere use single pieces as icons: the large triangle, the square (turned 45 degrees) or the parallelogram. To pull it apart, translate each polygon outward 15 to 30px and widen the viewBox. To show something missing, swap one piece for `.sv-pc-ghost` and put it last in the SVG.

## Pages in this kit

- `demo.html`: landing. Nav, split hero with the assembling tangram, quote carousel, three steps with piece icons, stat strip, repairs section with outlined cards, a snow call to action band, footer.
- `pricing.html`: centered intro with a One visit / Yearly care toggle, three plans (middle one picked, each with a piece count icon), comparison table, FAQ.
- `blog.html`: reading column, eyebrow path, title, meta, lead, a figure showing the tangram apart and together, numbered list, pull quote, tip callout, author row.
- `signup.html`: two columns. Left: title, tangram with one ghost piece, three facts with piece bullets. Right: the booking form in a `.sv-panel` with choice tiles.

## Page recipe

1. `.sv-nav` with the logo and three to five links.
2. `.sv-hero`: tangram in `__art`, centered `.sv-hero-title`, `.sv-lead`, two buttons (primary first) and an `.sv-or` line.
3. `.sv-quotes` right under the hero.
4. A `.sv-section` with a centered eyebrow and h2, then `.sv-steps`.
5. `.sv-stats`, then a split section with copy left and cards right.
6. One `.sv-section--snow` band with a single-line call to action and two buttons.
7. `.sv-footer`.

Pricing: centered eyebrow, h1, lead and `.sv-toggle`; `.sv-plans` with the middle plan `--pick` and a primary button; a small note; `.sv-table`; `.sv-faq` in a reading-width block.

Article: `.sv-read`, `.sv-eyebrow` path, `.sv-h1`, `.sv-meta` with a badge, then `.sv-article` with a lead, h2 sections, one `.sv-figure` with a tangram, one `.sv-pull`, one `.sv-callout`, `.sv-author` and two buttons.

Sign up: two columns in `.sv-wrap`; left eyebrow, h1, lead, ghost tangram and three piece-bulleted facts; right `.sv-panel` with `.sv-choices`, paired `.sv-row` fields, a checkbox and one primary block button.

## Don'ts

- Don't round corners. Not buttons, not cards, not inputs.
- Don't use blurred shadows, gradients or photos.
- Don't put more than one full tangram on a page, or more than one birch piece in a figure.
- Don't use bold headlines; Outfit stays at 300 to 500.
- Don't use blue for decoration other than tangram pieces.
- Don't fill the page: whitespace is part of the style.
- No em dashes in copy.
