/* Donate page */
.give { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: 24px; }
.give__about p { color: var(--muted); font-size: clamp(1.0625rem, 1.15vw, 1.2rem); }
.give__about p + p { margin-top: 14px; }
.give__supporters { margin-top: clamp(32px, 4vw, 48px); }
.give__supporters h2 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.supporter-list { margin-top: 16px; }
.supporter {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 4px 12px; align-items: start;
  padding: 14px 0; border-top: 1px solid #3a3a40;
}
.supporter:last-child { border-bottom: 1px solid #3a3a40; }
.supporter__number { font: italic 700 1.6rem/1.1 "Oswald", sans-serif; color: #e8243f; }
.supporter__name { font-weight: 600; color: var(--text); }
.supporter__tag { margin-left: 6px; padding: 2px 7px; background: var(--red); color: #fff; font: 500 .8rem/1.3 "Oswald", sans-serif; text-transform: uppercase; }
.supporter__note { color: var(--muted); overflow-wrap: anywhere; }
.supporter-empty { margin-top: 12px; color: var(--muted); }
.supporter-empty[hidden] { display: none; }

.give__form { display: grid; gap: 22px; padding: clamp(20px, 2.4vw, 32px); background: var(--surface); }
.give__label { display: block; margin: 0 0 8px; padding: 0; font-weight: 600; }
.give__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.give__amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.give__amount { cursor: pointer; }
.give__amount input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.give__amount span {
  display: flex; align-items: center; justify-content: center; min-height: 54px;
  border: 1px solid #4a4a52; font: 500 1.2rem/1 "Oswald", sans-serif;
  transition: background-color .2s, border-color .2s;
}
.give__amount:hover span { border-color: var(--text); }
.give__amount input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.give__amount input:focus-visible + span { outline: 3px solid var(--text); outline-offset: 2px; }
.give__form input[type="text"], .give__form input[type="number"], .give__form textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: var(--bg); color: var(--text); border: 1px solid #4a4a52;
  font: 400 1.0625rem/1.4 "Barlow", system-ui, sans-serif;
}
.give__form textarea { display: block; resize: vertical; }
.give__form input:focus, .give__form textarea:focus { outline: none; border-color: var(--text); }
.give__custom { margin-top: 8px; }
.give__money { position: relative; }
.give__money span {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1.0625rem; color: var(--text); pointer-events: none;
}
.give__form .give__money input { padding-left: 32px; }
.give__check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.35; }
.give__check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--red); }
.give__error { color: #ff8d9c; }
.give__fail { padding: 12px 14px; background: rgb(206 15 45 / .22); }
.give__fail a { color: inherit; }
.give__error[hidden], .give__fail[hidden] { display: none; }
.give__submit { width: 100%; border: 0; cursor: pointer; }
.give__submit:disabled { opacity: .7; cursor: default; }
.give__note { margin-top: -10px; color: var(--muted); font-size: .95rem; }
.give__note a { color: inherit; }

@media (max-width: 900px) {
  .give { grid-template-columns: minmax(0, 1fr); }
  .give__form { order: -1; }
}
