# On Time

Fresh, bright and reassuring. A plain white page, huge tight black headlines in Inter Tight, and a drawn phone in the middle of the hero with live notification cards floating around it: some crisp, some fading into the page like updates you already read. One sunny yellow marks the active thing, a green says "all good" and a red appears only when plans change. Times are set in a small mono so every message reads like a fact with a timestamp. It feels calm, exact and friendly, like an app that tells you the truth before you ask.

Use it for: consumer apps with live status (deliveries, bookings, care, pickups), local services, health and wellness check-ins, booking tools, anything where "what is happening right now" is the product. Avoid it for: editorial or luxury brands, dark moody products, dense data dashboards, anything that should feel loud or nostalgic.

## 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 On Time 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 dog daycare app called Wagline.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Inter Tight 800 | Hero, section headings, big numbers and prices. Tight tracking (-0.03em), line height near 1. |
| Titles | Inter Tight 700 | Card titles, plan names, phone sheet titles. |
| Body | Inter 400 to 600 | Paragraphs, nav, buttons, notification text. |
| Mono | JetBrains Mono 500 | Every clock time and code inside a sentence ("10:05", "17:30"). Never for whole lines. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ot-white` | #FFFFFF | The main background and every card |
| `--ot-mist` | #F3F5F8 | Quiet sections, inputs, ghost buttons, the footer |
| `--ot-line` | #E3E6ED | Hairlines in tables and plan borders |
| `--ot-ink` | #0F1013 | Headlines and body text |
| `--ot-soft` | #5C616D | Leads, notification text, secondary copy |
| `--ot-faint` | #A3A8B3 | Placeholders, legal text, "No" in tables |
| `--ot-night` | #16171C | App icon, primary button, segmented bar, featured plan, stats band |
| `--ot-sun` | #FFC21A | The active thing: selected segment, featured plan button, badges, bullets |
| `--ot-go` | #20B463 | On time, done, yes |
| `--ot-alert` | #EC4A3A | Plans changed. Only for real alerts and form errors |
| `--ot-sky` | #3A78F0 | Links, the walk route, focus rings |
| `--ot-indigo` / `--ot-indigo-2` | #2E2B9A / #4A3FCF | The announcement bar gradient, nowhere else |

Each accent has a `-soft` partner for icon circles. Map colors (`--ot-map-*`) are only for the drawn map inside the phone.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ot-text-hero` | clamp(40px, 7vw, 92px) | Hero headline, weight 800 |
| `--ot-text-h2` | clamp(30px, 4.2vw, 54px) | Section headline, weight 800 |
| `--ot-text-h3` | 21px | Card titles, weight 700 |
| `--ot-text-lead` | clamp(17px, 1.6vw, 20px) | Leads under headlines, soft color |
| `--ot-text-body` | 16px | Body |

Headlines are short, plain claims ("Know how their day is going"). Notification copy always carries a time or a place: "Left at 10:05 (5m early) with Maya", never "Went for a walk".

## Shape and space

