Random First Order Transition (RFOT) theory of glasses, illustrated via the p-spin spherical model. At T_d (dynamic transition), exponentially many metastable states trap the system. At T_K (Kauzmann), configurational entropy vanishes. This simulates the free energy landscape and overlap function q(T).