The science
Singlet state |psi> = (|01> - |10>)/sqrt2. Spin measurements along angles a and b give correlation E = <psi|sigma_a (x) sigma_b|psi> = -cos(a-b). The page computes this independently from explicit 4x4 matrices and compares it with the closed form and with the Monte Carlo average.
CHSH: S = E(a,b) - E(a,b') + E(a',b) + E(a',b') with a=0, a'=90, b=45, b'=135 deg gives |S| = 2sqrt2 = 2.83 for quantum mechanics, while every local deterministic model obeys |S| <= 2. The hidden-variable model here (a shared random angle, outcomes sign(cos(angle - lambda))) gives the linear E = -1 + 2|a-b|/pi and reaches exactly 2. Simplifications: ideal detectors, no loopholes (detection efficiency, locality); real experiments (Aspect 1982, 2015 loophole-free tests) address these. Entanglement cannot send messages: each side alone sees 50/50 random results.