/* Original 605 × 129 artwork. The letters image ends before the separate X at x=530. */
.wordmark {
  display: block;
  position: relative;
  width: 148px;
  aspect-ratio: 605 / 129;
  --wordmark-ink: #141d32;
}
[data-ex-theme="dark"] .wordmark { --wordmark-ink: #fff; }
.wordmark::before, .wordmark::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.wordmark::before {
  inset: 0;
  background: var(--wordmark-ink);
  -webkit-mask: url("wordmark-letters.png") center / 100% 100% no-repeat;
  mask: url("wordmark-letters.png") center / 100% 100% no-repeat;
}
.wordmark::after {
  inset: 0 auto 0 calc(100% * 530 / 605);
  width: calc(100% * 73 / 605);
  -webkit-mask: url("symbol.svg") center / 100% 100% no-repeat;
  mask: url("symbol.svg") center / 100% 100% no-repeat;
  background: linear-gradient(135deg,#19d9ff,#4d7cff 25%,#8a5cff 50%,#ff4ad8 75%,#19d9ff) 0 0 / 220% 220%;
  animation: ex-wordmark-spectrum 26s ease-in-out infinite;
}
@keyframes ex-wordmark-spectrum {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}
@media (prefers-color-scheme: dark) {
  [data-ex-theme="system"] .wordmark { --wordmark-ink: #fff; }
}
@media (prefers-reduced-motion: reduce), print {
  .wordmark::after { animation: none; background-position: 50% 50%; }
}
@media (forced-colors: active) {
  .wordmark::before, .wordmark::after { forced-color-adjust: none; background: LinkText; animation: none; }
}
