Text this: Algebraic Theory of Quadratic Numbers