/* QuillStay shared site header — edit this file (and js/site-header.js) to change the header on every page */
#site-header{
  position:sticky;top:0;z-index:100;min-height:74px;
  background:rgba(246,251,255,.94);backdrop-filter:blur(8px);
  border-bottom:1px solid #dbe6f5;
}
#site-header .sh-bar{
  max-width:1180px;margin:0 auto;padding:0 24px;height:74px;
  display:flex;align-items:center;gap:18px;
}
#site-header .sh-logo{flex:none;display:block}
#site-header .sh-logo img{height:38px;width:auto;display:block;transition:opacity .15s}
#site-header .sh-logo:hover img{opacity:.72}

/* Desktop links */
#site-header .sh-links{display:flex;align-items:center;gap:2px;margin:0 0 0 auto;padding:0;list-style:none}
#site-header .sh-links > li{position:relative}
#site-header .sh-link{
  display:inline-flex;align-items:center;gap:6px;padding:10px 11px;border-radius:9px;
  color:#0e1f4d;font:500 15.5px/1.2 'Public Sans',system-ui,sans-serif;text-decoration:none;
  background:none;border:0;cursor:pointer;white-space:nowrap;transition:color .15s,background .15s;
}
#site-header .sh-link:hover,#site-header .has-dd.open > .sh-link{color:#0267c0;background:#eaf3ff}
#site-header .sh-link[aria-current="page"]{color:#0267c0;font-weight:600}
#site-header .sh-caret{
  width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);transition:transform .15s;
}
#site-header .has-dd.open > .sh-link .sh-caret{transform:rotate(-135deg) translateY(-1px)}

/* Dropdown menus */
#site-header .sh-menu{
  position:absolute;left:0;top:100%;min-width:270px;padding:8px;margin-top:6px;
  background:#fff;border:1px solid #dbe6f5;border-radius:14px;
  box-shadow:0 22px 46px -20px rgba(0,43,132,.38);display:none;
}
#site-header .sh-menu::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
#site-header .has-dd.open > .sh-menu{display:block}
@media (hover:hover) and (min-width:1100px){
  #site-header .has-dd:hover > .sh-menu{display:block}
  #site-header .has-dd:hover > .sh-link{color:#0267c0;background:#eaf3ff}
}
#site-header .sh-menu a{
  display:block;padding:10px 12px;border-radius:9px;color:#0e1f4d;text-decoration:none;
  font:500 15px/1.3 'Public Sans',system-ui,sans-serif;
}
#site-header .sh-menu a small{display:block;margin-top:2px;color:#4d5b7c;font-size:12.5px;font-weight:400}
#site-header .sh-menu a:hover{background:#eef5ff;color:#0267c0}
#site-header .sh-menu a[aria-current="page"]{background:#eef5ff;color:#0267c0}

/* Right-hand actions */
#site-header .sh-actions{display:flex;align-items:center;gap:12px;flex:none}
#site-header .sh-phone{
  display:inline-flex;align-items:center;gap:8px;color:#4d5b7c;text-decoration:none;
  font:600 15.5px/1 'Public Sans',system-ui,sans-serif;white-space:nowrap;
}
#site-header .sh-phone:hover{color:#0267c0}
#site-header .sh-phone-text{display:none}
@media (min-width:1260px){#site-header .sh-phone-text{display:inline}}
#site-header .sh-login{
  color:#0e1f4d;font:600 15px/1 'Public Sans',system-ui,sans-serif;text-decoration:none;padding:10px 6px;white-space:nowrap;
}
#site-header .sh-login:hover{color:#0267c0}
#site-header .sh-demo{
  display:inline-block;background:#002b84;color:#fff;text-decoration:none;white-space:nowrap;
  font:600 15px/1 'Schibsted Grotesk',system-ui,sans-serif;padding:12px 20px;border-radius:10px;transition:background .15s;
}
#site-header .sh-demo:hover{background:#0267c0}
#site-header .sh-burger{
  display:none;width:44px;height:44px;border:1.5px solid #dbe6f5;border-radius:10px;background:#fff;
  cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0;
}
#site-header .sh-burger span{display:block;width:20px;height:2px;background:#0e1f4d;border-radius:2px;transition:transform .18s,opacity .18s}
#site-header.panel-open .sh-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
#site-header.panel-open .sh-burger span:nth-child(2){opacity:0}
#site-header.panel-open .sh-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Mobile panel */
#site-header .sh-panel{
  display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #dbe6f5;
  box-shadow:0 24px 40px -24px rgba(0,43,132,.35);max-height:calc(100vh - 74px);overflow:auto;
  padding:8px 24px 26px;
}
#site-header.panel-open .sh-panel{display:block}
#site-header .sh-panel h5{
  margin:20px 0 6px;font:700 12px/1 'Schibsted Grotesk',system-ui,sans-serif;text-transform:uppercase;letter-spacing:.09em;color:#8ba3d8;
}
#site-header .sh-panel a{
  display:block;padding:11px 0;color:#0e1f4d;text-decoration:none;border-bottom:1px solid #eef3fb;
  font:500 16.5px/1.3 'Public Sans',system-ui,sans-serif;
}
#site-header .sh-panel a[aria-current="page"]{color:#0267c0;font-weight:600}
#site-header .sh-panel .sh-panel-cta{
  display:block;text-align:center;margin-top:22px;padding:14px;border-radius:11px;border:0;
  background:#0386f8;color:#fff;font:600 16px/1 'Schibsted Grotesk',system-ui,sans-serif;
}
#site-header .sh-panel .sh-panel-call{border:0;text-align:center;font-weight:600;margin-top:6px;color:#4d5b7c}

@media (max-width:1099px){
  #site-header .sh-links,#site-header .sh-login{display:none}
  #site-header .sh-burger{display:flex}
  #site-header .sh-actions{margin-left:auto}
}
@media (max-width:640px){
  #site-header .sh-demo{display:none}
  #site-header .sh-bar{padding:0 18px}
}
#site-header .sh-noscript{display:flex;gap:20px;align-items:center;max-width:1180px;margin:0 auto;padding:0 24px;height:74px}
#site-header .sh-noscript a{color:#0e1f4d;font:500 15.5px 'Public Sans',system-ui,sans-serif;text-decoration:none}
