/* Shared shiny rounded-square brand mark (nav, footer, etc.) */
.brand-mark,
.lp-nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  overflow: hidden;
  border: none;
  border-radius: 0.7rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 55%, #000000 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 -1px 0 rgba(0, 0, 0, 0.45) inset,
    0 4px 10px rgba(0, 0, 0, 0.18);
}

@media (max-width: 767px) {
  .lp-nav .brand-mark,
  .lp-nav .lp-nav-logo {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.6rem;
  }
}

.brand-mark--sm {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.42rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 -1px 0 rgba(0, 0, 0, 0.4) inset,
    0 2px 6px rgba(0, 0, 0, 0.16);
}

.brand-mark::after,
.lp-nav-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.1) 26%,
    rgba(255, 255, 255, 0) 55%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 -1px 0 rgba(0, 0, 0, 0.35) inset;
  pointer-events: none;
}

.brand-mark img,
.lp-nav-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  position: relative;
  z-index: 0;
}
