/* ============================================================
   PRICING
   How billing works, a business-model picker, and each model's
   packages. Without JavaScript every package section shows and the
   picker cards are plain anchor links.
   ============================================================ */
.pr-hero-ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:34px}

/* How pricing works */
.pr-hows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:clamp(40px,5vw,64px)}
/* Title at the top, the icon centered in the middle, the line at the bottom (room for three lines, so icons line up). */
.pr-how{display:flex;flex-direction:column;gap:22px;min-height:288px;padding:28px 24px 30px;border-radius:24px;background:var(--paper);box-shadow:0 0 0 1px var(--line)}
.pr-how .si{align-self:center;margin-block:auto}
.pr-how .si svg{width:26px;height:26px}
.pr-how h3{order:-1;margin-top:0;font-family:var(--display);font-size:20px;font-weight:600;line-height:1.2;letter-spacing:-.02em}
.pr-how p{margin-top:0;min-height:4.65em;font-size:15px;line-height:1.55;color:var(--ash)}
/* "Learn more" in the bottom-left corner: blue, underlined, with an arrow (same as the Solutions "I need this" links). */
.pr-how .pr-more{margin-top:0}

/* Step 1: business model */
.pr-models{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:clamp(40px,5vw,64px)}
/* Business-model cards, in the site's info-card format: title at the top, the black icon square centered,
   the examples underneath, and a blue "See my packages" in the bottom-left corner. The picked one turns dark. */
