/* Shared refinements for the persistent header, upgraded footer, and 404 page. */
.header-phone-mobile {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 12px 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.header-phone-mobile::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(155, 89, 245, .58);
  border-radius: 50%;
  background: rgba(155, 89, 245, .08);
}

.header-phone-mobile svg {
  position: relative;
  z-index: 1;
  width: 17px !important;
  height: 17px !important;
}

.footer-compact .footer-grid,
.footer-compact .footer-inner {
  grid-template-columns: 1.2fr .7fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-compact .footer-detail {
  margin: 0;
  color: var(--secondary, #94a3b8);
  font-size: 12px;
  line-height: 1.55;
}

.footer-compact .footer-detail a,
.footer-compact .footer-action a {
  color: var(--secondary, #94a3b8);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-compact .footer-detail a:hover,
.footer-compact .footer-detail a:focus-visible,
.footer-compact .footer-action a:hover,
.footer-compact .footer-action a:focus-visible {
  color: #fff;
}

.footer-compact .footer-hours span {
  display: block;
}

.not-found-page {
  min-height: 760px;
  padding: 190px 0 120px;
  background:
    radial-gradient(circle at 75% 22%, rgba(124, 53, 232, .2), transparent 34%),
    linear-gradient(145deg, #0d0b12, var(--bg, #070708) 62%);
}

.not-found-card { max-width: 820px; }
.not-found-code {
  margin: 0 0 20px;
  color: var(--purple2, #a970ff);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.not-found-page h1 { max-width: 760px; }
.not-found-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted, #a29daa);
  font-size: 18px;
  line-height: 1.7;
}
.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.not-found-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  color: #c5c0ca;
  font-size: 14px;
}
.not-found-links a:hover,
.not-found-links a:focus-visible {
  border-color: rgba(169, 112, 255, .62);
  color: #fff;
}

@media (max-width: 820px) {
  .footer-compact .footer-grid,
  .footer-compact .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-compact .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-compact .footer-grid,
  .footer-compact .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-compact .footer-brand { grid-column: auto; }
  .not-found-page { min-height: 660px; padding: 140px 0 90px; }
  .not-found-copy { font-size: 16px; }
  .not-found-links { display: grid; grid-template-columns: 1fr; }
  .not-found-links a { justify-content: center; }
}
