/* Ask Foundi: white popup (Nov 2026). Black text on white, yellow accents with black text, Poppins, 45-degree top-left chamfer.
   Brand rules kept: yellow is only ever a fill behind black text on white; it is never used as text on white.
   No inline styles are used anywhere (the site's CSP forbids them). */
.fpchat{--k:#000;--w:#fff;--y:#ff0;--cut:16px;--soft:rgba(0,0,0,.06);--muted:rgba(0,0,0,.68);--edge:rgba(0,0,0,.6);
  font-family:Poppins,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:.9375rem;line-height:1.5;color:var(--k)}
.fpchat *,.fpchat *::before,.fpchat *::after{box-sizing:border-box}
.fpchat [hidden]{display:none!important}
.fpchat :focus-visible{outline:3px solid var(--k);outline-offset:3px}

/* launcher: the FP badge image, shown unchanged */
.fpchat-launcher{position:fixed;right:1.25rem;bottom:calc(1.25rem + var(--chat-lift,0px));z-index:95;width:64px;height:64px;padding:0;border:0;background:none;cursor:pointer;transition:transform .15s}
.fpchat-launcher img{display:block;width:100%;height:100%}
.fpchat-launcher:hover{transform:translateY(-3px)}
.fpchat-launcher:focus-visible{outline:3px solid var(--y);outline-offset:3px}

/* greeting popup above the launcher: white, black outline, chamfer */
.fpchat-pop{--cut:16px;position:fixed;right:1.25rem;bottom:calc(1.25rem + 64px + .75rem + var(--chat-lift,0px));z-index:95;width:min(17.5rem,calc(100vw - 2.5rem));background:var(--k);
  clip-path:polygon(var(--cut) 0,100% 0,100% 100%,0 100%,0 var(--cut));filter:drop-shadow(0 8px 22px rgba(0,0,0,.35))}
.fpchat-pop::before{content:"";position:absolute;inset:2px;background:var(--w);clip-path:polygon(var(--cut) 0,100% 0,100% 100%,0 100%,0 var(--cut))}
.fpchat-pop>*{position:relative}
.fpchat-pop__open{display:block;width:100%;padding:.85rem 2.6rem .85rem 1.6rem;border:0;background:none;color:var(--k);font:inherit;text-align:left;cursor:pointer}
.fpchat-pop__open strong{display:block;font-weight:700;font-size:.95rem}
.fpchat-pop__open span{display:block;font-size:.82rem;line-height:1.4;margin-top:.2rem;color:var(--muted)}
.fpchat-pop__open:hover strong{background:var(--y)}
.fpchat-pop__x{position:absolute!important;right:.15rem;top:.15rem;width:40px;height:40px;border:0;background:none;color:var(--k);font-size:1.4rem;line-height:1;cursor:pointer}
.fpchat-pop__x:hover{background:var(--y)}
@media (prefers-reduced-motion:no-preference){.fpchat-pop{animation:fpchat-in .25s cubic-bezier(.2,.7,.2,1)}}
@media (max-width:30rem){.fpchat-pop{right:1rem;bottom:calc(1rem + 64px + .75rem + var(--chat-lift,0px))}}

/* window: white popup with a black outline (outer black, inner white), chamfered top-left */
.fpchat-win{--cut:24px;position:fixed;right:1.25rem;bottom:calc(1.25rem + var(--chat-lift,0px));z-index:96;display:flex;flex-direction:column;
  width:min(25rem,calc(100vw - 2.5rem));height:min(38rem,calc(100dvh - 2.5rem - var(--chat-lift,0px)));background:var(--k);color:var(--k);
  clip-path:polygon(var(--cut) 0,100% 0,100% 100%,0 100%,0 var(--cut));filter:drop-shadow(0 10px 30px rgba(0,0,0,.35))}
.fpchat-win::before{content:"";position:absolute;inset:2px;background:var(--w);clip-path:polygon(var(--cut) 0,100% 0,100% 100%,0 100%,0 var(--cut))}
.fpchat-win>*{position:relative}
.fpchat-win:focus-visible{outline-offset:-5px}

.fpchat-head{display:flex;align-items:center;gap:.75rem;padding:1rem 1rem .85rem 2rem;border-bottom:2px solid var(--k)}
.fpchat-head img{width:44px;height:44px;flex:none}
.fpchat-title{flex:1;min-width:0}
.fpchat-title strong{display:block;font-weight:700;font-size:1.05rem;line-height:1.1;text-transform:uppercase;letter-spacing:-.01em;color:var(--k)}
.fpchat-title span{display:inline-block;margin-top:.25rem;padding:.05rem .5rem;background:var(--y);color:var(--k);font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.fpchat-close{flex:none;width:44px;height:44px;display:grid;place-items:center;border:0;background:none;color:var(--k);cursor:pointer;font-size:1.6rem;line-height:1}
.fpchat-close:hover{background:var(--y)}

.fpchat-log{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.85rem;scroll-behavior:smooth;overscroll-behavior:contain;background:var(--w)}
.fpchat-msg{--cut:12px;max-width:90%;padding:.7rem .9rem;background:var(--soft);color:var(--k);overflow-wrap:anywhere;
  clip-path:polygon(var(--cut) 0,100% 0,100% 100%,0 100%,0 var(--cut))}
.fpchat-msg p+p{margin-top:.6rem}
.fpchat-msg--user{align-self:flex-end;background:var(--y);color:var(--k);font-weight:500}
.fpchat-msg a{color:var(--k);font-weight:700;text-underline-offset:3px}
.fpchat-msg--user a{color:var(--k)}
.fpchat-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.7rem}

