/* The Ekalix demo's own pieces, on top of the product's page: a badge in the empty middle of the top bar
   with the way to the real thing, and a short welcome the first time. The badge takes the product's theme
   colours (its own variables), so it matches whichever theme is on. Nothing here changes the product's look. */
.topbar > .grow { display: flex; align-items: center; justify-content: center; overflow: hidden; container-type: inline-size; }
.ekxd-badge {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 4px 0 12px; max-width: 100%; box-sizing: border-box;
  border-radius: 999px; border: 1px solid var(--accent-bd, rgba(56, 189, 248, .42)); background: var(--accent-bg, rgba(56, 189, 248, .12));
  color: var(--text, #e9eff6); font: 500 12.5px/1 var(--font, 'IBM Plex Sans', system-ui, sans-serif); white-space: nowrap;
}
.ekxd-badge b { color: var(--accent, #38bdf8); font-weight: 600; letter-spacing: .02em; }
.ekxd-badge .ekxd-note { color: var(--text-2, #a6b6c6); }
.ekxd-badge .ekxd-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); animation: ekxdPulse 2.4s ease-in-out infinite; }
.ekxd-badge a { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.ekxd-badge a.ekxd-go { background: linear-gradient(100deg, var(--accent-fill-1, #2fb6f2), var(--accent-fill-2, #1f9ad6)); color: var(--on-accent, #04131c); }
.ekxd-badge a.ekxd-home { color: var(--text-2, #a6b6c6); border: 1px solid var(--border-2, rgba(155, 185, 215, .22)); }
.ekxd-badge a:hover { filter: brightness(1.08); }
.ekxd-badge a:focus-visible { outline: 2px solid var(--accent, #38bdf8); outline-offset: 2px; }
/* gives way as the top bar fills: the sentence first, then the second link, then the words, then all of it */
@container (max-width: 520px) { .ekxd-badge .ekxd-note { display: none; } }
@container (max-width: 300px) { .ekxd-badge .ekxd-home { display: none; } }
@container (max-width: 190px) { .ekxd-badge b { display: none; } }
@container (max-width: 150px) { .ekxd-badge { display: none; } }
@keyframes ekxdPulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .ekxd-badge .ekxd-dot { animation: none; } }
:root[data-motion-pref="off"] .ekxd-badge .ekxd-dot { animation: none; }

.ekxd-welcome { position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 16px; background: rgba(2, 6, 14, .66); backdrop-filter: blur(3px); }
.ekxd-card {
  width: min(520px, 100%); padding: 24px 24px 20px; border-radius: 18px; background: #0b111c; border: 1px solid rgba(56, 189, 248, .35);
  color: #dbe5f1; font: 400 14.5px/1.55 'IBM Plex Sans', system-ui, sans-serif; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.ekxd-card h2 { margin: 0 0 10px; font: 700 21px/1.2 'IBM Plex Sans', system-ui, sans-serif; color: #f4f8fc; }
.ekxd-card ul { margin: 12px 0 16px; padding-left: 20px; display: grid; gap: 6px; }
.ekxd-card .ekxd-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ekxd-card button, .ekxd-card a { height: 36px; padding: 0 16px; border-radius: 999px; font: 600 13.5px 'IBM Plex Sans', system-ui, sans-serif; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.ekxd-card .ekxd-start { border: 0; background: linear-gradient(100deg, #38bdf8, #818cf8); color: #04121f; }
.ekxd-card .ekxd-trial { border: 1px solid rgba(255, 255, 255, .18); color: #dbe5f1; background: none; }
