Chern-Simons couplings, modular duality, and anomaly cancellation in abelian F-theory | Synapse