That being said, it appears that OP is having a case of “buyer’s remorse”.
There is almost nothing OP cannot achieve after doing well at a top- 40 LAC.
One can get into good grad/professional schools, if desired. And after attending if OP doesn’t like it there he/she can transfer. In my family we have both of these cases.
No permanent tragedy befell either of them.