> I think I'm underpaid, but not grossly so.
I wouldn't necessarily call that underpaid. Being underpaid is when you have to choose between the present and the future. If you can both have good and sustainable living conditions, job security and pension with a decent margin you aren't generally underpaid as such. The exception being if your relative wage affects things worth caring about, like being valued by the people around you.