Gravar-mail: XUV-Exposed, Non-Hydrostatic Hydrogen-Rich Upper Atmospheres of Terrestrial Planets. Part I: Atmospheric Expansion and Thermal Escape