# Torn Sky

Dreamy, crafty and calm, like a scrapbook left open on a sunny afternoon. Pages are warm paper. Heroes sit in a rounded panel of soft sky gradient with drawn CSS clouds drifting across it, and the bottom of the panel is torn off like a page ripped from a pad. Behind the product sit collage scraps: torn pieces of colored paper, lined notepaper, polka dots and stripes, sometimes held down with a strip of washi tape. Content lives in note cards with thick pastel borders and tinted heads. The nav is a floating frosted pill, headlines are a friendly round serif, body text is a clean grotesk, and small asides are handwritten in blue pen. There is one ink-black pill for the main action.

Use it for: classes and workshops, creative tools, note and journal apps, hobby communities, arts and crafts, kids' learning, gentle consumer apps and anything that wants to feel handmade but tidy. Avoid it for: finance, legal, enterprise security, dark or nightlife brands, and anything that must feel strict or technical.

## 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 Torn 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.

`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 company called Pluma that runs open-air sketching classes in city parks.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Manrope:wght@400;500;600;700&family=Kalam:wght@400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Young Serif 400 | Hero, section headings, prices, big numbers, quotes, post titles. Sentence case, tracking -0.025em, line-height about 1.02. |
| Body and UI | Manrope 400 to 700 | Paragraphs, nav, buttons (700), labels (700), cards, forms. |
| Handwriting | Kalam 400 | One or two short asides per page in denim blue: a note above a headline, a "try this" label, an arrow note in the hero. Never for anything longer than a line or two. |

Young Serif has one weight. Don't fake bold on it.

## Color

| Token | Hex | Role |
|---|---|---|
| `--ts-paper` | #FBF7F0 | The page background |
| `--ts-card` | #FFFFFF | Cards, plans, inputs, app windows |
| `--ts-linen` | #F2ECE1 | Alternate sections and the footer |
| `--ts-line` | #E4DCCD | Borders and dividers |
| `--ts-sky-top`, `--ts-sky`, `--ts-sky-low` | #93C6EE, #B9DCF5, #E3F1FA | The sky gradient (`--ts-sky-gradient`), top to bottom |
| `--ts-cloud` | #FFFFFF | Clouds |
| `--ts-ink` | #17171C | Headlines, the main button, ink scraps |
| `--ts-ink-soft` | #2E2F38 | Body text |
| `--ts-soft` | #5D606C | Leads and secondary text |
| `--ts-faint` | #8D8F99 | Placeholders and small meta |
| `--ts-periwinkle`, `--ts-butter`, `--ts-coral`, `--ts-mint`, `--ts-lilac` | #8794EC, #F5D774, #EE8B7B, #93D3AE, #C3A3EC | Collage tints: scraps, note borders, checkboxes, chart bars, avatars |
| `--ts-*-soft` | #E6E9FC, #FCF3D3, #FCE4DF, #DFF4E7, #F0E6FC | Note heads, selected chips, callouts |
| `--ts-denim` | #4E63C8 | Handwriting and hand-drawn arrows only |
| `--ts-frost` | white at 72% | The nav pill, frosted buttons and badges over the sky |
| `--ts-alert` | #C2412F | Form errors only |

Rules:
- Paper first, linen every second or third section. Sky panels appear at most twice per page: the hero and one quote or call to action band.
- The only solid dark thing is the ink pill button (and one small ink scrap). No dark sections.
- Pastel tints never carry text. Text on a tint is always ink.
- In a row of note cards, give each card a different tint.
- Gradients are only the sky gradient. Highlight one phrase per page with `.ts-mark`, a butter marker stroke.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ts-text-hero` | clamp(44px, 6.6vw, 92px) | Hero headline, two lines, about 13 characters wide |
| `--ts-text-h2` | clamp(34px, 4.4vw, 60px) | Section headings, max about 15 characters per line |
| `--ts-text-h3` | 22px | Sub-headings in Manrope 700 |
| `--ts-text-lead` | 19px | The sentence under a headline, max 560px |
| `--ts-text-body` | 17px | Body (article prose is 18px) |
| `--ts-text-label` | 13px | Small labels in Manrope 700, sentence case, above headings |
| `--ts-text-hand` | 22px | Handwritten asides |

