Away you go. If Scotland voted Yes, Scotland would have been outside the EU. That is what that was.
The UK is not exactly showing itself as the best version of itself, but 20 years, since UK devolved from 1 into 4 parliaments, isn't really a long time.
The UK is a solution to the problem of the British Isles. I will give it time. The UK has meant the people living in the British Isles have been able to get along, and live, rather than just fight.