Text this: Democracy and foreign policy