From what I can tell, mana costs rise so that they always take up a certain percentage of your mana. Instead they should use a fixed number of points, so there's a reason to level up magic.
Right now it's pointless to go beyond 30 because spell costs start to eat up your SP like crazy past that point.