/* Finesse Media — Websites pricing, two tracks (build 20260928-35).
   A toggle switches between "Small business, church & nonprofit" and "Established business".
   Three plan cards per track: side by side on desktop, stacked on phones with "Most chosen" first.
   Nothing scrolls sideways. Uses the site palette tokens. */
html { font-variant-emoji: text; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Track toggle ---------- */
.track-toggle {
  display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 32px;
  border-radius: 999px; background: color-mix(in srgb, var(--surface, #e8dfd1) 80%, transparent);
  max-width: 100%;
}
.track-toggle button {
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
  cursor: pointer; transition: background .2s, color .2s;
}
.track-toggle button:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.track-toggle button[aria-pressed="true"] { background: var(--ink); color: #f6f0e6; }
.track-toggle button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.track-panel[hidden] { display: none; }

/* ---------- Plan cards ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px 28px; border-radius: 16px;
  background: var(--paper, #fffcf6); border: 1px solid var(--line, #ddd3c3); color: var(--ink);
}
.plan-card.is-pop { background: #1a1612; border-color: #3a3229; color: #f6f0e6; box-shadow: 0 24px 60px rgba(26, 22, 18, .22); }
.plan-flag { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--soft, #ddc5a0); }
.plan-head h3 { margin: 0; font-family: inherit; font-size: 20px; font-weight: 700; line-height: 1.3; color: inherit; }
.plan-tag { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.plan-card.is-pop .plan-tag { color: #cfc7ba; }
.plan-price { margin: 0; font-family: var(--serif); font-size: clamp(42px, 4vw, 54px); line-height: 1; color: inherit; }
.plan-unit { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.plan-card.is-pop .plan-unit { color: #cfc7ba; }
.plan-pay { padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, var(--surface, #e8dfd1) 55%, var(--paper, #fffcf6)); }
.plan-card.is-pop .plan-pay { background: #2a241d; }
.plan-pay-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.plan-card.is-pop .plan-pay-label { color: var(--soft, #ddc5a0); }
.plan-pay-line { margin: 4px 0 0; font-size: 16px; font-weight: 600; line-height: 1.4; color: inherit; }
.plan-total { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.plan-card.is-pop .plan-total { color: #cfc7ba; }
.plan-feats { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line, #ddd3c3); display: flex; flex-direction: column; gap: 10px; }
.plan-card.is-pop .plan-feats { border-top-color: #3a3229; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.plan-check { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan-card.is-pop .plan-check { stroke: var(--soft, #ddc5a0); }
.plan-cta {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink);
  font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s;
}
.plan-cta:hover { background: var(--ink); color: #f6f0e6; }
.plan-card.is-pop .plan-cta { background: var(--soft, #ddc5a0); border-color: var(--soft, #ddc5a0); color: #1a1612; }
.plan-card.is-pop .plan-cta:hover { background: #ebd8b6; }
.plan-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Notes under the cards ---------- */
.plan-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.plan-note {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 12px;
  border: 1px solid var(--line, #ddd3c3); background: var(--paper, #fffcf6); color: var(--ink);
}
.plan-note p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.plan-note .plan-note-title { margin: 0; font-size: 16px; font-weight: 700; color: inherit; }
.plan-note--dark { background: #1a1612; border-color: #1a1612; color: #f6f0e6; }
.plan-note--dark p { color: #cfc7ba; }
.plan-note--dark .plan-note-title { color: #f6f0e6; }
.plan-note svg { flex-shrink: 0; width: 24px; height: 24px; fill: none; stroke: var(--soft, #ddc5a0); stroke-width: 1.7; stroke-linecap: round; }
.plan-fine { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 760px; }

/* ---------- Tablet & phone ---------- */
@media (max-width: 1050px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 560px; }
  .plan-card.is-pop { order: -1; }
  .plan-notes { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 700px) {
  .track-toggle { display: flex; width: 100%; box-sizing: border-box; }
  .track-toggle button { flex: 1 1 0; padding: 0 10px; font-size: 13px; }
  .plan-card { padding: 26px 20px; }
  .plan-grid { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .track-toggle button, .plan-cta { transition: none; }
}
