Build a form tool that fills a PDF template with submitted answers automatically — Formstack's actual document-automation angle. Use Next.js/TypeScript with SQLite, and a PDF-form-filling library such as pdf-lib, which can fill existing PDF form fields programmatically. Let the form creator upload a PDF that already has fillable form fields, created in any PDF editor, and map each field to a question in the form builder. Support standard field types (text, select, date, signature-as-typed-name) in the form builder itself. On submission, fill the mapped PDF fields with the submitted answers using pdf-lib, and generate a completed, downloadable PDF — store it alongside the raw submission data in SQLite. Send the form owner, and optionally the submitter, the generated PDF via a transactional email provider. Do not build a large template library, real e-signature (cryptographically verified) integration, or approval-routing workflows — those are out of scope; a typed name in a signature field is not a legally verified e-signature, and the README should say so plainly. Needs a domain and a transactional email provider; no other external service required.