Legs reset the players to 501. A set goes to the first player to win three legs, except when the deciding-set tiebreak applies. That reset matters: a player who loses two sets 3–2 can win the next one 3–0 and lead 7–6 in legs while trailing 2–1 in sets.