Seagrass genomes reveal ancient polyploidy and adaptations to the marine environment.