.donation-card {
  width: min(100%, 680px);
}
.donation-card h1 {
  font-size: clamp(2.7rem, 9vw, 4.4rem);
  line-height: 1.02;
}
.donation-intro {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 22px 0 30px;
  max-width: 48ch;
}
.donation-card fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}
.donation-card legend,
.donation-amount-label {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.donation-frequencies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.donation-frequencies label {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.donation-frequencies input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.donation-frequencies span {
  display: block;
  border: 1px solid #99a69e;
  padding: 13px 5px;
  text-align: center;
  border-radius: 4px;
  font-size: 0.95rem;
}
.donation-frequencies input:checked + span {
  background: #203d33;
  border-color: #203d33;
  color: #fffaf4;
}
.donation-frequencies input:focus-visible + span {
  outline: 3px solid #a77f00;
  outline-offset: 3px;
}
.donation-amount-label {
  display: block;
}
.donation-amount-label span {
  font-weight: 400;
}
.donation-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.donation-suggestions[hidden] {
  display: none;
}
.donation-suggestions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #99a69e;
  border-radius: 4px;
  background: transparent;
  color: #203d33;
  font-size: 0.9rem;
}
.donation-suggestions button[aria-pressed="true"] {
  background: #203d33;
  color: #fffaf4;
}
.donation-suggestions button:focus-visible {
  outline: 3px solid #a77f00;
  outline-offset: 2px;
}
#donation-annual {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 700;
  margin: 12px 0;
}
.donation-tiers {
  margin-top: 28px;
  border-top: 1px solid #99a69e;
  padding-top: 24px;
}
.donation-tiers h2 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}
.donation-tiers p {
  font-size: 0.9rem;
  line-height: 1.6;
}
.donation-tiers dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 14px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.donation-tiers dt {
  font-weight: 700;
}
.donation-tiers dd {
  margin: 0;
}
.donation-tiers .donation-tier-selected {
  border-color: #a77f00;
  background: #f8edc5;
}
.donation-amount {
  display: flex;
  align-items: center;
  border: 1px solid #99a69e;
  border-radius: 4px;
  background: #fff;
  padding-left: 16px;
}
.donation-amount > span {
  font-size: 1.5rem;
}
.donation-amount input {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 15px 12px;
  font-size: 1.3rem;
  margin: 0;
  background: transparent;
}
.donation-amount:focus-within {
  outline: 3px solid #a77f00;
  outline-offset: 2px;
}
.donation-amount input:focus {
  outline: 0;
}
#donation-terms {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 14px 0 20px;
  min-height: 3.2em;
}
#donation-submit {
  width: 100%;
  min-height: 50px;
}
#donation-status {
  min-height: 1.5em;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.donation-security {
  color: #52615c;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-top: 24px;
}
.donation-test {
  border: 1px solid #b28a00;
  padding: 10px;
  font-size: 0.9rem;
}
@media (max-width: 420px) {
  .donation-card {
    padding: 28px 22px;
  }
  .donation-frequencies span {
    font-size: 0.85rem;
  }
}