- Notification cards: 18px radius, white, a soft wide cool shadow, a 40px round icon on a soft accent, a 16px semibold title and a 14px soft line.
- Ghost notes (`.ot-note--ghost`) are the same card at 32% opacity with no background or shadow; dim notes (`--dim`) are at 60%. Every stack mixes crisp and faded cards.
- Radius: 28px on big cards, plans and panels; 18px on notes; 12px on inputs; pills on buttons, badges and the segmented bar. The phone is 48px.
- Shadows: soft and wide (`--ot-shadow-note`, `--ot-shadow-lift`). No borders on cards, except the thin line on plain plans.
- Space: sections 112px (72px on phones); container 1120px; text 720px.
- Motion: hero notes pop in once with a small rise. Respects reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ot-bar`, `__sep` | Indigo gradient announcement bar with a short divider and a link |
| `.ot-nav`, `__brand`, `__links`, `__action`, `.ot-appicon`, `--lg` | Centered link nav; brand is a black rounded app icon with a yellow glyph; "Get the app" with a phone outline on the right |
| `.ot-hero`, `.ot-hero-title`, `.ot-lead`, `.ot-eyebrow` | Centered hero with the huge tight headline |
| `.ot-awards`, `.ot-award`, `__icon`, `__name`, `__year` | Two small award marks; the year sits in thin angle brackets |
| `.ot-stage`, `__notes` | The signature: a drawn phone centered with up to 8 notes around it; fades out at the bottom. On phones the notes stack under the phone and ghosts hide |
| `.ot-phone`, `__screen`, `__island`, `__status`, `__map`, `__sheet`, `__row`, `__big`, `__meta` | A CSS phone with an inline SVG map and a white bottom sheet |
| `.ot-map__*` | Map parts for the SVG: land, park, water, roads, dotted paths, the sky route and pin |
| `.ot-note`, `__icon--go/alert/sun/sky`, `__title`, `__text`, `--ghost`, `--dim`, `.ot-notes` | Notification cards and a plain stack of them |
| `.ot-segbar`, `--light` | Dark pill bar with a yellow active segment (or a light one for toggles); buttons use `aria-pressed` |
| `.ot-status--go/alert/sky`, `.ot-badge--sun/go/night` | A colored dot with a word; small pills |
| `.ot-btn--primary/sun/ghost/link`, `--sm`, `--block`, `.ot-play` | Pill buttons; the link button has a round blue play icon |
| `.ot-section`, `--mist`, `--night`, `__head` | Section surfaces |
| `.ot-cards`, `.ot-card`, `--night`, `.ot-split`, `__media` | Feature cards; text beside a mist panel of notes |
| `.ot-stats`, `.ot-stat__num`, `__label` | Three big numbers |
| `.ot-quote`, `.ot-avatar`, `--sky/go` | Centered bold quote with an initials avatar |
| `.ot-plans`, `.ot-plan`, `--featured`, `__head/__name/__desc/__price/__list` | Pricing; the featured plan is night with yellow ticks and button |
| `.ot-table-wrap`, `.ot-table`, `.ot-yes`, `.ot-no` | Comparison table that scrolls sideways on phones |
| `.ot-faq` | White `<details>` cards with a plus that turns to a cross |
| `.ot-meta`, `.ot-cover`, `.ot-prose`, `.ot-callout`, `.ot-author`, `.ot-posts`, `.ot-post`, `__art`, `__title` | Article parts: a mist cover of notes, yellow dot bullets, a yellow-bar pull quote and a yellow callout |
| `.ot-panel`, `.ot-form`, `.ot-field`, `.ot-field-row`, `.ot-label`, `.ot-input`, `.ot-select`, `.ot-help`, `.ot-error`, `.ot-field--error`, `.ot-check`, `.ot-choices`, `.ot-choice`, `.ot-divider` | Forms: mist inputs that turn white with a sky ring on focus; radio cards with an ink ring when chosen |
| `.ot-footer`, `__top`, `__title`, `__legal` | Mist footer with link columns |

## Pages in this kit

- `demo.html`: landing page. Announcement bar, hero with awards, the phone stage with floating notes, a dark segmented bar that switches three split sections, feature cards, a night stats band and a quote.
- `pricing.html`: hero headline, a light segmented toggle that swaps prices, three plans with a night featured plan, a comparison table and an FAQ.
- `blog.html`: centered title and meta, a mist cover of notes (crisp and ghosted), prose, a callout, an author card and related posts.
- `signup.html`: a white form panel next to a headline and a stack of "what tomorrow looks like" notes.

## Page recipe

1. Indigo announcement bar, then the nav.
2. Centered hero: one short tight headline (two lines at most), a soft lead, then two award marks.
3. The stage: the phone with a real-looking screen and 6 to 8 notes around it, 3 or 4 of them ghosted.
4. The dark segmented bar overlapping the stage's faded bottom, switching moments of the day.
5. A split section: a headline beside a mist panel holding 3 notes.
6. A mist section with three feature cards, each with a soft icon circle.
7. A night stats band with three big numbers.
8. A quote and a button row, then the mist footer.

Pricing: hero headline, a light segmented toggle, three plans with the middle one night; the table on mist; the FAQ on white.
Article: centered title with a small badge and meta; a mist cover of notes; prose in the 680px column; an author card; related posts on mist.
Sign up: nav only, then a white panel with the form beside a headline and a short stack of notes.

## Don'ts

- Don't set headlines below weight 800 or with loose tracking. They are big, black and tight.
- Don't use yellow for anything but the one active or featured thing on screen.
- Don't use red for decoration. Red means plans changed.
- Don't write a notification without a time, a place or a number.
- Don't stack only crisp notes. Mix in ghosted ones so the stack feels live.
- Don't add borders or hard shadows to cards; keep shadows soft and wide.
- Don't use photos. Draw the phone, the map and the icons.
- No em dashes in copy.