.pr-model{position:relative;display:flex;flex-direction:column;gap:22px;min-height:288px;padding:28px 24px 30px;border-radius:24px;background:var(--paper);box-shadow:0 0 0 1px var(--line);color:var(--ink);transition:transform .4s var(--ease),box-shadow .4s var(--ease),background .25s,color .25s}
.pr-model:hover{transform:translateY(-4px);box-shadow:0 0 0 1px var(--ring),0 20px 44px rgba(16,16,40,.1)}
.pr-model b{order:-1;font-family:var(--display);font-size:20px;font-weight:600;line-height:1.2;letter-spacing:-.02em;text-align:center;text-wrap:balance}
.pr-model-ic{display:grid;place-items:center;align-self:center;margin-block:auto;width:52px;height:52px;border-radius:15px;background:var(--ink);color:var(--paper);transition:background .25s,color .25s}
.pr-model-ic svg{width:26px;height:26px}
.pr-model-ex{min-height:3.1em;font-size:15px;line-height:1.55;color:var(--ash)}
.pr-model .pr-model-cta{margin-top:0}
@media (min-width:601px){.pr-model b{min-height:2.4em}.pr-model-ex{min-height:4.65em}}   /* room reserved for the title and examples, so the icons line up across a row */
.pr-model:hover .pr-model-cta .arr{transform:translateX(4px)}
.pr-model[aria-current="true"]{background:var(--ink);color:var(--paper);box-shadow:none}
.pr-model[aria-current="true"] .pr-model-ic{background:var(--paper);color:var(--ink)}
.pr-model[aria-current="true"] .pr-model-ex{color:rgba(255,255,255,.66)}
.pr-model[aria-current="true"] .pr-model-cta{color:#8fb8ff}
.pr-model[aria-current="true"] .pr-model-cta .arr{transform:rotate(90deg)}
.pr-else{margin-top:28px;text-align:center;font-size:15px;color:var(--ash)}
.pr-else button{font:inherit;color:var(--ink);text-decoration:underline;text-decoration-color:var(--ring);text-underline-offset:4px}
.pr-else button:hover{text-decoration-color:var(--ink)}

/* Step 2: packages */
.pr-panel[hidden]{display:none}
.pr-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:clamp(40px,5vw,64px)}
.pr-tier,.pr-care,.pr-drivers{display:flex;flex-direction:column;padding:30px 28px 28px;border-radius:24px;background:var(--paper);box-shadow:0 0 0 1px var(--line)}
.pr-bill{font-size:15px;font-weight:500;line-height:1.35;color:var(--ash)}
.pr-tier h3,.pr-care h3,.pr-drivers h3{margin-top:12px;font-family:var(--display);font-size:24px;font-weight:600;line-height:1.15;letter-spacing:-.025em}
.pr-tier h3,.pr-care h3,.pr-drivers h3{margin-top:0;text-align:center}
/* "Most popular": a pill on the top edge and a border with a soft glow (blue base; the Q look is layered on below). */
.pr-tier,.pr-care{position:relative}
.pr-tier.is-popular,.pr-care.is-popular{box-shadow:0 0 0 2px var(--iris),0 22px 48px -18px rgba(37,99,235,.45)}
.pr-popular{position:absolute;top:0;left:50%;z-index:2;transform:translate(-50%,-50%);padding:6px 16px;border-radius:var(--r-pill);background:var(--iris);color:#fff;font-family:var(--display);font-size:14px;font-weight:700;letter-spacing:-.01em;line-height:1.2;white-space:nowrap;box-shadow:0 6px 16px -6px rgba(37,99,235,.6)}
/* "Most popular" in the Quellor Q's look: the logo's colours flow around the card's outline and through the badge,
   with the Q's sweeping highlight and a soft glow in its colours. The badge keeps the blue's depth (hue only), so
   the white type stays as readable. "People are loving" stays orange. Still for reduced motion. */
.pr-tier.is-popular:not(.is-loved),.pr-care.is-popular{box-shadow:0 22px 48px -18px rgb(166 37 247 / .32),0 18px 40px -20px rgb(50 207 252 / .45)}
.pr-tier.is-popular:not(.is-loved)::before,.pr-care.is-popular::before,
.pr-tier.is-popular:not(.is-loved)::after,.pr-care.is-popular::after{content:"";position:absolute;inset:-2px;z-index:1;padding:2px;border-radius:26px;pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.pr-tier.is-popular:not(.is-loved)::before,.pr-care.is-popular::before{background:var(--q-flow);background-size:200% 100%;animation:qmark-flow 4s linear infinite}
.pr-tier.is-popular:not(.is-loved)::after,.pr-care.is-popular::after{background:linear-gradient(105deg,transparent 0%,transparent 38%,rgb(255 255 255 / .9) 50%,transparent 62%,transparent 100%);background-size:250% 100%;mix-blend-mode:soft-light;animation:qmark-sheen 2.6s ease-in-out infinite}
.is-popular:not(.is-loved) > .pr-popular{isolation:isolate;overflow:hidden;box-shadow:0 8px 20px -8px rgb(166 37 247 / .55),0 6px 16px -8px rgb(50 207 252 / .6)}
.is-popular:not(.is-loved) > .pr-popular::before,.is-popular:not(.is-loved) > .pr-popular::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none}
.is-popular:not(.is-loved) > .pr-popular::before{background:var(--q-flow);background-size:200% 100%;mix-blend-mode:color;animation:qmark-flow 4s linear infinite}
.is-popular:not(.is-loved) > .pr-popular::after{background:var(--q-sheen);background-size:250% 100%;mix-blend-mode:soft-light;animation:qmark-sheen 2.6s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){
  .pr-tier.is-popular:not(.is-loved)::before,.pr-care.is-popular::before,.is-popular:not(.is-loved) > .pr-popular::before{animation:none}
  .pr-tier.is-popular:not(.is-loved)::after,.pr-care.is-popular::after,.is-popular:not(.is-loved) > .pr-popular::after{display:none}
}
.pr-tier.is-loved{box-shadow:0 0 0 2px #f08a24,0 22px 48px -18px rgba(234,108,10,.45)}   /* "People are loving": the same badge in orange */
.is-loved .pr-popular{background:#c2410c;box-shadow:0 6px 16px -6px rgba(194,65,12,.6)}
.is-loved .pr-amt{color:#ea6c0a}   /* its prices in orange too (large bold type, so this shade reads clearly) */
.pr-tiers:has(.is-popular),.pr-extra:has(.is-popular){row-gap:30px}
.pr-extra:has(.pr-care.is-popular){margin-top:30px}   /* when the cards stack, room for the badge above the popular card */   /* the package name leads the card */
.pr-tier .pr-bill,.pr-care .pr-bill{margin-top:8px;text-align:center}
.pr-drivers h3{margin-top:0}
.pr-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 6px;margin-top:18px}
.pr-price:has(.pr-quote){justify-content:center}
/* Setup + monthly: a little smaller so both amounts fit on a row, and "/mo" always stays with its amount. */
.pr-price:has(.pr-plus) .pr-amt{font-size:32px}
.pr-mo{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}
.pr-from,.pr-unit{font-size:14px;color:var(--ash)}
.pr-plus{padding-inline:2px;font-size:18px;color:var(--smoke)}
.pr-amt{font-family:var(--display);font-size:40px;font-weight:700;line-height:1;letter-spacing:-.035em;color:var(--iris)}
.pr-quote{font-size:32px}
.pr-tbd{align-self:center;margin-left:6px;padding:4px 8px;border-radius:999px;background:#fff4e0;color:#8a5200;font-family:var(--mono);font-size:10px;line-height:1;letter-spacing:.06em;text-transform:uppercase}
.pr-desc{margin-top:14px;font-size:15px;line-height:1.55;color:var(--ash)}
.pr-inc{display:grid;gap:11px;margin:22px 0 28px;padding-top:22px;border-top:1px solid var(--line)}
.pr-inc li{display:flex;gap:10px;font-size:15px;line-height:1.4}
.pr-inc svg{flex:none;width:18px;height:18px;margin-top:1px}
.pr-tier .btn{width:100%;margin-top:auto}
.pr-extra{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:14px;margin-top:14px}
.pr-drivers ul{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 28px;margin-top:18px}
.pr-drivers li{position:relative;padding-left:18px;font-size:15px;line-height:1.45;color:var(--ash)}
.pr-drivers li::before{content:"";position:absolute;left:0;top:.5em;width:7px;height:7px;border-radius:50%;background:var(--ink)}
.pr-next{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:40px}

@media (max-width:1080px){
  .pr-hows,.pr-models{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pr-tiers,.pr-extra{grid-template-columns:minmax(0,1fr);max-width:580px;margin-inline:auto}
}
@media (max-width:600px){
  .pr-hows,.pr-models{grid-template-columns:minmax(0,1fr)}
  .pr-model{min-height:0}
  .pr-drivers ul{grid-template-columns:minmax(0,1fr)}
  .pr-amt{font-size:34px}
  .pr-tier,.pr-care,.pr-drivers{padding:26px 22px 24px}
  .pr-next .btn{width:100%}
}
