# Stone Mesh

Calm, precise and warm. The page is a warm stone gray, with paper cards and hairline borders instead of shadows. One grotesk at medium weight sets big, plain, slightly wry headlines; a mono face handles small uppercase labels. A single brick-red accent fills the one "active" tile in a row of otherwise bare tiles with small colored line icons. The signature visual is the mesh map: people, places or steps drawn as white node chips on a dotted paper panel, joined by thin lines, with one live line in brick and pending lines dashed. It feels like a well-run utility you can trust with something that matters.

Use it for: services that connect people or things (care rotas, networks, logistics, scheduling, community tools), B2B and consumer software that should feel reliable rather than flashy, products that want quiet confidence. Avoid it for: luxury fashion, kids, games, nightlife, anything that needs loud color or heavy imagery.

## 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 Stone Mesh 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 product, Kinloop (shared care rotas for families), built only with the kit.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Hanken Grotesk 500 | Hero, section headings, quotes, big numbers. Medium weight, tight tracking, never bold. |
| Body | Hanken Grotesk 400 to 600 | Paragraphs, nav, buttons, cards. 600 only for small titles and labels in forms. |
| Labels | IBM Plex Mono 400 to 500 | Uppercase micro labels, stat captions, badges, day codes, footer base line. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--sm-stone` | #EEECE8 | The page background. Always warm gray, never white |
| `--sm-stone-2` | #E4E1DB | Tile hover, avatars, inline code |
| `--sm-paper` | #F8F7F4 | Cards, mesh panels, alternate sections |
| `--sm-white` | #FFFFFF | Node chips, inputs, the featured plan, the form card |
| `--sm-line` | #D9D5CE | Every border and divider |
| `--sm-ink` | #1C1A19 | Text, primary buttons, the top strip and closing band |
| `--sm-soft` | #5F5B56 | Leads and secondary text |
| `--sm-brick` | #A8372B | The one accent: the active tile, the hub node, the live mesh line, one key number |
| `--sm-brick-soft` | #F2DCD7 | "Open" or highlight badges, the selected choice |
| `--sm-indigo`, `--sm-moss`, `--sm-plum`, `--sm-ochre` | #4B4F9C, #3F6B4E, #7A3F78, #9A6A1C | Small line icons in tiles only, one color per tile |

Rules:
- Stone is the page. Paper is for things that sit on it. White is for the things you interact with.
- Brick appears once or twice per screen: one active tile, one hub node or live line, maybe one number. Never on buttons.
- Primary buttons are ink. The second action is an underlined text link, not a second button.
- Icon colors never touch text, buttons or backgrounds.
- No gradients. The only texture is the dot grid on mesh panels.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--sm-text-hero` | clamp(42px, 6.4vw, 84px) | Hero headline, centered, tracking -0.035em, line-height 1.04 |
| `--sm-text-h2` | clamp(30px, 3.8vw, 48px) | Section headings and the blog title, tracking -0.025em |
| `--sm-text-h3` | 20px | Card titles, weight 600 |
| `--sm-text-lead` | 19px | The sentence under a headline, soft, max 640px |
| `--sm-text-body` | 16px | Body; articles use 18px |
| `--sm-text-micro` | 12px | Mono labels, uppercase, tracking 0.06 to 0.08em |

Headlines are short, plain and a little wry ("Maybe don't run Mum's care from a group chat."). Sentence case. A period is fine on the hero.

## Shape and space

- Borders: 1px `--sm-line`. The featured plan gets a 1px ink border.
- Radius: 6px on buttons and inputs, 14px on tiles and cards, 24px on mesh panels, pills only on node chips and badges.
- Shadows: none on cards. Only node chips and the featured plan get `--sm-shadow-pop`, so they look like they float on the panel.
- Sections: 72px to 120px vertical padding. Container 1200px, text blocks 720px. Gutter 24px, 16px on phones.
- Motion: background and border fades only, 0.2s. Nothing moves or bounces.

## Components (in components.css)

