AI Risk Detection in Legal Documents — How It Works