Text this: Arms, alliances and stability