> **Note from Designer (12 Nov, 16:00 SAST):** this spec was written before the build. Where it differs from the build, the build wins. Go Around's v49 logic was kept (sign-up = email + password on one screen, then name; NPL stays in the single licence list; his step counts), so his tests stay green. Those points are now listed as decisions in NEXT-SESSION.md.

# Go Around sign-in / sign-up spec, ready to build (v1, 12 Nov 2026, 14:50 SAST)

Advice and design only. Nothing in `/workspace/signup_redesign` or any repo was changed, and nothing was deployed.
Product facts come from `DECISIONS-MASTER.md` (go-around-launch-11nov @ `fix/audit-fixes-12nov`, last update 12 Nov 03:15 SAST). Where this spec and that file disagree, that file wins.
Mockup: `mockup/index.html?s=<screen>&t=pearl|midnight`. PNGs are in `mockup/png/`, named `{phone|ipad}-{pearl|midnight}-{screen}.png`.

---

## 0. How the current layout works (read from the preview source)

**Files (preview mock).** `mock.html` loads, in this order: `fonts/wm-fonts.css`, `signup.css` (base glass, inputs, chips, role cards), `v2.css`, `v3.css?v=14` (the `.pb` pill, ghost float/glow, `.ptick` tick, `.acts`), `ours.css?v=13` (terms/consent accordions, `.tick` boxes), `ipad.css?v=14` (everything at `min-width:744px`), `done.css`, `flow.css?v=47` (real inputs, top/centre layout, step transitions, legal pages, gateway), then `mock.js?v=48`.
On live, the same layers map to `site/signup/index.html`, `signup.js` and `signup.css`. Those names stay, per DECISIONS §10.

**One page per screen.** `mock.js` has a `screens{}` map keyed by `?s=`: `signin-a`, `forgot`, `reset`, `identity`, `dob`, `under18`, `consent`, `terms`/`privacy`/`cookies` (`legalDoc()`), `aviation`, `licences`, `dfe-claim`, `dfe-pending`, `school-claim`, `school-pending`, `ato-plan`, `trial`, `plan`, `checkout`, `gateway` (demo), `pay-return`, `done`, `profile`.
Each screen returns HTML built from helpers: `pg()` → `<section class="pg">`, `qwrap()` → `.qmid` (the question block), `acts()` → `.acts` (the pill dock), `prog(i,n)` (the progress bar), `topBack([i,n])` (fills `#topLeft` with a round icon-only back `.gbtn` and `#topRight` with "i of n"), `noHead()` (sign-in and done have no top bar), `inp()`/`field()`, `chips()`, `roleCard()`, `pb()` (pill button).

**Navigation.** `go(screen, extra, opts)` (mock.js ~l.663) does a **full page load**. It writes `ga-dir=fwd|back` to sessionStorage, shows the pill spinner, waits 420 ms (`opts.wait`), adds `html.leaving` 160 ms before leaving, then sets `location.href`. On the next page an inline script in `<head>` reads `ga-dir` into `html[data-dir]`, and `flow.css:89-97` plays `vtIn` / `vtInB` (340 ms, `cubic-bezier(.16,1,.3,1)`, ±22 px). Context rides in the URL (`t`, `layout`, `via`, `role`, `claim`, `plan`, `paid`). Answers ride in sessionStorage (`GADB`). `BACK{}` (l.765) maps each screen to its back target.

**Top vs centre.** `html[data-layout=top|center]`. `.qmid` is centred vertically by default. `flow.css:11-14` makes `top` pin `.qmid` to the top and push `.acts` down with `margin-top:auto`. On iPad, `ipad.css` puts `.pg` in a centred card (`max-width:560px`, l.23) in portrait. Landscape is a 2-column grid: `.ipad-brand` art panel (42%) plus the form, and `html` is locked to `100dvh; overflow:hidden` (l.56-62).

**Sign-in art.** It exists only in iPad landscape. `ipadLayer()` (mock.js ~l.593) injects `.ipad-brand` with three SVGs: `.ib-runway`, `.ib-tower` and `.ib-plane`. Portrait and phone have no art. The top of the screen is the `GA` logo image (`.hero3 .logo-big`, v3.css:46-48), which is the unfinished logo.

**Step order today.** `signin-a` (Sign up toggles `state=signup` on the same screen, with password and confirm) → `identity` → `dob` → `consent` → `aviation` (3 role cards plus a Continue pill) → `licences` → [`dfe-claim` → `dfe-pending`] → `trial` → `plan` → `checkout` → `gateway` → `pay-return` → `done`. There is **no email-code screen**, and the Google button is still on `signin-a`. Both clash with DECISIONS §10.

**Plan picker / checkout.** `PLANS{}` (l.78) holds name, price and note. `plan` renders `.plan` cards in 3 sections, `MLINE` (l.115) is the "Monthly · no refunds · cancel anytime" strip, `checkout` (l.357) renders `.co-sum` with `.kv` rows, `.co-secure`, the `#startNow` tick, and a disabled pill until it's ticked.

---

## 1. Target flow (DECISIONS §10 order, original screen names kept)

