# Market Day

Warm, friendly and a little bold, like the best shop on your street. A paper-white page, a big solid mustard field for the hero, chunky DM Serif Display headlines with one italic word underlined by a hand-drawn tomato squiggle, and plain Work Sans for everything else. The signature is the drawing style: simple illustrations with a firm 3px ink outline and flat fills (mustard, tomato, leaf), plus small doodles (sparkles, scribbled stars) and a round tomato sticker set at an angle. Cards are white with a 2px ink outline and lift with a hard ink drop on hover. It feels human, confident and local.

Use it for: small businesses and the tools made for them, food and drink, farmers markets and local shops, community groups, newsletters and email tools, booking and ordering apps, friendly SaaS that sells to non-technical people. Avoid it for: luxury and fashion, serious finance or legal, dense dashboards, developer tools, anything that should feel quiet or minimal.

## 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 Market Day 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 farmers market pre-order app called Stallhand.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Work+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | DM Serif Display | 400 | Hero titles, section titles, card titles, prices, quotes, stat numbers, the logo |
| Accent word | DM Serif Display Italic | 400 | One word per heading, with `md-accent` (adds the squiggle) |
| Body and UI | Work Sans | 400 to 700 | Text, nav, buttons (600), labels (600), eyebrows (700 caps) |

## Color

| Token | Hex | Use |
|---|---|---|
| `--md-paper` | #FFFCF3 | The page background |
| `--md-white` | #FFFFFF | Cards, plans, fields, the nav bar |
| `--md-mustard` | #F4C537 | The hero field, the primary button on paper, the call-to-action band, illustration fills |
| `--md-mustard-deep` | #D9A714 | Link underlines, crates and shadows inside drawings |
| `--md-butter` | #FCEFB8 | Quiet sections, the featured plan, card art tiles, table heads, blockquotes |
| `--md-ink` | #211D18 | Text, every outline, the ink button, badges |
| `--md-night` | #2B2620 | The dark stats band and the footer |
| `--md-ink-soft` | #5E564B | Secondary text |
| `--md-tomato` | #E2553D | The squiggle under accent words, stickers, drop caps, list markers, illustration fills |
| `--md-leaf` | #3F7A4A | Check marks, success, leaves in drawings |
| `--md-tomato-soft`, `--md-leaf-soft`, `--md-sky` | #FBD9CF, #D5E8D2, #B9DBE8 | Card art tiles and soft fills in drawings |
| `--md-line` | #E9E1CC | Hairlines between rows and under the nav |

Mustard is the brand: give it big areas (the hero, one call-to-action band). Tomato and leaf are small accents: a squiggle, a sticker, a check, never a background for a whole section.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `md-hero-title` | clamp(44px, 7vw, 92px) | DM Serif Display, line-height 1, tracking -0.02em, centered on mustard |
| `md-h2` | clamp(32px, 4.4vw, 56px) | DM Serif Display, line-height 1.05 |
| `md-h3` | 26px | DM Serif Display, card and form titles |
| `md-lead` | 19px | Work Sans, `--md-ink-soft` (ink on mustard), max 580px wide |
| Body | 16px | Work Sans 400, line-height 1.6; articles use 18px |
| `md-eyebrow` | 12px | Work Sans 700, uppercase, tracking 0.12em |

## Shape and space

- Everything that can be clicked or filled has a 2px ink outline (`--md-outline`): buttons, cards, plans, fields, choices, FAQ rows, badges.
- Controls are pills. Cards and plans have 20px corners, big tiles 32px, fields 10px.
- No soft shadows on the page. Hover and "selected" states use a hard ink drop (`--md-drop`, 4px 4px 0) with a small lift and a bouncy ease. The featured plan and the sign-up panel keep `--md-drop-lg`.
- Drawings use `class="md-art"` on the SVG: 3px ink strokes with round caps, and flat fills from the `f-*` helper classes. Keep shapes simple: circles, rounded rectangles, scalloped awnings, leaf curves.
- Sections are 72 to 128px tall in padding. Sections alternate paper, butter, ink and mustard; never put two mustard sections next to each other.

## Components (in components.css)

