Good luck with that.
I'm reminded of my own childhood years, where most families had television, but some didn't (because it would be bad for the children.)
Annecdotally the kids with no TV would visit, and all they wanted to do was watch TV. The ones who had tvs at home played outside.
In reality in environments where kids have phones, it's more important for your kid to have a phone, and learn how to use it, than see it as a forbidden fruit.
Plus of course the fact that you think your 17 year old doesn't have a phone is delusional. They have one. The only question is whether they share that fact with you.
I get where you are coming from, but scary as it seems children don't magically become adults, making good decisions, on the day they turn 18. They become adults by slowly learning how to handle the world, by being guided with each new step, by making lots (and lots) of mistakes.
The areas that you block off completely are the areas where they will be the least mature, the least able to exercise good judgement.
That's typically why "bans" lead ultimately to worse outcomes not better ones.