| # | `?s=` | New? | Step label | Notes |
|---|---|---|---|---|
| 0 | `signin-a` | kept | none | Sign in / Sign up / passkey / email code / guest |
| 1 | `signup-email` | **new** | Step 1 | Email only. Always answers "We sent a code" (A1) |
| 2 | `verify` | **new** | Step 1 | 6-digit code, 10 min, 5 tries |
| 3 | `password` | **new** | Step 2 | Only after the code is verified (Q11) |
| 4 | `identity` | kept | Step 3 | Full name + username. The greeting uses the first word of the full name |
| 5 | `dob` | kept | Step 4 | 18+ only |
| 6 | `consent` | kept | Step 5 | Ticks start unticked. MT's wording placeholders stay |
| 7 | `aviation` | kept | Step 6 | **Auto-advance** on tap. No Continue pill |
| 8 | `licences` | kept | Step 7 | Licence single-select, DFE rule |
| 9 | `dfe-claim` → `dfe-pending` | kept | Step 8 | Only if DFE picked |
| 10 | `trial` | kept | none | Trial starts here (after verify) |
| 11 | `plan` → `checkout` → gateway → `pay-return` | kept | none | Optional |
| 12 | `done` | kept | none | "Welcome aboard, {first name}." |

Show **"Step n"** with no "of N" in the top bar. The total changes with the branch (enthusiast skips licences, DFE adds a claim), so "4 of 6" turning into "4 of 5" mid-flow reads as a bug. The progress bar keeps 8 segments and fills to the real position.
File: `mock.js topBack()` (l.38) and `prog()` (l.43); the step-count logic in `aviation` (l.1000).

---

## 2. Tokens (one set for every screen)

