# QA report: dark redesign

QA lead, 2026-11-17. Server: `php artisan serve --port=8105` with `DB_CONNECTION=sqlite DB_DATABASE=.../database/database.sqlite` as process environment (`.env` not touched). Written item by item; the summary at the top is filled in last.

## Summary

**Final numbers:** `php artisan test` **289 of 289 pass** (2009 assertions). `php scripts/parity/check.php`: **15 pages pass, 0 differences** (5 `og:image` warnings on the device pages, unchanged from before). Parity self-test: all pass. `npm run build`: passes. Database: 0 users, 0 content overrides, 0 page_meta, 0 settings, 0 redirects. `.env` not touched; only the port-8105 server was used.

| Item | Verdict | Evidence |
|---|---|---|
| 1. Home parity | PASS | All 21 differences are structural consequences of the approved concept (section order, 4 added pictures, 2 decorative images and a decorative Lottie removed); 16 entries in `scripts/parity/approved/home.json`; no wording, link or alt text was missing or changed |
| 2. Home vs approved concept | PASS after fixes | Side-by-side rest/mid/end sheets `storage/app/qa/dark/concept-compare/cmp-*.png`; all eight explicit owner choices honoured; additions judged (one open point: the picture under the closing buttons) |
| 3. Visual review, 15 pages x 3 widths | Done, fixes made, weak spots listed | ~650 real scrolled viewport frames in `storage/app/qa/dark/{page}/` |
| 4. Owner gallery | PASS | 30 WebP files + `index.json` in `storage/app/qa/dark/gallery/`, all < 400 KB |
| 5. Final-build checks | PASS | console/CSP 0 errors, contrast 0 failures, JS-off/reduced-motion 0 hidden, SEO smoke 0 fail, links 0 broken, no horizontal scroll, one h1, Poppins/Rubik only, 0 image 404s, 0 video bytes before play, Stripe x6 and iframes x3 intact |
| 6. Behaviour | PASS | bar, menu (focus trap, Escape), cookie (Accept, Decline, reopen), touch + wheel through every pinned scene, dropdowns by mouse and keyboard, wordmark spotlight, video modal x2, FAQ, table, carousel by keyboard |
| 7. Performance | PASS, 1 fix | -32% initial / -29% scrolled vs the last run; smooth at 4x CPU; phone living light made cheaper; Lighthouse home 94/96/100/100, pricing 92/96/100/100 |
| 8. Admin round trip | PASS | statement, new image field and Premium price edited in a real browser and seen on the public pages, all reset, admin deleted |
| 9. Clean-up | Done | lottie-web removed, tilt rule moved into the kit, admin guide updated, deployment guide checked; DISCOVER NOW already points at its original target (`/request-demo/`) |

### Fixes made in this pass (file paths)

1. Pinned scenes left a hard empty band below them on windows taller than 780 px: `--stage-h` now the full viewport (`resources/css/site/tokens.css`). All pages.
2. Hard seams between the hero landing, the services scene and the laptop: fade to night (`resources/css/site/pages.css`).
3. Services scene: title and lighting names overlapped mid-scroll (`pages.css`).
4. Strength lines rendered grey instead of white (`resources/css/site/motion.css`).
5. Footer wordmark: the dot of the "i" was cut flat on every page (`motion.css`, `resources/css/site/layout.css`).
6. +500 photo band: soft top and bottom edges (`pages.css`).
7. Turning screens (home, Inventory) passed through a near-empty state between cards: cards now hold, then turn (`resources/js/site/motion.js`).
8. Inventory on phones: screens stuck to the top of an otherwise empty stage (`resources/css/products/scenes.css`).
9. Leads Center and Website heroes on phones: bottom half of the pinned stage empty (`scenes.css`).
10. CRM Quick Deals: laptop started edge-on and invisible (`scenes.css`).
11. Kit tilt rule now covers the Products CSS devices; duplicate removed (`motion.css`, `resources/css/products/base.css`).
12. Living light on phones: blur removed, 61 -> 91 fps and 0 long tasks at 4x CPU (`motion.css`).
13. Tooling and docs: `scripts/parity/approved/home.json` (+16), `scripts/parity/lib/Approved.php` (`lottie-remove`), `scripts/qa/admin-e2e.php`, `package.json` / `package-lock.json` (lottie-web out), `docs/ADMIN_GUIDE.md`, `docs/qa/PARITY.md`, `docs/qa/performance.md`, this report.

