/* Chat: a small taped paper pop-up */
.chat-launch{background:#14101c;border-radius:4px;box-shadow:5px 5px 0 #7a4fd0;padding:12px 16px 12px 14px;font:800 .7rem/1 'Archivo',var(--sans);font-variation-settings:'wdth' 125;letter-spacing:.1em;text-transform:uppercase;rotate:-1.5deg}
.chat-launch:hover{background:#14101c;transform:translateY(-3px) rotate(0)}
.chat-teaser{background:#fff;border:2px solid #14101c;border-radius:4px;box-shadow:5px 5px 0 #7a4fd0;max-width:230px;padding:11px 14px;font:600 .82rem/1.4 var(--sans);color:#14101c;rotate:-1deg;bottom:78px}
.chat-teaser::after{content:"";position:absolute;left:26px;bottom:-9px;width:14px;height:14px;background:#fff;border-right:2px solid #14101c;border-bottom:2px solid #14101c;rotate:45deg}

.chat{width:min(332px,calc(100vw - 32px));height:min(470px,calc(100vh - 100px));left:20px;bottom:78px;background:#fff;border:2.5px solid #14101c;border-radius:4px;box-shadow:8px 8px 0 #7a4fd0,0 26px 40px -20px rgba(20,16,28,.6);overflow:visible;animation:chatIn .4s cubic-bezier(.3,1.4,.5,1);transform-origin:0 100%}
@keyframes chatIn{from{opacity:0;transform:translateY(16px) scale(.9) rotate(-2deg)}}
.chat::before{content:"";position:absolute;top:-13px;left:50%;width:84px;height:24px;margin-left:-42px;background:rgba(200,165,110,.75);rotate:-3deg;z-index:3}
.chat-head{background:#14101c;padding:12px 14px;gap:10px;border-radius:1px 1px 0 0}
.chat-av{width:34px;height:34px;border-radius:8px;background:#7a4fd0;color:#fff;font:800 .74rem 'Archivo',var(--sans);box-shadow:3px 3px 0 #fff;rotate:-4deg}
.chat-head b{font:900 .86rem/1.1 'Archivo',var(--sans);font-variation-settings:'wdth' 125;text-transform:uppercase;letter-spacing:.03em}
.chat-head small{font-size:.64rem;color:#c9bdea}
.chat-x:hover{background:#7a4fd0}
.chat-log{background-color:#f4f1fa;background-image:linear-gradient(rgba(20,16,28,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(20,16,28,.05) 1px,transparent 1px);background-size:22px 22px;padding:14px;gap:9px}
.msg{font-size:.82rem;line-height:1.5;padding:9px 12px;border-radius:3px}
.msg.bot{background:#fff;border:1.5px solid #14101c;box-shadow:3px 3px 0 rgba(20,16,28,.15);rotate:-.4deg}
.msg.user{background:#7a4fd0;color:#fff;border:1.5px solid #14101c;box-shadow:3px 3px 0 #14101c;rotate:.4deg}
.chat-chips{background:#f4f1fa;padding:0 14px 10px;gap:6px}
.qchip{background:#fff;border:1.5px dashed #14101c;color:#14101c;border-radius:3px;padding:6px 10px;font:700 .68rem/1 var(--sans);box-shadow:none}
.qchip:hover{background:#7a4fd0;color:#fff;border-style:solid;border-color:#7a4fd0}
.qchip.primary{background:#14101c;color:#fff;border-style:solid}
.chat-form{padding:9px 10px;gap:8px;border-top:2px solid #14101c;background:#fff}
.chat-form input{border:1.5px solid #14101c;background:#fff;border-radius:3px;padding:9px 12px;font-size:.82rem}
.chat-form input:focus{border-color:#7a4fd0;box-shadow:3px 3px 0 #7a4fd0}
.chat-form button{width:38px;height:38px;border-radius:3px;background:#14101c;box-shadow:3px 3px 0 #7a4fd0}
.chat-foot{background:#fff;border-top:1.5px dashed rgba(20,16,28,.25);padding:7px 12px 9px}
.chat-wa{font-weight:700;font-size:.68rem}
.chat-foot small{font-size:.56rem}
.lead-form input{border:1.5px solid #14101c;border-radius:3px;background:#fff}
@media(max-width:700px){
  .chat{left:12px;right:12px;bottom:12px;width:auto;height:min(72vh,520px);border-radius:4px}
  .chat-launch{box-shadow:4px 4px 0 #7a4fd0}
}
@media(prefers-reduced-motion:reduce){.chat{animation:none}}
