# Ghost Caret

A quiet slate room lit by one warm lamp. Everything is set in monospace, nothing has a shadow, and the page is built around a single idea: text you haven't reached yet waits as dim "ghost" letters, and a blinking amber caret shows exactly where you are. Amber is the only color that speaks, and it marks the current thing: the caret, the active option, the primary button, one big number. It feels focused, a little nerdy and oddly calming, like a practice tool you want to come back to.

Use it for: practice and habit apps, language learning, typing, music or coding drills, focus timers, quiz and flashcard tools, small indie software. Avoid it for: luxury brands, photo-led storytelling, anything that needs warmth from imagery or several brand colors.

## 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 Ghost Caret 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 Parla, an Italian phrase trainer, built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Display | Martian Mono 400 to 600 | Headlines, the wordmark, big stat numbers, plan names, pull quotes. Wide and squarish, tight tracking. |
| Body | Red Hat Mono 400 to 600 | Everything else: paragraphs, nav, buttons, forms, the typing stage. Italic for translations and hints. |

There is no proportional font in this kit. That's the point.

## Color

| Token | Hex | Role |
|---|---|---|
| `--gc-slate` | #2A2C30 | Page background |
| `--gc-well` | #222428 | Sunken wells: the typing stage, inputs, tables, alternate sections |
| `--gc-raised` | #34373C | Cards, plans, keycaps, secondary buttons |
| `--gc-raised-2` | #3E4148 | Hover on raised surfaces, quiet spark bars |
| `--gc-line` | #43464D | Hairline dividers in lists, tables and FAQs |
| `--gc-paper` | #DCD8CE | Main text and "typed" letters |
| `--gc-paper-2` | #C4C0B7 | Long-form article text |
| `--gc-ghost` | #6B6F78 | Untyped letters, leads, nav links, labels, icons |
| `--gc-ghost-2` | #50535B | Faint hints, disabled items, placeholders |
| `--gc-amber` | #EAB54A | The one accent: caret, active option, primary button, big numbers, list markers |
| `--gc-coral` | #DC6A5E | Mistakes and errors only |
| `--gc-sage` | #93BF8C | "Correct" marks inside product UI only |

