/* Pricing: three plans set by annual revenue, each with its included bank, card and loan accounts,
   and a monthly/yearly switch. Card surfaces follow the Services page's offers. */
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--faint); }
.facts span { display: inline-flex; align-items: center; gap: 9px; }
.facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--link); }

/* Monthly or yearly: two radios drawn as the app's segmented control, one size up. */
.billing { display: inline-flex; gap: 2px; min-width: 0; margin: 0 0 20px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.billing legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.billing label {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 9px; font-size: 14.5px; font-weight: 550; color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.billing label:hover { color: var(--ink); }
.billing label:has(:checked) { background: rgb(255 255 255 / 0.1); color: var(--ink); }
.billing label:has(:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ok); }
/* ponytail: the switch is CSS only (:has); a browser without :has shows both prices, which is still correct */
.pricing:has(#bill-yearly:checked) .m, .pricing:not(:has(#bill-yearly:checked)) .y { display: none; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan {
  display: grid; gap: 24px; align-content: start; min-width: 0; padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: border-color 200ms var(--ease);
}
.plan:hover { border-color: var(--line-strong); }
.plan-tier { display: grid; gap: 2px; }
.plan-tier span { font-size: 13.5px; color: var(--faint); }
.plan-tier h2 { font-size: 22px; font-weight: 560; letter-spacing: -0.02em; line-height: 1.25; }
.plan-price { display: grid; gap: 6px; }
.plan-price p { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: clamp(42px, 4.2vw, 54px); font-weight: 470; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price p span { font-size: 15px; color: var(--muted); }
.plan-price small { font-size: 14px; color: var(--faint); }
.plan-price em { font-style: normal; color: var(--ok); }
.plan-accts { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
/* One card shape per included account, then a dashed one for any account over the allowance. */
.slots { display: flex; flex-wrap: wrap; gap: 5px; }
.slots i { width: 22px; height: 15px; border-radius: 4px; background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgb(97 180 214 / 0.42); }
.slots i.more { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); border: 1px dashed var(--faint); opacity: 0.6; }
.plan-accts b { display: block; font-size: 15.5px; font-weight: 560; }
.plan-accts p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.plan .btn { width: 100%; }
.plans-note { margin-top: 22px; font-size: 14.5px; color: var(--faint); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .billing { display: flex; } .billing label { flex: 1; } }
