# Ribbon Link

Light, cheeky and personal, like a homepage someone has kept for ten years and still loves. The page is lilac-white paper with one narrow centered column, and everything is set in monospace: a slightly wide mono for headlines and a plain reading mono for the body. There are no big color blocks. The color lives in the links: every link wears a thick underline ribbon, and the ribbons rotate through five candy colors (pink, teal, amber, blue, green) as you go down the page, so a list of links reads like a stack of bright tape. Pictures sit in round frames with a thin ink outline, posts are dated in italics, and tags are tiny `#hashtag` chips.

Use it for: small studios and clubs, classes and workshops, personal sites, newsletters, community spaces, indie makers, memberships, anything that should feel friendly, a bit nerdy and made by a real person. Avoid it for: dense dashboards, luxury brands, banks and legal tools, image-heavy shops, and anything that needs a loud hero or a dark mood.

## 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 Ribbon Link 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 neighborhood clay studio called Kiln Hours, which sells open-studio memberships and taster nights.

## Fonts

All free on Google Fonts:

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

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | Martian Mono | 500 (600 for small titles and the logo) | Hero, page and section titles, card titles, prices, stats. Tracking -0.02em, line-height about 1.15 |
| Body and UI | IBM Plex Mono | 400 to 600, italic 400 | Text, links, buttons, labels, dates (italic), tags, tables |

Everything is monospace. No sans, no serif. Nav labels, the logo, eyebrows and tags are lower case. Headlines are sentence case and never all caps.

## Color

| Token | Hex | Use |
|---|---|---|
| `--rl-paper` | #F8F4F7 | The page |
| `--rl-white` | #FFFFFF | Cards, plans, inputs, quotes, line buttons |
| `--rl-lilac`, `--rl-lilac-deep` | #EFE6F2, #E2D4E8 | The one tinted section, table heads, plain tags, inline code, ground lines in drawings |
| `--rl-ink` | #24202B | Headlines, links, primary buttons, outlines |
| `--rl-ink-soft`, `--rl-muted`, `--rl-faint` | #4A4452, #7A7382, #ADA5B3 | Body, dates and meta, placeholders |
| `--rl-hair` | #E4DBE3 | Card borders and dashed list rules |
| `--rl-pink` | #EA5A91 | Ribbon 1, primary button tape, featured plan, bullets |
| `--rl-teal` | #27AE9F | Ribbon 2, line button tape, checks, quote rule |
| `--rl-amber` | #EFA236 | Ribbon 3, the highlighter mark, article blockquote |
| `--rl-blue` | #5883E6 | Ribbon 4, input focus |
| `--rl-green` | #69BB57 | Ribbon 5 |
| `--rl-*-soft` | five pale tints | Tag chips and disc backgrounds only |

The five ribbon colors are always used in this order: pink, teal, amber, blue, green, then back to pink. Text is never colored: links stay ink and only their underline carries the color.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `rl-hero-title` | clamp(30px, 4.4vw, 48px) | Martian Mono 500. Short: a name or four words |
| `rl-h1` | clamp(28px, 3.8vw, 42px) | Inner page titles, usually with one ribbon link inside |
| `rl-h2` | clamp(22px, 2.6vw, 28px) | Section titles |
| `rl-h3` | 18px | Martian Mono 600, card titles |
| `rl-subtitle`, `rl-lead` | 18px | Plex Mono, muted for subtitles |
| Body | 15px | Plex Mono 400, line-height 1.7; articles 16px, line-height 1.8 |
| `rl-list-title` | 17px | Plex Mono 500, a ribbon link |
| `rl-date`, `rl-hint`, tags | 12 to 13px | Dates are italic and muted |

Keep text small and calm. The column is narrow (640px), so even 15px reads well.

## Shape and space

- Ribbons: links get a 3px underline at a 5px offset with skip-ink off. On hover it grows to 7px and slides up under the letters. This is the signature: use it on every link, and nowhere else invent a decoration.
- Buttons are ink with a 4px tape of color along the bottom (`inset` shadow), 8px corners, 1.5px ink border. Hover thickens the tape.
- Cards are white with a 1px hair border and 14px corners. A ruled card has a 4px colored top edge. Only cards and the featured plan get the soft drop shadow.
- Round frames (`rl-disc`) are perfect circles with a 1.5px ink outline and a pale tint inside.
- Lists are separated by dashed hair rules, never solid lines.
- Sections are 64px tall in padding (48px on phones). The content column is 640px; pricing, tables and the sign-up grid use the 920px wide column.

## Components (in components.css)