- `.sm` on `<body>`: base font, stone background.
- `.sm-strip`: thin ink bar above the nav with mono uppercase links.
- `.sm-logo` with `.sm-logo__mark` (nine `<i>` dots, the even ones faded) and a lowercase wordmark.
- `.sm-nav`: sticky, translucent stone, hairline bottom border. `.sm-nav__links`, `.sm-nav__right`.
- `.sm-btn` with `--primary` (ink), `--outline`, `--light` (on ink), `--sm`, `--block`. `.sm-link` is the underlined second action. `.sm-actions` lays them out.
- `.sm-label`: mono uppercase eyebrow with a small brick dot.
- `.sm-tiles` and `.sm-tile`: a row of bare tiles, each with `.sm-tile__icon` (24px line SVG, colored with `.sm-ic-indigo`, `-moss`, `-plum`, `-ochre`), `__title` and `__text`. Exactly one tile gets `--active` (brick fill, white text).
- `.sm-mesh`: dotted paper panel. Inside: `svg.sm-mesh__lines` (viewBox 0 0 100 100, `preserveAspectRatio="none"`) with `<line>` or `<path>`, classes `is-live` and `is-pending`; then `.sm-node` chips placed with `left`/`top` percentages that match the line ends. `.sm-node__avatar` holds two or three mono letters, `.sm-node__meta` a short mono note. `--hub` for the centre, `--quiet` for invited or empty.
- `.sm-card` (paper) and `--white`, `.sm-grid--2`, `.sm-grid--3`.
- `.sm-stat__num` and `.sm-stat__cap`; `.sm-quote` with `<cite>`.
- `.sm-badge` (white, mono) and `--brick`; `.sm-dot` (moss status dot).
- `.sm-segment`: a small bordered toggle; the pressed option goes ink.
- Pricing: `.sm-plans`, `.sm-plan`, `--featured`, `__name`, `__price` (with `<small>`), `__note`, `__list`. `.sm-table-wrap` and `.sm-table`. `.sm-faq` with `<details>`.
- Article: `.sm-article` (18px, h2, lists, brick-ruled blockquote, `code`), `.sm-byline`, `.sm-avatar`, `.sm-callout`.
- Forms: `.sm-form`, `.sm-field` (label, input, small), `.sm-input`, `.sm-select`, `.sm-choice` (radio cards that turn brick-soft when checked), `.sm-check`.
- `.sm-footer` with `__grid`, `h4` mono headings, and `__base` mono line.
- `.sm-hide-sm` hides an element under 480px (secondary nav links, extra mesh nodes).

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing: strip, nav, centered hero with a mesh map, tile row, a "how it works" split with a week list, quotes and stats, ink closing band, footer |
| `pricing.html` | Pricing: hero with monthly or yearly toggle, three plans with the middle one featured, comparison table, FAQ |
| `blog.html` | Blog post: narrow header with byline, a mesh drawing as the lead image, article, callout, three related cards |
| `signup.html` | Sign up: two columns, the promise and an empty mesh on the left, a white form card on the right |

## Page recipe

1. Optional `.sm-strip` with one short announcement, then `.sm-nav`.
2. Centered hero: `.sm-label`, `.sm-hero-title` (two lines max), `.sm-lead`, ink button plus underlined link.
3. A mesh panel right under the hero (360px to 440px tall) showing what the product connects. Four to six nodes, one hub, one live line, one or two dashed.
4. A tile row of four, first tile active.
5. A paper section that explains how it works: text on one side, a plain product list or table on the other.
6. Proof: two quotes and three stats on stone. One stat may be brick.
7. An ink closing band with one light button and a link. Then the footer.

Pricing recipe: centered hero, `.sm-segment` toggle, three `.sm-plan` cards (middle `--featured` with a brick badge), a comparison `.sm-table` on paper, then a two-column FAQ.

Article recipe: 720px column, `.sm-label` with section name, `.sm-h2` title, lead, `.sm-byline`. Use a small mesh drawing as the lead image instead of a photo. Body at 18px, one blockquote, one callout. End with three related `.sm-card`s.

Sign-up recipe: left column with step label, heading, lead and a mesh of `--quiet` nodes waiting to be filled; right column a white card with the form, radio cards for one choice, a select, a terms checkbox and one full-width ink button.

## Don'ts

- Don't use a white page background. Stone is the canvas.
- Don't put brick on buttons, text blocks or more than one tile.
- Don't add drop shadows to cards; use hairlines.
- Don't use bold (700+) or a serif.
- Don't use photos or illustrations as the hero. Draw the mesh.
- Don't use more than one icon color per tile, or icon colors anywhere else.
- Don't round buttons into pills.
