# Definition of Done

A release candidate is done only when every statement below is true.

## Build and architecture

- The selected framework, exact dependency versions, repository conventions, owners, and deployment path are recorded.
- Strict TypeScript, linting, tests, production build, and package audit pass.
- Public routes render correct locale, direction, theme attributes, metadata, canonical, and `hreflang` before hydration.
- No research-only code, deterministic query backdoors, placeholder domains, or simulated submission remains.

## Design fidelity

- Components consume the token package without undeclared raw brand values.
- Compact, medium, and wide behavior matches the responsive matrix at 320, 390, 768, 1024, 1280, and 1440 px.
- English, French, and Arabic pass light and dark visual regression; System is behavior-tested.
- No clipped translated text, fixed text height, unintended overflow, or theme flash exists.

## Localization and RTL

- Locale key parity, route parity, metadata, and visible-copy inventory pass CI.
- Native French and Arabic reviewers approve all visible copy, errors, metadata, and terminology.
- Arabic uses document-level RTL, logical CSS, selective icon mirroring, and isolation for atomic LTR values.
- Locale switching preserves only approved query state and valid hashes.

## Accessibility

- WCAG 2.2 AA checklist is complete with evidence.
- Keyboard-only use, focus visibility/order, skip link, drawer, dialogs, form errors, status messages, 200% zoom, 400% reflow, forced colors, text spacing, reduced motion, and target size pass.
- NVDA, VoiceOver, and TalkBack critical-path checks pass in the supported combinations.
- No Critical or High accessibility defect remains open.

## Forms, privacy, and integrations

- Legal approves localized consent and privacy behavior.
- Real CRM routing, duplicate handling, idempotency, retry, spam protection, monitoring, and operational ownership pass integration tests.
- Recoverable failures preserve entered values and provide a retry path.
- Analytics is consent-gated, schema-validated, vendor-approved, and contains no entered form values or free text.
- Success copy truthfully matches backend acceptance and next-step behavior.

## Evidence and content

- Every public capability, metric, logo, testimonial, partner, security statement, price, and legal destination has an approval record or is suppressed.
- The illustrative product preview is approved as such or replaced by a governed product capture.
- Placeholder login and sales-contact destinations are removed or replaced.
- Multi-location wording and product-tour medium are explicitly approved.

## Quality and release

- All QA matrix release gates pass in the supported browser/AT matrix.
- Performance budgets pass for EN, FR, and AR on the defined mobile profile.
- Participant testing reaches the Phase 8 cohort and success thresholds; every S0/S1 finding is fixed and retested with the affected cohort.
- Open issue register contains no Critical or High issue and no overdue unowned item.
- Product, Design, Engineering, Content/Localization, Accessibility, Legal, Security, Analytics, and Sales Operations record release approval for their owned gates.
