No A.I. was used, but how about demonic magic? Surely, there is no other explanation for how well written this is, right?