const AREAS=['What is happening','How long','What you have tried','What you want from this','Practical preferences']; const SCRIPT=[ {q:'What is going on for you right now?',a:"We closed the bridge round in August but on worse terms than I told the team. Since then I have been carrying the gap between what the board thinks and what I think. My co-founder and I barely talk outside of standups. The worst part is the hour after I close the laptop, I just sit there and my head keeps running the runway model."}, {q:'How long has it been like this?',a:"Properly since the round. If I am honest, the sleep thing started last winter. I tell myself it will settle after the next milestone."}, {q:'What have you already tried? Including whether you have spoken to anyone before.',a:"I did six sessions of therapy in 2022, before the company. It was fine, but she did not really get what a board is. I run, when I have time, which is not often now. I tried an app for a month."}, {q:'If this went well, what would be different in three months?',a:"I would be able to switch off in the evening. And I would have one person I can say all of it to without it changing anything at work."}, {q:'Last few practical things. Which language, and when could you usually take a session?',a:"English is easiest. Mornings before ten, or Monday and Friday around lunch. I do not mind who, as long as they have worked with founders."}]; function SafetyCard({onContinue}){return
Before you carry on

Some of what you shared sounds heavy. You do not have to carry it alone today.

If you are in danger now, call one of these. They are free and they answer.

{[['112','Emergency services, 24 hours'],['1411','Linha Nacional de Prevenção do Suicídio e Apoio Psicológico, 24 hours'],['808 24 24 24, option 4','SNS 24 psychological counselling, 24 hours'],['SOS Voz Amiga','800 100 441 (15:30 to 00:30, free), or 213 544 545']].map(([n,d])=>{n}{d})}

A Pausa clinician can also be reached today. The soonest slot is today at 16:30 with Mariana Albuquerque.

Talk to someone now
} function Safety(){return
history.back()}/>
} function IntakeEntry(){const[mode,setMode]=useState(null);const[ok,setOk]=useState(false); return
Save and exit

Tell us what is going on. Once.

Five minutes talking, or five minutes typing. Whichever you can do right now. At the end you see exactly what we wrote down, and you decide what gets sent.

{[['talk','mic','Talk it through','A voice conversation with our intake assistant. Around five minutes. Nobody listens to the recording.'],['type','type','Type it out','The same conversation, in text. Around five minutes.']].map(([k,ic,t,d])=>)}
{[['dl','Your recording is deleted.','Audio is transcribed and then deleted within 24 hours. The transcript is yours.'],['check','You approve it before it moves.','Nothing reaches a clinician until you have read it and said yes.'],['shield','Your fund never sees any of it.','Not the recording, not the transcript, not the fact that you started.']].map(([ic,h,p])=>
{h}

{p}

)}
Read the privacy noticego('#/intake/talk?mode='+mode)}>Start
} function Conversation({mode:m0}){const[mode,setMode]=useState(m0==='type'?'type':'talk');const[area,setArea]=useState(0);const[typed,setTyped]=useState(0);const[paused,setPaused]=useState(false);const[draft,setDraft]=useState('');const[log,setLog]=useState([]); const cur=SCRIPT[area]; useEffect(()=>{if(mode!=='talk'||paused)return;const full=cur.a.length;if(typed>=full){const t=setTimeout(()=>{if(area<4){setLog(l=>[...l,{q:cur.q,a:cur.a}]);setArea(area+1);setTyped(0)}},1600);return()=>clearTimeout(t)} const t=setTimeout(()=>setTyped(x=>Math.min(full,x+2+Math.floor(Math.random()*3))),55);return()=>clearTimeout(t)},[mode,typed,paused,area]); useEffect(()=>{if(mode==='talk'&&area===0&&typed===0)setTyped(Math.floor(SCRIPT[0].a.length*.55))},[]); const send=()=>{if(!draft.trim())return;setLog(l=>[...l,{q:cur.q,a:draft}]);setDraft('');if(area<4){setArea(area+1);setTyped(0)}else go('#/intake/review')}; const live=mode==='talk'?cur.a.slice(0,typed):''; return
{AREAS.map((a,i)=>)}{AREAS[area]}
{mode==='talk'?:
}

{cur.q}

{mode==='talk'?

{live}{!paused&&typed}{paused&&Paused. Nothing is being recorded.}

:
{area<4?'Send':'Send and review'}
}
{mode==='talk'&&}
{log.length>0&&
Earlier in this conversation ({log.length}){log.map((l,i)=>

{l.q}

{l.a}

)}
}

The assistant asks and reflects back. It does not diagnose or give advice.

} const SUMMARY=[ ['What is going on',"Closed a bridge round in August on worse terms than the team knows. Carrying the gap between what the board thinks and what I think. Co-founder and I barely talk outside standups. The hour after I close the laptop is the worst: my head keeps running the runway model."], ['How long',"Since the round, roughly two months. Sleep has been poor since last winter."], ['What I have tried',"Six sessions of therapy in 2022, before the company; the psychologist did not understand the board context. Running, irregularly. A meditation app for a month."], ['What I want to be different',"To switch off in the evening. One person I can say all of it to without it changing anything at work."], ['Practical',"English. Mornings before 10:00, or Monday and Friday around lunch. Someone who has worked with founders."]]; function Review(){const[s,set]=useStore();const[blocks,setBlocks]=useState(SUMMARY);const[edit,setEdit]=useState(0);const[drains,setDrains]=useState([12,3,15,9,16]);const[add,setAdd]=useState(false);const[prefs,setPrefs]=useState(['English','Mornings before 10:00','Mon and Fri lunchtime','Founder experience']); const quotes={12:'"One person I can say all of it to without it changing anything at work."',3:'"Carrying the gap between what the board thinks and what I think."'}; return
{AREAS.map(a=>)}Review

Here is what we heard. Change anything.

Nothing has been sent. This is the summary a clinician would read before your first session.

{blocks.map(([h,t],i)=>
{h}{edit===i?:}
{edit===i?