/* PRICING: pricing-panels. Two or three tall "door panel" packages with arched
   tops and a "from" price, one featured in the dark door colour, plus a
   full-width care-plan strip with the yearly option and the small print.
   Calm variant. */

.pricing-panels__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-l);
}

.pricing-panel {
  display: grid;
  gap: var(--space-m);
  align-content: start;
  padding: var(--space-2xl) var(--space-l) var(--space-l);
  background: var(--color-surface-raised);
  border: var(--border-width-strong) solid var(--color-accent);
  border-radius: var(--radius-panel);
  text-align: center;
}

.pricing-panel--featured {
  --color-text: var(--color-inverse-text);
  --color-text-muted: var(--color-inverse-muted);
  background: var(--color-accent);
  color: var(--color-inverse-text);
}

.pricing-panel__name {
  font-size: var(--step-2);
  max-width: 13ch;
  margin-inline: auto;
}

.pricing-panel__price {
  font-family: var(--font-heading);
  font-size: var(--step-5);
  line-height: 1;
}

.pricing-panel__price small {
  display: block;
  margin-bottom: var(--space-2xs);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: var(--weight-strong);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pricing-panel__price span {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--color-text-muted);
}

.pricing-panel__setup {
  font-weight: var(--weight-strong);
}

.pricing-panel .checklist {
  text-align: start;
  padding-top: var(--space-m);
  border-top: var(--border);
}

.pricing-panel--featured .checklist {
  border-top-color: var(--color-inverse-muted);
}

.pricing-panel--featured .checklist li::marker {
  color: var(--color-brass);
}

.pricing-panel__extra {
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

.pricing-panels__note {
  margin-top: var(--space-xl);
  max-width: var(--measure);
  color: var(--color-text-muted);
}

/* Care plan strip */
.pricing-care {
  display: grid;
  gap: var(--space-m);
  margin-top: var(--space-xl);
  padding: var(--space-l);
  border: var(--border);
  border-left: 0.4rem solid var(--color-brass);
  border-radius: var(--radius-card);
  background: var(--color-surface-raised);
}

.pricing-care h3 {
  font-size: var(--step-2);
}

.pricing-care__price {
  font-family: var(--font-heading);
  font-size: var(--step-4);
  line-height: 1;
  color: var(--color-accent);
}

.pricing-care__price span {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--color-text-muted);
}

.pricing-care__price small {
  display: block;
  margin-top: var(--space-2xs);
  font-family: var(--font-body);
  font-size: var(--step--1);
  line-height: var(--leading-snug);
  color: var(--color-text-muted);
}

.pricing-care__small {
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

@media (min-width: 52em) {
  .pricing-panels__list {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }

  /* Two panels read better kept narrow; three fill the container. */
  .pricing-panels__list:not(.pricing-panels__list--three) {
    max-width: 52rem;
  }

  .pricing-care {
    grid-template-columns: 3fr 2fr;
    align-items: center;
    column-gap: var(--space-xl);
    max-width: 52rem;
  }

  .pricing-care__small {
    grid-column: 1 / -1;
  }
}
