.contact-card {
  margin-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 20%);
  padding-top: 24px;
}

.contact-card-desktop {
  display: none;
}

.contact-card-mobile {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 999px;
  padding: 12px 22px;
  background: rgb(255 255 255 / 10%);
  font-size: 17px;
  line-height: 24px;
  transition: background-color 150ms, border-color 150ms;
}

.contact-card-mobile:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 20%);
}

.contact-card a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (min-width: 1024px) {
  .contact-card-mobile {
    display: none;
  }

  .contact-card-desktop {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }

  .contact-card-qr {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #6d60b0;
  }

  .contact-card-qr img {
    display: block;
    width: 160px;
    height: 160px;
  }

  .contact-card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
  }

  .contact-card-description,
  .contact-card-download {
    font-family: var(--font-book);
    font-size: 16px;
    line-height: 21px;
    color: rgb(255 255 255 / 75%);
  }

  .contact-card-description {
    margin-top: 8px;
  }

  .contact-card-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .contact-card-download:hover {
    color: #fff;
  }
}
