A quantum-mechanically informed continuum model of hydrogen embrittlement