I'd put the marketing site at whatever.com and the app and app.whatever.com.
You then decide what types of information needs to pass between the two systems. Instead of porting your entire frontend you simple build a few API calls and pull those in with WordPress.
Absolutely needs to be rated higher. I've done this for a few sites and it works wonderfully, not to mention having an API exposed like this gives you opportunities for integration with other people's services, if you choose to go that way.
You'd want to do it as a WordPress plugin, this way you're not fucking around with any core files and it should be upgrade proof (for the most part). Start Here: http://codex.wordpress.org/Writing_a_Plugin
One small thing to take note of though with private plugins is to make sure the name of the plugin is unique enough that it won't collide with another one in the repository. A minor issue though.