# Front Porch

Warm, friendly and reassuring, like being let into someone's living room. The signature is a full-bleed, lived-in scene (a warm room with afternoon light) with a huge cream serif headline set right over it and a pair of pill buttons underneath. Around it everything is calm: warm paper surfaces, plain Figtree text, soft 24px cards and pastel tiles in peach, sage and butter. One bright indigo carries every action, from the announce bar to the buttons and the check marks, so people always know where to click.

Use it for: services people trust with their home, money or health: insurance, energy and home services, clinics and care, credit unions, co-ops, public services, nonprofits, family products. Avoid it for: developer tools, dense dashboards, luxury fashion, nightlife, anything that should feel edgy or technical.

## 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 Front Porch 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 home energy co-op called Kettle.

## Fonts

All free on Google Fonts:

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

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | Instrument Serif | 400 | Hero titles, section titles, prices, big numbers, quotes |
| Accent | Instrument Serif Italic | 400 | One word per headline, in indigo (glow on scenes and ink) |
| Body and UI | Figtree | 400 to 700 | Everything else: text, nav, buttons, labels, forms, plan names |

The serif is only ever 400. Never bold it.

## Color

| Token | Hex | Use |
|---|---|---|
| `--fp-paper` | #FFFCF6 | The page background |
| `--fp-cream` | #F5EEE2 | Quiet sections, inner-page heroes, the footer, table heads |
| `--fp-sand` | #EBE0CD | Empty progress bars and dividers on cream |
| `--fp-white` | #FFFFFF | Cards, plans, panels, fields |
| `--fp-ink` | #1E1B31 | Text, the dark stats band, path card arrows |
| `--fp-soft` | #5F5A70 | Secondary text, leads, meta |
| `--fp-indigo` | #5047EA | The one accent: announce bar, primary buttons, links, accent words, checks, focus |
| `--fp-indigo-soft` | #E8E6FD | Soft badges, check circles, selected choices, focus ring |
| `--fp-peach`, `--fp-sage`, `--fp-butter`, `--fp-sky` | #F7CFB0, #C3D6B8, #F5E4A3, #C9D7F2 | Path cards, icon tiles, avatars, the note box |
| `--fp-on-scene` | #FFF6E8 | Text on scenes and on ink |
| `--fp-line`, `--fp-line-strong` | #E6DDCD, #CFC3AE | Hairlines, outlined buttons and fields |

The scene tokens (`--fp-wall`, `--fp-wall-light`, `--fp-glow`, `--fp-wood`, `--fp-leaf`, `--fp-shade`) only color drawn scenes. `--fp-glow` also colors the accent word when it sits on a scene or on ink.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `fp-hero-title` | clamp(54px, 9vw, 132px) | Instrument Serif, line-height 0.92, tracking -0.025em, cream on the scene, centered |
| `fp-h1` | clamp(44px, 6.4vw, 88px) | Inner-page titles |
| `fp-h2` | clamp(36px, 4.8vw, 64px) | Section titles |
| `fp-h3` | 28px | Card and step titles, in the serif |
| `fp-lead` | 20px | Figtree, `--fp-soft`, max 580px wide |
| Body | 17px | Figtree 400, line-height 1.6; articles use 19px |
| `fp-eyebrow` | 13px | Figtree 700, uppercase, tracking 0.08em, indigo |

## Shape and space

- Every control is a pill: buttons, chips, badges, the segment toggle. Buttons are 52px tall (44px for `--sm`).
- Cards and plans have 24px corners (`--fp-radius`); scenes, figures and split art have 36px (`--fp-radius-lg`); fields have 12px.
- Borders are 1px warm hairlines; fields and outlined buttons use 1.5px `--fp-line-strong`.
- Shadows are low and warm (`--fp-shadow`); only the featured plan lifts (`--fp-shadow-lift`).
- Sections are 72 to 132px tall in padding. The hero scene is nearly a full screen tall, with the copy at the bottom.

## Components (in components.css)

