/* The Pricing page (/pricing/): the site's calm type (legal.css) — plans as cards, the
   period and currency as segmented switches, the FAQ folded. */
.pricing { max-width: 1080px; margin: 0 auto; padding: 40px 24px 24px; }
.pricing h1 { margin: 0; text-align: center; font-size: clamp(34px, 6vw, 48px); line-height: 1.1; letter-spacing: -.025em; }
.pricing-lede { max-width: 640px; margin: 14px auto 0; text-align: center; font-size: 21px; line-height: 1.45; color: #424245; }
.pricing-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 24px; }
.pricing-switch { display: inline-flex; padding: 2px; border-radius: 9px; background: rgba(118, 118, 128, .12); }
.pricing-switch button { border: 0; border-radius: 7px; padding: 6px 14px; background: none; font: inherit; font-size: 14px; color: #1d1d1f; cursor: pointer; white-space: nowrap; }
.pricing-switch button[aria-pressed="true"] { background: #fff; font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); }
.pricing-save { font-size: 12px; font-weight: 600; color: #248a3d; }
.pricing-plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pricing-plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pricing-plans { grid-template-columns: repeat(4, 1fr); } }
/* Each card spans the same five rows (name, tagline, price, button, limits) — subgrid lines them up across plans. */
.pricing-plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .82); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 4px 18px rgba(0, 0, 0, .04); }
.pricing-plan[data-plan="builder"] { box-shadow: 0 0 0 2px #007aff, 0 4px 18px rgba(0, 0, 0, .06); }
.pricing-plan h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 21px; letter-spacing: -.01em; }
.pricing-badge { padding: 2px 8px; border-radius: 980px; background: #007aff; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.pricing-tag { margin: 6px 0 0; font-size: 15px; color: #6e6e73; }
.pricing-price { display: flex; flex-wrap: wrap; align-items: baseline; align-content: start; gap: 4px; margin: 14px 0 16px; }
.pricing-amount, .pricing-amount-free { font-size: 36px; font-weight: 700; letter-spacing: -.02em; }
.pricing-period { font-size: 15px; color: #6e6e73; }
.pricing-tax { flex-basis: 100%; min-height: 1.3em; font-size: 13px; color: #6e6e73; }
.pricing-cta { display: block; align-self: start; padding: 11px 16px; border-radius: 12px; background: #007aff; color: #fff; text-align: center; font-size: 17px; font-weight: 600; text-decoration: none; }
.pricing-cta:active { filter: brightness(.85); }
.pricing-cta-plain { background: rgba(0, 122, 255, .12); color: #007aff; }
.pricing-limits { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; }
.pricing .pricing-limits li { margin: 0; padding: 8px 0; border-top: .5px solid rgba(0, 0, 0, .1); color: #333336; }
.pricing-included, .pricing-faq { max-width: 720px; margin: 56px auto 0; }
.pricing-included h2, .pricing-faq h2 { margin: 0 0 14px; font-size: 24px; letter-spacing: -.01em; }
.pricing-included ul { margin: 0; padding-left: 22px; }
.pricing-included li + li { margin-top: 8px; }
.pricing-faq-item { border-top: .5px solid rgba(0, 0, 0, .14); }
.pricing-faq-item:last-child { border-bottom: .5px solid rgba(0, 0, 0, .14); }
.pricing-faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
.pricing-faq-item summary::-webkit-details-marker { display: none; }
.pricing-faq-item summary::after { content: '+'; float: right; color: #6e6e73; font-weight: 400; }
.pricing-faq-item[open] summary::after { content: '−'; }
.pricing-faq-item p { margin: 0 0 16px; color: #333336; }
@media (prefers-color-scheme: dark) {
  .pricing-lede, .pricing-tag, .pricing-period, .pricing-tax { color: #a1a1a6; }
  .pricing-switch button { color: #f5f5f7; }
  .pricing-switch button[aria-pressed="true"] { background: #636366; }
  .pricing-save { color: #30d158; }
  .pricing-plan { background: rgba(28, 28, 30, .86); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .12); }
  .pricing-plan[data-plan="builder"] { box-shadow: 0 0 0 2px #0a84ff; }
  .pricing-badge, .pricing-cta { background: #0a84ff; }
  .pricing-cta-plain { background: rgba(10, 132, 255, .18); color: #0a84ff; }
  .pricing .pricing-limits li, .pricing-faq-item p { color: #d2d2d7; border-color: rgba(255, 255, 255, .12); }
  .pricing-faq-item, .pricing-faq-item:last-child { border-color: rgba(255, 255, 255, .16); }
}
