/* Pricing cards: home page, client Pricing tab, dashboard preview. */
.pr-grid { display: grid; grid-template-columns: repeat(var(--pr-cols, 3), minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.pr-card { position: relative; display: flex; flex-direction: column; background: var(--surface, #fff); border: 1px solid var(--line, #dcdcd8); border-radius: 18px; padding: 1.75rem 1.5rem 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.pr-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.09); }
.pr-card.is-top { background: var(--dark, #141414); color: var(--on-dark, #f2f2f0); border-color: var(--dark, #141414); box-shadow: 0 18px 44px rgba(0,0,0,.22); }
@media (min-width: 861px) { .pr-card.is-top { transform: translateY(-10px); } .pr-card.is-top:hover { transform: translateY(-13px); } }
.pr-badge { position: absolute; top: -.8rem; left: 1.5rem; margin: 0; background: #e4572e; color: #fff; font: 600 .72rem/1 "IBM Plex Mono", monospace; letter-spacing: .06em; text-transform: uppercase; padding: .45rem .75rem; border-radius: 999px; }
.pr-name { margin: 0 0 .4rem; font-size: 1.15rem; font-weight: 600; }
.pr-price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem; }
.pr-amount { font-size: clamp(2.3rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.pr-from, .pr-per { font-size: .95rem; opacity: .7; }
.pr-from { margin-right: .35rem; }
.pr-per { margin-left: .35rem; }
.pr-deposit { margin: .55rem 0 0; font-size: .88rem; font-weight: 600; }
.pr-setup { margin: .4rem 0 0; font-size: .88rem; opacity: .75; }
.pr-time { display: inline-flex; align-items: center; gap: .4rem; margin: 1rem 0 0; padding: .35rem .7rem; width: fit-content; border-radius: 999px; background: var(--grey, #eeeeec); font-size: .82rem; font-weight: 500; }
.is-top .pr-time { background: rgba(255,255,255,.12); }
.pr-time svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pr-summary { margin: 1rem 0 0; font-size: .95rem; line-height: 1.5; color: var(--muted, #555); }
.is-top .pr-summary { color: var(--on-dark-muted, #a9a9a6); }
.pr-list { list-style: none; margin: 1.25rem 0 1.5rem; padding: 1.25rem 0 0; border-top: 1px solid var(--line, #dcdcd8); display: grid; gap: .7rem; flex: 1; }
.is-top .pr-list { border-color: var(--dark-line, #333); }
.pr-list li { display: grid; grid-template-columns: 18px 1fr; gap: .6rem; font-size: .93rem; line-height: 1.4; }
.pr-list svg { width: 16px; height: 16px; margin-top: .15rem; fill: none; stroke: #1f8f5f; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pr-cta { display: block; text-align: center; text-decoration: none; cursor: pointer; font: 600 .95rem/1 inherit; padding: .95rem 1rem; border-radius: 999px; border: 1.5px solid var(--ink, #141414); background: transparent; color: var(--ink, #141414); transition: background .15s, color .15s; }
.pr-cta:hover { background: var(--ink, #141414); color: var(--on-dark, #f2f2f0); }
.is-top .pr-cta { background: #fff; color: #141414; border-color: #fff; }
.is-top .pr-cta:hover { background: #e4572e; border-color: #e4572e; color: #fff; }
.pr-foot { margin: 1.75rem 0 0; text-align: center; color: var(--muted, #555); font-size: .92rem; }
.pr-foot a { color: inherit; font-weight: 600; }
.pr-hero { margin: 0 0 2.25rem; }
.pr-hero h2 { margin: 0 0 .4rem; }
.pr-hero p { margin: 0; color: var(--muted, #555); max-width: 60ch; }
@media (max-width: 860px) { .pr-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 1.6rem; } }
/* Dashboard editor */
.pr-edit .fields { align-items: start; }
.pr-edit .check { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; cursor: pointer; }
.pr-edit .check input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; }

/* Spacing that used to be written inside the page (the live site blocks that) */
.pr-plans { margin-top: 2.5rem; }
.pr-preview-title { margin-top: 2rem; }

.pr-gap { flex: 1; min-height: 1.25rem; }

/* What each plan includes */
.pr-compare-box { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pr-compare-title { font-size: 1.05rem; margin: 0 0 1rem; }
.pr-compare-scroll { overflow-x: auto; border: 1px solid var(--line, #dcdcd8); border-radius: var(--radius, 6px); background: var(--surface, #fff); }
.pr-compare { width: 100%; border-collapse: collapse; font-size: .93rem; }
.pr-compare th, .pr-compare td { padding: .8rem 1rem; border-bottom: 1px solid var(--line, #dcdcd8); vertical-align: middle; }
.pr-compare tbody tr:last-child > * { border-bottom: 0; }
.pr-compare thead th { font-family: var(--mono, monospace); font-size: .72rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--faint, #6b6b6b); text-align: center; white-space: nowrap; }
.pr-compare thead th.pr-compare-what { text-align: start; }
.pr-compare tbody th { text-align: start; font-weight: 400; line-height: 1.4; }
.pr-compare td { text-align: center; width: 7.5rem; }
.pr-compare .is-top { background: var(--grey, #eeeeec); }
.pr-compare thead th.is-top { color: var(--ink, #141414); font-weight: 500; }
.pr-compare svg { width: 18px; height: 18px; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.pr-compare .yes svg { stroke: var(--ink, #141414); stroke-width: 2.2; }
.pr-compare .no svg { stroke: #b4b4b0; stroke-width: 1.6; width: 14px; height: 14px; }
@media (max-width: 600px) {
  .pr-compare { font-size: .85rem; }
  .pr-compare th, .pr-compare td { padding: .65rem .5rem; }
  .pr-compare tbody th { padding-left: .8rem; }
  .pr-compare td { width: 4.2rem; }
  .pr-compare thead th { font-size: .62rem; letter-spacing: .04em; }
}

/* Who each plan is for, right under the name. */
.pr-for { margin: .15rem 0 .9rem; font-size: .92rem; line-height: 1.45; color: var(--ink, #141414); text-wrap: pretty; }
.pr-for-label { display: block; margin-bottom: .2rem; font-family: var(--mono, monospace); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint, #6b6b6b); }
.is-top .pr-for { color: var(--on-dark, #f2f2f0); }
.is-top .pr-for-label { color: var(--on-dark-muted, #a9a9a6); }

/* Home page: the cards as we first had them (round corners, an orange "Most popular"), and they move:
   they rise in one after the other, and come towards you when you point at them.
   The most popular plan is bigger and gets the bright badge; "Takes orders" is a quiet second. */
.pr-home .pr-grid { padding-top: 1.4rem; }
.pr-home .pr-card {
  transition: translate .35s cubic-bezier(.22, 1, .36, 1), scale .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .2s;
  animation: pr-rise .7s cubic-bezier(.22, 1, .36, 1) backwards;
}
.pr-home .pr-card:nth-child(2) { animation-delay: .1s; }
.pr-home .pr-card:nth-child(3) { animation-delay: .2s; }
@keyframes pr-rise { from { opacity: 0; translate: 0 32px; } }
.pr-home .pr-card:hover { transform: none; translate: 0 -8px; scale: 1.02; box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .28); }

/* "Takes orders" and other badges: a calm light grey, so the orange "Most popular" still wins. */
.pr-home .pr-badge[aria-hidden="true"] { display: none; } /* the empty spacer is only for the flat cards */
.pr-home .pr-badge { background: #dcdcd8; color: #2e2e2c; border: 1px solid #cfcfcb; font-weight: 500; }

/* The most popular plan. */
.pr-home .pr-card.is-top { z-index: 1; box-shadow: 0 26px 56px -20px rgba(0, 0, 0, .45); }
.pr-home .is-top .pr-badge {
  background: #e4572e; color: #fff; border-color: #e4572e; font-weight: 700;
  font-size: .8rem; padding: .55rem 1rem; top: -1rem;
  box-shadow: 0 6px 18px -4px rgba(228, 87, 46, .7);
}
.pr-home .is-top .pr-badge::before { content: "★ "; }
.pr-home .is-top .pr-name { font-size: 1.3rem; }
@media (min-width: 861px) {
  .pr-home .pr-card.is-top { transform: none; scale: 1.07; }
  .pr-home .pr-card.is-top:hover { transform: none; translate: 0 -8px; scale: 1.09; }
}
@media (max-width: 860px) {
  .pr-home .pr-card.is-top { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-home .pr-card { animation: none; transition: none; }
  .pr-home .pr-card:hover { translate: none; scale: none; }
}