/* chips and link buttons: black outline on white; hover and primary are yellow with black text */
.fpchat-chip{--cut:10px;position:relative;display:inline-flex;align-items:center;min-height:40px;padding:.4rem .9rem;background:var(--k);color:var(--k);
  font-weight:500;font-size:.85rem;line-height:1.2;font-family:inherit;text-decoration:none;border:0;cursor:pointer;clip-path:polygon(var(--cut) 0,100% 0,100% 100%,0 100%,0 var(--cut))}
.fpchat-chip::before{content:"";position:absolute;inset:1.5px;background:var(--w);clip-path:polygon(var(--cut) 0,100% 0,100% 100%,0 100%,0 var(--cut));transition:background .2s}
.fpchat-chip>span{position:relative}
.fpchat-chip:hover::before,.fpchat-chip:focus-visible::before,.fpchat-chip:active::before{background:var(--y)}
.fpchat-chip:hover,.fpchat-chip:focus-visible,.fpchat-chip:active{background:var(--k);color:var(--k)}
.fpchat-chip:focus-visible{outline-offset:-4px}
.fpchat-chip--y{background:var(--k);color:var(--k);font-weight:700}
.fpchat-chip--y::before{background:var(--y)}
.fpchat-chip--y:hover::before,.fpchat-chip--y:focus-visible::before,.fpchat-chip--y:active::before{background:var(--y)}
.fpchat-chip--y:hover,.fpchat-chip--y:focus-visible,.fpchat-chip--y:active{background:var(--k);color:var(--k)}

/* input bar */
.fpchat-bar{display:flex;gap:.5rem;padding:.75rem 1rem 1rem;border-top:2px solid var(--k);background:var(--w)}
.fpchat-bar input{flex:1;min-width:0;min-height:44px;padding:.5rem .8rem;background:var(--w);border:2px solid var(--k);border-radius:0;color:var(--k);font:inherit}
.fpchat-bar input::placeholder{color:var(--muted)}
.fpchat-send{--cut:12px;flex:none;min-height:44px;padding:.5rem 1.1rem;background:var(--y);color:var(--k);border:0;font-weight:700;font-size:.9rem;font-family:inherit;cursor:pointer;
  clip-path:polygon(var(--cut) 0,100% 0,100% 100%,0 100%,0 var(--cut))}
.fpchat-send:hover,.fpchat-send:focus-visible,.fpchat-send:active{background:var(--k);color:var(--y)}
.fpchat-send:focus-visible{outline-offset:-4px;outline-color:var(--w)}

/* hand-off form inside the chat */
.fpchat-form{display:flex;flex-direction:column;gap:.6rem;margin-top:.7rem}
.fpchat-form label{font-size:.8rem;color:var(--muted);display:block;margin-bottom:.2rem}
.fpchat-form input[type=email],.fpchat-form textarea{width:100%;padding:.5rem .7rem;background:var(--w);border:2px solid var(--k);border-radius:0;color:var(--k);font:inherit;font-size:.9rem}
.fpchat-form textarea{min-height:5.5rem;resize:vertical}
.fpchat-check{display:flex;gap:.55rem;align-items:flex-start;font-size:.8rem;color:var(--muted)}
.fpchat-check input{margin-top:.25rem;width:1rem;height:1rem;accent-color:#000;flex:none}
.fpchat-check label{margin:0}
.fpchat-err{color:var(--k);font-size:.85rem;font-weight:700;padding-left:.6rem;border-left:4px solid var(--k)}
.fpchat-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.fpchat-note{font-size:.75rem;color:var(--muted)}

@media (max-width:30rem){
  .fpchat-win{right:.5rem;left:.5rem;bottom:calc(.5rem + var(--chat-lift,0px));width:auto;height:calc(100dvh - 1rem - var(--chat-lift,0px))}
  .fpchat-launcher{right:1rem;bottom:calc(1rem + var(--chat-lift,0px))}
}
@media (prefers-reduced-motion:no-preference){
  .fpchat-win{animation:fpchat-in .22s cubic-bezier(.2,.7,.2,1)}
  @keyframes fpchat-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}
@media (prefers-reduced-motion:reduce){.fpchat-log{scroll-behavior:auto}.fpchat-launcher{transition:none}}
.fpchat-bar input:focus-visible{outline-offset:0}
