Hey Corry, thanks for sharing this!
Another way you can change how Marketo styles things (more of a hack) is to add a callback to:
MktoForms2.loadForm("//app-abd.marketo.com", "XXX-XXX-XXX", XXXX , function(form) {
var mktoForm = jQuery('#mktoForm_XXXX').find('*').andSelf();
// Strips all inline styling
mktoForm.attr('style', '');
// Fights marketo's attempts to add some back. (I really don't like that I've got to do this)
jQuery( window ).resize(function() {
mktoForm.attr('style', '');
});
// Disables mkto stylesheets
jQuery('link[id=mktoForms2BaseStyle]')[0].disabled=true;
jQuery('link[id=mktoForms2ThemeStyle]')[0].disabled=true;
});