# Parchment Isle

A storybook adventure on a deep cobalt sea. Pages sit on a saturated blue field with white rounded headlines that cast a hard navy drop. Content lives on cream parchment: ribbon banners with folded moss tails, scrolls with rolled ends, and cards with a thick ink outline. Buttons look like carved stone slabs, and one gold treasure plate with corner studs marks the main action. Rune-like tick rules frame headings, and low-poly islands drawn in inline SVG carry the visuals. It feels playful, dreamy and hand-made, like the map at the start of a quest.

Use it for: family and kids products, outdoor and travel apps, museums and cultural venues, learning games, memberships with a sense of discovery, anything that should invite people to explore. Avoid it for: finance, legal, B2B dashboards, healthcare, anything that must feel sober or very fast to scan.

## 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 Parchment Isle 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 family trail app called Wayfold.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Baloo 2 800 | Hero, section headings, ribbon text, prices, step numbers. Always 800 on the sea, with the hard navy drop. |
| Body | Nunito 400 to 800 | Paragraphs at 400 to 600, nav and buttons at 800, leads at 700. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--pi-sea` | #1F3BE0 | The main page background, the cobalt field |
| `--pi-sea-2` | #2C4BF0 | The lighter glow at the top of the page |
| `--pi-deep` | #13208C | Alternate sections, sea cards, FAQ rows |
| `--pi-abyss` | #0C1460 | Headline drop shadow, footer |
| `--pi-foam` | #E9EFFF | Body text on the sea |
| `--pi-foam-soft` | #B9C7FF | Muted text and outlines on the sea |
| `--pi-parchment` | #F6E3BC | Ribbons, cards, plans, the article scroll |
| `--pi-parchment-2` | #ECD3A2 | Inner bottom edge on parchment, scroll rollers, table heads |
| `--pi-stone` | #E7E1D6 | Stone-slab buttons, choice tiles, featured plan |
| `--pi-stone-edge` | #A9A193 | The bevel under every slab |
| `--pi-moss` | #8FA77A | Ribbon tails, list diamonds, quiet badges |
| `--pi-ink` | #1A1430 | Every outline, hard drops, text on parchment |
| `--pi-gold` | #F2C230 | The treasure button, step numbers, eyebrows, featured plan ring |
| `--pi-ember` | #D9472B | Text on the gold plate, stamps, links in articles, the map flag |

Rules: the sea is always the page. Parchment and stone are objects that float on it, always with a 3px ink outline. Gold appears once per screen as the main action, plus small eyebrows and numbers. Ember is for text on gold, stamps and links only.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pi-text-hero` | 44 to 88px | One hero line per page (`.pi-display`) |
| `--pi-text-3xl` | 36 to 64px | Page and section titles (`.pi-h1`), prices |
| `--pi-text-2xl` | 36px | Ribbon text, `.pi-h2` |
| `--pi-text-xl` | 26px | Card titles, quotes, logo |
| `--pi-text-lg` | 20px | Leads, big buttons |
| `--pi-text-md` | 17px | Body |
| `--pi-text-sm` | 15px | Labels, captions |
| `--pi-text-xs` | 13px | Badges, hints, footer small print |

Headlines use a tight 1.05 line height. Body uses 1.6.

## Shape and space

- Outlines: 3px ink (`--pi-outline`) on every parchment or stone object; 2px on inputs, badges and small tiles.
- Radius: 6px for slabs and inputs, 12px for cards, ribbons and scenes, pill for badges and scroll rollers.
- Shadows are hard, never blurred, on objects: `--pi-shadow-drop` (5px ink drop) and the inner bevels `--pi-shadow-bevel` (stone) and `--pi-shadow-gold` (treasure). The only soft shadow is `--pi-shadow-sea` under the hero scene and featured plan.
- Space on an 8px rhythm from `--pi-space-1` (4px) to `--pi-space-9` (112px). Sections use `--pi-space-8` top and bottom.
- Content width: 1120px; reading width: 680px.

## Components (in components.css)

