/*
 * The plan cards, shared by the home page and /pricing: the feature list, the
 * sync (?) tooltip, the Enterprise card and the card buttons.
 */

/* Pricing: each card carries the full comparison, so there is no second table below. */
.wow .plan .plan-group {
  margin: 4px 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8393ad;
}

.wow .plan ul.plan-feats li {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  color: #d0def3;
}

.wow .plan ul.plan-feats li svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.wow .plan ul.plan-feats li.is-yes svg {
  color: #86efac;
}

.wow .plan ul.plan-feats li.is-no {
  color: #5d6475;
}

/* Pricing: Enterprise as its own wide card under the three plans. */
.wow .plan-enterprise {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px 48px;
  margin-top: 16px;
  padding: 36px 40px;
  border: 1px solid #9172c5;
  border-radius: 9px;
  background: linear-gradient(120deg, #241a36, #10151e 65%);
  color: #dfe6f5;
}

.wow .plan-enterprise .pe-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b69bff;
}

.wow .plan-enterprise h3 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: #f2f5fb;
}

.wow .plan-enterprise p {
  margin: 0;
  color: #a0adc0;
  font-size: 1rem;
  line-height: 1.6;
}

.wow .plan-enterprise .pe-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9375rem;
  color: #d0def3;
}

.wow .plan-enterprise .pe-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wow .plan-enterprise .pe-points svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: #86efac;
}

.wow .plan-enterprise .pe-btn {
  padding: 18px 30px;
  font-size: 1.0625rem;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .wow .plan-enterprise {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .wow .plan-enterprise .pe-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Pricing: the (?) beside each plan's sync interval. Hover or focus opens it, so a tap works too. */
.wow .tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-left: 7px;
  padding: 0;
  border: 1px solid #4a5a78;
  border-radius: 50%;
  background: transparent;
  color: #b69bff;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  vertical-align: 1px;
  cursor: help;
}

.wow .tip-body {
  position: absolute;
  right: -8px;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: 300px;
  max-width: calc(100vw - 48px);
  padding: 12px 14px;
  border: 1px solid #3d4c66;
  border-radius: 7px;
  background: #1a2230;
  box-shadow: 0 12px 30px #0008;
  color: #d0def3;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
  white-space: normal;
  visibility: hidden;
  opacity: 0;
}

.wow .tip:hover .tip-body,
.wow .tip:focus-visible .tip-body,
.wow .tip:focus .tip-body {
  visibility: visible;
  opacity: 1;
}

.wow .plan-enterprise .tip-body {
  right: auto;
  left: -8px;
}

/* Pricing: the two outline buttons read as live, and answer the pointer like the featured one. */
.wow .plan .btn.ghost {
  background: #b69bff14;
  border: 1px solid #9172c5;
  color: #f2f5fb;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.wow .plan .btn.ghost:hover,
.wow .plan .btn.ghost:focus-visible {
  background: #b69bff;
  border-color: #b69bff;
  color: #211337;
  transform: translateY(-1px);
}

.wow .plan .btn.primary {
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.wow .plan .btn.primary:hover,
.wow .plan .btn.primary:focus-visible {
  background: #c9b5ff;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .wow .plan .btn {
    transition: none;
  }

  .wow .plan .btn:hover,
  .wow .plan .btn:focus-visible {
    transform: none;
  }
}
