/* ==========================================================================
   AOS — plans.css: plan cards, shared by the public pricing page and the signed-in billing page
   ========================================================================== */

.plan-grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 860px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.plan {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  min-width: 0;
}
.plan-featured { border-color: rgba(77, 141, 255, 0.6); box-shadow: 0 24px 48px -32px var(--blue-glow); }
.plan-current { border-color: var(--success); }
.plan h3 { font-size: 1.25rem; }
.plan-tag { min-height: 3em; color: var(--text-muted); font-size: 0.93rem; }
.plan-price { display: flex; align-items: baseline; gap: 0.35rem; margin-top: 0.6rem; }
.plan-amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.plan-per { color: var(--text-dim); }
.plan-seats { margin-top: 0.4rem; font-weight: 600; color: var(--blue-bright); }
.plan-list { display: grid; gap: 0.6rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; color: var(--text-muted); font-size: 0.94rem; }
.plan-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.plan-list .icon { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.22rem; color: var(--success); }
.plan .btn, .plan .plan-note { margin-top: auto; }
.plan-foot { margin-top: auto; padding-top: 1rem; }
.plan-foot .btn, .plan-foot .plan-note { margin-top: 0; }
.plan-note { min-height: 44px; display: grid; align-items: center; justify-items: center; color: var(--success); font-weight: 600; }

/* ---------- Pricing page ---------- */
.pricing-hero { padding: clamp(3rem, 7vw, 5rem) 0 2.5rem; max-width: 720px; }
.pricing-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.pricing-hero p { margin-top: 1rem; color: var(--text-muted); font-size: 1.08rem; }
.pricing-foot { margin-top: 1.5rem; color: var(--text-dim); font-size: 0.9rem; }
.faq { max-width: 760px; padding: 4rem 0 6rem; }
.faq h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style-position: outside; min-height: 44px; display: flex; align-items: center; }
.faq summary:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; border-radius: 4px; }
.faq details p { margin-top: 0.5rem; color: var(--text-muted); }