- **Announcement** `md-announce`: one ink line on top, with an underlined link.
- **Nav** `md-nav` with `md-nav__inner`, `md-logo` (a mustard `md-logo__mark` circle plus the name in serif), `md-nav__links` (hidden under 900px, current page via `aria-current`) and `md-nav__end`. Hide secondary buttons on phones with `md-nav__hide`.
- **Buttons** `md-btn` plus `--primary` (mustard, use on paper), `--ink` (use on mustard), `--outline`, `--light` (on ink), `--sm`, `--block`. Group them in `md-actions`.
- **Hero** `md-hero` (the mustard field) with `md-hero__body` and `md-hero__art` for a wide illustration that sits on the bottom edge.
- **Accent** `md-accent`: the italic word with the tomato squiggle. `md-accent--plain` drops the squiggle.
- **Doodles** `md-doodle` (absolute, holds a small stroked SVG) and `md-sticker` (a tilted tomato circle with two to four words).
- **Rating** `md-rating` with `md-stars`; **logos** `md-logos` set in serif type.
- **Section head** `md-head`: heading on the left, an `md-link` on the right.
- **Cards** `md-cards` of `md-card` with an `md-card__art` tile (`--leaf`, `--tomato`, `--sky`).
- **Split** `md-split` with an `md-split__tile` (mustard, outlined) holding a drawing; **steps** `md-steps-list` (numbered circles).
- **Stats** `md-stats` of `md-stat` with `md-stat__num`.
- **Quote** `md-quote`, `md-byline`, `md-avatar` (initial in a soft circle).
- **Toggle** `md-segment` with `aria-pressed` buttons.
- **Pricing** `md-plans` of `md-plan` (`--featured`: butter with a hard drop and a tomato badge), `md-plan__name`, `md-plan__price`, `md-plan__note`, `md-checks`. **Table** `md-table-wrap` and `md-table`.
- **FAQ** `md-faq` of `<details>` rows.
- **Article** `md-article-head`, `md-meta`, `md-figure` with `md-figure__art`, `md-prose` (tomato drop cap, h2, lists, butter blockquote), `md-note`.
- **Forms** `md-form`, `md-field`, `md-label`, `md-input`, `md-select`, `md-hint`, `md-check`, `md-choices` of `md-choice` cards with a small drawing, `md-panel`, `md-steps` (progress pills), `md-subscribe`.
- **Badges** `md-badge`, `--tomato`, `--leaf`.
- **Sections** `md-section`, `--butter`, `--mustard`, `--ink`, `md-container`, `md-narrow`, `md-center`.
- **Footer** `md-footer` (night) with `md-footer__grid`, `md-footer__title` (mustard caps) and `md-footer__base`.
- **Drawing helpers** `md-art` on an SVG, then `ln` (stroke only) and fills `f-paper`, `f-white`, `f-mustard`, `f-deep`, `f-butter`, `f-tomato`, `f-tomato-soft`, `f-leaf`, `f-leaf-soft`, `f-sky`, `f-ink`, `f-night`; text in drawings with `t-ink` or `t-paper`.

## Pages in this kit

- `demo.html`: landing page (announcement, nav, mustard hero with a drawn market stall, logos, feature cards, how it works, ink stats band, grower quote, mustard sign-up band, footer)
- `pricing.html`: three plans pulled up over a mustard hero, a billing toggle, a compare table and a FAQ
- `blog.html`: a grower story with a drawn figure, drop cap, pull quote and tip
- `signup.html`: a mustard side panel with a drawing and sticker, and a three-step form

## Page recipe

1. An `md-announce` line, then the `md-nav`.
2. The `md-hero`: eyebrow, `md-hero-title` with one `md-accent` word, `md-lead`, an ink and an outline button, an `md-rating`, then a wide drawing in `md-hero__art` sitting on the bottom edge, with one `md-sticker` and two doodles.
3. A logos strip on paper.
4. Three `md-card`s under an `md-head`.
5. A butter `md-split` with a drawn tile and `md-steps-list`.
6. An ink `md-stats` band.
7. One big `md-quote` next to a round drawing.
8. A mustard call-to-action band with `md-subscribe`.
9. `md-footer`.

## Pricing page recipe

A short `md-hero` (no drawing) with eyebrow, title, lead and an `md-segment`, padded at the bottom so `md-plans` can be pulled up over its edge. Three plans, the middle one `--featured` with a tomato badge and the ink button; the others use outline buttons. Then a `md-table` and a butter FAQ section with the heading on the left.

## Article page recipe

The nav, then a centered `md-article-head` (a leaf badge, `md-h2` with an accent, lead, `md-meta` with an avatar), a wide `md-figure` with a drawing on mustard, and `md-prose` in `md-narrow`. End with an author row between two ink rules and a mustard `md-panel` call to action.

## Sign-up page recipe

Two columns: a mustard `md-hero` panel on the left (logo, `md-h2` with an accent, lead, a drawing at the bottom and a sticker), the form on the right with `md-steps`, an `md-h3`, `md-choices` with little drawings, fields and one primary block button. Under 900px the panel stacks on top and loses the drawing.

## Don'ts

- Don't use soft blurry shadows or gradients; use the hard ink drop.
- Don't drop the ink outlines from cards, buttons or fields, and don't make them thinner than 2px.
- Don't put more than one accent word in a heading, or the squiggle on body text.
- Don't use photos with heavy overlays in the hero; the mustard field and a drawing are the look.
- Don't bold the serif or set it in all caps.
- Don't use tomato or leaf for whole sections.
- Don't use em dashes in copy.
