Legal steps can include obtaining a pre-birth order, completing a second-parent or step-parent adoption, or both, depending on state or country laws. It’s crucial to consult with a legal expert specializing in LGBTQIA+ family law to ensure your parental rights are fully established.