Short answer
HubSpot's KB: set default colors and fonts for legacy forms embedded externally and on standalone pages. HubSpot recommends the updated editor for new forms, which styles forms differently.
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
Pages with their own CSS may override these.