Prioritizing compactness on a Phone while maintaining privacy (& security) within the constraints

iPhone 17 will give you that in a 6.1" body. Only difference here is if you want more freedom and DIY or a prettier & a privacy and secure enough OS that’s not open.