feat(security): enforce TLS on DATABASE_URL in prod (CVG-59) and magic-byte upload check (CVG-58)
CVG-59: Zod refinement on apps/api env validator; mirror in apps/worker. Production must include sslmode=require/verify-ca/verify-full unless ALLOWED_DB_PLAINTEXT=true (escape hatch for Cloud SQL Auth Proxy etc). Dev unchanged. CVG-58: validateMagicBytes() in @cv/file-upload checks the first bytes of the buffer match the declared MIME (%PDF for application/pdf, PK\x03\x04 for DOCX, valid UTF-8 for text/markdown). Wired into validateFile() so MIME spoofing fails fast before pdf-parse/mammoth see the bytes. 10 new tests.