I need a web application that uses an AI engine to read court orders and automatically draft new legal documents from them. The core purpose is content generation, not data warehousing or customer support, so every feature you build should revolve around taking the text of a court order, extracting the relevant facts and directives, and turning that into a clean, properly formatted legal document ready for review. Here’s the workflow I have in mind: a user logs in, uploads pdf or pastes the full text of a court order, chooses the type of legal document they want (petition, motion, response, etc.), and receives a generated draft they can copy or download after payment is done. The AI model must respect legal language and citation standards, summarise or quote accurately from the source order, and leave placeholder fields where human input is still required. Think GPT-4 or similar LLMs fine-tuned for law. Security and privacy are non-negotiable—court orders often contain sensitive information—so follow best practices for encryption in transit and at rest. A lightweight front-end in React or Vue with a clean, lawyer-friendly interface is ideal, backed by a simple Node or Python API that calls the language model. Please document how to swap models or API keys because I may test multiple providers. Deliverables (acceptance criteria) • Fully functional web app (front-end + back-end) deployable on a standard cloud instance • AI integration that parses uploaded court orders and returns draft legal documents in under one minute • Basic authentication and role management • README with setup steps, environment variables, and model tuning instructions • Short video or screenshots proving the above features work in a test environment If you have previous experience with AI content generation in the legal space, even better—let me know.