Legal research, analysis, and writing