Legal research, writing, and analysis