# Components

Every page is standalone: `index.html` + `<name>.css` (+ `<name>.js` for demo wiring only). Open any `index.html` directly. Use the bar at the top to switch the theme; add `?t=pearl|champagne|midnight|amethyst` to the address, and `&capture=1` to hide the bar.

Each page loads exactly one token file, so the two families never mix.

## Design repo family (`data-t`, ink buttons, Combined B)

| Page | What it shows |
|---|---|
| `buttons` | Ink, Line and Quiet buttons, the Sign in / Create account pair, the Google / Passkey / Email split row that opens in place (64/36 spring), small links, icons |
| `inputs` | Label and field, email, password, username with @, date, select, text area, search, promo, hint, fine print, error line |
| `selects` | Gender (Male, Female, Rather not say), nationality, date of birth, role, category, licences and ratings |
| `steps-progress` | The step bar (3 steps) with the flare in each theme's light, every state |
| `top-bar` | The one top bar with the clock, variants |
| `runway` | One-point-perspective runway, edge lights that switch on once |
| `plan-cards` | Choose your plan (Founding, Pro, Trial, Free, school seats), checkout summary |
| `member-passes` | Founding, Pro, Trial, Free passes and the school pass, with expand-benefits |
| `welcome` | The Welcome screen: one screen, four passes |
| `terms` | The terms line and tick for step 3 |
| `badges` | Badges in the page: tags, medal, name lines, and the full badge sheet with 4K and 8K links |
| `states` | Notices, error line, loading and disabled buttons |
| `ato-claim` | Flight school claim flow: find, claim, waiting, plan, add staff |
| `theme-sheet` | The Settings sheet with the four themes |

## Launch family (`data-theme` + `data-pal`, accent pills, v12 Version 2)

| Page | What it shows |
|---|---|
| `signin-buttons-v12` | Email, Google and passkey pills that open in place, Back, waiting cards, variants and states |
| `inputs-v12` | Fields with icons, password eye and meter, username tick, date of birth, gender, nationality, messages, alerts |
| `email-code-v12` | The six-digit code cells, wrong-code state, resend line |
| `steps-v12` | "Step X of 7" header with the segmented bar and the flare |
| `top-bar-v12` | Top bar with the UTC and SAST clock |
| `runway-v3` | The original `runway.js` (verbatim) drawing the v3 runway |
| `runway-v12` | The v12 hero runway with horizon and lights |
| `plan-passes-v12` | Passes that open to show what is included, school seats, sold out, placeholder |
| `member-pass-v12` | The profile pass in every finish, plus DFE and school pending lines |
| `states-v12` | Loading, paused, lockout, offline line, placeholder |

## Notes

- Design-family CSS is extracted rule by rule from the source files (`tools/cssx.py`), not retyped. In the launch family the source stacked several forced overrides on the pills and a few other rules; the kit folds each override into the rule it overrode, so the look matches and no forced overrides remain. The pill buttons and the footer lines under the sign-in stack are written once by hand from that final look.
- The JS in each page is demo wiring (open, close, type, tick the clock). It is a trimmed copy of the real logic where one exists (`signup.js` sign-in modes and pass toggle, `runway.js`), and it never calls a server.
- Prices on the plan pages are examples (R299, R399, R3,999, R4,999). The live pages read every price from the server.
- Gender is exactly Male, Female, Rather not say. The design-repo sources for v10 and Combined A/B still say Woman / Man / Another gender / Prefer not to say; the kit does not copy that.
