I use JPEGs in a PDF. They can be mediocre quality. Using an OK scanner makes a big difference. It's good enough!
I'm required by law to keep physical paper copies for 35 years. So my parallel solution is a cursed filing cabinet, and several crates that describe the content of the filing cabinet. Its ugly, but saves me tons on data archiving, I guess?