- `.pi-page`: the cobalt field with a top glow. Wrap every page in it.
- `.pi-container`, `.pi-narrow`, `.pi-section`, `.pi-section-deep`, `.pi-grid`, `.pi-center`: layout.
- `.pi-display`, `.pi-h1`, `.pi-h2`, `.pi-h3`, `.pi-lead`, `.pi-eyebrow`, `.pi-muted`: type.
- `.pi-rune`: the signature tick rule. Put one above (`.pi-rune-flip`) and one below a hero title. `.pi-rune-gold` and `.pi-rune-ink` change its color.
- `.pi-nav`, `.pi-logo`, `.pi-nav-links`: header. Links hide under 720px; the slab button stays.
- `.pi-slab`: stone-slab button, the default action. `.pi-slab-grid` lays slabs out two by two.
- `.pi-treasure`: the gold plate with corner studs. One per screen.
- `.pi-btn-ghost`: outline button on the sea for back links.
- `.pi-ribbon` (and `.pi-ribbon-sm`): parchment banner with folded moss tails. Use it for one short announcement or a form title.
- `.pi-hero`, `.pi-hero-actions`, `.pi-scene`: centered hero, with a framed SVG island scene.
- `.pi-card` (parchment), `.pi-card-sea` (deep blue), `.pi-card-icon`.
- `.pi-badge`, `.pi-badge-gold`, `.pi-badge-moss`, `.pi-stamp` (round dashed ember stamp, tilted).
- `.pi-steps`, `.pi-step`, `.pi-step-num`: a numbered quest log.
- `.pi-quote`: big rounded quote on the sea, framed by gold runes.
- `.pi-form`, `.pi-field`, `.pi-label`, `.pi-input`, `.pi-select`, `.pi-hint`, `.pi-check`, `.pi-choice-row`, `.pi-choice`: forms on parchment.
- `.pi-plans`, `.pi-plan`, `.pi-plan-featured`, `.pi-plan-flag`, `.pi-plan-name`, `.pi-price`, `.pi-list`: pricing.
- `.pi-table-wrap`, `.pi-table`, `.pi-faq`: comparison and questions.
- `.pi-scroll`, `.pi-article`, `.pi-byline`, `.pi-avatar`, `.pi-callout`: blog posts on a parchment scroll.
- `.pi-footer`, `.pi-footer-links`: abyss footer with a rune rule and gold diamond separators.

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing page |
| `pricing.html` | Pricing with three plans, comparison table and FAQ |
| `blog.html` | A blog post on a parchment scroll |
| `signup.html` | Sign-up form with a ribbon title and a small island |

## Page recipe

1. `.pi-page` wrapper, `.pi-nav` with the logo, links and one `.pi-slab`.
2. Hero: `.pi-rune.pi-rune-flip`, `.pi-display` title, `.pi-rune`, `.pi-lead`, then a `.pi-scene` with an inline SVG low-poly island (flat polygons, ink strokes, moss and parchment fills, one ember flag).
3. A `.pi-ribbon` announcement, one `.pi-treasure`, then up to four `.pi-slab` links in a `.pi-slab-grid`.
4. Alternate `.pi-section` and `.pi-section-deep`. Features as three `.pi-card`s with `.pi-card-icon`s.
5. A quest log (`.pi-steps`) beside a `.pi-card-sea` of `.pi-stamp`s.
6. A `.pi-quote` framed by gold runes, then a closing ribbon, `.pi-h1` and `.pi-treasure`.
7. `.pi-footer`.

Pricing recipe: centered title between runes, `.pi-plans` with the middle plan as `.pi-plan-featured` (gold ring, gold flag badge, the only treasure button), a `.pi-table` in a deep section, then `.pi-faq`.

Article recipe: centered badges and `.pi-h1`, then a `.pi-scroll.pi-article` with a `.pi-byline`, `h2`s, one `blockquote`, one `.pi-callout` with a stamp, and three related `.pi-card`s on a deep section.

Sign-up recipe: two columns on desktop. Left: eyebrow, `.pi-h1`, rune, lead and a small island SVG. Right: a `.pi-card` with a `.pi-ribbon-sm` title that hangs over its top edge, then the form, choice tiles and one full-width `.pi-treasure`.

## Don'ts

- Don't put parchment or stone on the page without the 3px ink outline.
- Don't blur shadows on objects or use gradients on buttons; only the hard drop and the inner bevels.
- Don't use more than one treasure button per screen, and don't use gold for body text.
- Don't use a light page background. The sea is always the page.
- Don't use photographs. Draw islands, maps and stamps with flat SVG polygons.
- Don't set headlines in anything but Baloo 2 800, and don't drop the navy text shadow on the sea.
- Don't stack ribbons; one per section at most.
