I have been in this situation before where I was flown out and the company low balled me on salary with 5% pay cut despite the cost of living be way higher. My time and energy was wasted. Trust me, companies do the same things all time to prospective employees. Even for a startup, flying someone out and putting them in a hotel for a night is the cost of doing business and the risk you take for finding the right candi…
if you didn't tell them how much you want to make, they're going to just guess. and it sounds like they guessed pretty well, if they came within 5% of what you currently make. amateur hour advice like "never be the first one to name a price" is nonsense. just tell them what you want and see if there's a fit, or not. it's how business gets done 99% of the time.
What you want. Not what you're making now. For example, I don't currently have any toxic co-workers, but in a move, I take that risk. You've got to pay me enough more to make it worth my while to move.
I've decided that my answer to "How much are you making now?" will be "That's not a relevant number. The two relevant numbers are how much it would take for me to want to take the job, and how much you think I'm worth." (I've never actually tried it, since I've been on my current job for seven years, and I came up with that more recently.)