Joking aside, Strathkinness could be a good choice.
I second this wholeheartedly.
Disclosure: I live in Strathkinness.
Rent/property prices are significantly cheaper than St Andrews.
Excellent, and I mean excellent, local pub/restaurant.
You’re 5 minutes from St Andrews, 20 minutes from Dundee, less than 1 hr to Edinburgh airport.
Biking from the doorstep to Blebo/Kemback which has something for everyone. Short-ish trails but quick back up to the top and sooooooo much to choose from/link together. I reckon I could do 2 hours in there and not ride the same track twice. Tenstsmuir single-track within riding distance, trails north of Dundee/Pitmedden/Falkland within ½ hr drive. Comrie/Ochils within an hour.
I’ve been here 6 years, after 8 years in Edinburgh and previous life in Sheffield. Can’t imagine living anywhere else now.