Create a high-fidelity visual design package for AI Editor RSP core pages using Open Design.

This is a VISUAL DESIGN run, but it must include a compact prototype contract first. Do not skip prototype thinking. Output real files in the project, not just prose.

MODEL ROLE
You are the design agent for AI Editor RSP. Use Kimi's stronger visual direction: warm editorial creator catalog, tactile catalog cards, real product surfaces, dense but elegant page layouts. Do not make a generic SaaS landing page or developer console.

FLOW REQUIRED
1. First create `PROTOTYPE.md`: information architecture, route/page matrix, action hierarchy, copy placement, key states, mobile rules.
2. Then create `DESIGN.md`: visual tokens and component rules. Use CSS variables only; no raw hex outside `:root`. Use system font stack or local-safe font stack only; no Google Fonts or any external font/image/script URLs.
3. Then create the page artifacts below as self-contained HTML files under `pages/` plus one `index.html` contact-sheet / review hub linking all pages.
4. Then create `DESIGN_VERDICT.json` with deterministic self-check results and known risks.

LOCKED PRODUCT FORM
AI Editor RSP is an India-first, unofficial RSP-style AI photo editing prompt library plus lightweight editor entry. Users arrive from Reels/Shorts-style prompt searches and want to find a visual effect, copy the prompt, customize details like outfit/background/lighting, then try it in an editor.

LOCKED H1 FOR HOMEPAGE
AI Editor RSP Editing Prompts

LOCKED SHORT ANSWER
AI Editor RSP helps you find RSP-style AI photo editing prompts seen on Reels and Shorts. Browse viral prompt recipes, copy the text, customize details like outfit or background, then try the edit in your preferred AI photo tool or in the AI Editor RSP editor.

LOCKED ACTION ORDER
1. Copy Prompt — always available, no login, no credits
2. Open in Editor
3. Upload / Generate — only after provider state is visible
4. Upgrade / Pricing
5. Sign in

LOCKED NAV
Logo, Prompt Library, RSP Prompts, Editor, Pricing, Sign in. Homepage must have no active nav item. Every inner page must have the correct active nav state.

VISUAL DIRECTION
Warm editorial creator catalog. Cream paper canvas, graphite ink, saffron/rust CTA, emerald Copy Prompt success, muted pastel chips, tactile 1px hairline borders, asymmetric hero, large product/editor mock, visual prompt cards, before/after proof, dense catalog energy for Indian mobile creators.

CORE PAGE ARTIFACTS TO CREATE
Create all of these as separate complete HTML files:
- `pages/home.html` route `/` desktop-first responsive homepage
- `pages/library.html` route `/prompt-library` prompt catalog with search/filter/sort active UI and 12 prompt cards
- `pages/effect-detail.html` route `/effects/professional-headshot-from-selfie` effect detail with before/after, full prompt, variables, related templates
- `pages/editor-empty.html` route `/ai-photo-prompt-editor` empty state
- `pages/editor-uploaded.html` same route uploaded state
- `pages/editor-loading.html` same route loading state
- `pages/editor-result.html` same route result state with before/after WYSIWYG preview and download/copy actions
- `pages/editor-error.html` same route error state
- `pages/editor-quota.html` same route quota exhausted/paywall state
- `pages/pricing.html` route `/pricing` Free / Pro / Business pricing and credit pack secondary option
- `pages/contact.html` route `/contact`
- `pages/legal.html` combined legal/support design for Privacy / Terms / Cookie / Refund using shared legal layout

Also create:
- `index.html` as a visual review contact sheet with iframe/card links to all page artifacts, status badges, and checklist.

DESIGN SYSTEM HARD RULES
- Use one shared header/footer/component system across all pages.
- No external URLs of any kind: no Google Fonts, no gstatic, no external images, no scripts.
- Put every color token in `:root`; outside `:root`, use `var(--token)` only. No raw hex outside root.
- Do not use Inter, Roboto, Open Sans, Arial as named font families. Use local-safe stacks like Georgia/Charter for display and ui-sans-serif/system for body.
- No emoji icons. Use CSS shapes, text labels, inline SVG with currentColor only, or simple geometric marks.
- Every top-level section must have `data-od-id`.
- Mobile 390/430 must not overflow horizontally. Use responsive CSS.
- Keep Copy Prompt and Open in Editor visible on prompt cards; not hover-only.
- Open in Editor count should match Copy Prompt for prompt cards where actions appear.

COMPLIANCE / CLAIMS
- Do not use the word Unlimited anywhere.
- Do not use endorsed, sponsored, official, partnership, affiliated, authorized, certified, or integration claim language.
- Required disclaimer exact wording: `AI Editor RSP is an independent prompt library. It is not connected to any AI image generation provider or third-party brand.`
- Do not claim generation works before provider state is visible.
- Provider state wording: `Provider connection is checked before generation. Copy Prompt remains available even when generation is unavailable.`

CONTENT REQUIREMENTS
- Prompt cards should feel like real catalog cards, not placeholder boxes. Use CSS-built before/after mini visuals with distinct titles: Cinematic Boy, Editorial Headshot, Product Glow, Wedding Portrait, Festival Look, Streetwear Reel, Studio Saree, Monsoon Mood, Golden Hour, Clean Product, LinkedIn Headshot, Travel Poster.
- Include variable chips: subject, outfit, background, lighting, crop, avoid.
- Pricing must show Free / Pro / Business. Free supports browsing/copying. Pro adds higher monthly generation quota when provider is available. Business is team/admin/support. Avoid unapproved SLA claims.

QUALITY BAR
Kimi visual should be the mother design: product-like, complete, high-density, polished, not a wireframe. GPT-style cleanup is already encoded in the deterministic rules above.

OUTPUT REQUIREMENTS
Write actual files. `index.html` must be directly viewable in browser and link to every page file. `DESIGN_VERDICT.json` must include at least: artifactFiles, outsideHexCountTarget, externalUrlsTarget, forbiddenWordsTarget, expectedCopyButtons, expectedOpenButtons, mobileOverflowTarget, verdict.
