/* Plans: a monthly or yearly price (plans.js flips data-billing; the switch is
   the landing's .lp-seg), four plain cards, every plan side by side in a
   <details>. */
.lp-billing { margin-top: 30px; }
.lp-plansnote { max-width: 52em; margin: 28px auto 0; }


/* Four plain cards, as Muse does it: what it is, the price, the button,
   then what's in it. The plan everyone picks is lifted a little. */
.lp-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1360px; margin: 40px auto 0; text-align: left; }
.lp-plan {
  position: relative; display: flex; flex-direction: column; border-radius: 22px;
  background: var(--lp-card); box-shadow: inset 0 0 0 1px var(--lp-hair);
}
.lp-plan.is-loved { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 32%, transparent), 0 34px 70px -40px rgba(0, 0, 0, .55); }
.lp-plan .badge {
  position: absolute; top: -12px; left: 24px; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 650; letter-spacing: .01em;
}
.lp-plan .badge.is-loved { background: var(--button); color: var(--button-ink); }
.lp-plan .badge.is-supporter { color: var(--body); background: var(--lp-card); box-shadow: inset 0 0 0 1px var(--lp-hair-2); }
.lp-plan .badge.is-sale { background: var(--sale); color: var(--on-sale); }
.lp-plan .inner { display: flex; flex: 1; flex-direction: column; gap: 22px; padding: 24px; }
.lp-plan .head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
.lp-plant { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: color-mix(in srgb, var(--sage) 16%, transparent); color: var(--sage-text); }
.lp-plan.is-sale .lp-plant { background: color-mix(in srgb, var(--sale) 13%, transparent); color: var(--sale); }
.lp-plan h3 { font-size: 18px; letter-spacing: -.01em; }
.lp-plan .who { grid-column: 1 / -1; margin-top: 12px; }
.lp-price { font-size: 38px; font-weight: 650; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: var(--ink); }
.lp-price small { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.lp-price s { font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
[data-billing="monthly"] .is-yearly, [data-billing="yearly"] .is-monthly { display: none; }
.lp-price.is-monthly, .lp-price.is-yearly { animation: lp-rise .35s cubic-bezier(.2, .8, .2, 1) both; }
.lp-plan .btn { width: 100%; min-height: 46px; padding: 0 18px; font-size: 15.5px; }
.lp-plan .btn.is-sale { color: var(--sale); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sale) 45%, transparent); }
.lp-ticks { display: grid; gap: 11px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--lp-hair); list-style: none; font-size: 14.5px; color: var(--body); }
.lp-ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.lp-ticks svg { flex: none; width: 14px; height: 14px; margin-top: 3px; color: var(--muted); }

.lp-compare { margin-top: 30px; text-align: center; }
.lp-compare summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--lp-hair); color: var(--body); font-size: 14.5px; font-weight: 600; cursor: pointer; list-style: none; }
.lp-compare summary::-webkit-details-marker { display: none; }
.lp-compare summary svg { transition: transform .3s; }
.lp-compare[open] summary svg { transform: rotate(180deg); }
.lp-compare .table { margin-top: 22px; padding: 8px 20px; overflow-x: auto; border-radius: 22px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--lp-hair); animation: lp-rise .35s both; }
.lp-compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-compare th, .lp-compare td { padding: 14px 12px; border-bottom: 1px solid var(--lp-hair); text-align: center; white-space: nowrap; }
.lp-compare tr:last-child th, .lp-compare tr:last-child td { border-bottom: 0; }
.lp-compare th:first-child { text-align: left; font-weight: 500; color: var(--body); white-space: normal; }
.lp-compare thead th { font-weight: 650; color: var(--ink); }
.lp-compare .yes { color: var(--sage-deep); }
[data-theme="dark"] .lp-compare .yes { color: var(--sage); }
.lp-compare .no { color: color-mix(in srgb, var(--ink) 25%, transparent); }

@media (max-width: 1100px) { .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lp-plans { grid-template-columns: minmax(0, 1fr); } }


