# Inky Sky

A quiet night with the window open. The page is a deep violet black, and the hero sits in a framed panel painted like a storybook night sky: a scatter of star dust, a small warm moon, and soft mauve clouds with rose-lit rims that drift very slowly. Headlines are set in a warm, bookish serif at semibold weight, everything else in a plain friendly sans, with a mono for small labels. There is one violet button per screen, and dark app windows rise out of the bottom edge of the sky, half in the clouds and half on the page. It feels calm, cosy and a little nostalgic, like a picture book read under the covers, while staying clean enough for a real product.

Use it for: sleep and bedtime apps, audio and storytelling, kids and family products, meditation, evening classes, night services, cosy consumer apps and calm software that wants warmth instead of chrome. Avoid it for: bright daytime brands, food delivery, sales-heavy pages, dense dashboards, anything urgent or loud.

## 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 Inky Sky 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. Draw clouds with the cloud-bank symbol from demo.html.

`demo.html` (a landing page), `pricing.html`, `blog.html` and `signup.html` are complete example pages built only with the kit, for an invented bedtime story app called Hushbook.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&family=Figtree:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Source Serif 4, 600 | Display, h1, h2, stat numbers, prices and article subheads. Tight tracking (-0.02em), balanced lines. Quotes use 500. |
| Body and UI | Figtree 400 to 600 | Body at 400, buttons and nav at 500, card titles at 600. |
| Labels | JetBrains Mono 400 to 500 | Eyebrows (uppercase, violet, spaced), badges, table heads, captions and step counters at 11 to 13px. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ik-night` | #15121F | The page |
| `--ik-deep` | #0D0B15 | App windows, inputs, dark buttons |
| `--ik-dusk` | #1C1729 | Cards, plans, active rows |
| `--ik-line` | #2D2740 | Every hairline |
| `--ik-line-bright` | #463D61 | Button and input borders |
| `--ik-moon` | #F2EEF8 | Main text and the moon |
| `--ik-haze` | #B3ABC6 | Leads and body copy in cards |
| `--ik-dim` | #7D7594 | Captions, meta, logos |
| `--ik-violet` | #6447C2 | The one main button |
| `--ik-violet-hi` | #8A70E3 | Eyebrows, focus rings, active states, charts |
| `--ik-star` | #FFE4AE | The moon, warm stars, quote rule and callouts |
| `--ik-cloud` | #4A3A5C | Cloud bodies |
| `--ik-cloud-rim` | #8E6585 | The lit top edge of clouds |

Also `--ik-rose` and `--ik-mint` for small badges, and the sky set: `--ik-sky` (panel gradient), `--ik-stars` with `--ik-stars-size` (repeating star dust) and `--ik-glow` (soft violet light rising from the bottom of a sky panel).

Rules:
- Color lives in the sky. Outside a sky panel the page is black, grey and white with violet only on small things.
- Only one violet button per screen. Every other button is a dark outlined one.
- Warm yellow is for the moon and stars only, plus the quote rule and callouts. Never for buttons.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ik-text-display` | clamp(42px, 6.6vw, 84px) | Landing hero, two short centred lines |
| `--ik-text-h1` | clamp(38px, 5.2vw, 64px) | Page titles, CTA titles |
| `--ik-text-h2` | clamp(30px, 3.6vw, 46px) | Section headings |
| `--ik-text-h3` | 20px | Card and plan names, Figtree 600 |
| `--ik-text-lead` | 19px | Haze lead, max 580px |
| `--ik-text-body` | 16px | Body (articles use 18px) |
| `--ik-text-micro` | 12px | Mono labels |

Headlines are gentle and concrete, in sentence case, often a promise about the evening ("Bedtime stories that leave the light off").

## Shape and space