- Ribbons: `rl-u` with `--pink`, `--teal`, `--amber`, `--blue`, `--green`; `rl-ribbons` on a parent makes child links rotate colors automatically; `rl-list` items rotate too. `rl-mark` (`--pink`, `--teal`) is a highlighter stripe for one phrase. `rl-rule` (`--short`) is a five-color tape divider.
- Layout: `rl-wrap`, `rl-wrap--wide`, `rl-section`, `rl-section--tint`, `rl-grid--2/3`, `rl-center`, `rl-mt-2/4/6`.
- Nav: `rl-nav`, `rl-nav-inner`, `rl-logo` with `rl-logo-dot` (a five-color pinwheel), `rl-nav-links` (lower case; the current page gets `aria-current` and a pink ribbon; `rl-hide-phone` drops a link on phones).
- Buttons: `rl-btn`, `rl-btn--line`, `--sm`, `--block`; add `rl-arrow` for a trailing `->`.
- Intro: `rl-intro` (title left, round frame right; frame on top on phones), `rl-hero-title`, `rl-subtitle`, `rl-h1/h2/h3`, `rl-lead`, `rl-actions` (`--center`), `rl-eyebrow` (`// lower case`).
- Frames: `rl-disc`, `--sm`, `--pink`, `--teal`, `--amber`, `--green` (default is blue). Holds an inline SVG drawing.
- Lists: `rl-list` of `li` with `rl-list-title`, `rl-date`, a short `p` and `rl-tags`. `rl-random` is the "or read a random one" line.
- Content: `rl-tag` (`--pink/teal/amber/blue/green`), `rl-badge`, `rl-card` (`--flat`, `--ruled` with `rl-teal/amber/blue/green`), `rl-stats` + `rl-stat`, `rl-quote` + `rl-quote-by`, `rl-checks` (`[x]` marks).
- Pricing: `rl-toggle`, `rl-plans`, `rl-plan`, `rl-plan--featured`, `rl-plan-name`, `rl-plan-price`, `rl-table-wrap`, `rl-table`, `rl-yes`, `rl-no`, `rl-faq`.
- Article: `rl-article-head`, `rl-byline`, `rl-prose` (`## ` prefixed h2s, colored `*` bullets, links that change ribbon color by paragraph, amber blockquotes, lilac inline code, figure captions).
- Forms: `rl-form`, `rl-field`, `rl-label`, `rl-hint`, `rl-input`, `rl-select`, `rl-textarea` (focus adds a blue tape along the bottom), `rl-choices` + `rl-choice` (pill checkboxes that turn ink with an amber tape), `rl-check`.
- Footer: `rl-footer`, `rl-footer-links` (with `rl-ribbons`), `rl-footer-base`.
- Drawings: put `class="rl-art"` on an inline SVG and fill shapes with `k`, `w`, `p`, `t`, `a`, `b`, `g`, `l`; strokes with `o` (2.5px ink, round caps). Draw the filled shape, then the same path with `o` on top. Keep drawings flat and simple: pots, bowls, mugs, tools, a person's head and shoulders.

## Pages in this kit

- `demo.html`: small nav, an intro with the name, a one-line subtitle and a round framed drawing, a row of rotating ribbon links, a friendly paragraph with a highlighter mark and two buttons, a "what's new, or read a random one" dated list with tags, a tinted section of three ruled cards and stats, two quotes, a short call to action with a five-color rule, footer.
- `pricing.html`: centered title with one ribbon word, a billing toggle, three plans (the middle one outlined in ink with a pink top), a flat aside about pay-what-you-can, a comparison table on the tinted section, FAQ with `+` and `-` markers.
- `blog.html`: tags, title, lead and a byline with a round avatar drawing, then prose with `##` headings, colored bullets, ribbon links, an amber blockquote and a figure of test tiles, a five-color rule, a ruled call-to-action card and a dated related list.
- `signup.html`: intro with a round drawing, then a two-column grid: the form in a card (inputs, pill choices, select, textarea, checkbox) and a side with a ruled "what you'll get" card, a quote and a hint link.

## Page recipe

1. Open with the small nav and an `rl-intro`: a short title, a muted subtitle and one round frame. No big hero, no background color.
2. Put the most useful links right under it as a row of rotating ribbons.
3. Talk like a person: "Hi! We're...". One `rl-mark` phrase per page at most.
4. Show the content as a dated list with tags, newest first, and offer "a random one".
5. Use one `rl-section--tint` per page for cards or a table, never two in a row.
6. End with a short centered call to action, a `rl-rule--short` above it, and the plain footer.

Pricing: centered `rl-h1` with one ribbon word, the toggle below, three `rl-plan`s with the featured one in the middle, a flat aside card with a kind exception, the table on tint, then FAQ.

Article: tags, `rl-h1`, `rl-lead`, `rl-byline`; `rl-prose` in the 640px column; one figure; end with `rl-rule`, a ruled card with one button and a dated related list.

Sign up: `rl-intro` with a round frame, then the wide two-column grid: form card left, side cards right. Use pill choices where there are six options or fewer.

## Don'ts

- Don't color link text or put color blocks behind links. The color is the underline.
- Don't break the ribbon order (pink, teal, amber, blue, green) or add a sixth color.
- Don't use a sans or serif font anywhere. Everything is mono.
- Don't use big hero images, gradients across sections or dark bands. The page stays paper.
- Don't round buttons into pills. Only tag chips, badges, choices and frames are round.
- Don't use solid rules between list items. They're dashed hair lines.
- Don't use photos. Draw a simple flat picture in a round frame, or leave it out.
