# Landing v4 — LOCKED

**Approved by MT on 12 Nov 2026. Do not change this design.**

MT's words: "the landing page, perfect, perfect, perfect, perfect. Keep it and save it."

This folder is a clean snapshot of landing v4 exactly as MT approved it (`css/landing.css?v=11`, `js/landing.js?v=11`). Nothing was redesigned when it was copied here. Any future change, including copy, spacing, colour, motion or the app screenshots inside the phone, needs MT's explicit yes first and goes on a new branch, not on top of this one.

## What it is

- Public landing, two themes only: Pearl and Midnight (follows the visitor's system setting, with the toggle in the nav).
- Hero, a burgundy iPhone 18 Pro showing the real app, the verdict cards on the FACT core (border, cushioned depth, glare), how it works, prices, ATO / examiner links, footer.
- No logo or GA mark anywhere; the nav uses the plain "Go Around" text wordmark.
- Lighthouse Accessibility 100 (AA contrast), no clipping at 390 / 1280.

## Files

| Path | What |
|---|---|
| `index.html` | The page |
| `css/landing.css` | Styles (`?v=11`) |
| `js/landing.js`, `js/theme.js` | Behaviour and theme pick (`?v=11`) |
| `img/*.webp` | App screens shown inside the phone (Pearl and Midnight) |
| `video/scroll-1280-pearl.mp4`, `video/scroll-1280-midnight.mp4` | Full scroll, desktop 1280 |
| `video/scroll-390-pearl.mp4`, `video/scroll-390-midnight.mp4` | Full scroll, phone 390 |
| `video/scroll-1280.mp4`, `video/scroll-390.mp4` | Same as the Pearl clips (the files MT was sent) |
| `shots/after-*.png`, `shots/phone-*.png` | Key screenshots: hero, phone, cards, prices, both themes, both widths |

Open `index.html` from a local server (`python3 -m http.server`) to view it. Fonts load from Fontshare and Google Fonts.

## <!-- RELOAD CLIP SLOT -->

`index.html` keeps one placeholder, inside the phone's "reload" step:

```html
<!-- RELOAD CLIP SLOT: ... --><div class="reload-slot" data-slot="reload-clip" aria-hidden="true"></div>
```

This step still shows the static after-reload screen (`img/reload-after.webp`). The propeller is gone and must not come back. The current reload direction is Rollout — the big runway, with the small runway above it removed — in `components/reload-*/`. It is still being refined on its own branch; the only change allowed here is dropping an approved clip into the slot, and that waits for MT's yes.

## Known open item (not changed, needs MT's yes)

The app screenshot inside the phone shows the older "270 ATO/DTO" tile; the confirmed count is 205 ATOs. Recapturing it is a content swap, so it waits for MT.

## Next session

Go Around: do not wire or deploy this page until MT says yes. When he does, copy this folder as-is, keep the `?v=11` cache keys (bump them only if a file actually changes), and point "Sign in" / "Start your 14-day trial" at the live auth routes.


## 19 Nov 2026: Codex's landing merged into v4

MT asked for this on 19 Nov: add what Codex put on its own landing (`site/welcome/`, go-around-launch-11nov 4a30ba1, MILL, 18 Nov 09:24 SAST; unchanged through `codex/13-weather-engine`) into v4, drawn in v4's language, and remove nothing unless Codex's code doesn't support it.

### Added from Codex

| Codex | In v4 now |
|---|---|
| Eyebrow "South African aviation" | Mono eyebrow above the headline |
| "Know before you go." plus "reviews from South Africa's flying community" | New section `#community` (after the PAPI moment, before prices), with a "Reviews" link in the nav |
| Three feature links: Training organisations (`/ato/`), Flight examiners (`/dfe`), Member plans (`/plans/`) | Three plates in v4's plan style, with the same arrow as v4's doors |
| ATO plan card, "School tools and official replies" | Full-width ATO card under the three plans: 2 seats R3,999 and 5 seats R4,999 a month (migration 0031) |
| Prices read from `GET /api/prices`, plus the VAT line | `js/prices.js` swaps in live amounts and the VAT line, but only on the real site, where `/ga-api.js` is loaded. Elsewhere the printed launch prices stay. |
| "Compare plans" link to `/plans/` | Text link under the prices |
| Footer: Cookies, "Refunds and cancellation" | Footer now has ATOs, Examiners, Plans, Sign in / Privacy, Terms, Cookies, Refunds and cancellation (2 columns on phone, 4 on desktop) |

### Removed or changed

- "ATO plan R3,999/month." is out of date. Codex now sells 2-seat and 5-seat ATO plans (R3,999 and R4,999), so the line became the ATO card. "Prices exclude VAT." stays.
- Nothing else was removed. v4's other claims all match Codex's code:
  - Free gets 5 reviews a cycle (`review_quota_free`).
  - Pro gets 20 (`review_quota_paid`), and anonymous reviews are Pro and Founding only.
  - The trial is 14 days (`TRIAL_DAYS`).
  - The Founding cap is 50 (`FOUNDING_CAP`), and the Founding rate is locked at renewal.
  - The ATO and DFE directory is public (`access.mjs`).
  - Personal minimums exist (`applyPersonalMinimums`).
  - The library and calculators are Premium tools.

### Not merged, and why

- **Codex's headline "Know before you go." as the hero.** v4's hero stays "One word before you fly." Codex's line now heads the community section instead.
- **The cockpit photo** (`welcome/cockpit.webp`). v4 uses drawn art, and the PAPI full-width moment already does that job. A photo would be a second visual language. MT can decide.
- **The logo image in the header.** v4's README says no logo or GA mark anywhere; it uses the "Go Around" text wordmark.
- **The five-theme picker in the footer.** v4 has two themes (Pearl and Midnight) with the toggle in the nav. The other three would need new landing palettes. MT can decide.
- **Codex's routes `/login/` and `/login/?tab=create`.** v4 keeps `/signup/`, which `access.mjs` lists as an alias of `/login/`. Wiring waits for MT.

### For MT to check

- Codex generates 639 aerodrome pages (`site/ad/`), and v4 says 640. Counts were left as approved on 12 Nov.

### Checks

`tests/verify_merge.py` covers 390, 820 and 1440, Pearl and Midnight, with motion on and with reduced motion: 12 runs, 0 console errors, 0 JS errors, 0 horizontal overflow.
