Kinetic-ballooning-mode theory in general geometry | Synapse