Short answer
HubSpot's KB: smart forms change the form or its options by visitor, such as country or device type (from the browser's user agent). Create them on a page or in a template (Design tools permission).
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
Keep a sensible default form for visitors who match no rule.
3. Related
Smart content rules and form styling.