Rules:
- Slate is the default surface. Alternate full-width sections with `--gc-well`, never with a light color.
- Amber marks "where you are" or "do this". If two things on screen are amber and they're not the caret and the primary button, one of them is wrong.
- Coral appears only for errors and typos. Sage only inside product UI.
- No gradients, no images. Visuals are the typing stage, keycaps, stat numbers and thin CSS bar charts.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--gc-text-hero` | clamp(34px, 5.4vw, 68px) | Hero headline, 2 lines, second line often ghosted, ends in a caret |
| `--gc-text-h2` | clamp(26px, 3.4vw, 40px) | Section headings |
| `--gc-text-h3` | 20px | Sub-headings |
| `--gc-text-stage` | clamp(22px, 2.6vw, 32px) | The ghost-text typing line |
| `--gc-text-stat` | clamp(48px, 7vw, 88px) | Big amber numbers |
| `--gc-text-lead` | 19px | The sentence under a headline, in ghost gray |
| `--gc-text-body` | 16px | Body |
| `--gc-text-small` / `--gc-text-micro` | 14px / 12px | Nav, hints, labels, meta |

Labels, nav links and buttons are lowercase ("start free", "pricing"). Headlines are sentence case and short. A headline may end in a `.gc-caret` instead of a period.

## Shape and space

- Radius: 6px on buttons, inputs and icon tiles, 10px on cards and plans, 16px on the typing stage. Pills only for chips.
- Borders: almost none. Surfaces separate by tone (slate, well, raised). 1px `--gc-line` only for list rows, tables and FAQs.
- Shadows: none. The single exception is the keycap lip (`--gc-key-edge`, a 3px solid offset).
- Focus: a 2px amber ring or an amber border. Inputs also get an amber text caret.
- Sections: 72px to 128px vertical padding. Container 1120px, text 720px.
- Motion: the caret blinks in steps (on, off), and things rise 10px on load. Both stop under reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.gc-announce` | Thin amber strip above the nav, one lowercase line |
| `.gc-nav`, `.gc-nav__links`, `.gc-nav__actions` | Wordmark left, dim lowercase links, a ghost "log in" and an amber button |
| `.gc-logo`, `__mark` | Wordmark with an amber outlined keycap glyph |
| `.gc-hero-title`, `.gc-h2`, `.gc-h3` | Martian Mono headlines |
| `.gc-ghosted`, `.gc-amber` | Color one phrase ghost gray or amber |
| `.gc-caret` | The blinking amber bar. One or two per page: hero, stage, final call to action |
| `.gc-lead`, `.gc-label` | Ghost lead; tiny lowercase label with an amber square |
| `.gc-btn--primary/secondary/ghost`, `--sm`, `--block` | Flat 6px buttons |
| `.gc-key`, `.gc-hint` | Keycap with a lip; a hint line like "tab hear it" |
| `.gc-modes`, `__sep` | Settings bar in a well: dim words in groups, the active one amber |
| `.gc-stage`, `__meta`, `__foot`, `.gc-type`, `.gc-done`, `.gc-miss`, `.gc-type__hint` | The typing stage: typed letters in paper, upcoming letters ghosted, a coral wavy mistake, an italic translation |
| `.gc-stats`, `.gc-stat__label`, `.gc-stat__num` | Big amber numbers with a tiny ghost label above |
| `.gc-spark` | Thin bar chart drawn with `<i>` elements; the latest bars amber |
| `.gc-grid`, `.gc-card`, `__icon/__title/__text` | Flat raised cards with an amber line icon in a well tile |
| `.gc-chip`, `--amber`, `.gc-dot` | Small pills |
| `.gc-rows` | A quiet list with values on the right; `.is-top` turns the value amber |
| `.gc-quote` | Martian Mono pull quote with a ghost byline |
| `.gc-plans`, `.gc-plan`, `--featured`, `__name/__desc/__price/__list` | Pricing cards; the featured one sits in a well with an amber outline and amber price. List items start with an amber ">" |
| `.gc-table-wrap`, `.gc-table`, `__yes/__no` | Comparison table in a well, scrolls sideways on phones |
| `.gc-faq` | `<details>` FAQ with an amber plus and minus |
| `.gc-meta`, `.gc-prose`, `.gc-callout` | Article meta line, long-form text (">" bullets, amber-edged quote, raised inline code), a well callout |
| `.gc-author`, `.gc-avatar`, `.gc-post` | Author line with an initials tile; related post card |
| `.gc-form`, `.gc-field`, `.gc-label-text`, `.gc-input`, `.gc-select`, `.gc-help`, `.gc-error`, `.gc-field--error` | Inputs are dark wells with an amber focus border and amber caret |
| `.gc-check`, `.gc-picks`, `.gc-pick` | Checkbox; radio choices drawn as small well buttons that turn amber |
| `.gc-or` | A thin divider with "or" |
| `.gc-footer`, `__hints`, `__bar`, `__links` | Keyboard hints centered, then one line of dim links |
| `.gc-rise` | Entrance animation |

## Pages in this kit

- `demo.html`: landing page with the hero, a settings bar, the typing stage, feature cards, a progress section with stats and a spark chart, a quote and a final call to action.
- `pricing.html`: plans with a monthly or yearly toggle (the settings bar), a comparison table and an FAQ.
- `blog.html`: a journal article with a stage as the cover, prose, a callout, an author line and related posts.
- `signup.html`: a split page, the form on slate and a well panel with the first phrase, stats and a quote.

## Page recipe

1. Optional amber announcement strip, then the nav on slate.
2. Hero, centered: a small label, a two-line headline whose second line is ghosted and ends in a caret, a ghost lead, an amber button next to a raised secondary.
3. The settings bar (`.gc-modes`), then the typing stage right under it. This is the product shot: never use a screenshot instead.
4. Three flat cards on slate.
5. A well section with big amber stats, a quiet list and a spark chart.
6. A centered pull quote, then a final well section with a short headline ending in a caret and one amber button.
7. Footer: keyboard hints, then a single line of dim links.

Pricing recipe: centered head with the settings bar as the billing toggle, three plans with the middle one featured, a well section with the comparison table, then a narrow FAQ.

Article recipe: label with a path ("journal / method"), headline, ghost lead and meta, a typing stage as the cover image, prose in the 720px column, an author line above a hairline, then three related posts.

Sign-up recipe: two columns. Left: wordmark, "step 1 of 2" label, a heading ending in a caret, the form with one choice group, an amber submit and a raised alternative. Right: a well panel with a typing stage on slate, two stats and a quote. On phones the panel moves below the form.

## Don'ts

- Don't add a sans or serif font. Everything is monospace.
- Don't use amber for decoration. It means "you are here" or "do this".
- Don't add drop shadows, gradients or photos.
- Don't put more than two blinking carets on one screen.
- Don't use uppercase labels or shouty buttons. Lowercase and calm.
- Don't use em dashes in copy.
