Late nights and three in the morning
There are two different sleep problems here and they are rarely the ones sleep advice addresses. Neither is solved by a darker room or a cooler pillow.
The first is the evening. You were tired at ten and you are still up at half past midnight, and it is not because you were not tired. It is because the hours after everyone else has gone to bed are the only ones with nothing claimed on them, and going to sleep ends them. The trade is real and it is badly priced: you are buying two hours of thin, half-attentive leisure with a day you will spend underwater. Anyone who tells you to just go to bed earlier has not understood what you are protecting.
The second is three in the morning. The mind clocks on, picks the largest unresolved thing in your life, and works it over in the one state where it has the fewest resources for solving anything — no daylight, no other people, no ability to act, and a body chemistry that makes every outcome look worse than it will at eight. Nothing you conclude at three is reliable, and knowing why that is true is most of what stops the replaying.
Neither book is medical. Insomnia with a physical cause, a new baby, grief, or a pattern that has gone on for months is a doctor's territory, and both say so.


