Dark age wasn’t really that dark.
It was pretty dim. Technology did go backwards. That was not the first such example - Greece went through a dark age also. They lost a whole reading and writing system that had developed on Crete for example and had to start from scratch.