Brain Activity Patterns Reveal Distinct Stages Of Thinking