/* Landing subscription buttons, credit packs, and plan details. */

.plan-purchase-options {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
}

.plan-purchase-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 48px;
  width: 100%;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(110deg, #00d0f5, #01e888 50%, #bbff00);
  padding: 10px 8px;
  color: #000;
  font: inherit;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.plan-purchase-option span,
.plan-purchase-option strong {
  font-size: 1rem;
  font-weight: 800;
}

.plan-purchase-option small {
  color: #102014;
  font-size: 0.875rem;
  font-weight: 400;
}

.plan-purchase-option:not(:disabled):hover,
.plan-purchase-option:not(:disabled):focus-visible {
  filter: brightness(1.08);
}

.plan-purchase-option:disabled {
  opacity: 1;
  cursor: default;
}

.credit-packs-info {
  margin-top: clamp(48px, 6vw, 80px);
}

.credit-packs-info__heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.credit-packs-info__heading .eyebrow {
  color: #aaa;
}

.credit-packs-info__heading h3 {
  margin: 8px 0 10px;
  color: #f5f5f5;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.16;
  letter-spacing: normal;
}

.credit-packs-info__heading > p:last-child {
  margin: 0;
  color: #c7c7c7;
  font-size: 1rem;
  line-height: 1.55;
}

.credit-packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.credit-pack-card {
  min-width: 0;
  border: 1px solid transparent;
  border-top: 2px solid #01e888;
  border-radius: 26px;
  background: #121212;
  padding: 18px;
}

.credit-pack-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.credit-pack-card__copy {
  min-width: 0;
  flex: 1;
}

.credit-pack-card__label {
  margin: 0 0 4px;
  color: #8f8f8f;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.credit-pack-card h4 {
  margin: 0;
  color: #f5f5f5;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: normal;
}

.credit-pack-card__caption {
  margin: 4px 0 0;
  color: #b5b5b5;
  font-size: .8125rem;
  line-height: 1.4;
}

.credit-pack-card__price {
  flex: none;
  margin: 0;
  border-radius: 99px;
  background: linear-gradient(110deg, #00d0f5, #01e888 50%, #bbff00);
  padding: 5px 12px;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.credit-pack-card__price span {
  font-size: inherit;
  font-weight: inherit;
}

.plan-details {
  margin-top: 32px;
  border: 0;
  border-radius: 18px;
  background: #151515;
  color: #e9e9e9;
}

.plan-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

.plan-details summary::-webkit-details-marker {
  display: none;
}

.plan-details summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 14px;
}

.plan-details__chevron {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.plan-details[open] .plan-details__chevron {
  transform: rotate(225deg);
}

.plan-details__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid #383838;
  padding: 24px;
}

.plan-details__content h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.3;
}

.plan-details__content p {
  margin: 0 0 14px;
  color: #cfcfcf;
  font-size: .96rem;
  line-height: 1.65;
}

.plan-details__content a {
  color: #fff;
  font-size: .96rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .credit-packs-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .plan-details__content {
    grid-template-columns: 1fr;
  }

  .plan-details summary,
  .plan-details__content {
    padding: 18px;
  }
}
