Making AI accessible through foundational teaching