*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.mq { margin: 0; padding-top: 44px; }
img, svg { display: block; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.demo-bar {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: 44px;
  display: flex; align-items: center; gap: 14px; padding: 0 16px;
  background: #061b31; color: #e8ecf3;
  font: 400 13px/1.2 "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.demo-bar p { margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar b { font-weight: 600; color: #fff; }
.demo-bar span, .demo-bar i { color: #b6c0cf; }
.demo-bar em { font-style: normal; }
.demo-bar i { display: none; font-style: normal; }
.demo-bar__brand { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }
.demo-bar__brand img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.demo-bar__cta { flex: none; padding: 7px 12px; border-radius: 4px; background: #533afd; color: #fff; text-decoration: none; font-weight: 500; }
.demo-bar__cta:hover, .demo-bar__cta:focus-visible { background: #6a54ff; }
.demo-bar a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
  .demo-bar { gap: 10px; font-size: 12px; }
  .demo-bar span, .demo-bar em { display: none; }
  .demo-bar i { display: inline; }
  .demo-bar__cta { padding: 7px 10px; }
}

.demo-toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 1001; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; width: min(560px, calc(100% - 24px));
  padding: 14px 16px; border-radius: 6px; background: #061b31; color: #e8ecf3;
  font: 400 14px/1.4 "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 12px 40px rgba(6, 27, 49, .28);
}
.demo-toast[hidden] { display: none; }
.demo-toast p { margin: 0; flex: 1; }
.demo-toast b { color: #fff; font-weight: 600; }
.demo-toast a { flex: none; color: #b9b0ff; font-weight: 500; }
.demo-toast button { flex: none; width: 28px; height: 28px; border: 0; border-radius: 4px; background: rgba(255,255,255,.08); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
@media (max-width: 520px) { .demo-toast { flex-wrap: wrap; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mq-js [data-in] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0s); }
.mq-js [data-in].is-in { opacity: 1; transform: none; }
