Ukraine's Marta Kostyuk won her first WTA 1,000 title at the Madrid Open by beating Russia's Mirra Andreeva 6-3, 7-5. The 23-year-old world number 23 became only the second player outside the top 20 to win the tournament.