/* GuestConnect public website: shared foundation (font, motion, accessibility).
   Loaded after each page's own stylesheet. Animations use transform/opacity only. */
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/site/inter.woff2) format("woff2")}
@view-transition{navigation:auto}
:root{color-scheme:dark;--font-sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-rendering:optimizeLegibility}
h1,h2,h3{text-wrap:balance}
p,li{text-wrap:pretty}
::selection{background:rgba(32,217,243,.35);color:#fff}
button,input,select,textarea{font-family:inherit}
[id]{scroll-margin-top:92px}
a:focus-visible,button:focus-visible,input:focus-visible,label:focus-within>input[type=checkbox]+.calc-toggle-switch{outline:2px solid #3ac0ff;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:16px;top:-80px;z-index:1000;background:#0a1220;color:#fff;padding:12px 18px;border-radius:10px;border:1px solid rgba(54,157,255,.5);font-size:14px;font-weight:700;transition:top .2s}
.skip-link:focus{top:16px}
::view-transition-old(root),::view-transition-new(root){animation-duration:.22s}

/* Scroll progress line (browsers with scroll-driven animations only) */
@supports (animation-timeline:scroll()){
  .header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,#087cff,#20d9f3);transform-origin:0 50%;animation:gc-progress linear both;animation-timeline:scroll(root)}
  @keyframes gc-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
}

/* Reveal on scroll. Content is only hidden when JavaScript is running. */
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .6s cubic-bezier(.2,.8,.2,1),transform .6s cubic-bezier(.2,.8,.2,1)}
.js .reveal.in-view{opacity:1;transform:none}
.js .stagger.in-view>*{animation:gc-rise .6s cubic-bezier(.2,.8,.2,1) backwards}
.js .stagger.in-view>:nth-child(2){animation-delay:.06s}
.js .stagger.in-view>:nth-child(3){animation-delay:.12s}
.js .stagger.in-view>:nth-child(4){animation-delay:.18s}
.js .stagger.in-view>:nth-child(5){animation-delay:.24s}
.js .stagger.in-view>:nth-child(6){animation-delay:.3s}
.js .stagger.in-view>:nth-child(n+7){animation-delay:.36s}
@keyframes gc-rise{from{opacity:0;transform:translateY(20px)}}
@keyframes gc-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes gc-ring{0%{transform:translate(-50%,-50%) scale(.35);opacity:0}25%{opacity:.7}100%{transform:translate(-50%,-50%) scale(1);opacity:0}}
@keyframes gc-grow{from{transform:scaleY(0)}}
@keyframes gc-blink{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes gc-flow{to{background-position:-200% 0}}

/* Website chat launcher: compact on phones so it does not cover content */
@media(max-width:600px){
  #gcSiteChatLauncher{height:50px!important;padding:6px 13px!important;right:12px!important;bottom:14px!important}
  #gcSiteChatLauncher img{height:15px!important}
  #gcSiteChatLauncher span:not(#gcSiteChatBadge){font-size:10.5px!important}
}
#gcSiteChatPanel input{font-size:16px!important}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .js .reveal{opacity:1;transform:none}
}
