.compare-logo {
  --size: 3.25rem;
  display: inline-grid;
  place-items: center;
  flex: none;
  /* Keep padded and full-bleed tiles the same outer size */
  box-sizing: border-box;
  width: var(--size);
  height: var(--size);
  padding: calc(var(--size) * .18);
  background: white;
  border-radius: calc(var(--size) * .26);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 8%), 0 2px 6px rgb(0 0 0 / 8%);
  overflow: hidden;
  img, svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  /* Logos that ship with their own tile background fill the whole tile */
  &.compare-logo--bleed { padding: 0; }
  &.compare-logo--icon {
    background: #7c3aed;
    svg {
      fill: none;
      stroke: white;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
  }
  &.compare-logo--sm {
    --size: 1.75rem;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 10%);
  }
}
