Igneous rock that forms when magma hardens beneath Earth\\\\\\\'s surface, such as granite