If your afternoon coffee is leaving you wired at bedtime, try swapping one cup...
https://rafaelssplendidperspective.scriblorax.com/posts/i-love-coffee-taste-but-caffeine-ruins-my-sleep-what-should-i-try-first
If your afternoon coffee is leaving you wired at bedtime, try swapping one cup for rooibos or a gentle matcha