/* Conversation: one composer, quiet secondary actions, readable transcript. */
#conversation{width:min(520px,calc(100vw - 32px));height:min(650px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);border:1px solid #e2d3bf;border-radius:24px;background:#fff9ef;overflow:hidden;box-shadow:0 20px 70px #38221626}
#conversation[open]{display:flex;flex-direction:column}
#conversation .dialog-header{display:grid;grid-template-columns:38px minmax(0,1fr) 36px;gap:8px 12px;padding:24px 26px 18px;border-bottom:1px solid #eadfce;flex-shrink:0}
#conversation .rob-avatar{width:36px;height:41px;padding:4px;border-width:1.5px;border-radius:8px;align-self:start;margin-top:2px}
#conversation .mini-screen{width:25px;height:24px;gap:7px;border-radius:4px}
#conversation .mini-screen i{width:3px;height:5px}
#conversation .mini-screen b{width:9px;left:8px;height:4px;bottom:3px}
#conversation .rob-avatar:after{left:10px;bottom:4px;width:11px}
#conversation .dialog-header h2{font-size:27px;letter-spacing:-.5px;line-height:1.1}
#conversation .dialog-header p{font-size:12px!important;margin-top:5px;color:#816b58}
#conversation .icon-button{width:36px;height:36px;font-size:25px;align-self:start;margin-top:-5px}
#conversation .languages{margin:5px 0 0;gap:6px;justify-content:flex-start;grid-column:2/4}
#conversation .language{width:40px;height:34px;border-radius:9px;padding:6px;transition:background .15s,border-color .15s}
#conversation .language[aria-pressed=true]{background:#f0e4d3;border-color:#c8b69e}
#conversation .flag{width:26px;height:18px;border-radius:3px}
#conversation .dialog-content{padding:18px 26px 16px;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
#conversation #call{display:flex;flex-direction:column;flex:1;min-height:0}
#conversation .call-state{margin-bottom:10px;font-size:11px;color:#88735f;gap:7px;min-height:16px}
#conversation #state-dot{width:5px;height:5px;background:#6a8d79}
#conversation #transcript{flex:1;height:auto;min-height:70px;overflow-y:auto;gap:22px;padding:10px 4px 18px 0;scrollbar-width:thin;scrollbar-color:#d3c3ad transparent;overscroll-behavior:contain;scroll-behavior:auto}
#conversation .turn{font-size:16px;line-height:1.55;max-width:92%;border-radius:15px;padding:0;flex-shrink:0;white-space:pre-wrap}
#conversation .turn.rob{background:none;align-self:flex-start;color:var(--ink);padding-right:12px}
#conversation .turn.you{background:#f0e5d5;color:var(--ink);align-self:flex-end;padding:11px 15px;border-bottom-right-radius:5px}
#conversation .turn-label{font-size:10px;letter-spacing:1px;opacity:1;color:#8a7461;margin-bottom:5px}
#conversation .composer{display:flex;align-items:center;gap:9px;padding-top:14px;border-top:1px solid #eadfce;flex-shrink:0}
#conversation #message-form{display:flex;align-items:center;gap:4px;margin:0;padding:6px;background:#fffdf8;border:1px solid #d8c8b3;border-radius:16px;flex:1;min-width:0;transition:border-color .15s,box-shadow .15s}
#conversation #message-form:focus-within{border-color:#8b735b;box-shadow:0 0 0 2px #8b735b12}
#conversation #message{width:100%;height:38px;padding:8px 7px;border:none;border-radius:0;font-size:14px;background:none;outline:none;box-shadow:none}
#conversation #message::placeholder{color:#988572;font-weight:400}
#conversation #message-form button{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:var(--ink);color:#fff9ef;transition:background .15s,transform .1s}
#conversation #message-form button:disabled{background:#eee5d9;color:#baa993;cursor:default}
#conversation #message-form button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#conversation #message-form button:active:not(:disabled){transform:scale(.94)}
#conversation #start-voice,#conversation #mute{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:0 0 50px;height:52px;border:1px solid #d8c8b3;border-radius:14px;background:transparent;color:var(--ink);font-size:10px;line-height:1.1;padding:5px;transition:background .15s}
#conversation #start-voice:hover,#conversation #mute:hover{background:#eee3d3}
#conversation #start-voice svg,#conversation #mute svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#conversation #mute{background:#e4eee6;border-color:#99af9e;color:#365a42}
#conversation #mute[aria-pressed=true]{background:transparent;color:#88735f;border-color:#d8c8b3}
#conversation .conversation-footer{display:flex;justify-content:space-between;align-items:center;padding-top:6px;flex-shrink:0}
#conversation .conversation-footer button{font-size:11px;color:#88735f;padding:8px 0;border:0;background:transparent;min-height:32px;text-decoration:none}
#conversation .conversation-footer button:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
#conversation #email-summary{font-size:12px;text-align:left;padding:8px 0;min-height:32px}
#conversation #sound-bars{height:16px;margin:4px 0}
#conversation #sound-bars i{width:3px}
#conversation #error{margin:8px 0 0;padding:10px 12px;font-size:12px;line-height:1.4;flex-shrink:0}
@media(max-width:540px){#conversation{width:calc(100vw - 24px);height:min(650px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:22px}#conversation .dialog-header{padding:20px 20px 15px}#conversation .dialog-content{padding:14px 20px 12px}#conversation .dialog-header h2{font-size:25px}#conversation .turn{font-size:15px}#conversation #message{font-size:16px}#conversation .composer{gap:7px}}
/* Intact artwork is the loading and reduced-motion fallback. */
.characters{transform:none!important;transition:none!important;animation:none!important}.pupil{transform:none!important}.eye{animation:none!important}.ground{transform:none!important;animation:none!important}.scene{cursor:default}.scene:hover .brows{transform:none!important}
/* Rendered animation replaces the entire figure, with no cutout joints or overlay face. */
.paper-light{display:none}.character-performance{position:absolute;left:-8.3333%;top:-8.3333%;width:116.6667%;height:116.6667%;max-width:none;object-fit:contain;opacity:0;transition:opacity .25s;pointer-events:none}.motion-ready .character-performance{opacity:1}.motion-ready .characters>img,.motion-ready .character-face{opacity:0}.motion-ready .scene-halo,.motion-ready .ground{visibility:hidden}.scene[role=button]{cursor:pointer}.scene[role=button]:focus-visible{outline:2px solid var(--teal);outline-offset:8px;border-radius:24px}@media(prefers-reduced-motion:reduce){.character-performance{display:none!important}.motion-ready .characters>img,.motion-ready .character-face{opacity:1}}

:root{--paper:#faf0dc}

#conversation #error.mic-note{background:none;color:#88735f;padding:2px 0;margin:0;font-size:11px}

.character-performance{mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 95%,transparent);mask-composite:intersect}

/* Fleet voice ribbons: measured microphone and output, in the site palette. */
#conversation #sound-bars{display:block;flex:0 0 80px;height:80px;margin:0 0 8px;width:100%;overflow:hidden}
#sound-bars canvas{display:block;width:100%;height:100%}
@media(max-height:650px){#conversation #sound-bars{flex-basis:52px;height:52px;margin-bottom:4px}}

/* Mobile story: promise, characters, explanation, conversation. */
@media(max-width:720px){
 header,main,footer{padding-inline:22px}
 header{padding-block:14px}
 .hero{padding:20px 0 18px;gap:0;align-items:stretch}
 .hero-copy{display:contents}
 .hero .eyebrow{display:none}
 .hero h1{order:1;font-size:clamp(35px,9.8vw,58px);line-height:1.04;letter-spacing:-1.9px;margin:0;text-align:center}
 .hero h1 em{letter-spacing:-1.9px}
 .hero .scene{order:2;flex:1;min-height:170px;margin:14px 0 8px;width:100%}
 .hero .characters{width:min(100%,35svh,360px)}
 .hero .intro{order:3;max-width:330px;align-self:center;font-size:14px;line-height:1.5;text-align:center;margin:0 0 16px}
 .intro-detail{display:none}
 .hero .primary{order:4;min-height:52px;font-size:13px}
 .hero .cta-note{order:5;margin:10px 0 0;font-size:10px!important;text-align:center}
 footer{padding-block:13px;flex-wrap:nowrap;font-size:11px!important}
 footer>span{display:none}
 footer a{margin-left:0}
}
@media(max-width:720px) and (max-height:680px){
 header{padding-block:10px}.hero{padding-top:12px;padding-bottom:12px}
 .hero h1{font-size:clamp(32px,9.3vw,38px)}
 .hero .scene{min-height:130px;margin:10px 0 6px}
 .hero .characters{width:min(100%,29svh)}
 .hero .intro{font-size:13px;margin-bottom:12px}
 .hero .primary{min-height:46px;padding-block:12px}
 .hero .cta-note{font-size:9px!important;margin-top:8px}
 footer{padding-block:10px}
}
