/* The pricing page: three plans side by side, Free raised and outlined as the one available now;
   Plus and Family quieter, with "Get notified" in place of a price. Its own file, so a visitor's
   cached style.css can never leave it unstyled. Built on style.css's tokens and buttons. */

.pricing { max-width: var(--max); margin: 0 auto; padding: 72px 20px 96px; }

.pricing-hero { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.pricing-hero h1 { margin: 0 0 14px; font: 750 clamp(36px, 5.6vw, 56px)/1.05 var(--font-display); letter-spacing: -0.03em; }
.pricing-hero .lead { margin: 0 auto; }

/* Equal-height cards, so the buttons and the lists start on the same lines. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--separator); border-radius: 24px; padding: 28px;
}
.plan.current { border: 2px solid var(--accent); padding: 27px; box-shadow: 0 2px 4px rgb(0 0 0 / 0.04), 0 18px 40px -12px rgb(19 43 35 / 0.22); }
@media (prefers-color-scheme: dark) { .plan.current { box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.6); } }

.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h2 { margin: 0; font: 700 22px/1.2 var(--font-display); letter-spacing: -0.01em; }
.plan-tag { border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; background: var(--accent-soft); color: var(--accent); }
.plan.current .plan-tag { background: var(--green-fill); color: #ffffff; }
.plan-blurb { margin: 8px 0 0; color: var(--secondary); line-height: 1.45; min-height: 2.9em; }

.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 22px; font: 750 48px/1 var(--font-display); letter-spacing: -0.03em; }
.plan-price span { font: 500 15px/1 var(--font); letter-spacing: 0; color: var(--secondary); }
.plan-price.soon { color: var(--tertiary); }

.plan-cta { width: 100%; min-height: 48px; }
.button.outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--separator); }
.button.outline:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

.plan-includes { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--separator); font-size: 14px; font-weight: 600; color: var(--secondary); }
.plan-features { list-style: none; margin: 4px 0 0; padding: 0; }
.plan-features li { display: flex; gap: 10px; margin-top: 12px; line-height: 1.4; }
.plan-features .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); stroke-width: 2.4; }
.plan:not(.current) .plan-features .icon { color: var(--secondary); }

.promise { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 640px; margin: 36px auto 0; color: var(--secondary); font-size: 15px; text-align: left; }
.promise .icon { width: 18px; height: 18px; color: var(--accent); }

.pricing-faq { max-width: 880px; margin: 96px auto 0; }
.pricing-faq h2 { margin: 0 0 28px; text-align: center; font: 700 clamp(26px, 3.4vw, 34px)/1.15 var(--font-display); letter-spacing: -0.02em; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.faq-grid h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.35; }
.faq-grid p { margin: 0; color: var(--secondary); line-height: 1.55; }

@media (max-width: 900px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }
  .plan-blurb { min-height: 0; }
}
@media (max-width: 640px) {
  .pricing { padding-top: 48px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
