embedding cases to legal design