Any public transport advice?

Hi folks, I’m arriving at the Amsterdam Schiphol Airport. And staying at Stayokay Hostel Utrecht Centrum.

Checking Google Maps, it looks like I can buy a train ticket online at ns.transport-ticket.com

My main question is: is it ok to buy the train tickets at the moment I arrive? Does the price remain the same?

Other than that, I welcome any other advice. It’ll be my first time in the Netherlands.

Looking forward to meeting you all!