Hey there hlious,
Thanks for reaching out to Apple Support Communities. I understand you’d like to know more about your support options for the iPhone 7. I’ll be happy to help with this.
If you purchase a new iPhone, it will come with a one year warranty and there is the option to purchase additional coverage with AppleCare. You can read more about this in the following links:
Apple One (1) Year Limited Warranty
Buy an AppleCare plan
‘Owners of iPhone, iPad, iPod, or Mac products may obtain service and parts from Apple or Apple service providers for 5 years after the product is no longer manufactured—or longer where required by law. Apple has discontinued support for certain technologically obsolete products.’ You can read more about vintage and obsolete products here:
Vintage and obsolete products
The iPhone 7 was released in 2016 so it’s not yet considered vintage or obsolete.
I hope this helps.