First-principles order-parameter theory of freezing | Synapse