/* 24.11 hc2411: the live chat window on the landing, the sticky pill, the closing «go to the chat».
   The window is the app in miniature (web/psy/app.css, Graphite & Sand), so growing into the app reads as one surface. */
.hc{--hb:#151413;--hs:#1D1C1A;--hl:rgba(255,255,255,.07);--hl2:rgba(255,255,255,.12);--ht:#EEEAE4;--ht3:#948E86;--ha:#D8B48A;--hon:#1B1712;--hme:#2F2A24;
  --hd:540ms;--he:cubic-bezier(.45,0,.15,1);
  position:relative;z-index:2;width:100%;max-width:440px;margin:24px 0 8px;display:flex;flex-direction:column;
  background:var(--hb);color:var(--ht);border-radius:24px;overflow:hidden;text-align:left;text-indent:0;
  box-shadow:0 0 0 1px rgba(255,255,255,.09),0 1px 0 rgba(255,255,255,.06) inset,0 28px 60px -24px rgba(0,0,0,.75);
  font:400 15px/1.45 "Inter",-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.hc *{box-sizing:border-box}
.hc-ph{flex:none;width:100%;max-width:440px;margin:24px 0 8px}
.pc-hero .pc-w>div:first-child>.pc-cta{display:none!important}
.pc-hero .pc-w>div:first-child{min-width:0}
.hc-chips,.hc-feed,.hc-comp{min-width:0}
.hc-top{display:flex;align-items:center;gap:9px;padding:12px 14px 11px 16px;border-bottom:1px solid var(--hl);min-height:46px}
.hc-top b{font-size:14px;font-weight:600;letter-spacing:-.01em;white-space:nowrap}
.hc-top small{font-size:12px;color:var(--ht3);white-space:nowrap}
.hc-dot{flex:none;width:7px;height:7px;border-radius:50%;background:#8FD1A8;box-shadow:0 0 0 3px rgba(143,209,168,.16);animation:hcp 2.4s ease-in-out infinite}
@keyframes hcp{50%{box-shadow:0 0 0 5px rgba(143,209,168,.06)}}
.hc-x{display:none;margin-left:auto;width:40px;height:40px;margin-right:-8px;border:0;border-radius:50%;background:none;color:var(--ht3);cursor:pointer;place-items:center;padding:0}
.hc-x svg{width:20px;height:20px}
.hc-feed{display:flex;flex-direction:column;gap:10px;padding:14px 14px 12px;flex:1 1 auto;min-height:0;overflow:hidden}
.hc-msg{align-self:flex-start;max-width:92%;padding:11px 14px 12px;border-radius:18px;border-bottom-left-radius:7px;background:var(--hs);box-shadow:inset 0 0 0 1px var(--hl);font-size:15px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.hc-tag{display:block;width:max-content;padding:1px 7px;margin-bottom:5px;border-radius:6px;background:rgba(216,180,138,.12);box-shadow:inset 0 0 0 1px rgba(216,180,138,.32);color:var(--ha);font-size:11px;font-weight:600;letter-spacing:.06em;line-height:1.5}
.hc-me{align-self:flex-end;max-width:84%;padding:11px 14px;border-radius:18px;border-bottom-right-radius:7px;background:var(--hme);font-size:15px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;animation:hcin .32s cubic-bezier(.05,.7,.1,1) both}
.hc-typing{align-self:flex-start;display:flex;gap:6px;padding:15px 17px;border-radius:18px;background:var(--hs);animation:hcin .32s .12s cubic-bezier(.05,.7,.1,1) both}
.hc-typing i{width:7px;height:7px;border-radius:50%;background:var(--ht3);animation:hcb 1.2s infinite}
.hc-typing i:nth-child(2){animation-delay:.2s}.hc-typing i:nth-child(3){animation-delay:.4s}
@keyframes hcb{0%,80%,100%{opacity:.3}40%{opacity:1}}
@keyframes hcin{from{opacity:0;transform:translateY(8px) scale(.98)}}
.hc-chips{display:flex;gap:8px;overflow-x:auto;padding:0 14px 12px;scrollbar-width:none;-webkit-mask:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask:linear-gradient(90deg,#000 calc(100% - 28px),transparent);transition:opacity .2s}
.hc-chips::-webkit-scrollbar{display:none}
.hc-chips:after{content:"";flex:none;width:14px}
.hc-chip{flex:none;height:38px;padding:0 14px;border:0;border-radius:19px;background:var(--hs);box-shadow:inset 0 0 0 1px var(--hl2);color:var(--ht);font:inherit;font-size:14px;white-space:nowrap;cursor:pointer;transition:background .15s,transform .1s}
.hc-chip:hover{background:#262422}
.hc-chip:active{transform:scale(.97)}
.hc-comp{display:flex;align-items:flex-end;gap:8px;padding:0 12px 10px;margin:0}
.hc-comp textarea{flex:1;min-width:0;min-height:46px;max-height:132px;margin:0;padding:12px 16px;border-radius:23px;background:var(--hs);border:1px solid var(--hl2);color:var(--ht);font:inherit;font-size:16px;line-height:1.35;resize:none;outline:none;transition:border-color .15s;box-shadow:none;-webkit-appearance:none;appearance:none}
.hc-comp textarea::placeholder{color:var(--ht3);opacity:1}
.hc-comp textarea:focus,.hc-comp textarea:focus-visible{border-color:rgba(216,180,138,.32);outline:none!important;box-shadow:none!important}
.hc-send{flex:none;width:46px;height:46px;padding:0;border:0;border-radius:50%;background:var(--ha);color:var(--hon);display:grid;place-items:center;cursor:pointer;transition:opacity .15s,transform .12s}
.hc-send svg{width:21px;height:21px}
.hc-send[disabled]{opacity:.35;cursor:default}
.hc-send:active{transform:scale(.94)}
.hc-note{margin:0;padding:0 16px 12px;font-size:11px;line-height:1.4;color:var(--ht3);text-align:center}

/* open: the window has grown into the full chat (geometry set by hc.js, animated here) */
.hc.on{position:fixed;z-index:2147483000;margin:0;max-width:none;box-shadow:0 0 0 1px rgba(255,255,255,.06)}
.hc.anim{transition:top var(--hd) var(--he),left var(--hd) var(--he),width var(--hd) var(--he),height var(--hd) var(--he),border-radius var(--hd) var(--he)}
.hc.on.full{border-radius:0;box-shadow:none}
.hc.on .hc-top{padding-top:calc(12px + env(safe-area-inset-top,0px))}
.hc.on .hc-x{display:grid}
.hc.on .hc-top,.hc.on .hc-feed,.hc.on .hc-chips,.hc.on .hc-comp,.hc.on .hc-note{padding-left:max(16px,calc((100% - 720px)/2));padding-right:max(16px,calc((100% - 720px)/2))}
.hc.on .hc-feed{padding-top:22px;gap:12px}
.hc.on .hc-msg,.hc.on .hc-me{font-size:16px;line-height:1.5;padding:12px 16px}
.hc.on .hc-note{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
.hc.sent .hc-chips{opacity:0;pointer-events:none}
/* opened from the pill / the closing button: the content arrives as the shape grows */
.hc.from>*{opacity:0;transition:none}
.hc.from.full>*{opacity:1;transition:opacity .28s .14s}
.hc-scrim{position:fixed;inset:0;z-index:2147482990;background:rgba(9,9,11,.72);opacity:0;transition:opacity var(--hd,460ms) ease;pointer-events:none}
.hc-scrim.on{opacity:1}
html.hc-open,html.hc-open body{overflow:hidden!important}

/* the pill that sticks to the bottom while the window is out of view; the closing button */
.hc-stick,.hc-go{gap:10px}
.hc-stick .hc-dot,.hc-go .hc-dot{animation:none}
.hc-stick{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:950;height:52px!important;padding:0 22px 0 20px!important;font-size:16px!important;white-space:nowrap;text-decoration:none;
  transform:translate(-50%,calc(100% + 40px));opacity:0;pointer-events:none;transition:transform .42s cubic-bezier(.32,.72,0,1),opacity .3s;box-shadow:0 14px 36px -10px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.08)}
.hc-stick.show{transform:translate(-50%,0);opacity:1;pointer-events:auto}
html.hc-open .hc-stick{opacity:0!important;transition:none!important;pointer-events:none}
.hc-stick .pc-chev{width:16px;height:16px}
.hc-go{text-decoration:none}
@media (min-width:761px){
  .hc{margin-top:30px}
  .hc-chips{flex-wrap:wrap;-webkit-mask:none;mask:none;overflow:visible}
  .hc-chips:after{display:none}
  .hc-stick{left:auto;right:28px;bottom:28px;transform:translateY(calc(100% + 40px))}
  .hc-stick.show{transform:none}
}
@media (max-width:760px){
  .hc,.hc-ph{max-width:none}
}
@media (prefers-reduced-motion:reduce){
  .hc{--hd:1ms}
  .hc-dot{animation:none}
}

/* 24.11 16:12 owner: the top pill is the one sticky button. Warm and quiet (the site's sand, not white/blue), out of sight
   while the hero with the chat window is on screen, shown once the hero is scrolled past (html.hc-past, hc.js) */
body .pc-sub{transition:opacity .35s ease,translate .45s cubic-bezier(.32,.72,0,1),visibility 0s}
body:not(.light) .pc-sub,html.ios body:not(.light) .pc-sub{background:linear-gradient(180deg,rgba(216,180,138,.07),rgba(216,180,138,.015)),rgba(23,20,18,.93)!important;border-color:rgba(216,180,138,.16)!important;box-shadow:0 12px 32px -16px rgba(0,0,0,.65)}
.pc-sub .pc-btn.hc-subgo{background:rgba(216,180,138,.14)!important;color:#EAD5BA!important;box-shadow:inset 0 0 0 1px rgba(216,180,138,.30)!important;font-weight:550;transition:background .2s,opacity .3s,translate .4s cubic-bezier(.32,.72,0,1)}
.pc-sub .pc-btn.hc-subgo:hover{background:rgba(216,180,138,.22)!important}
body.light .pc-sub .pc-btn.hc-subgo{background:rgba(140,98,60,.10)!important;color:#6E4C2C!important;box-shadow:inset 0 0 0 1px rgba(140,98,60,.28)!important}
@media (max-width:760px){
  html:not(.hc-past) .pc-sub{opacity:0;translate:0 -10px;visibility:hidden;pointer-events:none;transition:opacity .25s ease,translate .3s ease,visibility 0s .3s}
}
@media (min-width:761px){
  html:not(.hc-past) .pc-sub .hc-subgo{opacity:0;translate:10px 0;pointer-events:none}
}
/* desktop: the quote a little tighter, so the window's field is inside the first screen */
@media (min-width:1021px){
  html .pc-hero .pc-w h1{font-size:clamp(32px,3.3vw,48px)!important}
  .hc{margin-top:22px}
}
@media (min-width:1021px) and (max-height:860px){
  html .pc-hero .pc-w h1{font-size:clamp(30px,2.6vw,38px)!important}
  .hc{margin-top:16px}
  .hc .hc-feed{padding-top:10px;padding-bottom:8px}
}
