/* Pricing card colors and spacing: white shell, thin top strip, compact details, and pill action. */
.pricing-grid .plan {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 380px;
  min-height: 0;
  justify-self: center;
  padding: 0 !important;
  overflow: clip;
  border: 1px solid rgba(17,17,17,.16) !important;
  border-radius: 18px !important;
  background: #fefffc !important;
  color: #111 !important;
  box-shadow: 0 16px 28px -22px rgba(81,14,140,.32) !important;
  transform: none;
  transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease !important;
}
.pricing-grid .plan:hover,.pricing-grid .plan:focus-within {
  z-index: 4;
  border-color: #8116e0 !important;
  box-shadow: 0 24px 38px -22px rgba(81,14,140,.38) !important;
  transform: scale(1.035);
}
/* Top strip: change these two colors to recolor standard and recommended cards. */
.pricing-grid .plan .plan-accent { flex: 0 0 5px; height: 5px; border-radius: 18px 18px 0 0; background: #d4ff3a; }
.pricing-grid .plan.price-featured .plan-accent { background: #8116e0; }
.pricing-grid .plan .plan-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: clamp(1.35rem,2.2vw,1.85rem); }
.pricing-grid .plan .plan-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .55rem; }
.pricing-grid .plan .title {
  margin: 0;
  color: #111 !important;
  font-size: clamp(1.55rem,2.4vw,2rem) !important;
  font-weight: 900;
  line-height: 1.1 !important;
  letter-spacing: -.035em;
}
.pricing-grid .plan .info { margin: .65rem 0 0; min-height: 3rem; color: #3d3741 !important; font-size: 1rem; line-height: 1.5; }
.pricing-grid .plan .pricing {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  margin: 1.25rem 0 1.35rem;
  padding: 0;
  background: transparent;
  color: #000;
  font-size: clamp(2rem,3vw,2.8rem);
  font-weight: 900;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
}
.pricing-grid .plan.price-featured .pricing { color: #000; }
.pricing-grid .plan .pricing small { color: #000; font-size: .82rem; font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.pricing-grid .plan .pricing-custom { font-size: clamp(1.8rem,2.6vw,2.35rem); }
.pricing-grid .plan .features { display: flex; flex-direction: column; gap: .75rem; margin: 0; padding: 0; border: 0; list-style: none; }
.pricing-grid .plan .features li { display: flex; align-items: flex-start; gap: .58rem; margin: 0; padding: 0; color: #37313a !important; font-size: .95rem; line-height: 1.42; }
.pricing-grid .plan .features li::before {
  position: static;
  display: inline-grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: .1rem 0 0;
  place-items: center;
  border-radius: 50%;
  background: #8116e0 !important;
  color: #fefffc !important;
  font-size: .7rem;
  font-weight: 900;
  content: "✓";
}
.pricing-grid .plan .action { display: flex; width: 100%; padding: 0 clamp(1.35rem,2.2vw,1.85rem) clamp(1.35rem,2.2vw,1.85rem); }
.pricing-grid .plan .action .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: .7rem 1rem;
  border: 1px solid #510e8c !important;
  border-radius: 999px !important;
  background: #8116e0 !important;
  color: #fefffc !important;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: none !important;
  transition: background-color .18s ease,transform .18s ease;
}
.pricing-grid .plan .action .button:hover { background: #510e8c !important; transform: translateY(-2px); }
.pricing-grid .plan .action .button:focus-visible { outline: 3px solid #8116e0; outline-offset: 3px; }
.pricing-grid .plan.price-featured .action .button { border-color: #111 !important; background: #d4ff3a !important; color: #111 !important; }
.pricing-grid .plan.price-featured .action .button:hover { background: #c2ed26 !important; }
@media (prefers-reduced-motion: reduce) { .pricing-grid .plan,.pricing-grid .plan .action .button { transition: none !important; } .pricing-grid .plan:hover,.pricing-grid .plan:focus-within { transform: none; } }
