How democracies prevail: democratic resilience as a two-stage process | Synapse