Headlines are short, warm and in sentence case with no full stop ("Sketch outside, side by side").

## Shape and space

- Radius: 32px on sky panels and covers, 22px on cards, plans and app windows, 16px on note cards and callouts, 10px on inputs, pills on buttons, nav, badges, chips and toggles.
- Note cards: 3px pastel border (`--ts-note-border`), a tinted head and a white body. Checklists inside use small rounded squares in the note's tint, filled when done.
- Torn edges: `.ts-tear` rips the bottom of every sky panel and the top of the footer. `.ts-scrap` pieces have ragged edges on all sides and are always rotated a few degrees (`--r`). Scraps only go behind content, never over text.
- Shadows: `--ts-shadow-float` on the nav pill and frosted buttons, `--ts-shadow-window` on app windows and the featured plan, `--ts-scrap-drop` on scraps. Nothing else gets a shadow.
- Sections: 72px to 120px vertical padding. Container 1200px, text column 720px.
- Motion: clouds drift slowly side to side and the hero text rises in. Both stop for reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ts`, `.ts-container`, `.ts-narrow`, `.ts-center`, `.ts-split` | Body class and layout wrappers |
| `.ts-nav`, `--paper`, `.ts-logo`, `__links`, `__end` | Floating frosted pill nav; `--paper` is the white version for pages without a sky hero. Links hide below 860px |
| `.ts-display`, `.ts-h2`, `.ts-h3`, `.ts-lead`, `.ts-label`, `.ts-hand`, `.ts-mark`, `.ts-small` | Type |
| `.ts-btn--ink/frost/outline/social`, `--sm/--lg/--block`, `.ts-btn__letter`, `.ts-link`, `.ts-actions` | Pill buttons and a butter-underlined text link |
| `.ts-sky`, `--flush`, `__body`, `__stage` | Rounded sky gradient panel with centered text and a stage for the product below |
| `.ts-cloud` | A drawn cloud. Set its width with `--w` and position it absolutely |
| `.ts-tear`, `--linen`, `--top` | Torn paper strip along the bottom (or top) of a panel |
| `.ts-collage`, `.ts-scrap`, `--periwinkle/butter/coral/mint/lilac/lined/dots/stripe/ink` | Torn paper scraps. Size with `--w` and `--h`, rotate with `--r` |
| `.ts-tape` | A strip of butter washi tape, rotated with `--r` |
| `.ts-window`, `__bar`, `__dots`, `__inner`, `__side`, `__main` | An app window with traffic light dots, a sidebar and a grid of notes |
| `.ts-note`, `--periwinkle/butter/coral/mint/lilac/plain`, `--lg`, `__head`, `__body` | Note card with a thick pastel border |
| `.ts-grid-2/3/4`, `.ts-head`, `.ts-section`, `--linen`, `--tight` | Grids, section head and section surfaces |
| `.ts-card`, `__icon/__title/__text` | Plain white card |
| `.ts-badge`, `--frost/ink/butter/mint`, `.ts-badge__new` | Small pills |
| `.ts-steps` | Three numbered cards with sky circles |
| `.ts-stats`, `.ts-stat` | Big serif numbers with labels |
| `.ts-quote`, `.ts-quote-by`, `.ts-avatar`, `--mint/--lilac` | Serif quote and initials avatar |
| `.ts-segment` | Frosted pill toggle; the pressed option turns ink |
| `.ts-plans`, `.ts-plan`, `--featured`, `__top/__name/__price/__desc/__list` | Pricing cards; featured gets a periwinkle border, a sky strip and the only ink button |
| `.ts-table-wrap`, `.ts-table`, `.ts-yes`, `.ts-no` | Comparison table with mint squares |
| `.ts-faq` | `<details>` FAQ with a round plus that turns butter when open |
| `.ts-meta`, `.ts-author`, `--card`, `.ts-cover`, `.ts-prose`, `.ts-callout`, `.ts-figure`, `.ts-bars`, `.ts-bars-labels`, `.ts-post`, `__art`, `__title` | Article parts; the callout is lined notepaper |
| `.ts-form`, `.ts-row-2`, `.ts-field`, `.ts-field-label`, `.ts-input`, `.ts-select`, `.ts-input-wrap`, `.ts-input-toggle` | Form fields with a periwinkle focus ring |
| `.ts-help`, `.ts-error`, `.ts-field--error`, `.ts-chips`, `.ts-chip`, `.ts-check`, `.ts-divider-text` | Form helpers |
| `.ts-footer`, `__cols`, `__bottom`, `.ts-subscribe` | Linen footer with a torn top edge |
| `.ts-fill-*`, `.ts-stroke-ink`, `.ts-stroke-denim` | SVG fills and strokes from the tokens |
| `.ts-rise` | Entrance animation |

## Building a collage

Put `.ts-collage` on a positioned wrapper, then place three or four `.ts-scrap` pieces absolutely behind the main object (an app window, a note, a cover). Mix one solid tint, one pattern (lined, dots or stripe) and at most one ink scrap. Let them run off the edges of the panel, rotate each one differently between -10deg and 10deg, and pin one with `.ts-tape`. Keep scraps away from headlines and buttons.

## Pages in this kit

- `demo.html`: landing page (sky hero with nav pill, clouds, a handwritten arrow note, the headline and two pills, then an app window of note cards over a collage and a torn edge; three note cards; a linen split with taped notes and stats; steps; a sky quote band; a call to action and the footer).
- `pricing.html`: sky hero with a billing toggle, three plans lifted over the torn edge, a comparison table, a FAQ and a sky band.
- `blog.html`: an article with a white nav pill, a sky cover with scraps, prose with checkbox bullets, a quote, a bar chart in the collage tints, a lined callout and related posts.
- `signup.html`: a split sign-up page with the form on paper and a sky panel with a taped note and a frosted quote card.

## Page recipe

1. A `.ts-sky` hero holding the `.ts-nav` pill, two or three clouds and one handwritten aside.
2. Centered `.ts-sky__body`: a frosted badge, the display headline, a lead and an ink pill plus a frost pill.
3. `.ts-sky__stage`: an app window or large note on top of a collage of scraps, cut off by `.ts-tear`.
4. A section head and three note cards in three tints.
5. A linen split: h2 with one `.ts-mark` phrase, lead, ink button and text link, stats under a rule; on the other side two taped notes over scraps.
6. Steps, then a sky band with a handwritten line, a serif quote and an avatar.
7. A short centered call to action and the footer.

## Pricing page recipe

1. A sky hero with a handwritten line, display headline, lead and `.ts-segment`. Keep prices in `data-monthly` and `data-yearly` and swap them with a few lines of JS.
2. Three plans pulled up over the torn edge: white, featured (periwinkle border, sky strip, butter badge and the only ink button), white. Outline buttons on the others.
3. A small print line, then a section head and the comparison table.
4. A linen FAQ section, then a sky band with one headline and an ink pill.

## Article page recipe

1. The white `.ts-nav--paper` pill, then meta with a tint badge, a smaller display title, lead and a byline under a rule.
2. A `.ts-cover` sky with clouds, two scraps along the bottom and a taped lined scrap. No photos.
3. `.ts-prose`: short paragraphs, serif h2s, checkbox bullets, one quote with a butter rule, one `.ts-figure` chart, one `.ts-callout`.
4. `.ts-author--card`, then three `.ts-post` cards with small collages on soft tints, and the footer.

## Sign-up page recipe

1. Two columns. Left on paper: logo and step label over a rule, a handwritten line, display headline, lead, then the form.
2. Two-up name fields, email, password with a show toggle, a select, chips, a checkbox, a block ink button, "or" and two social buttons.
3. Errors use `.ts-field--error` and `.ts-error`; hints use `.ts-help`.
4. Right column: a `.ts-sky` panel inset 16px with clouds, scraps, a taped note and a frosted quote card. Hide it below 900px.

## Don'ts

- Don't add dark sections or more than one ink button per view.
- Don't put text on a pastel tint unless it is ink, and don't use tints for large page backgrounds.
- Don't let scraps cover text, or use more than four in one collage.
- Don't use the handwriting font for more than a line or two.
- Don't use square corners, hard offset shadows or gradients other than the sky.
- Don't use stock photos; draw with scraps, clouds and notes.
- Don't use em dashes in copy.
