/* Heard's dictation surface, aluminium key and connected glass Parrot pill. */
.voice-demo{--ease-out:cubic-bezier(.23,1,.32,1);font-family:Sohne,Arial,sans-serif;color:#292748}
.voice-demo-top{display:flex;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.04em;color:#847d84;margin-bottom:22px}
.voice-status{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;padding:10px 16px;margin:0 auto 28px;border-radius:28px;background:#252429e8;color:#f6f3fa;box-shadow:inset 0 1px 0 #ffffff29,0 6px 18px #29274813;backdrop-filter:blur(22px);font-size:12px;line-height:20px}
.status-dot{width:6px;height:6px;border-radius:50%;background:#b8acd8}.status-wave{display:flex;align-items:center;gap:2px;height:18px;margin-left:5px}.status-wave i{display:block;width:2px;height:14px;background:#dcd5ed;border-radius:2px;transform:scaleY(.2)}
.voice-conversation{display:flex;flex-direction:column;gap:24px}
.voice-turn{transition:opacity 200ms var(--ease-out),transform 200ms var(--ease-out);opacity:0;transform:translateY(6px)}
.voice-turn[data-visible=true]{opacity:1;transform:none}.voice-turn.you{width:91%;align-self:flex-end}.voice-turn.parrot{width:100%;align-self:flex-start}
.voice-speaker{font-size:10px;line-height:16px;color:#847d84;margin:0 12px 8px}.you .voice-speaker{text-align:right}.parrot .voice-speaker{margin-left:68px}
.voice-dictation{background:#fffffff0;border:1px solid #e1dce5;border-radius:14px;padding:18px 20px 12px;box-shadow:0 8px 22px #2927480d,inset 0 1px 0 #fff;backdrop-filter:blur(22px)}
.voice-dictation p{font-size:18px;line-height:1.45;letter-spacing:-.015em;color:#302d37}
.v-word{opacity:0;transition:opacity 150ms var(--ease-out)}.v-word[data-shown=true]{opacity:1}.voice-turn[data-speaking=true] .v-word[data-current=true]{color:#2f2c9a}
.dict-wave{display:flex;align-items:center;gap:3px;height:24px;margin-top:8px}.dict-wave i{width:3px;height:18px;border-radius:2px;background:#b7b0cf;transform:scaleY(.2)}.dict-wave i:nth-child(3n){background:#8f8bd8}
.voice-companion{position:relative;min-height:64px;filter:drop-shadow(0 6px 10px #2927480b)}
.companion-glass{position:absolute;inset:0;background:#fbf9fcd9;backdrop-filter:blur(22px) saturate(1.8) brightness(1.04);-webkit-backdrop-filter:blur(22px) saturate(1.8) brightness(1.04)}
.companion-rim{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.companion-rim path{fill:none;stroke:#0000001f;stroke-width:.7}.companion-rim path.hi{stroke:#ffffffb3;stroke-width:1;transform:translateY(.6px)}
.companion-bead{position:absolute;left:0;top:50%;margin-top:-22px;width:44px;height:44px;display:grid;place-items:center}.companion-bead i{width:28px;height:28px;background:#1d1d1f;mask:url(assets/parrot.png) center/contain no-repeat;-webkit-mask:url(assets/parrot.png) center/contain no-repeat}
.companion-body{position:relative;display:flex;align-items:start;gap:9px;margin-left:52px;padding:20px 28px 20px 24px;min-height:64px}.companion-body p{font-size:17px;line-height:25px;font-weight:400;letter-spacing:-.01em;color:#302d37}.companion-symbol{font-size:16px;line-height:25px;flex:none;color:#43866c}
.voice-demo-bottom{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:30px;min-height:70px}.voice-key{width:82px;height:64px;flex:none;border:0;border-radius:9px;background:linear-gradient(#f9f9f9,#e3e3e5);box-shadow:0 3px 0 #b7b7bb,0 6px 14px #0002,inset 0 0 0 .5px #0000002e;display:flex;flex-direction:column;justify-content:space-between;padding:9px 10px;color:#3a3a3c;cursor:pointer;transition:transform 120ms var(--ease-out),box-shadow 120ms var(--ease-out);font:10px Sohne,Arial,sans-serif}
.voice-key span{white-space:nowrap;font-size:9px;letter-spacing:-.02em}.voice-key b{align-self:flex-end;font-size:20px;font-weight:400}.voice-key[data-pressed=true],.voice-key:active{transform:translateY(2.5px);box-shadow:0 .5px 0 #b7b7bb,0 2px 6px #0002,inset 0 0 0 .5px #0000002e}.voice-key:focus-visible{outline:2px solid #2f2c9a;outline-offset:5px}.key-instruction{font-size:11px;color:#847d84;max-width:140px}
.voice-outcome{display:flex;justify-content:center;gap:8px;margin-top:28px;opacity:0;transition:opacity 200ms var(--ease-out)}.voice-outcome[data-visible=true]{opacity:1}.voice-outcome span{padding:5px 8px;border:1px solid #ddd5e3;border-radius:6px;font-size:10px;color:#70647c}
.voice-transcript{margin-top:18px;font-size:11px;line-height:1.6;color:#847d84}.voice-transcript summary{cursor:pointer;text-align:center}.voice-transcript p{font-size:13px;line-height:1.6;margin-top:12px}
.voice-demo[data-playing=true] .voice-turn[data-speaking=true] .dict-wave i,.voice-demo[data-playing=true][data-listening=true] .status-wave i,.voice-demo[data-playing=true][data-talking=true] .status-wave i{animation:voice-level 400ms cubic-bezier(.77,0,.175,1) infinite alternate}
.dict-wave i:nth-child(3n),.status-wave i:nth-child(3n){animation-delay:-140ms!important;animation-duration:320ms!important}.dict-wave i:nth-child(4n+1),.status-wave i:nth-child(4n+1){animation-delay:-260ms!important;animation-duration:500ms!important}
.voice-demo[data-playing=true] .parrot[data-speaking=true] .companion-bead i{animation:voice-parrot 260ms cubic-bezier(.77,0,.175,1) infinite alternate}
@keyframes voice-level{from{transform:scaleY(.2)}to{transform:scaleY(1)}}@keyframes voice-parrot{from{transform:rotate(-9deg) translateY(-1px)}to{transform:rotate(1deg) translateY(.5px)}}
@media(max-width:1000px){.voice-dictation{padding:14px 16px 10px}.voice-dictation p{font-size:16px;line-height:24px}.companion-body{padding:18px 20px 18px 20px;gap:6px}.companion-body p{font-size:15px;line-height:23px}}
@media(prefers-reduced-motion:reduce){.voice-demo *{animation:none!important;transition:none!important}.voice-turn{transform:none}.voice-key[data-pressed=true]{transform:none}}

/* Show the context behind the conversation, not another app dashboard. */
.voice-context{border:1px solid #e1dbe9;border-radius:12px;background:#f4f0f7;padding:14px 16px;margin-bottom:22px;font-size:11px;line-height:1.5}
.context-heading{display:flex;align-items:center;gap:7px;color:#625778;font-weight:500;margin-bottom:10px}
.context-link{font-size:16px;color:#2f2c9a}
.context-row{display:grid;grid-template-columns:65px minmax(0,1fr);gap:8px;align-items:center;padding:6px 0;color:#625b6b}
.context-label{color:#8a8091;font-size:10px}
.context-row strong{font-weight:500;color:#39324c}
.context-people{display:flex;gap:5px;flex-wrap:wrap}
.context-people b{font-size:10px;font-weight:400;background:#fffcff;border:1px solid #e1dbe9;border-radius:20px;padding:2px 9px;color:#50465f}
.voice-context+.voice-status{margin-bottom:22px}
.voice-demo .voice-dictation p{font-size:17px;line-height:1.45}
.voice-demo .voice-conversation{gap:18px}
@media(max-width:1000px){.voice-demo .voice-dictation p{font-size:16px}.voice-context{padding:12px}.context-row{grid-template-columns:54px minmax(0,1fr);gap:6px}}

/* The agent-to-agent handoff leads; everyday follow-up stays secondary. */
.voice-demo .voice-turn.parrot{width:240px;max-width:100%;align-self:center}
.voice-demo .parrot .voice-speaker{margin-left:76px}
.voice-demo .companion-body{justify-content:center;padding:20px 25px;min-height:64px}
.voice-demo .companion-body p{font-size:20px;line-height:24px}
.voice-fan{max-width:440px;margin:0 auto;opacity:0;transform:translateY(-6px);transition:opacity 200ms var(--ease-out),transform 250ms var(--ease-out)}
.voice-fan[data-visible=true]{opacity:1;transform:none}
.handoff-stem{width:1px;height:25px;background:#d1c7de;margin:0 auto}
.session-pair{display:grid;grid-template-columns:100px minmax(70px,1fr) 100px;align-items:start;padding:20px 15px 22px;border-top:1px solid #e2dbe9;border-bottom:1px solid #e2dbe9}
.session-node{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.fan-icon{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:17px;background:#fffdfc;border:1px solid #ded5e7;box-shadow:0 5px 14px #29274809;margin-bottom:6px}
.fan-logo{width:32px;height:32px;object-fit:contain;display:block}.claude-logo{color:#c87855}
.session-node strong{font-size:14px;font-weight:500}.session-task{font-size:10px;color:#8b8094}.session-state{font-size:10px;color:#7c6b8c;white-space:nowrap;line-height:1.6}
.session-connection{position:relative;align-self:start;margin:13px 2px 0}
.handoff-caption{display:block;text-align:center;font-size:10px;color:#8b8094;margin-bottom:12px;white-space:nowrap}
.handoff-track{height:1px;background:#d5cadd;position:relative}
.handoff-arrow{position:absolute;right:-1px;top:-11px;font-size:21px;line-height:20px;color:#a393b3}
.handoff-packet{position:absolute;left:0;top:-11px;font-size:10px;line-height:20px;padding:0 5px;white-space:nowrap;background:#fdfaf8;border:1px solid #c8bada;border-radius:5px;color:#524078;opacity:0;transform:translateX(0);transition:transform 650ms cubic-bezier(.77,0,.175,1),opacity 200ms var(--ease-out)}
.session-handoff[data-handoff=true] .handoff-packet{opacity:1;transform:translateX(calc(100% - 60px))}
.session-handoff[data-reviewing=true] .handoff-packet{opacity:0}
.fan-check{position:absolute;right:-5px;bottom:-5px;display:grid;place-items:center;width:22px;height:22px;background:#398563;color:white;border:3px solid #fdfaf8;border-radius:50%;opacity:0;transform:scale(.95) translateY(3px);transition:opacity 160ms var(--ease-out),transform 200ms var(--ease-out)}
.fan-check svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.session-handoff[data-handoff=true] .session-node:first-child .fan-check,.session-handoff[data-reviewing=true] .session-node:last-child .fan-check,.side-app[data-done=true] .fan-check{opacity:1;transform:none}
.session-handoff[data-reviewing=true] .session-node:last-child .fan-icon{border-color:#7cae92}
.session-handoff[data-reviewing=true] [data-claude-state]{color:#398563}
.side-work{padding:17px 8px}.side-label{display:block;text-align:center;font-size:10px;color:#9b909f;margin-bottom:13px}
.side-path{display:flex;align-items:center;justify-content:center;gap:19px}.side-app{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;color:#8b8094;min-width:52px}
.side-app>img,.side-app>.fan-logo{height:24px;width:24px;object-fit:contain}.side-app .fan-check{width:16px;height:16px;border-width:2px;right:5px;top:14px}.side-app .fan-check svg{width:12px;height:12px}.side-arrow,.side-plus{font-size:13px;color:#b4a7bf;margin-top:-18px}
.voice-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){.session-pair{grid-template-columns:74px minmax(70px,1fr) 74px;padding-inline:0}.fan-icon{width:54px;height:54px}.handoff-caption{font-size:8px;white-space:normal;line-height:1.3}.session-state{font-size:8px}.session-node strong{font-size:12px}.side-path{gap:12px}.handoff-packet{font-size:8px}}
@media(prefers-reduced-motion:reduce){.voice-fan,.fan-check,.handoff-packet{transform:none}}

.handoff-packet{width:100%;padding:0;border:0;background:none}.handoff-packet>span{display:block;width:60px;text-align:center;border:1px solid #c8bada;border-radius:5px;background:#fdfaf8}

/* The complete message appears at once, then its workflow branches out. */
.voice-demo .voice-turn.you{width:100%;align-self:center;transform:translateY(4px) scale(.97);transform-origin:50% 100%;transition:opacity 180ms var(--ease-out),transform 250ms var(--ease-out)}
.voice-demo .voice-turn.you[data-visible=true]{transform:none}
.voice-demo .voice-dictation{padding:18px 20px}
.voice-demo .voice-status{min-height:40px;margin-bottom:24px}
.status-parrot{display:block;width:20px;height:20px;flex:none;background:#f6f3fa;mask:url(assets/parrot.png) center/contain no-repeat;-webkit-mask:url(assets/parrot.png) center/contain no-repeat}
.bubble-branches{display:block;width:100%;height:44px;clip-path:inset(0 0 100% 0);transition:clip-path 400ms var(--ease-out)}
.bubble-branches path{fill:none;stroke:#d1c7de;stroke-width:1.3;vector-effect:non-scaling-stroke}
.voice-fan[data-visible=true] .bubble-branches{clip-path:inset(0)}
.session-pair{border-top:0;padding-top:0}
@media(prefers-reduced-motion:reduce){.voice-demo .voice-turn.you{transform:none}.bubble-branches{clip-path:none}}

/* A stable voice hub with balanced, connected branches. */
.voice-demo .voice-status{position:relative;width:282px;max-width:100%;min-height:44px;margin:0 auto;justify-content:flex-start;padding:11px 15px;gap:10px;font-size:11px;line-height:20px;z-index:2;opacity:0;transform:translateY(-4px);transition:opacity 180ms var(--ease-out),transform 220ms var(--ease-out)}
.voice-status [data-voice-status]{flex:1;min-width:0}
.voice-status .status-wave{flex:none;margin-left:auto}
.voice-demo[data-hub-visible=true] .voice-status{opacity:1;transform:none}
.message-to-pill{width:1px;height:22px;margin:0 auto;background:#d6ccdf;opacity:0;transform:scaleY(.95);transform-origin:top;transition:opacity 160ms var(--ease-out),transform 220ms var(--ease-out)}
.voice-demo[data-hub-visible=true] .message-to-pill{opacity:1;transform:none}
.voice-fan{transform:none;max-width:440px}
.bubble-branches{height:58px;transition:clip-path 450ms var(--ease-out)}
.bubble-branches path{stroke:#b7a6cf;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.session-pair{padding-bottom:12px;border-bottom:0}
.session-connection{margin-top:17px}
.handoff-caption{color:#9a8ba7;margin-bottom:11px}
.fan-icon{box-shadow:0 4px 12px #29274808;border-color:#ddd3e7}
.side-work{position:relative;max-width:300px;margin:5px auto 0;padding:0}
.side-label{position:relative;width:max-content;margin:0 auto;padding:3px 9px;color:#92849e;background:#fdfaf8;border:1px solid #ebe4ef;border-radius:20px;font-size:9px;line-height:14px}
.side-branches{display:block;width:100%;height:34px;clip-path:inset(0 0 100% 0);transition:clip-path 400ms var(--ease-out)}
.side-branches path{fill:none;stroke:#ddd3e6;stroke-width:1;vector-effect:non-scaling-stroke}
.voice-fan[data-visible=true] .side-branches{clip-path:inset(0)}
.side-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.side-arrow,.side-plus{display:none}
.side-app{gap:9px}
.side-app>img,.side-app>.fan-logo{width:27px;height:27px}
.side-app .fan-check{top:17px;right:calc(50% - 22px)}
@media(max-width:760px){.voice-demo .voice-status{width:260px;font-size:10px;padding-inline:12px}.side-work{max-width:260px}.bubble-branches{height:46px}}
@media(prefers-reduced-motion:reduce){.message-to-pill,.voice-demo .voice-status{transform:none}.side-branches{clip-path:none}}

/* Continue the hub spine to the parallel follow-up branch. */
.session-pair{position:relative}
.session-pair::before{content:"";position:absolute;top:0;bottom:-5px;left:50%;width:1px;background:#ddd3e6}
.session-connection{background:#fdfaf8;padding:7px 0 12px;margin-top:10px;z-index:1}

/* Equal row centers: 200px desktop, 170px mobile; labels do not shift the next row. */
.voice-demo .voice-dictation{padding:22px 24px}
.voice-demo .voice-dictation p{line-height:1.6}
.voice-demo .voice-status{width:300px;min-height:50px;padding:14px 20px;gap:12px}
.voice-demo .message-to-pill{height:48px}
.voice-demo .bubble-branches{height:143px}
.voice-demo .session-node{gap:9px}
.voice-demo .fan-icon{margin-bottom:9px}
.voice-demo .session-pair{height:216px;padding-bottom:0}
.voice-demo .session-pair::before{bottom:52px}
.voice-demo .side-work{width:100%;margin:0 auto}
.voice-demo .side-branches{position:absolute;bottom:100%;height:52px}
.voice-demo .side-app{gap:12px}
@media(max-width:760px){
 .voice-demo .voice-dictation{padding:18px}
 .voice-demo .voice-status{width:260px;padding:13px 16px;gap:10px}
 .voice-demo .message-to-pill{height:36px}
 .voice-demo .bubble-branches{height:118px}
 .voice-demo .session-node{gap:8px}
 .voice-demo .session-pair{height:181px;padding-bottom:0}
 .voice-demo .session-pair::before{bottom:44px}
 .voice-demo .side-branches{height:44px}
}

/* A quieter diagram with one consistent app-logo size. */
.voice-demo .fan-logo,.voice-demo .side-app>img{width:32px;height:32px;object-fit:contain}
.voice-demo .side-app .fan-check{top:22px;right:calc(50% - 25px)}
.voice-demo .session-connection{margin-top:31px;padding:0 0 12px}
@media(max-width:760px){.voice-demo .session-connection{margin-top:26px}}

/* Keep the agent handoff primary; follow-up apps are a compact completion row. */
.voice-demo .voice-status{width:164px;min-height:44px;padding:11px 16px}
.voice-demo .message-to-pill{height:28px}
.voice-demo .bubble-branches{height:66px}
.voice-demo .session-pair{height:auto;padding-bottom:0}
.voice-demo .session-pair::before{display:none}
.voice-demo .side-work{max-width:240px;margin:34px auto 0}
.voice-demo .side-path{gap:16px}
.voice-demo .side-app{gap:9px}
@media(max-width:760px){
 .voice-demo .message-to-pill{height:24px}
 .voice-demo .bubble-branches{height:52px}
 .voice-demo .side-work{margin-top:28px}
}

/* Both agents feed the GitHub → email → reminder follow-up. */
.voice-demo .voice-fan{position:relative}
.voice-demo .workflow-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.voice-demo .workflow-links path{fill:none;stroke:#c4b5d6;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.voice-demo .side-work{margin-top:64px}
