.support-page {
  display: grid;
  max-width: 58rem;
  row-gap: clamp(1.5rem, 4vw, 2.25rem);
  margin-inline: auto;
}

.support-page__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.support-page__summary {
  max-width: 68ch;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.55;
}

.support-page__section {
  min-width: 0;
  margin: 0;
  color: #222;
}

.support-page__heading {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.2;
}

.support-page__methods {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.support-page__method-heading {
  margin: 0 0 0.625rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.25;
}

.support-page__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.support-page__summary + .support-page__buttons {
  margin-top: 1rem;
}

.support-page__section .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #222;
  line-height: 1.25;
  white-space: normal;
  transition: background-color 500ms ease-in-out;
}

.support-page__section [hidden] {
  display: none;
}

.support-page__buttons img {
  flex: none;
}

.support-page__section .support-page__button--outline {
  border-color: #8c877d;
  background: #fff;
}

.support-page__section .support-page__patreon {
  padding-block: 0.375rem;
}

.support-page__patreon img {
  width: 7.5rem;
  height: auto;
}

.crypto-donations__currency.btn {
  background: #f5f4ef;
}

.crypto-donations__currency.btn[aria-pressed="true"],
.support-page__button--primary.btn {
  background: var(--yellow, #ffcd00);
}

@media (hover: hover) {
  .crypto-donations__currency.btn:hover {
    background: var(--yellow, #ffcd00);
  }

  .support-page__button--primary.btn:hover {
    background: #eec000;
  }

  .support-page__button--outline.btn:hover {
    background: #f5f4ef;
  }
}

.support-page__section :is(a, button, select, code):focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}

.crypto-donations__hint,
.crypto-donations__status {
  margin: 0.625rem 0 0;
  color: #48443e;
  font-size: 0.9375rem;
}

.crypto-donations__status:empty {
  margin-top: 0;
}

.crypto-donations__picker {
  margin-top: 1.25rem;
}

.crypto-donations__picker label,
.crypto-donations__label {
  display: block;
  margin: 0 0 0.375rem;
  font-weight: 700;
}

.crypto-donations__picker select {
  width: min(100%, 22rem);
  min-height: 2.75rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid #b7b2a5;
  border-radius: 0.75rem;
  background: #fff;
  color: inherit;
  font: inherit;
}

.crypto-donations__details {
  margin-top: 1.25rem;
  padding: clamp(0.875rem, 2.5vw, 1.375rem);
  border-radius: 1.25rem;
  background: #f5f4ef;
}

.crypto-donations__network {
  margin: 0 0 1rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--yellow, #ffcd00);
  font-weight: 700;
}

.crypto-donations__destination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.875rem 1.25rem;
  align-items: start;
}

.crypto-donations__address {
  display: block;
  padding: 0.625rem 0.75rem;
  border: 1px solid #ece9e1;
  border-radius: 0.625rem;
  background: #fff;
  color: #222;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  user-select: all;
}

.crypto-donations__copy.btn {
  margin-top: 0.75rem;
}

.crypto-donations__qr img {
  display: block;
  width: 152px;
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

@media (max-width: 575px) {
  .crypto-donations__destination {
    grid-template-columns: minmax(0, 1fr);
  }

  .crypto-donations__qr {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-page__section .btn {
    transition: none;
  }
}

.support-page > .support-page__section,
.support-page > .support-page__title {
  margin-block: 0;
}
.support-page .support-page__section > .support-page__heading { margin: 0 0 0.5rem; }
.support-page .support-page__section > .support-page__summary { margin: 0; }
.support-page .support-page__section > .support-page__buttons { margin-top: 1rem; }
.support-page .support-page__section > .support-page__methods { margin-top: 1.5rem; }
