/* Modern Web Guidance: visitor-facing enhancements */
html{scroll-padding-top:1rem}

#mwg-progress{
  position:fixed;left:0;top:0;z-index:1000;
  width:100%;height:3px;
  background:var(--primary-orange,#F7931A);
  transform:scaleX(0);transform-origin:0 50%;
  pointer-events:none;
}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:scroll()){
    @keyframes mwg-grow-progress{
      from{transform:scaleX(0)}
      to{transform:scaleX(1)}
    }
    #mwg-progress{
      animation:mwg-grow-progress auto linear;
      animation-timeline:scroll();
    }
  }
}

.site-topbar{
  position:sticky;top:0;z-index:50;
  container-type:scroll-state;
  container-name:site-topbar;
}
.site-topbar-inner{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.65rem 1rem;
  background:rgba(15,23,42,.72);
  color:#fff;
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(247,147,26,.25);
  transition:background-color .25s ease,box-shadow .25s ease;
}
.site-topbar-inner a{color:#fff;text-decoration:none;font-weight:600;font-size:.95rem}
.site-topbar-brand{display:flex;align-items:center;gap:.5rem;font-weight:700}
.site-topbar-brand img{width:28px;height:28px;object-fit:contain}
@container site-topbar scroll-state(stuck: top){
  .site-topbar-inner{
    background:rgba(15,23,42,.94);
    box-shadow:0 8px 24px rgba(0,0,0,.28);
  }
}
.site-topbar.is-stuck .site-topbar-inner{
  background:rgba(15,23,42,.94);
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}

.mwg-reveal{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
  @supports ((animation-timeline:view()) and (animation-range:entry)){
    @keyframes mwg-fade-up{
      from{opacity:0;transform:translateY(1.1rem)}
      to{opacity:1;transform:none}
    }
    .mwg-reveal{
      animation:mwg-fade-up linear both;
      animation-timeline:view();
      animation-range:entry 0% entry 35%;
    }
  }
  .mwg-reveal.mwg-io{
    opacity:0;transform:translateY(1.1rem);
    transition:opacity .5s ease,transform .5s ease;
  }
  .mwg-reveal.mwg-io.is-inview{opacity:1;transform:none}
}

.live-price-section,
.features-section,
.about-section,
.faq-section,
.social-section,
.blog-preview,
footer.footer{
  content-visibility:auto;
  contain-intrinsic-size:700px;
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid var(--primary-orange,#F7931A);
  outline-offset:3px;
}

@media (prefers-reduced-motion:reduce){
  .logo-icon{animation:none!important}
  *{scroll-behavior:auto!important}
  .mwg-reveal,.mwg-reveal.mwg-io{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
}
