If you're that worried about sleep quality, it's baffling you have not tried cutting out caffeine altogether
By building tolerance and genetics.
If only there was a short-acting stimulant and antidote available as a combo..
“We buy drugs” whitest kids u know : https://m.youtube.com/watch?v=I2AQ6FwpSrc
Anyways, in all seriousness the idea of taking something and then taking something else later to counteract the effects, not good but popular in black, gray, and white market.
I think this weekend I’ll give up caffeine, I’m a slow metabolizer.
Anyway, I gave up caffeine earlier this year and am quite happy with the results. Steady and calm energy, no frantic meandering of thoughts, no clinging to details anymore. Once every few weeks I'm craving the euphoric buzz and drink half an Espresso, but typically regret it later the same day as I'm unable to sleep and, interestingly, tend to wake up in the middle of the night for a couple of days after.
I know that energy drinks use taurine to combat some of the effects of caffeine, but I don't think it will work for sleep.
However, if I have caffeine too early in the day, it makes it harder to clear my mind and sleep that night than if I had no caffeine at all.
For this reason, I aim to only have caffeine after 3pm (preferably later, depending on when I plan to go to bed).