/* Shared by every SiteKeep site: reset, motion utilities, the demo bar. Trade styles sit on top. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; }
.marquee { overflow: hidden; }
main, footer { overflow-x: clip; }  /* scroll animations start slightly enlarged; never let them widen the page */
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@view-transition { navigation: auto; }

/* scroll-driven motion (progressive: without support everything is simply visible) */
@keyframes sk-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes sk-unveil { from { clip-path: inset(18% 18% 18% 18% round 24px); transform: scale(1.12); } to { clip-path: inset(0 0 0 0 round 0); transform: none; } }
@keyframes sk-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sk-drift { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
@keyframes sk-spin { to { transform: rotate(360deg); } }
@keyframes sk-marquee { to { transform: translateX(-50%); } }
@supports (animation-timeline: view()) {
  .rise { animation: sk-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .unveil { animation: sk-unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  .drift { animation: sk-drift linear both; animation-timeline: view(); }
  .scroll-bar { position: fixed; inset: 0 0 auto 0; height: 3px; transform-origin: 0 50%; z-index: 90;
    animation: sk-progress linear both; animation-timeline: scroll(root); }
}
.marquee-track { display: flex; width: max-content; animation: sk-marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* before / after (needs sitekeep.js; without it the after photo simply shows) */
.compare { position: relative; overflow: hidden; touch-action: pan-y; --pos: 50%; user-select: none; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare img + img { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; border: 0; padding: 0; background: none; cursor: ew-resize; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.compare-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 52px; height: 52px;
  border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font: 700 18px/1 system-ui; letter-spacing: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* SiteKeep demo bar: on demo sites only (customer sites never carry it) */
.demo-bar { position: fixed; z-index: 100; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  background: rgba(11,13,16,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #e9ecf1; border-radius: 999px;
  padding: 6px; font: 500 14px/1 Inter, system-ui, sans-serif; box-shadow: 0 20px 50px -14px rgba(0,0,0,.6); white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12); max-width: calc(100vw - 20px); }
.demo-bar a { text-decoration: none; padding: 11px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.demo-bar .back:hover { background: rgba(255,255,255,.1); }
.demo-bar .tag { color: #9aa3af; padding: 0 10px; font-size: 13px; }
.demo-bar .buy { background: #d4ff3a; color: #0b0d10; font-weight: 700; }
.demo-bar .buy:hover { filter: brightness(1.05); }
@media (max-width: 640px) { .demo-bar .tag { display: none; } .demo-bar { bottom: 12px; font-size: 13px; } .demo-bar a { padding: 10px 13px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