- Radius: 22px for sky panels, 16px for windows, cards and plans, 10px for buttons and inputs, 6px for badges and covers, 999px for notes and choice pills.
- Sky panels are inset 16px from the page edges (`--ik-frame`) with a faint 1px white border, so they read as a framed picture.
- Borders: 1px `--ik-line`. Cards add `--ik-highlight`, a 1px inset white line on the top edge.
- Shadows: one deep soft shadow under windows and panels (`--ik-shadow`), and a violet glow under the main button only.
- Clouds: draw them with the `cloud-bank` symbol (stacked circles, a rose rim layer offset 8px up, a darker base). Place two banks per sky, in opposite corners, using `.ik-clouds--tl`, `--tr`, `--bl` or `--br`. Add `--drift` to one or two for a very slow sway.
- The overlap: a hero sky gets extra bottom padding, and the next block (a window or the pricing plans) pulls up into it with a negative top margin.
- Sections: 72 to 128px vertical padding. Container 1160px with 24px gutters; articles 680px.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ik` | Put on `<body>`: night page, Figtree, moon text, clipped overflow |
| `.ik-container`, `.ik-narrow`, `.ik-section`, `--flush`, `--line`, `.ik-center` | Layout |
| `.ik-display`, `.ik-h1`, `.ik-h2`, `.ik-h3`, `.ik-lead`, `.ik-eyebrow`, `.ik-muted`, `.ik-dim`, `.ik-mono` | Type |
| `.ik-btn`, `--violet`, `--quiet`, `--sm`, `--block`, `.ik-link` | Dark outlined button, the one violet action, a text button |
| `.ik-nav`, `__inner`, `__links`, `__end`, `.ik-wordmark` | Top bar: moon wordmark, haze links, quiet and outlined buttons |
| `.ik-sky`, `--full`, `--short`, `.ik-clouds`, `--tl`, `--tr`, `--bl`, `--br`, `--drift`, `.ik-moon` | The painted sky panel, cloud placement and the moon |
| `.ik-hero`, `__body`, `--left`, `.ik-actions`, `.ik-note` | Hero layout and the pill note above a headline |
| `.ik-badge`, `--violet`, `--star`, `--mint`, `.ik-dot` | Small mono status tags |
| `.ik-window`, `__bar`, `__crumbs`, `__tabs`, `__body`, `.ik-dotgrid` | A drawn app window with breadcrumb bar, tabs and a dot grid canvas |
| `.ik-rows`, `.ik-cover`, `--rose`, `--teal`, `.ik-player`, `.ik-play`, `.ik-wave` | List rows with tiny sky covers, and an audio player bar |
| `.ik-section-head`, `--center`, `.ik-grid`, `--2`, `.ik-card`, `__art` | Card grids; `__art` is a little sky to draw in |
| `.ik-split`, `.ik-steps` | Text and window side by side; numbered steps with mono counters |
| `.ik-stats`, `.ik-stat`, `.ik-quote` | Ruled serif numbers and a centred serif quote |
| `.ik-toggle`, `.ik-plans`, `.ik-plan`, `--featured`, `__price`, `.ik-checks`, `.ik-table-wrap`, `.ik-table`, `.ik-yes`, `.ik-faq` | Pricing parts |
| `.ik-meta`, `.ik-author`, `.ik-avatar`, `.ik-article`, `.ik-figure`, `.ik-callout` | Article parts |
| `.ik-panel`, `.ik-form`, `.ik-row`, `.ik-field`, `.ik-label`, `.ik-input`, `.ik-select`, `.ik-hint`, `.ik-check`, `.ik-choices`, `.ik-choice`, `.ik-or` | Forms on a dark glass panel over the sky |
| `.ik-footer`, `--slim`, `__cols`, `__about`, `__base` | Footer |
| `.ik-sprites`, `.ik-f-*`, `.ik-s-*`, `.ik-t-*` | Hidden symbol holder plus fill, stroke and text classes for inline SVG |

## Pages in this kit

- `demo.html`: landing page. A framed sky hero with clouds in two corners, the moon, a "New" note, a two-line display title, a lead and two buttons. A big app window (story shelf rows and a now-playing card with a drawn lighthouse) rises out of the sky. Then quiet logos, three cards with little drawn skies, a split with steps and a sleep timer window, stats, a quote, a sky CTA and a footer.
- `pricing.html`: a sky header with a toggle, three plans pulled up into it (the middle one violet-edged and the only violet button), a compare table and an FAQ beside a heading.
- `blog.html`: a short sky header with a note, h1, lead and author meta, then a 680px article with serif subheads, a drawn fade-curve figure, a star-ruled quote, a list, a callout and two related cards.
- `signup.html`: a full-height sky with three cloud banks and a centred form on a dark glass panel, with choice pills, one violet button and an alternative.

## Page recipe

1. Nav on the plain page: moon wordmark left, haze links centre, a quiet "Log in" and an outlined button right.
2. A framed sky hero: note, centred serif display title, haze lead, one violet button and one outlined button. Two cloud banks in opposite corners and a moon.
3. A big drawn product window pulled up into the bottom of the sky.
4. Quiet proof: dim logos alternating italic serif and spaced mono.
5. Section head and three cards, each with a small drawn sky.
6. A split: steps on one side, a second window on the other.
7. Stats row, then a serif quote.
8. A sky CTA panel with one violet button. Footer with four columns.

Pricing recipe: sky header with an eyebrow, h1, lead and toggle; three plans pulled up into the sky, the featured one with a violet edge and the only violet button; a compare table; an FAQ beside an h2.

Article recipe: a short sky header (note, h1, lead, author meta), then the narrow article. Serif subheads, one drawn figure inside a small sky with a mono caption, one star-ruled quote, one callout, then two related cards.

Sign-up recipe: a full-height sky with up to three cloud banks. Eyebrow, h2 and a short lead centred, then the form on `.ik-panel`. One violet submit, an "or" divider and one outlined alternative.

## Don'ts

- Don't use photos or illustrations from elsewhere. Draw clouds, moons and product windows with CSS and inline SVG.
- Don't put more than two drifting cloud banks in view, or make them move fast.
- Don't use more than one violet button per screen, or fill sections with violet.
- Don't use warm yellow for anything but the moon, stars, quote rules and callouts.
- Don't use a light background or white cards.
- Don't set headlines in the sans or in bold 700+.
- Don't use em dashes in copy.
