Same-sex marriage laws: grounds for High Court challenge revealed