Each stat has it's own mastery.

To view them, click the "Mastery" button.

To level up a mastery, you have to get enough mastery points.

Leveling up a mastery gives you +1 in the respective stat.

The amount of points required is 12 + level/10 rounded down.

You randomly gain mastery points through combat.