Text this: Macroscopic entanglement and phase transitions