.referral-offer {
  display: none;
}

.referral-page .referral-offer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin: -25px 0 35px;
  padding: 22px 24px;
  border: 1px solid rgba(199, 164, 103, .45);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #142828, #263b36);
  box-shadow: 0 18px 42px rgba(19, 37, 37, .15);
}

.referral-offer-icon {
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font: 600 25px/1 "Manrope";
}

.referral-offer-icon span {
  margin-top: 3px;
  font: 700 8px "DM Sans";
  letter-spacing: .12em;
  text-transform: uppercase;
}

.referral-offer-label {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.referral-offer h3 {
  margin: 4px 0;
  font: 600 23px "Manrope";
}

.referral-offer p {
  max-width: 680px;
  margin: 0;
  color: #b7c5c1;
  font-size: 11px;
  line-height: 1.55;
}

.referral-page .price-card > p {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: .52;
}

.referral-page .price-card .price {
  position: relative;
  opacity: .62;
}

.referral-page .price-card .price::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 18px;
  left: -2px;
  width: 78%;
  height: 2px;
  background: currentColor;
  transform: rotate(-5deg);
  opacity: .8;
}

.referral-free-label {
  display: block;
  margin-top: 6px;
  color: #88703f;
  font: 800 10px "DM Sans";
  letter-spacing: .04em;
}

.referral-page .price-card.featured .referral-free-label {
  color: var(--gold);
}

.referral-page .price-card .plan-button {
  border-color: #b99a61;
  color: #44371f;
  background: #f6eedf;
}

.referral-page .price-card.featured .plan-button {
  background: var(--gold);
}

.signup-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.signup-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e2b8b4;
  border-radius: 9px;
  color: #8f3028;
  background: #fff3f1;
  font-size: 10px;
}

.password-hint {
  grid-column: 1 / -1;
  margin: -7px 0 1px;
  color: #70827e;
  font-size: 9px;
  line-height: 1.4;
}

.submit-trial[disabled] {
  cursor: wait;
  opacity: .68;
}

@media (max-width: 820px) {
  .referral-page .referral-offer {
    grid-template-columns: auto 1fr;
  }

  .referral-offer .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .referral-page .referral-offer {
    grid-template-columns: 1fr;
    margin-top: -10px;
    text-align: center;
  }

  .referral-offer-icon {
    margin: auto;
  }

  .referral-offer p {
    font-size: 10px;
  }
}
