Speak with your dollars. Even though I was unhappy that the device was broken, my next laptop will probably be a framework. Although I would love if they started selling replacement chassis, mine is bent (that was my own fault).
[0]https://frame.work/products/top-cover-cnc
Cf Apple who charge an arm and a leg for anything above the base config (which admittedly is tight but still usable) because people trust them to not pull such dumb moves.
I buy Apple mainly for reliability (not just that but that's an important factor), and HP is polar opposite of reliable in my view as a consumer.
For the lower end, you can get a refurbished from various resellers all over the internet.
I cannot recommend any non-Apple laptop these days. They are all total shit for run-of-the-mill consumers.
If you're tech inclined you can probably wipe and reinstall windows on a Lenovo thinkpad and come out _okay_, _maybe_.
They do not even come with much crapware. Most of what is there is from the base Windows OS.
You can even wipe the entire SSD on a mac and STILL you have the ability to reinstall macOS without putting in any disc or USB stick. It's just always there waiting
You can also waltz into an Apple store to have it done if you don’t have access to any other machines.