# Tap Tap

A cheerful practice app on a bright white page. Headlines are chunky and rounded, body text is bold and friendly, and one leafy green does most of the talking. Everything you can touch looks touchable: buttons sit on a solid darker bottom edge and sink when pressed, cards have a thick bottom border, progress bars are fat pills with a shine stripe, and round step buttons wind down the page like a game map. A small drawn mascot shows up with speech bubbles to cheer people on. It feels playful, encouraging and easy, like a daily habit you actually want to keep.

Use it for: habit and practice apps, consumer apps with streaks or levels, kids and family products, learning and hobby apps, health and wellness routines, gamified chores and care. Avoid it for: luxury and premium brands, legal, finance or anything that must feel serious, dense dashboards, long editorial sites, dark moody brands.

## 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 Tap Tap 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 plant-care app called Fernly with a sprout mascot called Sprig.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@500;600;700;800;900&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Baloo 2 800 | Every heading, prices, stats, the logo. Tight line height (1.1), slight negative tracking. |
| Body and UI | Nunito 600 to 900 | Body at 700 (prose at 600). Labels and buttons at 900, uppercase, 0.08em tracking. |

Body text is bold on purpose. Thin text breaks the chunky feel.

## Color

| Token | Hex | Role |
|---|---|---|
| `--tt-snow` | #FFFFFF | The page, cards, inputs on focus |
| `--tt-cloud` | #F4F7F6 | Alternate sections, inputs, figure boxes |
| `--tt-line` | #E2E6E5 | Every 2px border, empty progress, locked steps |
| `--tt-line-deep` | #CDD3D1 | Bottom edge of grey things |
| `--tt-ink` | #3A3F3E | Headlines and body (soft charcoal, never pure black) |
| `--tt-mute` | #7E8785 | Leads, card text, nav links, labels |
| `--tt-leaf` | #5DC73A | The main accent: main buttons, highlights, progress, footer, CTA |
| `--tt-leaf-deep` | #45A126 | The pressed edge under leaf things |
| `--tt-sky` | #22A9EE | Links, ghost button text, focus rings, the second button |
| `--tt-sun` | #FFC528 | Streaks, stars, the "most loved" flag |
| `--tt-coral` | #FF5E5E | Errors, cheeks on the mascot |
| `--tt-grape` | #B27BFF | A fourth icon tile, avatars |

Rules:
- Every solid colored element has a `-deep` partner used for its bottom edge. Never use a blurry shadow.
- Green leads on every screen. Sky is the second action. Sun, coral and grape are for small icons, badges and illustrations only.
- Soft tints (`--tt-leaf-soft`, `--tt-sky-soft`) are for selected states, tip boxes and badges.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--tt-size-hero` | 2.4 to 3.9rem | Landing headline |
| `--tt-size-h1` | 2 to 3rem | Page titles, split headings, stats |
| `--tt-size-h2` | 1.6 to 2.3rem | Section headings |
| `--tt-size-h3` | 1.35rem | Card titles |
| `--tt-size-lead` | 1.2rem | Intro paragraphs, in `--tt-mute` |
| `--tt-size-body` | 1.05rem | Body |
| `--tt-size-label` | 0.82rem | Uppercase labels and small buttons |

Split-row headings are lowercase, set big in leaf green ("tiny jobs, big jungle").

## Shape and space

- Radius: 16px for buttons and inputs, 24px for cards and bands, full pills for badges and progress bars, circles for steps and avatars.
- Borders are 2px `--tt-line`. Cards get a 4px bottom border (`--tt-edge-card`).
- The pressed edge: `box-shadow: 0 4px 0 <deep color>`. On `:active`, translate down 4px and drop the shadow.
- Generous space: 72px between sections, 24px gaps in grids, 1120px max width, 680px for reading.

## Components (in components.css)

- `.tt-btn` with `--sky`, `--sun`, `--coral`, `--ghost`, `--block`, `--sm`: uppercase pressable buttons.
- `.tt-nav`, `.tt-logo`, `.tt-nav__link`: white bar with a 2px bottom rule.
- `.tt-hero`, `.tt-hero__grid`, `.tt-hero__actions`: art left, words and stacked full-width buttons right.
- `.tt-phone`: a tilted phone drawn in CSS with a solid green slab behind it.
- `.tt-card` (plus `--leaf`, `--sky`), `.tt-card__icon` (plus `--sky`, `--sun`, `--grape`): rounded tiles with chunky edges.
- `.tt-path` and `.tt-step` (plus `--sun`, `--locked`): a winding path of round buttons.
- `.tt-progress` and `.tt-progress__fill`: fat pill bar with a shine stripe.
- `.tt-badge`, `.tt-streak`, `.tt-bubble`, `.tt-stats`, `.tt-label`, `.tt-lead`.
- Forms: `.tt-field`, `.tt-input`, `.tt-select`, `.tt-hint`, `.tt-choices` and `.tt-choice` (big tappable option tiles), `.tt-divider`.
- Pricing: `.tt-toggle`, `.tt-plans`, `.tt-plan` (plus `--featured`, `__flag`, `__name`, `__price`), `.tt-checks`.
- `.tt-faq`, `.tt-article__head`, `.tt-byline`, `.tt-avatar`, `.tt-prose`, `.tt-tip`, `.tt-figure`, `.tt-cta`, `.tt-footer`.
- SVG fill helpers: `.tt-f-leaf`, `.tt-f-snow`, `.tt-s-ink` and friends, so drawings use the tokens.

## Pages in this kit

- `demo.html`: landing page with the phone and mascot, a plant strip, split rows with the step path and a reminder card, three feature cards, stats, quotes and a green CTA band.
- `pricing.html`: yearly and monthly toggle, three plans with a featured middle plan, a comparison table and an FAQ.
- `blog.html`: a care guide with badges, byline, a mascot tip box and a week of round dots.
- `signup.html`: an onboarding step with a progress bar, the mascot in a speech bubble, option tiles and big inputs.

## Page recipe

1. `.tt-nav` with logo, three uppercase links and a small green button.
2. `.tt-hero`: a drawing on one side (phone, mascot, bubble), a label, a big headline with one word in `.tt-hl`, a lead and two stacked buttons (green, then ghost).
3. A thin strip between two `.tt-rule` lines.
4. Two or three `.tt-split` rows that alternate sides, each with a lowercase green heading and a drawing.
5. A `.tt-section--cloud` with three `.tt-card` features.
6. Stats, then quotes, then a `.tt-cta` band and the green `.tt-footer`.

Pricing recipe: centred head with a `.tt-toggle`, `.tt-plans` with the middle plan `--featured` and a sun badge flag, a comparison table inside a card-shaped wrapper, then `.tt-faq`.

Article recipe: centred `.tt-article__head` with badges and a byline, `.tt-read` + `.tt-prose`, one `.tt-tip` with the mascot, one `.tt-figure`, an "Up next" row and a `.tt-cta`.

Sign-up recipe: no nav, just a close cross and a `.tt-progress`. Mascot plus `.tt-bubble`, a headline, `.tt-choices` tiles, big inputs, a full-width green button, a `.tt-divider` and two ghost buttons.

## Don'ts

- Don't use soft, blurry drop shadows. Depth is always a solid bottom edge.
- Don't use thin or light font weights.
- Don't use photos as the main visual. Draw simple, rounded shapes in SVG with the token colors.
- Don't use pure black text or dark page backgrounds.
- Don't put more than one green button and one sky button side by side.
- Don't use sharp corners anywhere.
