# Dog Ear

Friendly, tidy and warm, like a well-kept notebook. White pages with a pale mist band, rounded humanist sans headlines in soft charcoal (never pure black), and one radish-red accent. The signature is a hand-drawn aqua underline under the one word that matters, plus three little spark strokes over the active tab. The product is the hero: an app window with a dark slate sidebar, a light list with a radish bar on the selected item, and a clean editor where faint markup marks (`#`, `**`) peek around words.

Use it for: consumer apps, personal tools, note-taking and writing apps, recipe and family apps, indie software, small productivity tools, anything that should feel calm, personal and well made. Avoid it for: enterprise dashboards, luxury brands, loud launches, games, anything that needs to shout.

## 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 Dog Ear 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 an invented family recipe app called Larder.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Figtree 700 | Hero, section headings, prices. Soft charcoal, slightly tight tracking. |
| Body | Figtree 400 to 600 | Paragraphs, nav, buttons, cards, product UI. Leads sit at 400 and a large size. |
| Mono | JetBrains Mono 400 | Faint markup marks in product shots, counts, code in articles. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--de-paper` | #FFFFFF | The main background |
| `--de-mist` | #F5F4F2 | Quiet bands, the selected list item, toggles, figure panels |
| `--de-line` | #E4E1DD | Every border and divider |
| `--de-ink` | #38373C | Headlines and body text |
| `--de-soft` | #75717A | Secondary text and card copy |
| `--de-slate` | #2C2B30 | The app sidebar and the one dark closing band |
| `--de-radish` | #DC4A3E | The one accent: primary button, logo mark, selected-item bar, NEW tags, ticked boxes |
| `--de-aqua` | #85C9CF | Sketch only: the underline, sparks, active tab line, quote bar, input focus |
| `--de-amber` | #EE8A32 | The left bar on callouts, nothing else |

Rules:
- White is the default. One mist band per page, one slate band at the end, at most.
- Radish appears a few times per screen: the main button, the logo, one small badge.
- Aqua is decoration and never carries text, because it is too light to read on white.
- No gradients anywhere.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--de-text-hero` | clamp(40px, 5.6vw, 68px) | Hero headline, centered, one line on desktop, tracking -0.025em |
| `--de-text-h2` | clamp(30px, 3.6vw, 44px) | Section headings |
| `--de-text-h3` | 22px | Card and plan titles |
| `--de-text-lead` | clamp(19px, 2vw, 25px) | The line under the hero, regular weight, ink color |
| `--de-text-body` | 17px | Body |

Headlines are short and warm ("Recipes your family will cook"). Sentence case, no period. Underline exactly one word with `.de-mark`.

## Shape and space

- Borders: 1px `--de-line`. Outlined buttons use 1.5px ink.
- Radius: 18px on app windows, cards and plans; 10px on buttons and inputs; 6px on small things; pills only for tags and badges.
- Shadows: soft. `--de-shadow` on cards that float, `--de-shadow-lg` under the app window. Never hard offsets.
- Sections: 72px to 120px vertical padding. Container 1100px, the app stage 1220px, text 700px.
- Motion: small and quick (0.2s). Buttons nudge down 1px when pressed.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.de` | Put on `<body>`: base font, color and no sideways scroll |
| `.de-nav`, `.de-nav__links`, `.de-logo`, `.de-logo__mark` | Logo with a radish circle on the left, 4 to 6 plain links on the right |
| `.de-hero-title`, `.de-h2`, `.de-h3`, `.de-lead`, `.de-eyebrow` | Type. The eyebrow is a small radish label |
| `.de-mark` | The hand-drawn aqua underline under one word |
| `.de-spark` | Three spark strokes above an element (the active tab) |
| `.de-tabs` | Device or section tabs: icon plus label, faint until active |
| `.de-new` | Tiny radish superscript "NEW" |
| `.de-btn--primary/outline/white/ghost`, `--sm`, `--block`, `.de-btn__two` | Buttons. `.de-btn__two` stacks a small line over a big label, like a store badge |
| `.de-app`, `__side`, `__lights`, `__nav`, `__list`, `__head`, `__editor` | The three-pane app window |
| `.de-note` | A list item in the app; `aria-current` gives it the radish bar |
| `.de-md`, `.de-tag`, `.de-check`, `--done` | Faint markup marks, hashtag pills, checklist rows |
| `.de-callout` | Tip box with an amber left bar |
| `.de-grid`, `.de-card`, `.de-icon`, `--aqua` | Three-up feature cards with a soft icon tile |
| `.de-badge`, `--mist` | Small pills |
| `.de-quote` | Large testimonial |
| `.de-field`, `.de-label`, `.de-input`, `.de-hint`, `.de-checkline`, `.de-or` | Forms |
| `.de-toggle`, `.de-plans`, `.de-plan`, `--pick`, `__price`, `.de-table`, `.de-faq` | Pricing |
| `.de-article`, `.de-meta`, `.de-avatar`, `.de-figure` | Blog posts |
| `.de-section`, `--mist`, `--slate`, `.de-rule`, `.de-footer` | Page structure |

## Pages in this kit

- `demo.html`: landing page. Centered hero with an underlined word, device tabs, store-style button, the app window, feature cards, a mist band with a planner card, a quote, a slate closing band and footer.
- `pricing.html`: three plans with a monthly and yearly toggle, a comparison table and an FAQ.
- `blog.html`: a journal post with meta row, list, figure, quote and callout, then related posts.
- `signup.html`: a split screen. Form on white, a recipe preview card on mist.

## Page recipe

1. Nav on white, no border.
2. Centered hero: one-line headline with one `.de-mark` word, a lead in ink, then tabs or a single outlined store-style button.
3. The app window on its own, wide, with a big soft shadow. This is the hero image.
4. Three feature cards on white.
5. One mist band with a split layout: copy left, a small floating product card right.
6. A centered quote.
7. A slate band with one radish button and one ghost button.
8. Footer with four columns.

Pricing recipe: centered headline and toggle, three plans with the middle one in a 2px radish border and a badge, then a table and an FAQ on mist.

Article recipe: 700px column, badge, big headline with one underlined word, meta row with an aqua avatar, 19px body, aqua quote bar, one callout, then two related cards.

Sign-up recipe: two columns. Left: logo, headline with an underlined word, one outlined alternative button, the "or" rule, three fields, a radish submit button. Right: a mist panel with a product card. Below 900px only the form shows.

## Don'ts

- Don't use pure black text or a pure black page.
- Don't underline more than one word per heading, and never use aqua for text.
- Don't add gradients, glows or hard offset shadows.
- Don't fill whole sections with radish.
- Don't use a serif. Everything is the one rounded sans, plus mono for marks.
- Don't use em dashes in copy.
