Legs twisting in rig
The rest position of the knees have a slight backwards bend to them, but they should instead have a forward bend.  Once the bend was added, zero-out the rolls on each bone to 0 degrees, and in the IK constraint settings, change the Pole Target angle on leg bottom.R to 0 degrees, and the leg bottom.L to 90 degrees.