Typological characteristics of modern law