.plans-section {
  padding-top: 0;
  scroll-margin-top: 96px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  position: relative;
  min-height: 270px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #121d26, #0d161e);
}

.plan-card-featured {
  border-color: rgba(71, 215, 172, .42);
  background: radial-gradient(circle at 100% 0, rgba(71, 215, 172, .13), transparent 18rem), linear-gradient(145deg, #13231f, #0d171b);
}

.plan-kicker {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.plan-card h3 {
  max-width: 440px;
  margin-bottom: 13px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.plan-card > p:not(.plan-kicker) {
  max-width: 470px;
  color: var(--muted);
}

.plan-cycle {
  position: absolute;
  left: 30px;
  bottom: 28px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c4d0d8;
  font-size: .72rem;
  font-weight: 760;
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(71, 215, 172, .12);
  color: var(--accent);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.plans-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0d151c;
}

.plans-footer p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.plan-trial strong {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 750;
}

.plans-footer .button {
  flex: none;
}

@media (max-width: 760px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plans-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .plans-footer .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .plan-card {
    min-height: 250px;
    padding: 24px;
  }

  .plan-cycle {
    left: 24px;
    bottom: 24px;
  }

  .plan-badge {
    top: 16px;
    right: 16px;
  }
}
