When AI hallucinations hit the courtroom: Why content quality determines AI reliability in legal practice