

Two things. Commercial real estate required for physical book stores is expensive. Amazon has warehouse space, but so does the bookstore company. Volume discounts. Amazon probably sells double the volume of their next biggest competitors. This allows them to purchase the books for cheaper than their competitors. This also goes for shipping. They make the same kind of arrangement with USPS that allows them to purchase shipping at a discount since they buy so much of it.
There are other reasons, but those are the biggest.
I use an Asus 86RU running Asus-Merlin. It ticks all of your boxes.