.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0;
  color: #fbf4ff;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.28rem, 1.95vw, 1.62rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: none;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit;
  filter: drop-shadow(0 7px 16px rgba(242, 200, 109, 0.14));
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: 0;
}

.brand-amazing {
  color: #fbf4ff;
}

.brand-astrology {
  color: #f2c86d;
  font-style: italic;
  margin-left: 5px;
}

.brand-domain {
  margin-left: 3px;
  color: #b7a6c7;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.46em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand:focus-visible {
  border-radius: 5px;
  outline: 2px solid #f2c86d;
  outline-offset: 5px;
}

/* The compatibility header is sticky, so it must not inherit the fixed-header centering transform. */
.compatibility-page .site-header {
  left: 0;
  transform: none;
}

/* A consistent, high-contrast focus treatment makes the site easier to scan
   with a keyboard without changing the visual character of each individual tool. */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #f7d37c;
  outline-offset: 3px;
}

:where(input, select, textarea):focus-visible {
  border-color: #f7d37c !important;
  box-shadow: 0 0 0 4px rgba(247, 211, 124, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 1.16rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 390px) {
  .brand-mark {
    display: block;
  }

  .brand {
    gap: 8px;
  }

  .brand-domain {
    display: none;
  }
}