### 2.1 Type scale (6 sizes + mono; replaces the 39 sizes found across the CSS layers)
| Token | Phone 390 | iPad ≥744 | Font | Use |
|---|---|---|---|---|
| `--f-display` | 600 34/36, -0.022em | 600 46/48 | Clash Display | Sign-in headline, done greeting |
| `--f-title` | 600 30/32, -0.02em | 600 38/40 | Clash Display | Every step question, Terms title |
| `--f-lede` | 400 16/24 | 400 17/26 | Satoshi | Question sub-line, max 32ch |
| `--f-input` | 500 17/22 | same | Satoshi | Field text (≥16 px, so iOS doesn't zoom) |
| `--f-btn` | 600 17/1 | same | General Sans | Pills |
| `--f-label` | 600 13/16 | same | General Sans | Field labels, group labels |
| `--f-small` | 500 13/18 | same | Satoshi | Hints, errors, legal line (12 px minimum) |
| `--f-caps` | 600 11/14, +0.08em, uppercase | same | General Sans | At most one kicker per screen |
| mono | 500 15/20 tabular | same | JetBrains Mono | Prices, dates, code boxes (600 24) |

Today's mock has 9 / 9.5 / 10 / 11 / 11.5 / 12 / 12.5 / 13 / 13.5 / 14 / 14.5 / 15 / 15.5 / 16 / 16.5 / 17 / 18 / 18.5 / 20 / 21 / 22 / 23 / 26 / 28 / 30 / 32 / 34 / 36 / 38 / 40 / 42 / 44 / 46 / 48 / 64 / 72 px. Delete everything under 12 px.

### 2.2 Spacing (4-pt grid)
4 · 8 · 12 · 16 · 20 · 24 · 32 · 40 · 48.
- Phone gutter 20. iPad gutter 40. Content column max 440 (sign-in form) / 560 (steps) / 680 (terms).
- Field 52 tall, radius 14, label→field gap 6, field→field 12.
- Pills 52 tall (sign-in pair 52, dock 52), radius 999, pair gap 12. Every tap target is ≥44×44.
- Question block: title→lede 12, lede→controls 24. Group→group 20. Chip gap 8, chip height 44.
- Dock: 12 above, `16px + env(safe-area-inset-bottom)` below.

### 2.3 Colour (theme values unchanged; additions in bold)
Pearl: bg `#F2F2F5`, text `#111114`, text2 `rgba(17,17,20,.64)` (up from .62 for AA on 13 px), accent `#0019C9`, primary pill `#0019C9`/white.
Midnight: bg `#000`, text `#F5F5F7`, text2 `rgba(245,245,247,.66)`, primary pill `#F5F5F7`/black, **links `#9AA3FF`** (the `#0019C9` GA mark and links on black measure about 2:1 and fail AA).
Tick: `--tickA/--tickB` as in v3.css:66-67. Error text: Pearl **`#C8102E`**, Midnight **`#FF5C77`** (both ≥4.5:1). Disabled pill: tinted `color-mix(var(--tx) 10%)` with text at `--tx3`, **not** a 36%-opacity accent (≈2:1).

### 2.4 Motion tokens
`--ease: cubic-bezier(.32,.72,0,1)` (MT's curve) for every movement. Opacity-only fades may use `ease-out`.
`--t-micro 140ms` (press, chip state), `--t-ui 240ms` (selection, helper text), `--t-step 300ms` (step enter), `--t-out 180ms` (step exit = 60%).

---

## 3. Screen-by-screen: copy + layout

`{name}` = first word of the full name, max 18 chars with an ellipsis. Guests never see a name.

### 3.0 `signin-a` (sign in + entry to sign up)
**Layout, phone 390×844.**
- **Top half = GA area**: `height:50svh` (422 px), `min-height:380px`.
  - Headline at `safe-top + 28`, centred: "What every / pilot needs." (`--f-display`). Sub-line 14/20 `--tx2`, centred, max 34ch.
  - Runway art bottom-aligned, `width:min(100%,640px)`, `aspect-ratio:400/240`, centred on the screen axis (§4). The name "GO AROUND" is painted on the runway like a designator.
- **Bottom half**: column max 440, gutter 20, top padding 12. In order:
  1. Email field
  2. Password field
  3. "Forgot your password?" (right-aligned, 14 px link, 44 px tall hit area)
  4. **Sign in | Sign up pair**, 52 tall, gap 12. The fields sit directly above this pair, per MT.
  5. "Sign in with a passkey" (ghost, 44)
  6. A quiet line: "Email me a sign-in code · Browse as guest"
  7. Legal line, 12/16 `--tx3`
  It all fits in 844 with no scroll (checked in WebKit: last line ends ≤ 836).

**iPad 820×1180.** Same order. Top half 590, art max 640 wide, headline 46. Form column 440, centred.
**iPad landscape.** Keep the 2-column `.ipad-brand` split, but redraw the art with the §4 runway, centred on the **panel** axis. Fix the broken legal line (see fix list #9).

**Copy.**
- Headline: **What every pilot needs.** Sub: **Weather, aerodromes, ATOs and DFEs, in one place.**
- Labels: **Email** · **Password**. Placeholders: none (labels are always visible).
- Link: **Forgot your password?**
- Buttons: **Sign in** (primary) · **Sign up** (secondary). Sign up takes the typed email to `signup-email` and ignores the password field, because Q11 says the code comes before any password.
- **Sign in with a passkey** · **Email me a sign-in code** · **Browse as guest**
- Legal: **By continuing you agree to the Terms of Use and Privacy Policy.**
- **Remove** "Continue with Google" and its "or" divider (DECISIONS §10: no Google).

**States.**
- Loading: the Sign in pill shows a 16 px spinner and keeps its width. Label "Signing in…". Fields read-only. No page dim.
- Wrong password: border `--danger` 1.5 px, message under the password field: **That email and password don't match. Try again, or reset your password.** One 6 px shake, 300 ms, transform only. Focus returns to the password field.
- Locked after 5 tries: banner above the fields: **Too many tries. Wait 5 minutes, or reset your password.** (match the server's lock time).
- Offline: **No connection. Check your signal and try again. Nothing was lost.**
- Empty email: **Enter your email.** Bad format: **Check your email address.**
- Turnstile runs invisibly. Only if it fails: **We couldn't confirm you're human. Try again.**

### 3.1 `signup-email` (new, Step 1)
**Create your account.** / **Enter your email. We'll send a 6-digit code to confirm it's yours.** Field: Email (focused, `autocomplete=email`, `inputmode=email`). Pill: **Send code**. Below: **Already have an account? Sign in**.
Always move on to `verify`, even when the address already has an account (A1). Never show "This email already has an account". The current `state=email-used` copy in `signin-a` (mock.js l.133) must go.

### 3.2 `verify` (new, Step 1)
**Check your email.** / **We sent a 6-digit code to {email}. It works for 10 minutes.**
- Six 46×56 boxes, gap 8, mono 600 24, `inputmode=numeric autocomplete=one-time-code`. One real `<input>` underneath so paste and iOS autofill work.
- Below: **Resend code in 0:42** → **Resend code**, then **· Change email**.
- Pill: **Confirm email** (disabled until 6 digits; it auto-submits on the 6th).
- Errors: **That code isn't right. 4 tries left.** / **That code has expired. We've sent a new one.** / **Too many tries. Request a new code.**

### 3.3 `password` (new, Step 2)
**Choose a password.** / **Email confirmed. Use at least 10 characters with a number or symbol.**
- Fields: Password (strength meter: 4 segments, 3 px, label **Weak / OK / Strong / Very strong**) and Confirm password (**✓ Passwords match.** / **Passwords don't match. Type the same one twice.**).
- Leaked password: **This password has appeared in a data breach. Choose another.**
- Pill: **Continue**. Offer **Use a passkey instead** as a link, which creates a passkey and skips the password.

### 3.4 `identity` (Step 3)
**What should we call you?** / **Your name shows on your pilot page. Your username is how pilots find you.**
- Full name (`autocomplete=name`). Live hint under it: **We'll greet you as {name}. Change it any time in Settings.**
- Username (`@` icon). States under it:
  - checking (spinner): **Checking…**
  - free (green tick): **Available.**
  - taken: **That username is taken. Try {s1} or {s2}.**
  - reserved: **That username is reserved.**
  - Rule line: **Letters, numbers, dot and underscore. 3 to 20 characters.**

### 3.5 `dob` (Step 4)
**When were you born?** / **Go Around is for adults. We only use this to check you're 18 or over. It isn't shown on your profile.**
- DD / Month / YYYY, 3 columns of 1fr / 1.6fr / 1.2fr, gap 8.
- Errors: **That date doesn't exist.** / **That date is in the future.**
- Under 18 → `under18`: **Go Around is for 18 and over.** / **You can't create an account yet. We haven't kept anything you typed.** · **Browse as guest** · **Typed the wrong date? Go back**.

### 3.6 `consent` (Step 5)
Keep MT's ticks and placeholders. Do not write new legal wording (Q18).
Layout fix: the iPad portrait consent page currently runs full-width with the Create account pill floating far below. Give it the same 560 column and inline dock as the other steps.

### 3.7 `aviation` (Step 6): auto-advance
**What describes you?** / **Choose one. This only changes the next questions.**
- Cards, in DECISIONS order: **Aviation enthusiast** (You can add licences later.) · **Pilot** (Student or licensed. Includes SPL holders.) · **Still figuring it out** (Exploring flying or comparing ATOs.).
- Small link: **Signing up for an ATO? Claim your ATO**.
- **No Continue pill.** Hint in the dock: **Tap an answer to continue. You can come back and change it.**
- Semantics: `role="radiogroup"` with `role="radio"` and `aria-checked`, roving tabindex, arrow keys move, Enter/Space select. Today it's `aria-pressed` toggles plus a Continue pill (mock.js l.1002-1008).

**Auto-advance timing.**
1. Tap → the card goes selected in 140 ms (fill + ring).
2. Hold 260 ms so the choice registers. If the user taps another card inside that window, restart from the new card.
3. Step transition forward (§5).
- Keyboard: arrow keys only move focus/selection and **never** auto-advance. Enter advances.
- With reduced motion: same hold, then an instant swap.
- Trap check: Back from the next screen returns here with the card still selected and does **not** re-advance (only a fresh tap does).

### 3.8 `licences` (Step 7): visible Back, single-select licence, DFE rule
**Top bar** (every step): a **Back** button top-left. Chevron 22 px + label "Back", General Sans 600 16, height 44, min-width 44, left padding 8, inside `env(safe-area-inset-top)` and 12 px from the left edge. Progress bar centred, max 160 wide. "Step 7" in mono 13 on the right. This replaces the icon-only round `.gbtn` (`topBack()`, l.38-41).
Back keeps every answer (sessionStorage `GADB`) and plays the reverse slide.

**Copy.** **What do you hold?** / **South African licences. What you add here is self-declared until we check it.**
1. **Category**: segmented control, **Aeroplane | Helicopter** (`role=radiogroup`).
2. **Licence** (helper on the right: *Choose one*): **SPL · PPL · CPL · ATPL · NPL** (NPL hidden for Helicopter). **Single-select** (`role=radiogroup`, `role=radio`, `aria-checked`). Picking one deselects the others. Today any number can be on (l.1026).
3. **Ratings** (helper: *Choose any*): **Night · Instrument · Multi-engine · Instructor · DFE**. Multi-select (`role=checkbox`, `aria-checked`). A selected rating shows a check icon and a tinted fill, so it never looks like the solid-filled single-select licence.

**DFE rule (MT, 12 Nov 14:47).**
- DFE can be combined with **CPL or ATPL** only. With PPL (and SPL/NPL, or no licence) DFE is **disabled**: 38% opacity, hairline border, `aria-disabled="true"`, `aria-describedby="dfeh"`, not focusable by tap. Helper under the ratings: **DFE needs a CPL or ATPL.**
- **Selecting PPL while DFE is on clears DFE.**
- DFE selected: the chip shows the app's green tick (§3.12) instead of the plain check. Under the ratings a card says: green tick + **DFE picked** / **Next, find yourself on the DFE list. We review every claim before any badge shows.**

**States** (PNGs `phone-*-lic-default`, `-licences`, `-lic-ppl`, `-lic-switch`):
| State | Licence | DFE chip | Helper | Continue |
|---|---|---|---|---|
| default | none | disabled | "DFE needs a CPL or ATPL." | disabled (Skip for now available) |
| CPL + DFE | CPL | on, green tick | DFE picked card | enabled → `dfe-claim` |
| PPL | PPL | disabled | shown | enabled → `trial` |
| CPL+DFE → tap PPL | PPL | clears | shown | enabled |

**Switch animation (CPL+DFE → PPL).**
1. The licence highlight cross-fades from CPL to PPL (bg + text colour, 240 ms `--ease`). No sliding pill, because chips wrap across rows.
2. At the same time the DFE chip goes from on to off: green tick opacity 1→0 and scale 1→.6, 140 ms. Fill tint 1→0, 200 ms. Then the chip settles to the disabled 38% opacity over 200 ms with `scale(.97)→1`.
3. The "DFE picked" card collapses: opacity 1→0 over 160 ms, then its space closes. Snap the height **once** after the fade; never animate height.
4. The helper "DFE needs a CPL or ATPL." fades in: opacity 0→1 and translateY(4px→0), 240 ms, starting 120 ms after the tap.
5. A toast at the bottom (above the dock, 4 s, `role=status`): **DFE removed. It needs a CPL or ATPL. Undo**. Undo restores CPL + DFE.
- Reduced motion: no scale or translate, opacity only, 0 ms.

### 3.9 `dfe-claim` / `dfe-pending` (Step 8)
- Claim: **Claim your DFE listing.** / **Find yourself on the SACAA DFE list. We review every claim before any badge shows.** (today it says "We check it before the blue tick shows").
- Pending: keep the large green `.ptick`. Headline **Claim sent.** / **We'll check {name} against the SACAA list and email you. Until then you show as a regular member, with no badge.** Status row: **Pending review**.
- Never write "DFE claimed" or "Verified" before Super Admin approval (DECISIONS §10, CPA s41).

### 3.10 `trial`
**14 days of Pro, on us.** / **No card needed. Every Pro tool except anonymous reviews. When it ends you move to Free, and nothing is charged.**
- Ticks: **Aerodromes, weather and every tool** · **20 reviews per cycle, unlimited votes** · ✕ **Anonymous reviews are for Pro and Founding Member only**.
- Upsell card: **Want to post anonymously?** / **Anonymous reviews come with Pro (R399 a month) or Founding Member (R299 a month).**
- Founding tease: **Founding Member seats** / **The first 50 paying members keep R299 a month while they stay subscribed.** ("for life" is gone.) The seat count must be live.
- Buttons: **See plans** · **Start my trial** (only reached after email verification).

### 3.11 `plan`
**Choose your plan.** / **Your 14-day trial is running. Choose now or any time before it ends. If you don't, you move to Free. Nothing is charged.**
Sections: *For pilots · anonymous reviews included* → **Founding Member** R299 / month, **First 50 members. Your price is locked while you stay subscribed.**, seat bar **38 of 50 seats taken · 12 left** (live) · **Pro** R399 / month, **Every tool, anonymous reviews included.** → *Free* → **Free** R0, **Read and vote. Named reviews only. No Pro tools.**
- ATO line (fine print, not a card in the pilot flow): **ATOs: the ATO plan is R3,999 a month, from your ATO page.**
- Fine print: **Monthly only. Cancel any time before your next charge. Paying during the trial ends it, and unused trial days are dropped.** (Today it says "Unused trial days are added on top", which is wrong per DECISIONS §3.)
- Sold out: Founding card becomes **All 50 founding seats are taken. New members join Pro at R399 a month.**
- Pills: **Continue with Founding Member** / **Continue with Pro** · **Stay on the trial for now**.
- Rename everywhere: `PLANS.founding.name` (l.78), the trial `.anon .opts` and `.tease` (l.290-295), plan (l.297-305), `done` P.founding (l.326), `ipadLayer` `.ib-note`: **Founding Pilot → Founding Member**.

### 3.12 Green tick: one design, three sizes
Path `M30 63 L50 83 L92 37` on a 120 viewBox, stroke `url(#tkg)` (`--tickA → --tickB`), round caps.
- Hero: 112 px, stroke 10.5 (unchanged `.ptick`).
- Done/pending: 72 px.
- Inline: **18 px, stroke 13**, no `.tks` blurred shadow at inline size (the blur is a glow).

| Placement | Size | Meaning | Copy next to it |
|---|---|---|---|
| DFE rating chip (selected) | 16 px, 6 px before the label | "you picked DFE" | DFE |
| DFE picked card | 18 px, left | picked, nothing sent yet | **DFE picked** |
| `dfe-pending` hero | 112 px | claim sent | **Claim sent.** |
| `done` summary row "DFE claim" | 18 px | sent, awaiting review | **Sent** + amber tag **Pending review** |

The green tick never appears on the public pilot page. After approval the **locked badge SVGs** (`badges/locked-9nov/`) take over, and they are not redrawn: verified + not paying gets the non-blue DFE mark, verified + paying gets the blue tick + DFE card (DECISIONS §10).

### 3.13 `checkout` (Founding Member example; mockup `*-checkout.png`)
Top bar: **Back** · centred label **Secure checkout**. No step count.
- **Confirm your plan.** / **Check the details. You pay on our payment partner's secure page.**
- Summary card:
  - kicker **12 of 50 seats left** (live)
  - **Founding Member**, price **R299 / month** (mono 30)
  - line: **Everything in Pro, anonymous reviews included. Your R299 price is locked while you stay subscribed. If you cancel, you lose it.**
  - Rows: **Total due today R299.00** · **Then R299.00 every month** · **Next charge 12 Dec 2026** · (during trial) **Your trial: Ends today. Unused days are dropped.**
- Tick (unticked, required): **Start my paid plan now. I understand it renews every month until I cancel, and that starting now ends my 7-day cooling-off right. Terms of Use** (ECT s44 waiver per @Lawyer. MT may replace this with his own wording, Q18).
- Fine print: **Monthly. Cancel any time in Settings, in two taps, before your next charge. A month already started isn't refunded, except where the law requires.**
- Pill: **Continue to secure payment** (disabled until ticked). Hint **Tick the box above to continue.** Link **Back to plans**.
- **Remove** the `MLINE` strip "Monthly · no refunds · cancel anytime before renewal" (l.115) from trial, plan and checkout. "No refunds" with no qualifier conflicts with CPA/ECT.
- Pro: same layout, **Pro · R399 / month · Every tool, anonymous reviews included.** ATO: **ATO plan · R3,999 / month · For {ATO name}.**
- Sold out mid-checkout (before payment): **The last founding seat just went. We've switched you to Pro at R399 a month. Nothing has been charged.** Sold out mid-payment: they keep R299 (Q12).
- **VAT:** see the MT decision list. Copy assumes the VAT switch is off, so the total shown is what's charged.

### 3.14 `terms`
- Title **Terms of Use**, meta in mono: **Version 1.0 · 11 November 2026 · 22 sections**.
- The summary box is titled **In brief (not a substitute for the terms)**. Formal register: "Go Around is a planning aid for Part 91 general aviation. It is not an official source of aeronautical information." / "Weather and aerodrome information may be inaccurate, delayed or incomplete." / "The pilot in command remains responsible for every flight decision."
- Body: Satoshi 400 16/26, max 68ch, clause numbers in mono `--tx3` in a 40 px hanging column, headings General Sans 600 18.
- iPad: sticky contents column 240 + text 680 (already there in `flow.css:221-226`. Keep it).
- Placeholders stay visibly marked (`[COMPANY NAME]`, `[FILL IN]`) until MT fills in the ECT s43 details.

### 3.15 `done`
- Tick 72 px (draw 620 ms, then settle).
- **Welcome aboard, {name}.** (`--f-display`, centred). Sign-in path: **Welcome back, {name}.** / **Taking you back to the page you were on.**
- Trial: **Your 14-day Pro trial has started. No card is on file.** Rows: **Plan Pro trial** · **Trial ends 26 Nov 2026** · **After the trial Free. Nothing is charged.** · (only if a claim exists) **DFE claim ✓ Sent · Pending review**.
- Founding Member: **Your Founding Member plan is active.** · **Price R299 / month** · **Renews 12 Dec 2026** · **Anonymous reviews Included**.
- Pill: **Go to my pilot page** (DECISIONS §11: first sign-up lands on the pilot page; today it says "Go to Aerodromes").
- Remove the full-page green `wash()` glow, which conflicts with the no-glow rule.

---

## 4. Sign-in runway: exact geometry (MT priority)

**Problems measured on the live preview** (`runway-before-after.png`):
1. The art is only drawn in iPad landscape. It's centred on the **panel** (x 255.8), not the screen.
2. The runway is a truncated trapezoid (`M168 0 L232 0 L400 260 L0 260`). Its edges meet at y 433, 63 px **above** the "Go Around · Part 91" name line (y 497), so the name doesn't sit on the vanishing point.
3. `preserveAspectRatio="xMidYMax slice"` crops the top 18 px (the far end of the runway).
4. The 8 piano keys aim at 8 different points, none of them the vanishing point.
5. The centreline dashes keep a constant 3 px width (no taper).
6. The tower sits on one side and the plane drifts, so visual weight is off-axis.
7. The `GA` image is the unfinished logo.

**After (mockup, measured in WebKit):** vanishing point at x = 195.0 / 410.0 (screen axis) at both widths and in both themes. The ink centre of "GO AROUND" is 194.75 / 409.75 (−0.25 px).

### 4.1 Projection
viewBox `-200 0 400 240`. **x = 0 is the centreline.** y = 0 is the horizon and vanishing point.
A ground point at lateral **X** (−1 = left edge … +1 = right edge) and depth **z** (1 = bottom of the art) draws at
`x = X·150 / z`, `y = 240 / z`.
Every edge, bar and dash converges on (0,0). Build each mirrored element from **one** list of numbers and draw it at +X and −X, so the two sides can never drift.

| Element | World values | Drawn as |
|---|---|---|
| Runway edges | X = ±1, z 1 → 6.4 | lines (±150,240)→(±23.44,37.5); far bar between them |
| Threshold bars (piano keys) | 4 per side, X = [.16,.28] [.34,.46] [.52,.64] [.70,.82], z 1.04 → 1.26 | quads, mirrored |
| Designator zone (name) | z 1.30 → 2.0 (y 184 → 120) | HTML overlay, see 4.3 |
| Centreline dashes | X = ±.014, length .32, gap .30, from z 2.05 to 6.3 | tapered quads (they get thinner with distance) |
| Edge lights | X = ±1.07, z = 1.0, 1.6, 2.2 … 6.4 (equal world spacing) | circles r = .5 + 2.1/z |

Generator: `mockup/runway.js` (`runwaySVG()`), 35 lines with no dependencies. It outputs one static SVG (about 2.4 KB), which can be pasted inline.

### 4.2 Placement CSS
```css
.hero{position:relative;height:50svh;min-height:380px;display:flex;flex-direction:column;align-items:center;
      padding-top:calc(env(safe-area-inset-top) + 28px);overflow:hidden}
.art{position:absolute;left:50%;bottom:0;width:min(100%,640px);aspect-ratio:400/240;
     transform:translateX(-50%);container-type:inline-size}
.art .rw{position:absolute;inset:0;width:100%;height:100%}          /* preserveAspectRatio="xMidYMax meet" */
.rw-edge{fill:none;stroke:var(--rwLine);stroke-width:1;vector-effect:non-scaling-stroke}
.rw-bar{fill:var(--rwBar)} .rw-cl{fill:var(--rwCl)} .rw-lt circle{fill:var(--rwLt);opacity:.7}
/* Pearl */    --rwLine:rgba(17,17,20,.30);--rwBar:rgba(17,17,20,.16);--rwCl:rgba(17,17,20,.26);--rwLt:#0019C9
/* Midnight */ --rwLine:rgba(245,245,247,.30);--rwBar:rgba(245,245,247,.14);--rwCl:rgba(245,245,247,.26);--rwLt:#F5F5F7
```
- Use `meet`, not `slice`, so nothing is ever cropped. The fixed aspect ratio plus `left:50%; translateX(-50%)` puts x = 0 on the screen axis at every width.
- An SVG mask (0.25 → 1 → 1 → 0) fades the far end and the bottom into the page, so no hard edge meets the form.
- No glow, blur or filters. Static under every setting. The lights don't twinkle (the current twinkle/beacon/drift loops in `ipad.css:139-145` count as pulse effects under MT's rules; remove them).

### 4.3 The name, painted like a runway designator
```css
.rw-name{position:absolute;left:0;right:0;top:58%;height:13%;display:flex;justify-content:center;align-items:flex-end;
         perspective:22cqw;perspective-origin:50% -446%;pointer-events:none}   /* origin = the vanishing point */
.rw-name b{font:600 6.2cqw/1 'Clash Display';letter-spacing:.08em;margin-right:-.08em;   /* cancels the trailing tracking */
           color:var(--name);transform:rotateX(58deg);transform-origin:50% 100%;white-space:nowrap}
```
- **Optical centring:** letter-spacing adds space after the last glyph. `margin-right:-.08em` removes it, so the ink (not the box) sits on x = 0. Measured: −0.25 px at 390 and 820.
- `cqw` units scale the name with the art, so it fills the same share of runway width at every size: 6.2cqw ≈ 61% of the runway width at that depth.
- `perspective-origin` sits at the vanishing point, so the letters foreshorten towards the same point as the runway.
- Text: **GO AROUND**, set as type. No logo mark. When MT's logo is done it can replace the type in the same box.
- `aria-hidden="true"`. The page `<h1>` carries the meaning.
- Landscape iPad: put the same `.art` inside `.ipad-brand` with `width:100%` of the panel. The axis is then the panel centre. Drop the tower, or mirror it on both sides at the same opacity.

---

## 5. Motion between steps

**Today:** a full page reload per step. 420 ms spinner wait, 160 ms fade-out, network load, then a 340 ms `vtIn` with `(.16,1,.3,1)`. The top bar and dock re-render, so the Continue pill blinks. The tap-to-next-screen time is about 600-900 ms plus the network.

**Spec:**
- **What moves:** only the question block (`.qmid` + its controls) moves. The top bar (Back, progress, step) and the dock stay still. The progress segment fills with `transform:scaleX` 0→1, 240 ms, origin left.
- **Forward:**
  - Outgoing: opacity 1→0 and `translateX(0→-24px)`, **180 ms**, `--ease`.
  - Incoming: `translateX(32px→0)` and opacity 0→1, **300 ms**, `--ease`, starting 60 ms after the outgoing.
  - Focus the new question's `<h1>` (`tabindex=-1`), so VoiceOver reads the question.
- **Back:** the exact mirror (out to +24, in from −32). Answers restored before paint.
- **Spinner:** show it only if the server takes longer than 300 ms (don't wait a fixed 420 ms). Validation that needs no network advances at once.
- **Implementation:**
  - Best: a same-document step router (swap `.qmid` content with the View Transitions API, `document.startViewTransition`). Safari 18+ supports it.
  - If the multi-page structure must stay: cross-document view transitions (`@view-transition{navigation:auto}`, Safari 18.2+), with `view-transition-name` on `.top`, `.acts` and `.qmid`, so the bar and dock are shared and stay still. The current `vtIn` stays as the fallback.
  - Files: `flow.css:89-97`, `mock.js go()` ~l.663-684, `mock.html` head script.
- **Selection:**
  - Chip and card select: 140 ms bg/colour and a check scale of .6→1.
  - Press: `scale(.97)`, 100 ms.
  - No hover lift. No infinite loops anywhere.
  - Remove `pbFloat` / `pbGlow` (v3.css:19-30) and the coloured `0 10px 22px -12px var(--a)` shadow on `.pb.pri` (v3.css:9).
- **Errors:** one shake, 6 px, 300 ms (today it's 420 ms). Message fades in over 200 ms.
- **Reduced motion:** everything jumps to its end state. Only opacity fades ≤120 ms remain.

---

## 6. iPad specifics (A16 iPad, Safari, 820×1180 portrait / 1180×820 landscape)
1. **Keyboard:** `ipad.css:56-62` locks `html` to `100dvh; overflow:hidden` in landscape. The iPad keyboard (about 400 px in landscape) then covers the password field and the Sign in pair, and the page can't scroll. Remove the lock and let `.stage.v2` scroll. On field focus, call `scrollIntoView({block:'center'})` after `visualViewport` resize. Pin docks with `bottom: env(keyboard-inset-height, 0)` where supported, otherwise follow `visualViewport.height`.
2. Use `svh` for layout heights (the hero `50svh`) and `dvh` only for full-screen backgrounds. With `svh` the top half doesn't jump when Safari's bars collapse.
3. Safe areas: `viewport-fit=cover` + `env(safe-area-inset-*)` on the top bar, dock and hero. iPad portrait has a 24 px top inset and a 20 px bottom (home indicator).
4. Max widths: sign-in form 440, steps 560, terms 680 (+240 contents). The art is capped at 640.
5. On iPad the dock follows the content (it's one centred group), not the bottom of a 1180 px screen. The current top layout leaves a 600 px gap between the last chip and Continue.
6. Hover styles only inside `@media (hover:hover)` (an iPad with a trackpad gets hover, touch doesn't).
7. The landscape legal line breaks into three pieces (`By continuing… the` / `and` / `.`, with the links pushed right). `.legal` sits inside a flex `.acts`, so give it `display:block; width:100%; text-align:center`.

---

## 7. Accessibility
- Every field has a visible `<label for>` (no placeholder-as-label). Errors are linked by `aria-describedby` and announced in `aria-live="assertive"` slots (already present, keep them).
- Single-select uses `radiogroup`/`radio`/`aria-checked` with roving tabindex (role cards, category, licence). Multi-select uses `checkbox`/`aria-checked` (ratings). Disabled uses `aria-disabled` + a described-by helper, not `display:none`.
- The progress bar has `role="progressbar"` with `aria-valuenow`. Step changes move focus to the new `<h1>`.
- Contrast: body ≥4.5:1, large text and icons ≥3:1, focus ring 2 px `--selLn`, offset 2. Fix Midnight links (`#0019C9` → `#9AA3FF`), the disabled pill, and 9-11 px labels.
- Targets ≥44×44 (today the Forgot link, the legal links and the 32 px round back are smaller).
- `prefers-reduced-motion` covered (§5). `autocomplete` on every field (`email`, `current-password`, `new-password`, `one-time-code`, `name`, `username`, `bday-*`).
- Code boxes: one input with `autocomplete=one-time-code`, so the iOS keyboard can fill it.

---

## 8. Complete prioritised fix list (every screen audited)

**P0: wrong facts or rules (fix before any real sign-up)**
1. Remove **Continue with Google** + "or" (`signin-a`, mock.js l.143-145; `.pb.google` v3.css:17-18). No Google at launch.
2. Add the **email-code flow** (`signup-email`, `verify`, `password`), with the code before the password and the trial only after verification. Sign up on `signin-a` must not set a password.
3. **Founding Pilot → Founding Member** everywhere (PLANS l.78, trial l.290-295, plan l.297-305, done l.326, `.ib-note` l.610).
4. "Keep R299 a month **for life**" (trial l.295) → **while they stay subscribed**.
5. "Unused trial days are **added on top**" (plan l.305) → **dropped**.
6. The **MLINE** "no refunds" strip (l.115) → remove; use the qualified fine print (§3.13).
7. Checkout tick must mention the **cooling-off waiver** (ECT s44), or MT's own wording.
8. Remove "This email already has an account" (`state=email-used`, l.133). Always "We sent a code" (A1).
9. DFE claim copy: "before the **blue tick** shows" → **before any badge shows**. Never "claimed" before approval.
10. Licence chips: multi → **single-select** (l.1026), plus the **DFE needs CPL/ATPL** rule.
11. The `GA` image is the unfinished logo, so remove it from `signin-a` (`.hero3 .logo-reserve`), the top bars (`.logo-slot`) and `.ib-logo`. Use type ("GO AROUND" on the runway) or nothing.

**P1: rule breaks (MT's design rules)**

12. **Glow/pulse:** `pbFloat` + `pbGlow` + the `.pb::after` halo (v3.css:19-30), the coloured pill shadow (v3.css:9), `wash()` full-page green light, `.tks` blur shadow, tower beacon / plane light twinkle (ipad.css:139-145).
13. **Blur budget:** `.pb.gls` uses `backdrop-filter` on every secondary pill (v3.css:10, signup.css:399/459), and real blur is only allowed on the top bar, nav pill and named sheets. Use a solid `--sec` fill with a hairline.
14. **Curves:** replace `(.16,1,.3,1)`, `(.2,.8,.2,1)` and `ease` with `--ease` (`.32,.72,0,1`) everywhere they move something (flow.css:89-99, ours.css:129-244, signup.css:58-461, done.css:9).
15. **Type:** 39 sizes → the 9 tokens in §2.1. Nothing under 12 px.

**P2: layout, alignment, symmetry**

16. Sign-in **top half = GA area** with the §4 runway at 390 and 820 (portrait currently has no art).
17. Fields **directly above** the Sign in | Sign up pair. Forgot link between them, right-aligned.
18. Questions **centred** (horizontal + vertical) on every step. Controls stay left-aligned for scanning. Retire the `?layout=top|center` switch and keep the centred version (§9).
19. iPad: dock follows content. Consent page in the same 560 column.
20. iPad landscape: legal line broken (§6.7). Runway on the panel axis. Tower removed or mirrored.
21. Done screen: the tick is left-aligned at `-10px` margin (done.css:4) while other heroes are centred. Centre it.
22. Top bar: the step count pill on the right and the 44 px round back on the left are different widths, so the progress bar sits 6-10 px off-centre. Use a 3-column grid of 96 / 1fr / 96.

**P3: interaction**

23. `aviation`: **auto-advance** (no Continue), 260 ms hold, keyboard never auto-advances.
24. **Back** labelled, 44 px, top-left, state preserved, reverse slide (all steps).
25. Step changes: no 420 ms fixed wait. Spinner only after 300 ms. The top bar and dock stay put (§5).
26. Step count "n of N" changes mid-flow → "Step n".
27. Role cards and category chips use `aria-pressed` → radio semantics.

**P4: polish**

28. Midnight: GA mark/links `#0019C9` on black (~2:1) → `#9AA3FF` for links.
29. Disabled pill: 36% opacity accent (~2:1) → tinted neutral with `--tx3` text.
30. Capitalisation: sentence case on every button ("Go to aerodromes", "Start my trial", "Back to plans"). One word for the same thing: "ATO" (not school/academy in UI), "Pro trial", "Founding Member", "pilot page".
31. Done CTA → **Go to my pilot page** (DECISIONS §11).
32. Terms "In plain words" → **In brief (not a substitute for the terms)**, formal register (§3.14).
33. Trial screen says "anonymous" three times. Say it once.
34. Prices: one format, everywhere: **R299 / month** in headers, **R299.00** in checkout rows. Today the strings vary: "R299 / month", "R299 per month", "R299 PER MONTH" and "R299 a month".

---

## 9. Top vs centre (Go Around recommends top)
**Recommendation: centre for question steps, with the dock inline under the answers on iPad and anchored at the bottom on phone.**
- MT asked for centred questions. Centre gives one optical centre per screen, and it reads as premium. Top leaves a big empty middle on short steps (DOB, role).
- Go Around's keyboard point is real, but it's solved by `scrollIntoView` + `visualViewport`, not by the layout. When the keyboard opens, the centred block shifts up in one 240 ms transform.
- Go Around's "fields stay in the same place" point is solved by keeping the top bar and dock fixed (§5). Only the question block moves.
- Keep **top** only for long forms (terms, consent, plan, checkout), where content scrolls.

---

## 10. Decisions only MT can make
1. **VAT display.** DECISIONS says prices exclude VAT with the switch off. While it's off and you aren't VAT-registered, the shown price is the total, so the copy is fine. If the switch is ever turned on, consumer prices must be **shown VAT-inclusive** before checkout (CPA s23 / VAT Act s65). Decide now how the UI will show it then: "R344 / month incl. VAT", not "R299 + VAT". Ask @Lawyer.
2. **Green vs blue DFE tick.** This spec uses green only for "picked / sent" (the app's existing `.ptick`) and leaves verified to the locked badges. If MT wants green as the verified mark, that conflicts with DECISIONS §10 (blue tick = verified + paying).
3. **Checkout tick wording.** Q18 says MT is writing it. Mine is a placeholder that includes the cooling-off waiver.
4. **Licence ladder.** MT said PPL/CPL/ATPL are single-select. I made the whole row (SPL, PPL, CPL, ATPL, NPL) single-select as "highest licence". Confirm that NPL and SPL can't be combined with PPL.
5. **Founding card colour** is undecided (compass badge), so the mockup uses the accent for the seat bar only.
