Whoever Tosses the Tail After a Head

Players A and B take turns tossing a fair coin, A going first, and all the tosses are written into one sequence. The game ends the instant a head is immediately followed by a tail, and the player who tossed that tail wins.

What is the probability that A wins? Answer format: round to 3 decimal places.