Looks like I'm dead. Like always, what could I have done to avoid this situation? Any advice?
For me what really clinched it was the way that you went from "Pie is too aggressive" to "I agree with Pie on almost everything" without any visible progression in between. Yes, villagers can have messy thought processes, but there was nothing to indicate your perspective was changing and no real reasoning behind it. It looked like you were trying to sponge off of him without making your own reads.
...This
is you outing right? You are scum? I can give you more advice on faking the thought process as scum specifically post-game if you want.
Not to mention he’s been defending you
This should never be a reason to not lynch someone unless you're wolfing. Scum can still defend Town, and they can white knight for villagers who are in trouble, yes? That's not a solid reason for Moozer to not be sussing Lunatic.