/* /pricing: page-only layout. The plan comparison and credit table use .tbl from site.css; seg, ticks and frow too.
   Three big ARIA tabs choose the product: pr-tablist/pr-tab. page-pricing.js toggles the two tabpanel
   sections (#sites, #orchestrator). Without JS both stay in the flow, stacked: nothing here hides
   either panel, that only happens once the script runs. */
.pr-switcher{padding:clamp(28px,4vw,48px) 0}
.pr-switcher + .section{padding-top:clamp(36px,4.5vw,64px)}

/* One shared track (border + fill), like .seg but roomier, so the two choices read as one
   control: the inactive side is transparent inside the track, not a stray white content card. */
.pr-tablist{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:8px;border:1px solid var(--line-2);border-radius:22px;background:var(--canvas)}
@media (min-width:640px){.pr-tablist{grid-template-columns:repeat(3,minmax(0,1fr))}}
.pr-tab{display:flex;flex-direction:column;gap:6px;align-items:flex-start;width:100%;min-height:76px;padding:18px 22px;border:0;border-radius:15px;background:transparent;text-align:left;cursor:pointer;transition:background-color .18s,color .18s}
.pr-tab:hover{background:rgba(17,18,20,.06)}
.pr-tab[aria-selected="true"]{background:#0B0C10}
.pr-tab[aria-selected="true"]:hover{background:#0B0C10}
.pr-tab-name{font:600 1.15rem/1.25 var(--font-head);letter-spacing:-.02em;color:var(--ink)}
.pr-tab-sub{font:400 .92rem/1.4 var(--font-body);color:var(--muted)}
.pr-tab[aria-selected="true"] .pr-tab-name{color:#fff}
.pr-tab[aria-selected="true"] .pr-tab-sub{color:rgba(255,255,255,.72)}
.pr-tab:focus-visible{outline:3px solid #1A5F7A;outline-offset:3px}

.pr-orc{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.pr-orc-main{display:flex;flex-direction:column;gap:14px}
.pr-orc-side{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.pr-orc-side .btn{margin-top:0}
.pr-orc-img{display:block;width:100%;height:220px;object-fit:cover;border-radius:16px}
@media (min-width:900px){
  .pr-orc{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.85fr);gap:clamp(28px,4vw,56px);align-items:stretch}
  .pr-orc-img{height:100%;min-height:260px}
}

.pr-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px 48px;margin-bottom:clamp(28px,4vw,48px)}
.pr-head .sec-head{margin-bottom:0}
.pr-cur{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.pr-cur-label{font-size:.9rem;font-weight:500}
.pr-cur-note{max-width:34ch;font-size:.88rem;line-height:1.45}

.pr-plans thead th{font:600 1.15rem/1.2 var(--font-head);letter-spacing:-.02em;color:var(--ink);width:26%}
.pr-plans thead th small{display:block;margin-top:6px;font:400 .88rem/1.4 var(--font-body);letter-spacing:0;color:var(--muted)}
.pr-plans tbody th{width:22%}
/* The plain meaning of a credit, under the Credits label (and in each phone card). */
.pr-hint{display:block;margin-top:6px;max-width:30ch;font:400 .85rem/1.45 var(--font-body);color:var(--muted)}
.pr-hint .link{white-space:nowrap}
.pr-hint-cards{max-width:none;margin-top:0;font-size:.9rem}
.pr-price{font:500 clamp(1.7rem,3vw,2.3rem)/1.1 var(--font-head);letter-spacing:-.03em;color:var(--ink)}
.pr-price-row small{font-size:.92rem;color:var(--muted)}
.pr-cta-row td .btn{width:100%;justify-content:center}
.pr-reassure{margin-top:14px;font-size:.88rem}
.pr-note{margin-top:28px;color:var(--muted);line-height:1.6}

.pr-credit{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:start}
.pr-credit-more{margin-top:14px;max-width:52ch;color:var(--muted);line-height:1.6}
.pr-credit .lede{margin-top:14px}
.pr-credits tbody th{width:auto}
.pr-credits td{white-space:nowrap}
@media (min-width:900px){.pr-credit{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

.pr-incl-list li span{display:block}
.pr-incl-list li strong{color:var(--ink)}
.pr-img{display:block;width:100%;height:auto;border-radius:20px}

@media (max-width:900px){
  .pr-plans th,.pr-plans td{padding:14px 12px}
  .pr-plans tbody th{width:18%}
  .pr-cta-row .btn{padding-inline:12px;white-space:normal;text-align:center;line-height:1.25}
  .pr-cta-row .btn .ic{display:none}
}

/* Phones: the comparison table can only stack row by row (Price, then Websites...), which splits each plan
   over five places and drops the "who it is for" line. Below 760px (where site.css stacks .tbl) the table
   hides and .pr-cards, built from the same $plans, shows one .pplan card per plan instead. */
.pr-cards{display:none}
@media (max-width:760px){
  .pr-plans-wrap{display:none}
  .pr-cards{display:grid}
  .pr-cards .btn{width:100%;justify-content:center}
}

@media (max-width:480px){
  .pr-orc-side .btn{width:100%}
  .pr-cur,.seg{width:100%}
  .seg button{flex:1 1 0}
}
.pr-orc-side .link{color:#fff;display:inline-flex;align-items:center;min-height:44px}

/* Hero visual (19 Nov): one credit being spent, on a fictional store. The resting state is the end of the
   story (Done, 19 of 20 left), so no motion, reduced motion and a prerendered page all show something true.
   With motion allowed it plays once on load, about two seconds, opacity and transform only. */
.pr-demo{max-width:440px;margin-inline:auto}
.pr-left{font-size:.85rem;color:var(--muted);white-space:nowrap}
.pr-left strong{font:600 1rem/1 var(--font-head);color:var(--ink)}
.pr-swap{display:inline-grid}
.pr-swap>*{grid-area:1/1}
.pr-swap>.was{opacity:0}
.pr-pips{display:flex;gap:3px;margin-top:14px}
.pr-pips i{position:relative;flex:1;height:6px;border-radius:3px;background:var(--line-2)}
.pr-pips i::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--blue-ink)}
.pr-pips i.used::after{opacity:0}
.pr-reply .state{margin-bottom:4px}
@media (max-width:440px){.pr-demo .mock-head{flex-direction:column;align-items:flex-start;gap:6px}}
.pr-cost{font-size:.85rem;font-weight:600;color:var(--ink)}
.pr-free{margin-left:auto;flex:none;font-size:.85rem;font-weight:600;color:#0E7C66}
@media (prefers-reduced-motion:no-preference){
  .pr-demo .pr-reply{animation:pr-in .25s ease .5s both}
  .pr-demo .pr-swap>.was{animation:pr-out .2s ease 1.7s both}
  .pr-demo .pr-swap>.now{animation:pr-in .2s ease 1.7s both}
  .pr-demo .pr-pips i.used::after{animation:pr-out .25s ease 1.7s both}
}
@keyframes pr-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes pr-out{from{opacity:1}to{opacity:0}}
