Spin torques at terahertz frequencies: From linear response to ultrafast control of magnetic order