/* Pricing plan cards — shared component.
 *
 * SINGLE SOURCE OF TRUTH for the plan-card + billing-toggle styling. Linked by
 * BOTH the marketing pricing page (pricing.html) and the in-app plan picker
 * (app /billing/choose), per AGENTS.md: CSS for things like pricing cards is
 * kept in website/ and linked from the app.
 *
 * Self-contained on purpose: uses literal brand hex (not var(--gpc-*)) so it
 * renders identically in the app, which doesn't load the marketing style.css
 * and defines a different token set. Keep these hex values in step with the
 * brand tokens in css/style.css.
 *   teal #0D7377  teal-dark #095456  teal-light #E6F4F4  navy #1B2A4A
 *   text #2D3748  text-light #718096  border #E2E8F0
 */

.billing-toggle {
  display: inline-flex;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0.25rem;
}
.billing-toggle button {
  border: 0;
  background: transparent;
  color: #718096;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.billing-toggle button.active {
  background: #0D7377;
  color: #FFFFFF;
}

.price-grid { align-items: stretch; }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(27, 42, 74, 0.06);
}

/* Featured ("Most popular") — taller so it stands out. */
.price-card.featured {
  border: 2px solid #0D7377;
  box-shadow: 0 14px 40px rgba(27, 42, 74, 0.16);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  z-index: 1;
}
/* Only overhang when cards sit side by side (≥ lg). The negative margins cancel
   the row gap so it grows EQUALLY above and below its neighbours; stacked on
   mobile it stays flush. */
@media (min-width: 992px) {
  .price-card.featured {
    height: calc(100% + 3rem);
    margin-top: -1.5rem;
    margin-bottom: -1.5rem;
  }
}

.price-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: #E6F4F4;
  color: #095456;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 { color: #1B2A4A; font-weight: 700; font-size: 1.25rem; margin-bottom: 0.25rem; }
.price-tagline { color: #718096; font-size: 0.9rem; min-height: 2.4rem; }
.price-amount { color: #1B2A4A; font-weight: 700; font-size: 2.3rem; line-height: 1; }
.price-period { color: #718096; font-size: 0.95rem; }
.price-sub { color: #718096; font-size: 0.82rem; min-height: 1.1rem; margin-top: 0.35rem; }

.price-card ul { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.price-card li {
  color: #2D3748;
  font-size: 0.92rem;
  padding: 0.3rem 0 0.3rem 1.6rem;
  position: relative;
  line-height: 1.5;
}
.price-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #0D7377;
  font-weight: 700;
}

.price-card .btn { margin-top: auto; }
