All the bells and whistles, please

Need advice on a very reliable vehicle new or used like 2021 - present under 40k. Takes 87 octane which is fun to drive and has room for 2 car seats in the back for the grandkids. I prefer a hatchback or SUV. Should have the latest tech like lane keep assist, adaptive cruise, etc.