The main differences are that inline styles don't give you the ability to set responsive or pseudo-class variants and that using classes limits you to values defined in your design system.
2. The code you write shouldn't be compromised by the tool you use to write it.