So I'd turn it off before sleep (as part of basic "hygiene"), and keep it off (router and phone) for at least the first hour the next day.
I'd wake up and begin working immediately. Usually I'd get so much done this way, that I'd choose to stay offline for a few more hours voluntarily.
This routine I developed to deal with a disability is now being promoted by YouTube influencers as a productivity secret used by billionaires, which I find endlessly amusing!