- **Announce bar** `fp-announce`: indigo strip with an info icon, a bold label (hidden on phones) and a sentence with a link.
- **Nav** `fp-nav` (paper, hairline under it) and `fp-nav--over` (transparent, cream text, sits over a scene). `fp-logo` is a lowercase Figtree wordmark in indigo with an icon. `fp-nav__links` and the log-in link hide under 920px; the primary button stays.
- **Scene hero** `fp-scene` with an inline SVG `fp-scene__art`, a warm scrim, and `fp-scene__body` (badge, `fp-hero-title`, lead, actions). `fp-scene--panel` makes a rounded scene panel for split layouts. Draw the scene with the `fp-fill-*` and `fp-stop-*` helper classes, or swap in a warm photo of real people at home.
- **Plain hero** `fp-hero`: cream, for inner pages.
- **Buttons** `fp-btn` plus `--primary` (indigo), `--light` (white, on scenes), `--outline`, `--ink`, `--sm`, `--block`. Group them in `fp-actions`. `fp-link` is an indigo text link with an arrow.
- **Badges and chips** `fp-badge` (`--peach`, `--sage`, `--butter`, `--glass` for scenes), `fp-chips` of `fp-chip` with `aria-pressed`.
- **Trust strip** `fp-trust`: a row of small indigo icons and plain facts under the hero.
- **Section head** `fp-head`: eyebrow and `fp-h2` on the left, an `fp-link` on the right.
- **Path cards** `fp-path` (`--sage`, `--butter`, `--sky`): big pastel cards that split audiences, each with an ink arrow circle `fp-path__go`.
- **Cards** `fp-cards` (`--4`) of `fp-card` with an `fp-tile` icon square (`--sage`, `--butter`, `--sky`, `--indigo`).
- **Steps** `fp-steps`: numbered list with big indigo serif numerals over an ink rule.
- **Split** `fp-split` with `fp-split__art`.
- **Stats** `fp-stats` of `fp-stat`, best on `fp-section--ink`.
- **Quote** `fp-quote`, `fp-byline`, `fp-avatar` (`--sage`, `--butter`).
- **Toggle** `fp-segment` with `aria-pressed` buttons.
- **Pricing** `fp-plans` of `fp-plan` (`--featured` with an indigo border), `fp-plan__top`, `fp-plan__name`, `fp-plan__price`, `fp-plan__note`, `fp-checks`. Compare table `fp-table` inside `fp-table-wrap`.
- **FAQ** `fp-faq` of `<details>` cards.
- **Article** `fp-article-head`, `fp-meta`, `fp-author`, `fp-figure` with `fp-figure__art`, `fp-prose` (h2, lists, blockquote, links), `fp-note` (butter callout).
- **Forms** `fp-form`, `fp-field`, `fp-label`, `fp-input`, `fp-select`, `fp-hint`, `fp-check`, `fp-choices` of `fp-choice` cards, `fp-progress`, `fp-panel`.
- **Sections** `fp-section`, `--cream`, `--ink`, `--tight`; `fp-container`, `fp-narrow`, `fp-center`.
- **Footer** `fp-footer` (cream) with `fp-footer__grid`, `fp-footer__title`, `fp-footer__base`.

## Pages in this kit

- `demo.html`: landing page (announce bar, scene hero with the nav over it, trust strip, path cards, steps, co-op story, stats band, quote, call to action, footer)
- `pricing.html`: three plans with a billing toggle, a compare table and an FAQ
- `blog.html`: a field guide article
- `signup.html`: a split sign-up with a scene panel and a step-one form

## Page recipe

1. `fp-announce` with one useful, plain sentence.
2. A wrapper holding `fp-nav--over` and the `fp-scene`: a warm scene, a glass badge, a 2-line `fp-hero-title` with one accent word, a one-sentence lead and two buttons (`--primary`, `--light`).
3. `fp-trust` with three or four facts.
4. Three `fp-path` cards, one per audience, in different pastels.
5. A cream section with `fp-steps`.
6. An `fp-split` story section.
7. An `fp-section--ink` band with three `fp-stats`.
8. A big `fp-quote` with a real-sounding person and place.
9. A cream call to action, then `fp-footer`.

## Pricing page recipe

Paper `fp-nav`, then a centered cream `fp-hero` with eyebrow, `fp-h1` with an accent, lead and `fp-segment`. Three `fp-plan` cards, the middle one `--featured` with an `fp-badge`. A compare table, then a cream section with the heading on the left and an `fp-faq` on the right.

## Article page recipe

Paper `fp-nav`, then `fp-article-head` in `fp-narrow` (eyebrow, `fp-h1` with an accent, lead, `fp-meta` with author avatar). A wide `fp-figure` with a scene and caption, then `fp-prose` in `fp-narrow` with numbered h2s, a list, a blockquote and one `fp-note`. End with a byline row and a centered `fp-panel` call to action.

## Sign-up page recipe

Two columns with a 12px gap around the page: an `fp-scene fp-scene--panel` on the left (logo at the top, `fp-h1` and lead at the bottom), and on the right an `fp-progress`, `fp-h2`, a step line, `fp-choices`, fields and one primary block button. Under 860px the panel stacks on top at about 460px tall.

## Don'ts

- Don't bold the serif or use it for body text, buttons or labels.
- Don't use a second accent color. Pastels are for tiles and cards, never for buttons or links.
- Don't use square corners or thin text buttons; every action is a pill.
- Don't put cold, stock-office imagery in the scene. It should feel like a real home, warm light, people or pets.
- Don't use pure black or pure white text on the scene; use `--fp-on-scene`.
- Don't use em dashes in copy.
