.donate-page > .site-header {
  position: absolute;
  inset: 0 0 auto;
}
.no-js .donate-page > .site-header {
  position: relative;
  background: #1a6acf;
}
.donate-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(760px, 47.92vw, 1080px);
  background: linear-gradient(
    180deg,
    #1a6acf 25.86%,
    #428eef 54.63%,
    #8fccf9 87.82%,
    #c5e6ff 100%
  );
}
.donate-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: var(--cut);
  background: var(--paper);
  clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%);
  z-index: 5;
}
.donate-hero-body {
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-top: 132px;
  padding-bottom: 132px;
}
.donate-intro {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 65%;
}
.instant-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 16px;
  border-radius: 100px;
  background: #181e2499;
  color: var(--white);
  font:
    500 18px/0.95 Stapel,
    Arial,
    sans-serif;
  text-transform: uppercase;
  margin-bottom: 52px;
}
.instant-badge img {
  width: 15px;
  height: 20px;
}
.donate-intro h1 {
  font-size: clamp(60px, 5.208vw, 100px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
}
.donate-description {
  color: var(--white);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-top: 32px;
}
.donate-intro > .button {
  margin-top: 52px;
}
.donate-scenery {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.businessman {
  position: absolute;
  width: clamp(600px, 38.02vw, 860px);
  height: auto;
  max-width: none;
  right: calc(50% - min(43.28vw, 980px) - clamp(0px, 360px - 25vw, 135px));
  bottom: -9.9%;
  z-index: 2;
}
.donate-coin {
  position: absolute;
  max-width: none;
  object-fit: contain;
  animation: ui-float 6s ease-in-out infinite;
}
.coin--front {
  width: 8.8%;
  left: 52.92%;
  top: 19.4%;
  rotate: 11.79deg;
  z-index: 3;
}
.coin--edge {
  width: 9.4%;
  left: 47.8%;
  bottom: 9%;
  rotate: 11.15deg;
  z-index: 3;
  animation-delay: -2s;
}
.coin--small {
  width: 4.4%;
  right: 15.2%;
  top: 33%;
  rotate: -9.38deg;
  filter: blur(4px);
}
.coin--left {
  width: 19%;
  left: -8.8%;
  top: 43%;
  rotate: 2deg;
  filter: blur(12px);
}
.coin--right {
  width: 17.5%;
  right: -6.6%;
  bottom: 5%;
  rotate: 91deg;
  filter: blur(12px);
  z-index: 3;
  animation-delay: -3s;
}
.coin--top {
  width: 4.6%;
  left: 5.6%;
  top: 20%;
  rotate: 97deg;
  filter: blur(3px);
}
.packages-section {
  padding-top: 80px;
  padding-bottom: 120px;
}
.packages-section .section-heading p {
  font-size: 22px;
  color: #454b51;
  margin-bottom: 24px;
}
.packages-section h2 {
  font-size: var(--heading);
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 20px;
  margin-top: 60px;
}
.package-card {
  position: relative;
  isolation: isolate;
  grid-column: span 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 8px 8px;
  border-radius: 34px 34px 48px 48px;
  background: var(--white);
  box-shadow: 0 14px 24px #09264b0f;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.package-card:nth-child(5) {
  grid-column: 2 / span 2;
}
.package-card:hover,
.package-card:focus-within {
  transform: translateY(-6px);
}
.package-art {
  position: relative;
  overflow: hidden;
  width: min(256px, 100%);
  aspect-ratio: 1;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.package-art img {
  position: absolute;
  max-width: none;
  pointer-events: none;
}
.package-art--1 img {
  width: 337.5%;
  height: 112.76%;
  left: -8.64%;
  top: -7.68%;
}
.package-art--2 img {
  width: 315%;
  height: 105.24%;
  left: -109.07%;
  top: -2.8%;
}
.package-art--3 img {
  width: 315%;
  height: 105.24%;
  left: -212.22%;
  top: -2.1%;
}
.package-art--4 img {
  width: 313.9%;
  height: 111.9%;
  left: -3.71%;
  top: -1.68%;
}
.package-art--5 img {
  width: 291.53%;
  height: 103.98%;
  left: -94.01%;
  top: -2.06%;
}
.package-art--6 img {
  width: 310.65%;
  height: 119.48%;
  left: -0.96%;
  top: -0.76%;
}
.package-art--7 img {
  width: 298.19%;
  height: 114.73%;
  left: -196.55%;
  top: -1.17%;
}
.package-card:hover .package-art {
  transform: translateY(-3px) rotate(-2deg);
}
.package-badges {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  z-index: 2;
  pointer-events: none;
}
.package-badges .promo {
  min-width: 0;
  color: var(--white);
}
.package-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 12px;
  border-radius: 100px;
  background: linear-gradient(#7cbcf7, #1a69cf);
  box-shadow: inset 0 -2px 2px #206fd3cc;
  color: white;
  font:
    700 18px/0.9 Stapel,
    Arial,
    sans-serif;
}
.package-amount {
  text-align: center;
  width: 100%;
  padding-bottom: 12px;
}
.package-amount s {
  display: block;
  font:
    500 18px/1 Stapel,
    Arial,
    sans-serif;
  color: #6c7378;
  margin-bottom: 12px;
}
.package-amount h3 {
  font:
    700 clamp(26px, 1.875vw, 36px)/0.95 Stapel,
    Arial,
    sans-serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.package-amount h3 span {
  color: #f6ae22;
}
.package-buy {
  width: 100%;
  min-height: 90px;
  padding: 18px 12px;
  gap: 12px;
  font-size: clamp(18px, 1.46vw, 28px);
}
.package-buy img {
  width: 30px;
  height: 26px;
}
.checkout-dialog {
  width: min(944px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 44px;
  border: 0;
  border-radius: 44px;
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 28px 60px #09264b26;
}
.checkout-dialog::backdrop {
  background: #181e2466;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}
.checkout-dialog[open] {
  animation: checkout-enter 0.25s ease-out;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 28px;
}
.checkout-package {
  display: flex;
  min-width: 0;
}
.checkout-package .package-card {
  width: 100%;
  justify-content: center;
  padding-block: 32px;
}
.checkout-package .package-card:hover {
  transform: none;
}
.checkout-package .package-amount s {
  font-size: 26px;
}
.checkout-package .package-amount h3 {
  font-size: 52px;
}
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
.checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.checkout-field > label {
  display: block;
  color: #626c75;
  font:
    500 18px/0.9 Stapel,
    Arial,
    sans-serif;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  padding-inline: 8px;
  margin-bottom: 12px;
}
.field-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 14px 24px #09264b0f;
  min-height: 64px;
  padding: 14px;
}
.field-control > img {
  flex: none;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.field-control > .email-icon {
  width: 26px;
  height: 20px;
  opacity: 0.6;
  transform: rotate(180deg) scaleX(-1);
}
.field-control input,
.field-control select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  min-width: 0;
  width: 100%;
  font:
    500 18px/1.2 Stapel,
    Arial,
    sans-serif;
  padding: 4px 0;
  border-radius: 0;
}
.field-control input::placeholder {
  color: #707b84;
  opacity: 1;
}
.field-control select {
  appearance: none;
  padding-right: 30px;
  cursor: pointer;
}
.field-control > .select-arrow {
  position: absolute;
  right: 14px;
  rotate: -90deg;
  pointer-events: none;
}
.field-control:focus-within {
  outline: 2px solid #337fe1;
  outline-offset: 3px;
}
.field-control:has([aria-invalid="true"]) {
  outline: 2px solid #bb3048;
  outline-offset: 2px;
}
.checkout-consent {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-consent input {
  appearance: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  margin: 0;
  border: 2px solid #72889e;
  border-radius: 15px;
  background: var(--white);
  cursor: pointer;
}
.checkout-consent input:checked {
  border-color: #337fe1;
  background: linear-gradient(#7cbcf7, #1a69cf);
  box-shadow: inset 0 0 0 5px var(--paper);
}
.checkout-consent input:checked::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  left: 6px;
  top: 6px;
  background: url("/assets/donate/check.svg?v=73f24d2f3ced") center/contain no-repeat;
  rotate: 90deg;
}
.checkout-consent label {
  font:
    400 18px/1.1 "Roboto Condensed",
    Arial,
    sans-serif;
}
.checkout-consent a,
.no-script-checkout a {
  color: #205faa;
  text-underline-offset: 2px;
  text-decoration: underline;
}
.checkout-submit {
  min-height: 90px;
  width: 100%;
  padding: 18px 12px;
  font-size: 28px;
  white-space: nowrap;
}
.field-error {
  color: #a82137;
  font-size: 15px;
  margin: 8px 8px 0;
}
.field-error:empty {
  display: none;
}
.checkout-status {
  font-size: 17px;
  line-height: 1.3;
}
.checkout-status--error {
  color: #a82137;
}
.checkout-status a {
  color: #205faa;
  text-decoration: underline;
}
html.checkout-open {
  overflow: hidden;
}
.no-script-checkout {
  padding-top: 24px;
  text-align: center;
}
@keyframes checkout-enter {
  from {
    opacity: 0;
    translate: 0 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (min-width: 901px) and (max-width: 1440px) {
  .coin--front {
    left: calc(50% - 30px);
  }
}
@media (max-width: 1200px) {
  .donate-intro h1 {
    font-size: clamp(52px, 5.2vw, 64px);
  }
  .donate-description {
    font-size: 19px;
  }
  .package-art {
    width: 95%;
  }
  .package-buy {
    min-height: 64px;
  }
  .package-badges .promo,
  .package-bonus {
    height: 30px;
    font-size: 13px;
    padding: 6px 8px;
  }
  .package-badges .promo img {
    width: 12px;
    height: 20px;
  }
}
@media (max-width: 900px) {
  .donate-hero {
    min-height: 760px;
  }
  .donate-intro {
    width: 70%;
  }
  .donate-intro h1 {
    font-size: 54px;
  }
  .coin--front {
    top: 23%;
    left: 70%;
    width: 13%;
  }
  .coin--edge {
    left: 47%;
    bottom: 6%;
    width: 16%;
  }
  .instant-badge {
    font-size: 14px;
  }
  .packages-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .package-card:nth-child(5) {
    grid-column: span 2;
  }
  .package-card:last-child {
    grid-column: 3 / span 2;
  }
  .checkout-dialog {
    padding: 36px 24px 24px;
    border-radius: 28px;
  }
  .checkout-layout {
    gap: 20px;
  }
  .checkout-package .package-amount h3 {
    font-size: 36px;
  }
  .checkout-package .package-amount s {
    font-size: 20px;
  }
  .checkout-field > label,
  .field-control input,
  .field-control select {
    font-size: 16px;
  }
  .checkout-submit {
    font-size: 20px;
    min-height: 64px;
  }
  .checkout-consent label {
    font-size: 16px;
  }
}
/* On tablets the illustration sits below the copy, with room for the whole case. */
@media (min-width: 601px) and (max-width: 900px) {
  .donate-hero {
    min-height: calc(448px + 50vw);
  }
  .donate-hero::after {
    height: 32px;
  }
  .donate-hero-body {
    display: block;
    padding-top: 132px;
    padding-bottom: 0;
  }
  .donate-intro {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .instant-badge {
    padding: 8px 12px;
    margin-bottom: 24px;
    font-size: 12px;
  }
  .instant-badge img {
    width: 10.5px;
    height: 14px;
  }
  .donate-intro h1 {
    font-size: 48px;
  }
  .donate-description {
    margin-top: 16px;
    font-size: 16px;
  }
  .donate-intro > .button {
    margin-top: 24px;
    min-height: 60px;
    padding: 12px 32px;
    font-size: 18px;
  }
  .businessman {
    width: calc(115px + 40vw);
    right: 50%;
    translate: 50% 0;
    bottom: -72px;
  }
  .coin--front {
    width: 90px;
    left: calc(50% - 260px);
    top: auto;
    bottom: 285px;
  }
  .coin--edge {
    width: 100px;
    left: calc(50% - 290px);
    bottom: 40px;
  }
  .coin--small {
    width: 48px;
    right: calc(50% - 140px);
    top: auto;
    bottom: 285px;
  }
  .coin--left,
  .coin--top {
    display: none;
  }
  .coin--right {
    width: 180px;
    right: -70px;
    bottom: 70px;
  }
}
@media (max-width: 600px) {
  .donate-hero {
    min-height: 712px;
  }
  .donate-hero::after {
    height: 25px;
  }
  .donate-hero-body {
    display: block;
    padding-top: 96px;
    padding-bottom: 0;
  }
  .donate-intro {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .instant-badge {
    gap: 6px;
    padding: 8px 10px;
    font-size: 12px;
    margin-bottom: 24px;
  }
  .instant-badge img {
    width: 10.5px;
    height: 14px;
  }
  .donate-intro h1 {
    font-size: clamp(32px, 10.67vw, 48px);
  }
  .donate-description {
    font-size: 14px;
    margin-top: 16px;
  }
  .donate-intro > .button {
    margin-top: 24px;
    min-height: 60px;
    font-size: 18px;
    padding: 12px 32px;
  }
  .businessman {
    width: 355px;
    right: calc(50% - 177.5px);
    bottom: -72px;
  }
  .coin--front {
    width: 78px;
    left: calc(50% - 186px);
    top: auto;
    bottom: 224px;
    rotate: 26.5deg;
  }
  .coin--edge {
    width: 85px;
    left: calc(50% - 218px);
    bottom: 14px;
  }
  .coin--small {
    width: 40px;
    right: calc(50% - 87px);
    top: auto;
    bottom: 223px;
    filter: blur(2px);
  }
  .coin--right {
    width: 165px;
    right: -110px;
    bottom: 4px;
    filter: blur(6px);
  }
  .coin--left,
  .coin--top {
    display: none;
  }
  .packages-section {
    padding-top: 44px;
    padding-bottom: 64px;
  }
  .packages-section .section-heading p {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .packages-section h2 {
    font-size: 28px;
    white-space: nowrap;
  }
  .packages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 8px;
    margin-top: 32px;
  }
  .package-card {
    gap: 4px;
    padding: 12px 6px 6px;
    border-radius: 20px 20px 27px 27px;
  }
  .package-card:last-child {
    grid-column: 2 / span 2;
  }
  .package-art {
    width: min(144px, 100%);
  }
  .package-badges {
    inset: 7px 7px auto;
  }
  .package-badges .promo,
  .package-bonus {
    height: 23px;
    gap: 3px;
    padding: 5px 7px;
    font-size: 10px;
  }
  .package-badges .promo img {
    width: 9px;
    height: 15px;
  }
  .package-amount {
    padding-bottom: 7px;
  }
  .package-amount s {
    font-size: 10px;
    margin-bottom: 7px;
  }
  .package-amount h3 {
    font-size: 20px;
  }
  .package-buy {
    font-size: 16px;
    min-height: 51px;
    gap: 7px;
    padding: 10px 3px;
  }
  .package-buy img {
    width: 17px;
    height: 15px;
  }
  .checkout-dialog {
    padding: 16px;
    padding-top: 20px;
    border-radius: 20px;
    max-height: calc(100dvh - 24px);
  }
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .checkout-package .package-card {
    padding: 12px 6px 16px;
    min-height: 227px;
    border-radius: 27px;
  }
  .checkout-package .package-art {
    width: 144px;
  }
  .checkout-package .package-amount {
    padding-bottom: 0;
  }
  .checkout-package .package-amount s {
    font-size: 16px;
  }
  .checkout-package .package-amount h3 {
    font-size: 28px;
  }
  .checkout-package .package-badges .promo,
  .checkout-package .package-bonus {
    height: 26px;
    font-size: 12px;
  }
  .checkout-package .package-badges {
    inset: 8px 8px auto;
  }
  .checkout-fields {
    gap: 16px;
  }
  .checkout-field > label {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .field-control {
    min-height: 56px;
    border-radius: 20px;
  }
  .field-control > img {
    width: 22px;
    height: 22px;
  }
  .field-control > .email-icon {
    width: 20px;
    height: 16px;
  }
  .field-control > .select-arrow {
    width: 28px;
    height: 28px;
  }
  .field-control input,
  .field-control select {
    font-size: 16px;
  }
  .checkout-form {
    gap: 24px;
  }
  .checkout-consent input {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }
  .checkout-consent input:checked {
    box-shadow: inset 0 0 0 3px var(--paper);
  }
  .checkout-consent input:checked::after {
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
  }
  .checkout-consent label {
    font-size: 14px;
  }
  .checkout-submit {
    min-height: 60px;
    font-size: 18px;
  }
}
@media (max-width: 360px) {
  .packages-section h2 {
    font-size: 24px;
  }
  .package-buy {
    font-size: 14px;
  }
  .package-amount h3 {
    font-size: 18px;
  }
  .checkout-submit {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .donate-coin,
  .checkout-dialog[open] {
    animation: none;
  }
}

.payment-result {
  width: min(944px, calc(100% - 40px));
  text-align: center;
}
.payment-result-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #ffdf5733;
  color: #1a6acf;
}
.payment-result-label {
  margin-bottom: 12px;
  color: #526578;
  font: 500 13px/1.4 Stapel, sans-serif;
}
.payment-result h2 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
#payment-result-text {
  margin: 24px 0;
  font-size: 20px;
  line-height: 1.45;
}
.payment-result-copy > .button {
  width: 100%;
  min-height: 60px;
  font-size: 18px;
}
.payment-result-support {
  display: block;
  margin-top: 20px;
  color: #1755a3;
  font: 500 14px/1.5 Stapel, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.payment-result--fail .payment-result-icon {
  color: #a82137;
  background: #a8213710;
}
.payment-result--fail #payment-result-text { color: #a82137; }
.payment-result-fallback { padding-block: 32px; }
.payment-result-fallback h2 { font-size: 28px; line-height: 1.1; }
.payment-result-fallback p { margin-block: 20px; }
@media(max-width: 600px) {
  .payment-result-icon { width: 72px; height: 72px; margin-bottom: 20px; }
  .payment-result-icon svg { width: 48px; height: 48px; }
  #payment-result-text { font-size: 18px; }
}
/* These headings receive focus programmatically, not through the Tab order. */
#payment-result-title:focus,
#packages-title[tabindex="-1"]:focus { outline: none; }

.payment-result .checkout-layout { align-items: stretch; }
.payment-result-copy { min-width: 0; align-self: center; }
.payment-result-art .package-card { align-items: center; min-height: 100%; }
.payment-result-art .package-art { width: min(100%, 330px); height: auto; aspect-ratio: 1; margin: 0; }
.payment-result-art .package-card:hover .package-art { transform: none; }
@media (max-width: 600px) {
  .payment-result .checkout-layout { gap: 20px; }
  .payment-result-art .package-card { min-height: 0; padding: 12px; }
  .payment-result-art .package-art { width: 144px; }
  .payment-result-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .payment-result-icon svg { width: 32px; height: 32px; }
  .payment-result-label { font-size: 12px; }
  .payment-result h2 { font-size: 24px; }
  #payment-result-text { margin-block: 16px; }
  .payment-result-support { margin-top: 16px; }
}
