Hi @dbozentka,
It should be possible to conditionally change the text based on query parameters when using the New Universal Login experience. Please see our Using Custom Query Parameters in the New Universal Login Experience knowledge solution for more information.
However, you might encounter limitations if you need to render different UIs for the password reset page by differentiating between an invite flow and a traditional password reset flow based on query parameters. The partial prompts feature only supports customization for the following prompts:
Thanks,
Rueben