### Per page: honest design verdict

Look first at the pages marked weak or fine.

| Page | Verdict | Why |
|---|---|---|
| Home | **strong** | The approved concept, faithfully built: DEALERSHIP light window and fly-through, laptop rise, four picture motions incl. the orbit, turning screens, sliding lines, +500, wordmark. The product-links row and the closing picture are the only places that feel less "apple". |
| IDMS | **strong** | Best of the product pages: dashboard tilting flat in the hero, the deal tiles flying out of the monitor, the forms reveal, Pre-Qualification tilt. Long page, but every screen has one idea. |
| Design Studio | **strong** | "Creative" in flowing colour, giant +300 counter (counts up), collage, studio canvas shutter; plans and table are clean. The most energetic page after home. |
| Leads Center | **fine** | Hero with three screens fanning into a stack is good. Below it, the usual statement/picture alternation; the SMS chat picture is lively. |
| Website | **fine** | Hero laptop with tablet and phone gliding in works well. The middle sections lean on the old cartoon SEO and "responsive" illustrations, which are flatter than the rest. |
| Inventory | **fine** | Turning screens are the right signature, but the first card is a cartoon magnifier illustration (content) and the page is short after the scene. |
| Marketing Tools | **fine** | The four tools lighting up around the chat phone is a good idea at 1440; on phones it is a plain column (by design). Rest is a long alternation of six statement/picture pairs: the most repetitive page. |
| CRM | **fine** | Quick Deals laptop standing up and filling the view is good once it starts; the rest of the page is thin (intro + one section). |
| Pricing | **fine** | Clean cards, table and FAQ, giant 100%. The hero illustration (purple globe + 3D character) and the envelope illustration are the old cartoon art and pull it away from the home page's look. |
| About | **fine** | Clear hero, team picture opening like a shutter, Mission statement lighting up. Short; the portrait illustration is the old art. |
| Contact | **fine** | Readable, contact details tidy. The form panel is empty locally (idealers.app only frames on idealers.net), so judge it on the live domain. |
| Request A Demo | **fine** | Laptop tilt hero is nice; then the form panel (empty locally) and the shared blocks. Short page, long shared close. |
| Talk To Sales | **weak (visually)** | Fine to use, but the least designed page: a dim living-light band, the title and an empty form panel locally, then the shared blocks. Nothing memorable; acceptable for a form page. |
| Privacy Policy | **fine** | Exactly what a legal page should be: title band, 72-character lines, tidy cookie table, no tricks. |
| Terms & Condition | **fine** | Same as Privacy Policy. |

### Where the result differs from the approved home concept

