:root {
  color: #1f292f;
  background: #fff9e8;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 24px 22px;
}

.checkout {
  width: min(100%, 410px);
  margin: 0 auto;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: #f05647;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -2px;
}

header { margin: 47px 0 0; text-align: center; }

h1 {
  margin: 0;
  font-size: clamp(32px, 8vw, 38px);
  letter-spacing: -1.4px;
  line-height: 1.05;
}

header p {
  margin: 8px 0 0;
  color: #758087;
  font-size: 16px;
  font-weight: 600;
}

.illustration {
  position: relative;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  margin: 19px auto 23px;
}

.illustration::before, .halo {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.illustration::before { width: 138px; height: 138px; background: #ffc639; }
.halo { width: 152px; height: 152px; background: rgb(240 86 71 / 16%); }

.coin {
  z-index: 1;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #1f292f;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -3px;
  transform: rotate(-8deg);
}

.sparkle, .heart { position: absolute; color: #f05647; }
.sparkle { top: 14px; right: 4px; width: 25px; height: 25px; }
.heart { bottom: 15px; left: 8px; width: 24px; height: 24px; }

form { display: grid; gap: 14px; }
#identity-fields { display: grid; gap: 14px; }

.field {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 13px;
  padding: 11px 17px;
  border: 1px solid rgb(31 41 47 / 8%);
  border-radius: 20px;
  background: rgb(255 255 255 / 82%);
}

.field-icon { display: grid; width: 21px; height: 21px; place-items: center; color: #f05647; }
.field-icon svg { width: 21px; height: 21px; }
.field > span:last-child { flex: 1; }

small { display: block; color: #7c858a; font-size: 11px; font-weight: 800; }

input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 2px 0 0;
  color: #1f292f;
  background: transparent;
  font: 700 16px/1.3 inherit;
}

input::placeholder { color: #adb3b5; }

.pay-label {
  margin: 13px 0 16px;
  color: #1f292f;
  font-size: 18px;
  font-weight: 850;
  text-align: center;
}

.payment-options { display: flex; justify-content: center; gap: 18px; }

.payment {
  display: grid;
  gap: 6px;
  border: 0;
  color: #1f292f;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: opacity .18s ease, transform .18s ease;
  cursor: pointer;
}

.payment:hover { transform: translateY(-2px); }
.payment b {
  display: grid;
  width: 68px;
  height: 62px;
  place-items: center;
  border-radius: 19px;
  color: white;
  font-size: 33px;
  line-height: 1;
}

.cash-app b { background: #00d06a; }
.venmo b { background: #0087dc; font-family: Avenir, sans-serif; font-style: italic; }
.paypal b { background: #003087; font-family: Avenir, sans-serif; font-style: italic; }
.payment.disabled, .payment:disabled { pointer-events: none; opacity: .35; }
.payment.is-loading b { color: transparent; }
.payment.is-loading b::after { content: ""; width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / 42%); border-top-color: white; border-radius: 50%; animation: spin .65s linear infinite; }

.payment-error { margin: 0; color: #c23f34; font-size: 12px; font-weight: 700; text-align: center; }

.payment-followup { margin-top: 18px; text-align: center; }
.payment-followup p { margin: 0 0 8px; color: #758087; font-size: 13px; font-weight: 750; }
.payment-followup button, .web-thank-you button {
  border: 0;
  padding: 0;
  color: #f05647;
  background: transparent;
  font: 800 14px inherit;
  cursor: pointer;
}

.web-thank-you { margin-top: 24px; text-align: center; }
.web-thank-you > div { color: #f05647; font-size: 64px; line-height: 1; }
.web-thank-you h2 { margin: 18px 0 0; color: #1f292f; font-size: 32px; letter-spacing: -1px; }
.web-thank-you p { margin: 10px 0 0; color: #758087; font-size: 15px; font-weight: 650; line-height: 1.45; }
.web-thank-you button { margin-top: 28px; color: #1f292f; }

.disclaimer {
  max-width: 300px;
  margin: 18px auto 0;
  color: #889095;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

footer {
  display: flex;
  width: min(100%, 410px);
  justify-content: space-between;
  margin: auto auto 0;
  padding-top: 25px;
  color: #899095;
  font-size: 12px;
}

.footer-links { display: flex; align-items: center; gap: 14px; }
footer a { color: #f05647; font-weight: 750; text-decoration: none; }
.instagram-link { display: inline-flex; align-items: center; gap: 4px; }
.instagram-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.instagram-link .instagram-dot { fill: currentColor; stroke: none; }

.thank-you-page { justify-content: center; }
.thank-you { text-align: center; }
.thank-you-icon { display: grid; width: 142px; height: 142px; place-items: center; margin: 0 auto; border-radius: 50%; color: #f05647; background: #a1e0c7; box-shadow: 0 8px 0 rgb(161 224 199 / 55%); font-size: 70px; font-weight: 800; }
.thank-you .eyebrow { margin: 38px 0 7px; color: #f05647; font-size: 13px; font-weight: 800; }
.thank-you h1 { font-size: clamp(32px, 8vw, 39px); }
.thank-you p:not(.eyebrow):not(.count) { margin: 14px auto 0; max-width: 320px; color: #758087; font-size: 17px; font-weight: 600; line-height: 1.45; }
.count { margin: 31px 0 0; color: #f05647; font-size: 15px; font-weight: 800; }
.start-over { display: inline-block; margin-top: 37px; color: #1f292f; font-size: 15px; font-weight: 800; text-decoration: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.reference {
  width: min(100%, 680px);
  margin: 70px auto;
  color: #1f292f;
  font-size: 17px;
  line-height: 1.55;
}

.reference .eyebrow {
  margin: 0 0 8px;
  color: #f05647;
  font-size: 14px;
  font-weight: 800;
}

.reference h1 { font-size: clamp(34px, 7vw, 52px); }
.reference h2 { margin: 32px 0 6px; font-size: 20px; }
.reference p { margin: 12px 0; }
.reference ul { padding-left: 22px; }
.reference a { color: #d84a3c; }

@media (max-width: 430px) {
  body { padding: 18px 20px; }
  header { margin-top: 40px; }
  .illustration { margin-top: 15px; margin-bottom: 19px; transform: scale(.93); }
  footer { font-size: 11px; }
  .footer-links { gap: 10px; }
}
