.plan-card__previous-price {
  display: block;
  margin-top: 14px;
  color: #85858f;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.plan-card__previous-price + strong {
  margin-top: 4px;
}

.plan-card__access {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  color: #d1d1d7;
  font-weight: 680;
  line-height: 1.45;
}

.plan-checkout-form > header {
  margin-bottom: 4px;
}

.plan-checkout-form > header h2 {
  margin: 0;
}

.checkout-legal-consent {
  align-items: flex-start;
  margin-top: 3px;
  padding: 15px 16px;
  border: 1px solid #2c2d33;
  border-radius: 12px;
  background: #14151a;
}

.checkout-legal-consent > span {
  color: #c7c9cf;
  line-height: 1.6;
}

.checkout-legal-consent .terms-link {
  font: inherit;
  font-weight: 700;
}

.institutional-modal__content > :first-child {
  margin-top: 0;
}

.institutional-modal__content h3 {
  margin: 26px 0 8px;
  font-size: 1.02rem;
}

.institutional-modal__content p,
.institutional-modal__content li {
  color: #c9cdd4;
}

.institutional-modal__panel:focus {
  outline: 2px solid #ef3d4b;
  outline-offset: 3px;
}

.institutional-modal:not([hidden]) .institutional-modal__backdrop {
  animation: checkout-modal-fade .18s ease-out both;
}

.institutional-modal:not([hidden]) .institutional-modal__panel {
  animation: checkout-modal-enter .22s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes checkout-modal-fade {
  from { opacity: 0; }
}

@keyframes checkout-modal-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
}

@media (max-width: 560px) {
  .plan-card__access {
    display: block;
  }

  .checkout-legal-consent {
    padding: 14px;
  }

  .institutional-modal__panel footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .institutional-modal__panel footer button {
    width: 100%;
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .institutional-modal__backdrop,
  .institutional-modal__panel {
    animation: none !important;
    transition: none !important;
  }
}
