We have collectively decided that the morning is where the magic happens. There are entire libraries devoted to the perfect first hour. Meanwhile the hours that most determine how that morning will feel, the ones right before sleep, are left to whatever happens to be on the screen and however late the scrolling runs.
This is backward. A good morning is mostly built the night before. If you want to wake up feeling like yourself, the highest-leverage ritual you have is not the one that starts the day. It is the one that ends it.
Give the day an edge
The first principle of a good evening is that the day needs a clear edge, a moment where work stops and the wind-down begins. Without one, the day simply trails off into bed, work thoughts and all, and the nervous system never gets the signal that it is allowed to stand down.
So draw the line on purpose. Pick a time, even a loose one, when the working day is declared over. Close the laptop with a small bit of ceremony. Tidy the desk. Change clothes. The specific act matters less than the fact of it. You are telling your body, unmistakably, that the part of the day that required vigilance is finished.
A good morning is mostly built the night before. The most underrated ritual you have is the one that ends the day, not the one that starts it.
Lower the light, lower the temperature
Two physical levers do most of the work in the last hour, and both are about sending your body the right signals for sleep.
The first is light. As the evening goes on, bring the lights down. Switch from bright overheads to low, warm lamps. Dim, warm light in the evening is the counterpart to bright light in the morning: it is the cue that the day is ending. Bright white light late at night sends the opposite message, which is one reason a late-night screen can leave you wired when you finally put it down.
The second is temperature. Bodies tend to sleep better as they cool. A warm bath or shower an hour or so before bed works with this rather than against it: you warm up, then cool down afterward, and that downward drift is part of how the body settles toward sleep. A cool, dark room does the rest.

Put the day down
The last piece is mental, and it is the one most people skip. The mind does not stop simply because the lights are off. If anything, the quiet is when the unfinished thoughts come looking for you.
Give them somewhere to go before bed rather than in it. Some people keep a notebook on the nightstand and write down whatever is still circling: the thing to do tomorrow, the worry, the loose end. The point is not to solve it. The point is to set it down, so your mind can stop holding it open. A few slow breaths once you are lying down help too. The aim is simple: arrive at sleep already most of the way there, rather than asking your body to slam on the brakes from full speed.
Keep it gentle
As with any ritual, the version you will actually keep beats the perfect version you abandon. You do not need a ninety-minute routine. You need an edge to the day, lower light, a cooler room, and a way to put your thoughts down. Even a loose version of that, done most nights, changes how the next morning feels.
End the day on purpose. The morning takes care of itself.