# Go Around account entry

`/login/` serves Sign in and Create account. `/signup/` opens the Create account tab, and existing password-reset links still work.

`signup-api.js` wraps requests and the browser passkey ceremony. `signup.js` uses the templates in `site/login/index.html`.

19 Nov 2026 (MT): the sign-in and Create account screens use our 12 Nov design (go-around-design `3c13373`, branch `design/auth-signin-signup-12nov`). Its stylesheets load in their original order: `signup.css`, `v2.css`, `v3.css` (the 12 Nov copy), then `signup-hookup.css`, which holds the 12 Nov `ours.css`, `done.css`, `flow.css` and `designer.css` followed by the 19 Nov hook-up layer. Create account is seven mini steps in design B's order ("Step X of 7", MT 19 Nov 05:44): how (Google / email / email code, over the big runway), email + password and the code, name + username, date of birth + optional gender and nationality (both selects; no 18+ tick, the date proves it and the required `age_18` tick is sent from it), what describes you, category + licence + ratings in one card, then the terms ticks and Create account. It shows the site's own top bar. v5 (MT 19 Nov 06:16–06:21): the top bar shows on every screen and its gear opens the site's Settings sheet; under the 12 Nov progress line one small text line reads "‹ Back" and "Step X of 7" (no Back pills, no Back at the bottom; Continue only, full width); steps 5 and 6 are the 12 Nov "What describes you?" and "What do you hold?" screens, with a self-declared / V-DFE note; Sign in has the same big runway as step 1; pills use the 12 Nov glass float while pressed; iPad and desktop (744px+) use a split layout with five steps (about you; describes + licences). The theme still comes from `/login/entry-theme.js`; the landing and directory pages keep `/login/entry.css`.

v6 (MT 19 Nov 08:47–08:52): only a Pilot gets "What do you hold?"; Aviation enthusiast and Still figuring it out go straight to the terms ("Step X of 6") with "You can add a licence later in your profile."; on iPad and desktop the licence part shows only for Pilot. iPad and desktop now use a full-page blurred, dimmed runway with the screen's header top-left (left 40%) and the form in a glass card under it. `/api/auth/config` also returns `trial_on`, `trial_days`, `min_age`, `signups_paused` and `checkout_open`, and the page follows them (trial line, age, paused sign-ups). New states: sign-in lockout card (server's words), Caps Lock warning, Settings focus trap, step announcements, resend countdown, offline strip, "Sign in instead" on `account_exists`, an optional promo code (page only; no server check yet). After Create account comes "Choose your plan": names and prices from `GET /api/prices`, and `startCheckout(offerId, promoCode)` posts to `POST /api/pay/checkout`, then to the gateway.

v7 (MT 19 Nov 09:28–09:38): Sign in is a "Sign in with passkey" pill (it opens "Waiting for passkey verification…" with Cancel) next to a small round Google button, a closed "Sign in with email" pill that opens the fields, and a Create account pill; the email sign-in code is only on Forgot password. Create account step 1 is three equal stacked pills with one icon column. "Flight school (ATO)" joins What describes you: no licence step, the listing claim (`POST /api/me/school-claims`), then the ATO plans; a DFE is a Pilot who ticks DFE. A manual-check note sits on the claims and by the DFE tick; optional fields say "(optional)" inline. A live pass preview (the user-page pass: glass, gold Founding foil, Pro) shows `.dfe` / `.official` as pending verification. After Create account comes design B's payment flow in our style: the 14-day trial welcome, plans by audience with the gold Founding card (no seat count), Confirm your plan, the gateway return states (`/login/?pay=return&checkout=ID`), sold-out switch to Pro, and Welcome aboard with Add a passkey. Prices always come from `GET /api/prices`.

The server verifies account eligibility, email codes, legal versions and consent, Turnstile, and continuations. The form keeps passwords, codes and verified signup tickets in the current page only. Completing an account may start a trial on the server. Optional aviation details and DFE claims use the existing member endpoints.
