/* The pricing page (/pricing). Loaded only there, after site.css, rich.css and pages.css: it uses their tokens and parts
   (.eyebrow, .sh, .lead, .btn, .seg, .faq/.qa, .more, the .obot Orbi, the .final sign-up block) and adds its own
   blocks, all prefixed pr- so they never meet a home page class.
   Order: hero · plans · credits · calculator · compare · tools · Orbi sizes · breakpoints. */

/* ---------- 1. Hero and the switch ---------- */
.pr-hero{padding-block:72px 40px;text-align:center}
.pr-hero h1{font-size:clamp(40px,6vw,68px);margin:12px 0 16px}
.pr-hero .lead{margin:0 auto}
.pr-billing{display:flex;justify-content:center;margin-top:28px}
.pr-billing .seg em{font-style:normal;color:#1f8a3c;font-weight:600}

/* ---------- 2. Plans ---------- */
.pr-plansec{padding-block:0 96px}
.pr-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;padding-top:12px;padding-bottom:24px}
.pr-plan{position:relative;background:var(--tile);border-radius:28px;padding:28px 26px 26px;display:flex;flex-direction:column;min-width:0}
.pr-plan.pr-pop{background:#fff;box-shadow:0 0 0 1.5px var(--blue),0 30px 60px -30px rgba(36,87,245,.45)}
.pr-badge{position:absolute;top:-12px;left:26px;background:var(--blue);color:#fff;font-size:12px;font-weight:600;padding:5px 11px;border-radius:999px;line-height:1.2}
.pr-ph{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.pr-tag{color:var(--muted);font-size:14px;margin:4px 0 18px;min-height:20px}
.pr-price{display:flex;align-items:baseline;gap:6px}
.pr-price b{font-size:52px;letter-spacing:-.04em;line-height:1;font-weight:700}
.pr-price span{color:var(--muted);font-size:15px}
.pr-pnote{font-size:13px;color:var(--muted);margin:8px 0 20px;min-height:18px}
.pr-plan .btn{width:100%;height:46px;font-size:15px}
.pr-credit{margin:22px 0 18px;padding:16px;border-radius:18px;background:#fff;box-shadow:0 0 0 1px var(--line)}
.pr-pop .pr-credit{background:linear-gradient(180deg,#f3f6ff,#fff);box-shadow:0 0 0 1px #dfe6ff}
.pr-n{font-size:26px;font-weight:700;letter-spacing:-.03em;line-height:1.2}
.pr-n small{font-size:14px;font-weight:500;color:var(--muted);letter-spacing:0;margin-left:4px}
.pr-mk{font-size:12px;color:var(--muted);margin:10px 0 8px;text-transform:uppercase;letter-spacing:.08em;font-weight:600}
.pr-mks{list-style:none;padding:0;display:grid;gap:7px}
.pr-mks li{display:flex;align-items:center;gap:10px;font-size:14px}
.pr-mks li b{margin-left:auto;font-variant-numeric:tabular-nums}
.pr-mks .pr-or{display:block;font-size:11.5px;color:var(--faint);text-align:center;margin:-2px 0}
.pr-mks img,.pr-rows img,.pr-steps img,.pr-gh img,.pr-tool>img{display:block;flex:none;border-radius:30%;box-shadow:0 6px 14px -8px rgba(0,0,0,.35)}
.pr-feat{list-style:none;padding:0;margin:4px 0 0;display:grid;gap:11px;font-size:14.5px}
.pr-feat li{display:flex;gap:10px;align-items:flex-start;line-height:1.4}
.pr-feat li::before{content:"";width:18px;height:18px;flex:none;margin-top:1px;border-radius:50%;background:rgba(36,87,245,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%232457f5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
.pr-under{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pr-mini{background:var(--tile);border-radius:22px;padding:22px 24px;display:flex;gap:16px;align-items:center}
.pr-mini h2{margin:0 0 4px;font-size:17px;letter-spacing:-.015em;line-height:1.3}
.pr-mini p{color:var(--muted);font-size:14px;line-height:1.45}
.pr-mini a{color:var(--blue);font-weight:500}.pr-mini a:hover{text-decoration:underline}
.pr-nt{width:64px;height:64px;border-radius:18px;flex:none;display:grid;place-items:center;background:#fff;box-shadow:0 0 0 1px var(--line),0 6px 14px -8px rgba(0,0,0,.18)}
.pr-nt svg{width:30px;height:30px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pr-fine{text-align:center;font-size:12.5px;color:var(--muted);margin-top:22px;text-wrap:balance}
.pr-fine a{text-decoration:underline;text-underline-offset:2px}.pr-fine a:hover{color:var(--ink)}

/* ---------- 3. What a credit buys ---------- */
.pr-prices{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;align-items:start}
.pr-card{background:#fff;border-radius:24px;box-shadow:0 0 0 1px var(--line);padding:8px 24px}
.pr-card h3{font-size:15px;margin:18px 0 6px;color:var(--muted);font-weight:600;letter-spacing:-.01em}
.pr-rows,.pr-steps{list-style:none;padding:0}
.pr-rows li,.pr-stp{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.pr-rows li:last-child,.pr-stp:last-child{border-bottom:0}
.pr-t{flex:1;min-width:0}
.pr-t b{display:block;font-size:15px;font-weight:600}
.pr-t span{display:block;font-size:13px;color:var(--muted);line-height:1.4}
.pr-cost{font-weight:700;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
.pr-cost small{font-weight:500;color:var(--muted);font-size:12.5px}
.pr-free{background:linear-gradient(180deg,#f3fbf6,#fff);box-shadow:0 0 0 1px #d7f0e0}
.pr-free .pr-cost{color:#1f9d55}
.pr-note{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--muted);margin-top:14px;line-height:1.45}
.pr-note::before{content:"i";flex:none;width:18px;height:18px;border-radius:50%;background:var(--tile);color:var(--muted);font:700 11px/18px Georgia,serif;text-align:center}

/* ---------- 4. How much will you use? ---------- */
.pr-calc{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;align-items:stretch}
.pr-steps{background:#fff;border-radius:24px;box-shadow:0 0 0 1px var(--line);padding:6px 24px}
.pr-stp .pr-t span{font-size:12.5px}
.pr-ctr{display:flex;align-items:center;background:var(--tile);border-radius:12px;flex:none}
.pr-ctr button{width:38px;height:38px;font-size:18px;color:var(--ink);border-radius:12px;transition:background .2s}
.pr-ctr button:hover{background:var(--tile2)}
.pr-ctr button:focus-visible{outline-offset:-2px}
.pr-ctr output{min-width:34px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
/* "Your month": a light card (lavender glow top right, peach bottom left). Bars: the plan that fits green,
   plans the total goes over coral red, the others blue. */
.pr-result{border-radius:24px;padding:28px;color:var(--ink);display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden;
  background:radial-gradient(60% 50% at 100% 0%,#ece6ff 0,transparent 70%),radial-gradient(60% 50% at 0% 100%,#ffece3 0,transparent 70%),#fcfcfd;
  box-shadow:0 0 0 1px var(--line)}
.pr-result small{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--blue);font-weight:600}
.pr-tot{font-size:46px;font-weight:700;letter-spacing:-.04em;line-height:1}
.pr-tot span{font-size:16px;color:var(--muted);font-weight:500;letter-spacing:0}
.pr-meter{display:grid;gap:9px;margin-top:4px}
.pr-meter div{display:grid;grid-template-columns:54px 1fr 64px;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.pr-meter div.fits{color:var(--ink);font-weight:600}
.pr-meter i{height:8px;border-radius:9px;background:#ebebef;overflow:hidden;position:relative}
.pr-meter i::after{content:"";position:absolute;inset:0;width:var(--w);background:var(--c,linear-gradient(90deg,#9aa6ff,#2457f5));border-radius:9px;transition:width .5s var(--spring)}
.pr-meter div.fits i::after{--c:linear-gradient(90deg,#86e0a8,#1f9d55)}
.pr-meter div.over i::after{--c:linear-gradient(90deg,#ffb3a6,#e5484d)}
.pr-meter em{font-style:normal;text-align:right;font-variant-numeric:tabular-nums}
.pr-pick{margin-top:auto;background:#fff;border-radius:16px;padding:16px;display:flex;align-items:center;gap:14px;position:relative;
  box-shadow:0 0 0 1px var(--line),0 10px 24px -14px rgba(20,22,41,.22)}
.pr-pick b{font-size:20px;color:var(--ink)}
.pr-pick p{margin-top:2px;font-size:13px;color:var(--muted)}
.pr-pick .btn{margin-left:auto;background:var(--ink);color:#fff}

/* ---------- 5. Compare (rules reach only the table's own cells, never inside Orbi) ---------- */
.pr-tblw{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:8px}
.pr-cmp{width:100%;border-collapse:separate;border-spacing:0;font-size:14.5px}
.pr-cmp>thead>tr>th,.pr-cmp>tbody>tr>th,.pr-cmp>tbody>tr>td{padding:14px 12px;text-align:center;border-bottom:1px solid var(--line);font-weight:400}
.pr-cmp>thead>tr>th:first-child,.pr-cmp>tbody>tr>th{text-align:left;padding-left:0}
.pr-cmp>thead>tr>th{font-size:16px;font-weight:600;background:var(--alt)}
.pr-cmp>thead>tr>th>small{display:block;font-weight:500;color:var(--muted);font-size:13px;margin-top:2px}
.pr-cmp>tbody>tr.pr-grp>th{border-bottom:0;padding-top:30px;padding-bottom:8px}
.pr-gh{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px}
.pr-cmp>tbody>tr>td.y::before{content:"";display:inline-block;width:18px;height:18px;vertical-align:middle;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.8 8.4l2.7 2.7 5.7-6' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
.pr-cmp>tbody>tr>td.n{color:#c7c7cc}
.pr-cmp>tbody>tr>td.pr-c{background:#f6f8ff}
.pr-cmp>thead>tr>th.pr-c{background:#f6f8ff;border-radius:14px 14px 0 0}

/* ---------- 6. The tools ---------- */
.pr-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pr-tool{background:var(--tile);border-radius:22px;padding:22px;display:flex;flex-direction:column;gap:14px;min-width:0}
.pr-tool h3{font-size:16px;font-weight:600;letter-spacing:-.015em;line-height:1.3}
.pr-tool p{margin-top:4px;color:var(--muted);font-size:14px;line-height:1.45}
.pr-fr{margin-top:auto;font-size:12px;font-weight:600;color:#1f9d55}
.pr-fr.c{color:var(--muted)}

/* ---------- Orbi: sized by --s (pricing.js); he is 100em wide, so font-size is --s / 100 ---------- */
.pr-orbi{display:inline-block;flex:none;width:var(--s,26px);height:var(--s,26px);font-size:calc(var(--s,26px) / 100);line-height:0;text-align:left;vertical-align:middle;letter-spacing:0}

/* ---------- Breakpoints ---------- */
@media (max-width:980px){
  .pr-plans{grid-template-columns:1fr;max-width:480px;margin:0 auto}
  .pr-plan.pr-pop{order:-1}
  .pr-under,.pr-prices,.pr-calc{grid-template-columns:1fr}
  .pr-tools{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
  .pr-hero{padding-block:48px 32px}
  .pr-plansec{padding-bottom:68px}
  .pr-billing .seg{display:inline-flex;width:auto}
  .pr-billing .seg button{flex:0 0 auto;padding:0 16px;font-size:14px}
  .pr-plan{padding:26px 22px 22px}
  .pr-tools{gap:10px}
  .pr-tool{padding:16px;border-radius:18px}
  .pr-card,.pr-steps{padding:4px 18px}
  .pr-mini{flex-direction:column;align-items:flex-start}
  .pr-cmp{font-size:13.5px}
  .pr-cmp>thead>tr>th,.pr-cmp>tbody>tr>th,.pr-cmp>tbody>tr>td{padding:12px 6px}
  .pr-cmp>thead>tr>th{font-size:14px}
  .pr-result{padding:22px}
  .pr-pick{flex-wrap:wrap}
  .pr-pick .btn{margin-left:0;width:100%}
}
@media (max-width:400px){
  .pr-stp{gap:10px}
  .pr-stp>img{width:36px;height:36px}
  .pr-ctr button{width:34px;height:34px}
  .pr-ctr output{min-width:26px}
}