- Header: real logo image, Pricing link, Products/Company dropdowns and the old top bar (social icons + phone) above it.
- A row of the six product links (icon + name) right after the services scene (needed: the six original links).
- A play button on the tilting dashboard (the promo video's place).
- Small "01 / 02 / 03" labels on the strength lines and a "Learn More" link under them (old process-step content).
- The +500 counter counts up from 0.
- "#1 DMS Software" close: the "our features" gold tag, "Request A Demo" / "Take a Tour", and the old closing picture (iD logo with laptop) under the buttons.
- DISCOVER NOW goes to Request A Demo (the original target), not to the next scene.
- Footer brand block uses the logo image; copyright line has "Cookie settings".
- Pinned scenes fill the full screen height (concept capped them at 780 px, which left an empty band), seams fade, turning screens hold on each card, and on phones the living light is drawn without blur (performance).

### Only verifiable on a real device or the live domain

- The three idealers.app forms (they refuse framing outside https://idealers.net), so Contact, Request A Demo and Talk To Sales show an empty panel locally.
- Real-phone scroll feel of the pinned scenes (iOS Safari address-bar resizing with `100svh`, momentum scrolling), safe-area insets, `tel:` links, the frosted bottom bar.
- GPU cost of the living light and blurs on a mid-range Android phone (headless measurements use software rendering and are pessimistic).
- Text compression / cache headers (local server sends none), HSTS, Lighthouse on the real host.

### Open decisions for the owner

1. **DISCOVER NOW**: keep it going to Request A Demo (original), or make it scroll to the next scene as in the concept?
2. **Picture under the closing buttons** (iD logo with laptop, on every page): keep, or drop it (at least on home, where the concept had none)?
3. **Old cartoon illustrations** (Pricing globe and envelope, About and Contact art, Website SEO/responsive art, Inventory magnifier): they are original content and stay; replacing them with real product screenshots would make the other pages much closer to the home page.
4. **Talk To Sales** page is plain; accept, or ask for a stronger hero.
5. The shared close (#1 DMS Software + picture) plus footer is about two screens on every page; on short form pages it outweighs the content. Accept, or use a compact close on the form pages.
6. Still open from earlier phases: `og:image` of five device pages, database choice for production (`.env` MySQL is empty), descriptions over 155 characters.

## 1. Home parity

**Result: PASS.** `php scripts/parity/check.php`: 15 pages pass, 0 differences (5 `og:image` warnings on the device pages, unchanged from the previous phase). `php artisan test`: **289 of 289 pass** (2009 assertions). `php scripts/parity/selftest.php`: all pass.

The 21 recorded differences on home, checked one by one against the live page (`scripts/parity` extractor on port 8105), the concept (`docs/samples/home-dark-concept.src.html`) and the brief:

| # | Difference | Verdict | Approval entry |
|---|---|---|---|
| 1-3 | "Preparing for your success...", "Make sure you're prepared...", "Meet Our Services" moved before the six product links | Concept order: the services scene follows the hero directly. The six product links (not in the concept) follow as a row. Same text, same link targets. Structural | `text` run reorder |
| 4 | "Read More" (intro, to /about/) moved before the three statements | Concept places it under the intro paragraph. Structural | `text` run reorder |
| 5-6 | "Test Drive Calendar", "SMS & Voice Call" before the texts | The three titles are the giant changing title of the turning-screens scene (concept). Structural | `text` run reorder |
| 7 | "Learn More" (to /website/) after the three strength lines instead of before | Not in the concept; placed as the close of the strengths (SEO / speed lines relate to the website). Same text and target. Structural, accepted | `text` run reorder |
| 8-10 | "+500", "SATISFIED CLIENTS...", "We're happy..." before Talk to Sales | Concept order (proof, then Talk to Sales). Structural | `text` run reorder |
| 11-14 | h2 "SATISFIED CLIENTS..." / h3 "We're happy..." reported missing + extra | Same move, same levels | `heading-remove` + `heading-insert` x2 |
| 15 | missing `/media/2022/12/blank.webp` (empty alt) | Transparent click area over the old laptop video; the video now opens from the play button on the dashboard (checked: `data-video-popup` link present, named "Play the iDealers promo video") | `image-remove` |
| 16 | missing `/media/2022/12/img-17.png` (empty alt, already approved as decorative) | Decorative curve | `image-remove` |
| 17-20 | extra `screenmac3-scaled.webp`, `marketingscreen-1.webp`, `design-studio-ui-1024x588.webp`, `customwebsitescreen-1.webp` | Pictures the concept introduces, each an `image` field in `home.php` with real alt text (alt texts are the concept's) | `image-add` x4 |
| 21 | Lottie `/media/2022/12/TrD2eun2wR.json` not found | Decorative animation of the old leads section, replaced by the turning screens | `lottie-remove` (new op) |

None of the 21 is missing, reworded or re-linked content, so no page fix was needed. 16 entries added to `scripts/parity/approved/home.json` (idea `"dark"`, each with its reason). The approved layer had no way to record a removed Lottie, so `scripts/parity/lib/Approved.php` gained a `lottie-remove` operation (documented in its header).

Approval entries per page (page file + 13 shared entries on every page):

| Page | Own entries | Approved changes present (incl. shared) |
|---|---:|---:|
| home | 31 (15 modernisation + 16 dark) | 44 |
| about | 4 | 17 |
| pricing | 7 | 20 |
| contact | 4 | 17 |
| idms-idealers-management-system | 3 | 16 |
| inventory-management | 0 | 13 |
| leads-center | 5 | 18 |
| website | 1 | 14 |
| marketing-tools | 2 | 15 |
| crm-system | 1 | 13 |
| design-studio-tool | 10 | 23 |
| request-demo | 6 | 19 |
| talk-to-sales | 4 | 17 |
| privacy-policy | 1 | 14 |
| terms-condition | 0 | 13 |

Only home needed new entries for the dark redesign; the other 14 pages pass with the modernisation layer unchanged.

## 2. Home versus the approved concept

**Result: PASS after 5 fixes.** Evidence: `storage/app/qa/dark/concept-compare/cmp-00.png` ... `cmp-10.png` (each sheet: concept left, live right; rows = `#rest`, `#mid`, `#end`; one sheet per scene: hero, services, the four statements, turning screens, strengths, +500, #1 DMS close, footer) and the real scrolled frames `storage/app/qa/dark/home/1440-*.png`.

Scene by scene the live page matches the concept: same DEALERSHIP light window and fly-through, same landing ("All you need in one platform", product names, teal glow), same laptop rise with names lighting up, same four picture motions (tilt with floating icons, shutter reveal with sweep, devices gliding, orbit around the iDealers hub), same turning screens with the changing gradient title, same three sliding lines, +500, Talk to Sales, #1 DMS close and wordmark footer.

Owner's explicit choices (brief, numbered list): 1 dark palette, no light section on home: yes. 2 no laptop in the hero landing: yes (frame `1440-03`). 3 "Preparing for your success..." with the laptop rising and the names lighting up: yes. 4 statements with the four motions, orbit for "No more juggling" (not a screenshot): yes. 5 turning screens with giant changing title: yes. 6 three oversized sliding lines, no cards/tabs/numbered boxes: yes (see the small "01/02/03" labels below). 7 +500 counter, Talk to Sales, #1 DMS close: yes. 8 footer columns, social icons, flowing wordmark with cursor spotlight: yes (spotlight checked in item 6). 

Builder additions, judged:

| Addition | Verdict |
|---|---|
| Top bar (social icons + phone) above the header | Fine. Thin, quiet, same colours; it is the old site's top bar (content). |
| Row of the six product links (icon + name) after the services scene | Fine. Reads as the natural follow-up of the names that just lit up; small white icon tiles with mint glow, no boxes. Needed to keep the six original links. |
| Play button on the tilting dashboard | Fine. Round, dark glass with white ring and mint glow, tilts with the picture. Opens the promo video (checked in item 6). |
| "01 / 02 / 03" on the strength lines | Fine. Small letter-spaced labels above each line; content from the old process steps. Not numbered boxes. |
| "Learn More" link under the strengths | Fine. Same small mint arrow link style as "Read More". |
| Picture under the closing buttons (`prefooter.image`, the iD logo with laptop) | Acceptable. It sits on the teal glow like a product shot, but it is a busier, more clip-art picture than anything in the concept. Open point for the owner (keep, or drop it on home). |

Fixes made (all also improve the concept, none changes an owner choice):

1. **Empty band under every pinned scene.** The concept's `--stage-h: min(100vh, 780px)` left a hard-edged empty strip under each pinned scene on any window taller than 780 px (120 px on a 1440x900 window, more on a 1080p screen; the glow ended in a straight line). Now `100svh` (`resources/css/site/tokens.css`). Applies to every pinned scene of the kit on all pages.
2. **Hard seam between the hero landing and the services scene** (both glows met in a straight line) and at the laptop's bottom: both stages now fade to night over their last 16% (`resources/css/site/pages.css`).
3. **Services scene crossfade:** the title and the lighting product names were both half visible on top of each other mid-scroll. The title now fades out faster and the names start once it is gone (`pages.css`).
4. **Strength lines were grey, not white,** in their lit state ("24/7 Support", "Fast Speed..."): the number wrapper inherited the description colour. `resources/css/site/motion.css` (`.row` headings use `--ink`).
5. **Footer wordmark: the dot of the "i" was cut flat** (background-clip text only paints inside the line box). Room added above the glyphs (`motion.css`, `layout.css`).
6. Also softened: the top and bottom edges of the +500 photo band (`pages.css`).

Remaining differences from the concept (deliberate): header has the real logo image, Pricing link and dropdowns; hero "DISCOVER NOW" goes to Request A Demo (original target, see item 9), concept scrolled to the next scene; product link row, play button, step numbers, "Learn More" and the closing picture as above; the footer brand block uses the logo image; the counter counts up from 0 (concept showed +500 static).

## 3. Visual review of all 15 pages (1440, 1024, 390)

**Result: done, 6 more fixes; several weak spots remain (listed, not hidden).** Real viewport screenshots while scrolling, one frame per viewport height plus 1/3, 2/3 and the end of every pinned scene: `storage/app/qa/dark/{page}/{width}-{nn}.png` (about 650 frames). Contact sheets used for the review: `storage/app/qa/dark/_sheets/`. Capture script (kept outside the project, it is a QA aid): a CDP loop that scrolls in 250 px steps to each position and waits 650 ms before the shot; the cookie notice is accepted first so it does not cover the frames.

Checked on every page and width: no overlapping or clipped text, nothing hidden under the header, no horizontal scroll, no blurry or badly cropped pictures, no card grids / tabs / numbered boxes (pricing cards and the comparison tables are the allowed exception), phone layouts not cramped (16 px side gutter, body text 16 px, bottom bar never covers a button at rest).

Fixes in this item:

7. **Turning screens (home Lead tools, Inventory) showed an empty screen between two cards**: with a linear `--k` both titles and texts were at 30 % for a long stretch. Now each card holds for the middle half of its range and turns in between (`resources/js/site/motion.js`). Shared by home and Inventory.
8. **Inventory on phones**: the turning screens sat against the top edge with an empty lower half. Moved down (`resources/css/products/scenes.css`).
9. **Leads Center and Website heroes on phones**: copy and screens sat in the top half of the pinned stage, bottom half empty. Centred, Leads screens larger (`scenes.css`).
10. **CRM "Quick Deals" scene**: the laptop started at 72° (edge-on, invisible), so the first part of the scene was a title over an empty stage. Starts at 60°, slightly larger (`scenes.css`).
11. **Kit tilt rule** now also moves the Products CSS devices (`.tilt > .p-dev` in `resources/css/site/motion.css`); the duplicate rule in `resources/css/products/base.css` was removed (item 9 request).
12. (Item 2 fixes 1-6 apply to every page that uses the kit: full-height pinned stages, white strength lines, uncut wordmark.)

Seen and left as they are (judgement, or owner decision):

- **The shared closing block (#1 DMS Software, mac2 picture) and footer** take about two screens at the end of every page. Consistent with home, but on the short pages (Contact, Request A Demo, Talk To Sales) the close is longer than the content.
- **The idealers.app forms** show as an empty light-grey panel locally (idealers.app refuses framing outside idealers.net). On the live domain the form fills it; the white frame then reads as intended. Verify on the live domain.
- **"Your success is our priority" + video** block repeats on About, Contact, Request A Demo and Talk To Sales: same content as the original pages, presented the same way each time.
- **Talk To Sales hero**: a faint living-light band; a thin light rule crosses above the title (part of the band's design). Readable, quiet.
- **Pricing hero illustration** (purple globe + 3D character) and the Contact / Pricing "Not sure which plan" envelope illustration are the old site's cartoon art. They are content, but they are the least "apple-like" pictures on the site.
- **Inventory "inventory management" heading** is lower-case in the content (original wording, kept).
- **Product pages repeat one rhythm** (statement left, picture right, alternating) after their signature scene. Calm and readable, but after IDMS the pattern is predictable; the signature scenes carry the pages.

## 4. Owner gallery

**Result: PASS.** `storage/app/qa/dark/gallery/{page}-desktop.webp` (900 px wide, from the 1440x900 frames) and `{page}-phone.webp` (300 px wide, from the 390x844 frames) for all 15 pages: the real viewport frames of item 3 stacked top to bottom with thin separators, WebP quality 70. All 30 files are under 400 KB (largest: privacy-policy desktop 367 KB; privacy-policy phone uses 12 of its 22 frames at quality 62 to fit). `storage/app/qa/dark/gallery/index.json` lists for each page its key, path, title and, per image, width, height, bytes, frames used and quality. Note: because the frames are viewport captures at real scroll positions, a pinned scene appears in several consecutive frames (that is how it looks while scrolling), and the last frame can repeat part of the one before it.

## 5. Checks on the final build (all 15 pages)

| Check | Result | Evidence |
|---|---|---|
| Console and CSP (`php scripts/qa/console.php`, 1440, page scrolled, cookie accepted) | **PASS**: 0 errors, 0 warnings, 0 CSP violations on all 15 pages; 2 "expected" messages each on Contact, Request A Demo, Talk To Sales = idealers.app's own `frame-ancestors` refusal | `docs/qa/console-latest.md` |
| Contrast (`QA_BASE=http://127.0.0.1:8105 php scripts/qa/contrast.php 1440 ...` and `390 ...`) | **PASS**: 0 failures on all 15 pages at 1440 and 390; lowest 4.24 (home 1440) and 4.13 (home 390), both large display text (threshold 3:1); every normal text >= 4.38 | `storage/app/qa/contrast/audit-1440.json`, `audit-390.json` |
| Text the contrast script skips (fully transparent, no gradient) | Checked by eye: the h1 word "DEALERSHIP" is drawn by the SVG window onto the living light, clearly readable at rest on all three widths (`home/1440-00.png`, `home/390-00.png`, `home/1024-00.png`); "A MODERN" (mint) and "SOFTWARE" (white) are measured normally. The other skipped text is the footer wordmark outline (`aria-hidden`, a logotype). Gradient-filled text (Design Studio "Creative", #1 DMS Software, deck titles) is measured on its colour stops and passes. | screenshots |
| JavaScript off and reduced motion (`php scripts/qa/nojs.php`, 1440 and 390) | **PASS**: 0 hidden content in both modes on all 15 pages | `docs/qa/nojs-latest.md` (1440), `docs/qa/nojs-390-latest.md` |
| `php scripts/qa/seo-smoke.php` | **PASS**: 59 pass, 0 fail, 1 warn (HSTS not sent over plain HTTP, expected locally) | `docs/qa/seo-smoke-latest.md` |
| `php scripts/qa/links.php` | **PASS**: 15 pages crawled, 293 internal URLs, 0 broken, 0 redirecting internal links, all 15 pages reached | `docs/qa/links-latest.md` |
| No horizontal scroll at 390 / 1024 / 1440 | **PASS** on all 15 pages (max `scrollWidth` measured while scrolling the whole page = viewport width) | CDP check |
| One visible real `<h1>`, no skipped heading levels | **PASS** on all 15 pages at all three widths (h1 = the original h1 text on each page; on home "A Modern Dealership Software" with the middle word drawn by the SVG) | CDP check |
| Fonts | **PASS**: only `poppins-400/500/600/700` and `rubik-400/500` (+ `rubik-400-italic` on Privacy Policy, which has italic text) are requested; no third-party font host | CDP check + built CSS |
| Image 404s | **PASS**: 0 broken images on all pages at all widths (after scrolling everything into view); links check 0 broken media URLs | CDP check, links report |
| Video bytes before play | **PASS**: 0 `.mp4`/`.webm` requests on any page before play (cache disabled, page scrolled to the bottom); after play the promo loads in the modal (item 6) | CDP check |
| Six Stripe links | **PASS**: byte-identical and in plan order in the rendered HTML: Pricing `28odULgNc3d70CIdQQ`, `5kA4kb9kK00V2KQ4gh`, `aEU3g7cwW8xr4SYdQS`; Design Studio `00gdUL7cCcNHdpubIL`, `eVa4kb40qaFz716cMQ`, `9AQ7wn54u8xr85a3ci` (also pinned by `BaselineIntegrityTest`) | curl |
| Three idealers.app iframes | **PASS**: `/apply/idealers/embedded/contact`, `/request_demo`, `/talk_to_sales` on their pages | curl |
| New pictures under 250 KB | **PASS**: the six pictures the design added are 23-95 KB, each with AVIF/WebP variants in the manifest | `public/media` |

## 8. Admin round trip

**Result: PASS** (with one expected, environment-only failure). `SaveRoundTripTest` passes inside the full suite (289/289). In a real headless browser (`php scripts/qa/admin-e2e.php`, extended in this pass with the dark redesign's fields and a `--skip-2fa` option): temporary admin `qa-temp@example.test` created with `php artisan site:create-admin` (sqlite override); log in; edit and save through the admin's own Livewire form: home **statement** `intro.title` ("Your success is our priority", the lighting statement), home **new image field** `intro.studio_image` (Design Studio picture beside the first statement), Pricing **Premium price** 199 -> 187, plus the script's existing home h1, About image and About SEO title; each change was on the public page right after saving; other plans unchanged; then every field put back and saved, and the public pages showed the originals again. The three "served from the page cache before editing" steps fail only because this server runs without `PAGE_CACHE=true` (the script says so in its header); not a site defect.

Clean-up: temporary admin deleted, an empty `page_meta` row the About SEO edit left behind (all fields empty = "use original") deleted, sessions cleared. Final database: **0 users, 0 content overrides (`content_values`), 0 page_meta, 0 settings, 0 redirects.** The activity log keeps its 14 lines from this test (it is an audit log; not deleted).

## 6. Behaviour

**Result: PASS, all checks.** Driven with real input events (mouse, keyboard, touch, wheel) through CDP.

At 390 (phone emulation, touch):

| Check | Result |
|---|---|
| Bottom bar | visible, both buttons 48 px high; cookie notice sits above it (notice bottom 758, bar top 768) |
| Cookie notice | shown on first visit; **Decline** hides it and stores the choice, stays closed on the next page; footer **Cookie settings** reopens it; **Accept** hides it |
| Full-screen menu | opens from the menu button, focus moves in, bottom bar hidden, page scroll locked; **30 Tab + 5 Shift+Tab never leave the menu**; **Escape** closes it and returns focus to the button |
| Pinned scenes, touch | swiping (touch events with momentum) from top to bottom reaches the end of home and all eight product pages; no stuck position; every scene's progress reaches 1 |
| Pinned scenes, wheel | same on home and every product page at 390, and on home and Design Studio at 1440 (home: 3 scenes, 38 wheel steps, 3.2 s) |

At 1440 (fine pointer):

| Check | Result |
|---|---|
| Header dropdown, mouse | Products opens on hover, closes when the mouse leaves |
| Header dropdown, keyboard | Enter opens (`aria-expanded=true`), Tab moves into the list, Escape closes and returns focus to the toggle |
| Footer wordmark spotlight | moving the mouse over the wordmark switches it to the cursor-following mask (`.live`, `--mx` follows the pointer); screenshot `storage/app/qa/dark/behaviour-fword-spotlight.png` |
| Video modal, home (play button on the dashboard) and IDMS ("Watch Video") | opens with the promo video, focus inside; Escape closes |
| Pricing FAQ | opens by click, closes by keyboard (Enter on the question) |
| Pricing comparison table | present, 14 rows, 4 columns, caption "Plan comparison" |
| Design Studio testimonial carousel | "Next" by keyboard moves 1 -> 2; Left arrow on the focused viewport moves back |

## 7. Performance

**Result: PASS, one fix.** Full numbers appended to `docs/qa/performance.md` (section "Dark redesign"; history kept). All 15 pages: 3,514 KB initial / 4,420 KB scrolled, **-32% / -29%** against the last modernisation run; home 273 / 459 KB (was 509 / 805), so within the brief's budget. 0 video bytes before play. Scrolling at 4x CPU throttling stays smooth (frame p95 17-33 ms, a handful of long tasks at scene boundaries). **Fix 13:** the living light's 40 px blur was the costliest thing on a throttled phone (home hero idle 61 fps, p95 41 ms, 3 long tasks per 4 s); phones now draw it without the blur: 91 fps, p95 17 ms, 0 long tasks, same look (`resources/css/site/motion.css`). Lighthouse (mobile): home 94 / 96 / 100 / 100, pricing 92 / 96 / 100 / 100; home TBT 230 ms (start-up layout of the scroll scenes); accessibility 96 because Lighthouse reads the unlit (30 %) words of the lighting statements before they are scrolled into view, which is the approved effect.

## 9. Clean-up and open points

| Point | Result |
|---|---|
| `lottie-web` | Nothing imports it (searched `resources/`). Removed with `npm uninstall lottie-web`: gone from `package.json` and `package-lock.json`; `npm run build` passes. |
| Kit tilt rule for the Products CSS devices | Done: `.tilt .shot, .tilt > .p-dev` in `resources/css/site/motion.css`; the duplicate `.tilt > .p-dev` rule removed from `resources/css/products/base.css`. Re-shot: the IDMS Pre-Qualification, Website Live Chat and Marketing Broadcasting devices still tilt flat. |
| Unused `x-ui.*` components | Left in place (allowed). |
| `docs/ADMIN_GUIDE.md` | New subsection "Fields that came with the dark design": every field added on home (mask word, mint highlights, the four new pictures and their alt texts, orbit label, screen-reader button contexts), the removed home decorations, the new Global footer tagline, and the removed device-frame / cursor fields on the product pages (their alt-text fields stay, now "screenshot alt text"). |
| `docs/DEPLOYMENT.md` | Checked; still right. Build is `npm ci && npm run build` (lottie-web removal changes nothing for the server), `site:images` already covers the new pictures (all six have AVIF/WebP variants in `public/media/_v/manifest.json`), and the `cache:clear` step after every deploy matters even more now (cached pages would name the old CSS). No change needed. |
| Hero "DISCOVER NOW" vs "Request A Demo" | Checked in `reference/html/home.html`: the original "DISCOVER NOW" button links to `https://idealers.net/request-demo/`, the same page as the header's "Request A Demo". So the current target **is** the original one; nothing to restore (changing it would also fail parity). The duplication is the original site's. The approved concept scrolled DISCOVER NOW to the next scene (`#s2`) instead; if the owner prefers that, it is a one-field change in the admin (Home > Hero > Button link) plus an approval entry. Open decision. |
| `scripts/parity/lib/Approved.php` | new `lottie-remove` operation; `docs/qa/PARITY.md` documents the dark entries. |
| `scripts/qa/admin-e2e.php` | now also edits the home statement and a new home image field; `--skip-2fa` option. |
