/* Favze "Hey, I'm Riley's assistant" corner popup */
.fz-goat{position:fixed;inset:0;z-index:9990;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(14,31,58,.55);overscroll-behavior:contain;font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.fz-goat.is-open{display:flex}
html.fz-goat-lock,html.fz-goat-lock body{overflow:hidden !important}
.fz-goat *,.fz-goat *::before,.fz-goat *::after{box-sizing:border-box}

.fz-goat__card{position:relative;width:min(680px,100%);background:#f4f7fa;border-radius:26px;padding:48px 52px 46px 240px;margin:auto;box-shadow:0 24px 60px rgba(14,31,58,.28),inset 0 0 0 1px rgba(255,255,255,.6);transform:translateY(20px);opacity:0;transition:transform .4s cubic-bezier(.2,.9,.3,1.2),opacity .3s ease}
.fz-goat.is-visible .fz-goat__card{transform:none;opacity:1}

.fz-goat img{position:absolute;left:8px;bottom:0;width:auto;height:220px;pointer-events:none;user-select:none;filter:drop-shadow(0 14px 18px rgba(0,0,0,.2));z-index:2}

.fz-goat__close{position:absolute;top:12px;right:12px;z-index:3;width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:#0e1f3a;cursor:pointer;display:grid;place-items:center;font-size:26px;line-height:1;transition:background .2s ease,transform .2s ease}
.fz-goat__close:hover{background:rgba(14,31,58,.08);transform:rotate(90deg)}

.fz-goat__title{margin:0 0 16px;font-weight:800;font-size:36px;line-height:1.05;letter-spacing:-.03em;color:#0e1f3a}
.fz-goat__title span{display:block;color:#0A89A3}
.fz-goat__body{margin:0 0 24px;font-size:18px;line-height:1.5;color:#51657a}

.fz-goat__log{display:flex;flex-direction:column;gap:8px;max-height:230px;overflow-y:auto;margin:0 0 12px;padding-right:4px}
.fz-goat__bubble{max-width:88%;padding:10px 14px;border-radius:16px;font-size:15px;line-height:1.4;word-wrap:break-word}
.fz-goat__bubble--bot{align-self:flex-start;background:#fff;color:#0e1f3a;border:1px solid #d7e1ea;border-bottom-left-radius:4px}
.fz-goat__bubble--user{align-self:flex-end;background:#064187;color:#fff;border-bottom-right-radius:4px}
.fz-goat__reply{min-height:0}
.fz-goat__options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.fz-goat__option{font:inherit;font-size:14px;font-weight:600;padding:8px 14px;border-radius:999px;border:1.5px solid #064187;background:#fff;color:#064187;cursor:pointer;transition:background .2s,color .2s}
.fz-goat__option:hover,.fz-goat__option:focus-visible{background:#064187;color:#fff;outline:3px solid #7fd8ea;outline-offset:2px}
.fz-goat__inputrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:6px}
.fz-goat__inputrow input{flex:1 1 180px;font:inherit;font-size:15px;padding:10px 14px;border:1.5px solid #c9d6e2;border-radius:999px;background:#fff;color:#0e1f3a;min-width:0}
.fz-goat__inputrow input:focus{outline:3px solid #7fd8ea;outline-offset:1px;border-color:#0A89A3}
.fz-goat__send{font:inherit;font-size:14px;font-weight:700;padding:10px 18px;border-radius:999px;border:0;background:#064187;color:#fff;cursor:pointer}
.fz-goat__error{flex-basis:100%;margin:0;font-size:14px;color:#a11d33}
.fz-goat__alt{margin:12px 0 0;font-size:14px;color:#51657a}
.fz-goat__alt a{color:#064187;font-weight:700}
.fz-goat__cta{display:inline-block;white-space:nowrap;padding:15px 28px;border-radius:999px;background:linear-gradient(180deg,#0b52a3,#064187);color:#fff;font-weight:700;font-size:18px;text-decoration:none;box-shadow:0 12px 26px rgba(6,65,135,.35);transition:transform .2s ease,box-shadow .2s ease}
.fz-goat__cta:hover,.fz-goat__cta:focus-visible{transform:translateY(-2px);box-shadow:0 16px 32px rgba(6,65,135,.42);outline:3px solid #7fd8ea;outline-offset:3px}

@media (max-width:560px){
  .fz-goat{padding:12px}
  .fz-goat__card{padding:84px 22px 26px;border-radius:20px}
  .fz-goat img{top:-70px;bottom:auto;left:50%;height:130px;transform:translateX(-50%)}
  .fz-goat__title{font-size:22px}
  .fz-goat__body{font-size:14px;margin-bottom:16px}
  .fz-goat__cta{font-size:15px;padding:12px 18px}
  .fz-goat__form{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .fz-goat__card,.fz-goat__close{transition:none}
}
