/* Pricing on white (Dasha, 28 Oct: "redo the pricing: on a white background, more spread out, nicer to look at"), after the official
   iJewel plan comparison she sent: one clean white table, a column for each plan with its name, price, who it is for and a button,
   group headings inside the table, words, a green ring-check for included and a grey lock for not included (the look of
   /products/asset-library/'s #plans, which she approved), dashed rows, plenty of air. The plan the slider picks is tinted and marked.
   Then (Dasha, 28 Oct, second look): the plan cards come back above the table, for a quick read, with the quiz link under them;
   the table follows under "Compare all features", its heads only the name and the button; the FAQ is the kit's (as on
   /products/ijewel-playground/).
   On a laptop the columns sit side by side on one grid (every wrapper display: contents, so each row lines up across the plans);
   the plan names stay under the header while the rows scroll. On a phone each plan is its own card with its own labels, and a
   row of plan buttons shows one card at a time. These rules are this page's only; the shared files are unchanged. */
body.glass.plain.pz { background: #fff; }
body.one > main.pz-main { display: block; flex: 1 0 auto; width: calc(100% - 2 * clamp(16px, 4vw, 48px)); max-width: 1280px; margin: 0 auto;
  padding: clamp(64px, 9svh, 104px) 0 0; }
body.pz [id] { scroll-margin-top: 96px; }

/* the head and the controls */
.pz-hero { text-align: center; }
body.glass .pz-hero h1 { max-width: none; margin: 0 auto; font: 500 clamp(44px, 5vw, 68px)/1.02 var(--sans); letter-spacing: -.045em; color: var(--ink); }
.pz-hero p { margin: 18px auto 0; max-width: 34em; font: 400 20px/1.45 var(--sans); color: var(--ink2); }
.pz-ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; margin-top: 40px; }
body.one .pz-ctl .seg { margin: 0; background: #f3f3f7; border-color: #f3f3f7; }
body.one .pz-ctl .seg button { min-height: 40px; padding: 0 20px; font-size: 14.5px; }
body.one .pz-ctl .bill-tog .bt-l { font-size: 15px; }
body.one .pr-slide.pz-slide { max-width: 960px; margin: 28px auto 0; padding-top: 40px; }

/* the table */
.pz-stage { margin-top: clamp(48px, 7svh, 72px); }
.pz-g { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto);
  grid-auto-flow: column; }
.pz-g[hidden] { display: none; }
.pz-col, .pz-col dl, .pz-r { display: contents; }
.pz-col dl, .pz-col dd { margin: 0; }
.pz-col dt, .pz-col:not(.pz-lbls) .pz-gh span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pz-col dt .tip, .pz-col dt .arr { display: none; }  /* a laptop shows the labels column's hint; a phone the card's own (below) */

/* the head of a plan: the badge, the name (it stays under the header while the rows scroll), the price, who it is for, a button */
.pz-b { display: flex; align-items: flex-end; justify-content: center; min-height: 46px; padding: 16px 16px 0; box-sizing: border-box; }
.pz-badge:empty { display: none; }
.pz-badge { flex: none; white-space: nowrap; padding: 7px 13px; border-radius: 999px; background: #5053D0; color: #fff; font: 500 12.5px/1 var(--sans); letter-spacing: .01em; }
.pz-top { position: sticky; top: 78px; z-index: 3; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 6px 16px 2px;
  box-sizing: border-box; background: transparent; transition: box-shadow .25s, background .25s; }
.pz-g.is-stuck .pz-top { background: #fff; }  /* white only while it sticks, so it never shows as a bar otherwise */
.pz-g.is-stuck .pz-top { box-shadow: 0 1px 0 rgba(25, 24, 38, .08), 0 14px 18px -16px rgba(25, 24, 38, .22); }
body.glass .pz-name { margin: 0; font: 500 28px/1.15 var(--sans); letter-spacing: -.035em; color: var(--ink); }
.pz-sub { display: flex; flex-direction: column; align-items: center; padding: 14px 20px 32px; text-align: center; }
.pz-sub:empty { padding: 0 0 18px; }  /* the Get buttons left the table head; they stay at the foot only (Dasha, 2 Nov) */
.pz-price { margin: 0; font: 500 40px/1 var(--sans); letter-spacing: -.045em; color: var(--ink); white-space: nowrap; }
.pz-price small { margin-left: 6px; font: 400 15px/1 var(--sans); letter-spacing: 0; color: var(--ink2); }
.pz-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 0; }
.pz-tag { padding: 5px 10px; border-radius: 999px; background: rgba(110, 114, 242, .1); font: 500 12.5px/1.2 var(--sans); color: #5053D0; }

/* the plan cards: a quick read of each plan, right after the slider (white, a fine edge; the picked one violet-edged and tinted) */
.pc-stage { margin: clamp(44px, 6svh, 64px) -24px -24px; padding: 0 24px 24px; }  /* room for the shadows while a tab swaps the lists (the stage clips then) */
.pc-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.pc-list[hidden] { display: none; }
.pc { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px rgba(25, 24, 38, .09), 0 18px 50px -36px rgba(40, 44, 120, .28); transition: box-shadow .3s cubic-bezier(.22, 1, .36, 1), background-color .3s cubic-bezier(.22, 1, .36, 1); }
.pc.is-rec { background: #f7f7fe; box-shadow: 0 0 0 1.5px #6E72F2, 0 26px 56px -32px rgba(80, 83, 208, .45); }
.pc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; min-height: 28px; }
body.glass .pc-name { margin: 0; font: 500 22px/1.2 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.pc .pc-price { margin: 16px 0 0; font-size: 34px; }
.pc .pc-price small { font-size: 14px; }
.pc-for { margin: 10px 0 0; min-height: 2.9em; font: 400 14px/1.45 var(--sans); color: var(--ink2); }
.pc-tags { justify-content: flex-start; margin-top: 12px; }
.pc-models { margin: 16px 0 0; padding: 12px 0; border-top: 1px dashed rgba(25, 24, 38, .16); border-bottom: 1px dashed rgba(25, 24, 38, .16);
  font: 500 14.5px/1.35 var(--sans); color: var(--ink); }
.pc-lead { margin: 16px 0 0; font: 500 13.5px/1.3 var(--sans); color: var(--ink); }
.pc-ul { flex: 1; margin: 10px 0 24px; padding: 0; list-style: none; }
.pc-ul li { position: relative; padding-left: 24px; font: 400 14px/1.4 var(--sans); color: var(--ink2); }
.pc-ul li + li { margin-top: 8px; }
.pc-ul li::before { content: ''; position: absolute; left: 0; top: 1px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.2' fill='none' stroke='%2322a06b' stroke-width='1.8'/%3E%3Cpath d='M8.1 12.3l2.7 2.7 5.1-5.4' fill='none' stroke='%2322a06b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pc-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; padding: 0 16px; border-radius: 14px;
  font: 500 15px/1.1 var(--sans); text-align: center; text-decoration: none; transition: background .2s, box-shadow .2s; }
.pc-btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(25, 24, 38, .2); }
.pc-btn--line:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(25, 24, 38, .45); }
.pc-btn--ink { background: #191826; color: #fff; box-shadow: 0 10px 24px -14px rgba(25, 24, 38, .6); }
.pc-btn--ink:hover { background: #2b2940; color: #fff; }
.pc-btn:focus-visible { outline: 2px solid #6E72F2; outline-offset: 3px; }
.pz-links--top { margin-top: 32px; }
.pz-plans { padding-top: clamp(104px, 14svh, 160px); }
body.glass h2.pz-h2 { max-width: none; margin: 0; text-align: center; font: 500 clamp(32px, 3.4vw, 46px)/1.1 var(--sans); letter-spacing: -.035em; color: var(--ink); }

/* the rows: a group heading, then a label and a value for each plan, on dashed lines */
.pz-gh { margin: 0; padding: 56px 16px 16px 0; font: 500 20px/1.3 var(--sans); letter-spacing: -.025em; color: var(--ink); }
.pz-col:not(.pz-lbls) .pz-gh { padding: 0; }
.pz-lbls > .pz-gh:nth-child(4) { padding-top: 32px; }  /* the first group: the head's own room is above it */
.pz-l, .pz-col dd { display: flex; align-items: center; min-height: 62px; padding: 14px 16px; box-sizing: border-box; border-top: 1px dashed rgba(25, 24, 38, .16); }
.pz-l { gap: 6px; padding-left: 0; font: 400 16px/1.35 var(--sans); color: var(--ink); }
.pz-l.is-sub { padding-left: 4px; font-size: 15px; color: var(--ink2); }
.pz-l .arr, .pz-r .arr { margin-right: 4px; color: #a4a2b4; }
.pz-col dd { justify-content: center; text-align: center; font: 400 15px/1.35 var(--sans); color: var(--ink2); }
.pz-w { font: 500 15.5px/1.35 var(--sans); color: var(--ink); }
a.pz-w { text-underline-offset: 2px; } a.pz-w:hover { color: #5053D0; }
.pz-y, .pz-n { flex: none; width: 24px; height: 24px; }
.pz-y { color: #22a06b; } .pz-n { color: #8e8ca0; }
.pz-pv { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.pz-addon { padding: 4px 11px; border-radius: 999px; background: rgba(110, 114, 242, .12); font: 500 13px/1.3 var(--sans); color: #5053D0; }
.pz-f { display: flex; justify-content: center; padding: 32px 20px 36px; border-top: 1px dashed rgba(25, 24, 38, .16); }

/* the buttons: an outline for Free, violet for the plans between, violet to blue for the top plan */
.pz-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; max-width: 232px; min-height: 50px; padding: 0 18px;
  border-radius: 14px; font: 500 15.5px/1.1 var(--sans); letter-spacing: -.005em; text-align: center; text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .2s; }
.pz-btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(25, 24, 38, .2); }
.pz-btn--line:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(25, 24, 38, .45); }
.pz-btn--fill { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(25, 24, 38, .5); }  /* black (Dasha, 29 Oct) */
.pz-btn--fill:hover { background: #2b2940; color: #fff; }
.pz-btn--top { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(25, 24, 38, .5); }
.pz-btn--top:hover { background: #2b2940; color: #fff; }
.pz-btn:focus-visible { outline: 2px solid #6E72F2; outline-offset: 3px; }
@media (hover: hover) { .pz-btn:hover { transform: translateY(-1px); } }

/* the plan the slider picks: a very light violet column, rounded at its ends */
.pz-col > :is(.pz-b, .pz-top, .pz-sub, .pz-gh, .pz-f), .pz-col dd { transition: background-color .3s cubic-bezier(.22, 1, .36, 1), opacity .3s cubic-bezier(.22, 1, .36, 1); }
.pz-col.is-rec > :is(.pz-b, .pz-top, .pz-sub, .pz-gh, .pz-f), .pz-col.is-rec dd { background-color: #f7f7fe; }
.pz-col.is-rec > .pz-b { border-radius: 22px 22px 0 0; }
.pz-col.is-rec > .pz-f { border-radius: 0 0 22px 22px; }
/* a hover on a plan's column fades the values of the others (as on the live page; the names never fade) */
.pz-g.has-hc .pz-col:not(.pz-lbls):not(.is-hc) dd { opacity: .45; }

.pz-pick { display: none; }
.pz-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; margin: 40px 0 0; font: 400 15.5px/1.4 var(--sans); color: var(--ink2); }
.pz-links .lk { font: 500 15.5px/1.4 var(--sans); color: #5053D0; text-decoration: none; }
.pz-links .lk:hover { text-decoration: underline; text-underline-offset: 4px; }
.pz-price, .addons .ap { transition: opacity .16s cubic-bezier(.22, 1, .36, 1); }
@media (prefers-reduced-motion: reduce) { .pz-price, .pz-col > *, .pz-col dd, .pz-btn { transition: none; } }

/* the sections under the table, on white: more room, white cards with a fine edge, the questions on a light grey */
body.pz .one-sec { max-width: 1280px; padding-top: clamp(104px, 14svh, 160px); }
body.pz .one-sec:last-of-type { padding-bottom: clamp(104px, 14svh, 160px); }
body.one.pz h2.one-h2 { font-size: clamp(32px, 3.4vw, 46px); }
body.pz .one-sub { margin-top: 14px; font-size: 17px; }
body.pz .addons-stage { margin-top: 48px; }
body.pz .pr-add .addons { gap: 20px; }
body.pz .pr-add .addons li { padding: 30px 28px; background: #fff; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 0 0 1px rgba(25, 24, 38, .08), 0 18px 50px -34px rgba(40, 44, 120, .25); }
body.pz .pr-add .addons b { font-size: 17px; }
body.pz .pr-add .addons .al { font-size: 14.5px; }
body.pz .one-trust ul { margin-top: 40px; }
/* the FAQ: the kit's (tools/sections/faq.html; .k-qa in /site/assets/kit.css). The page is not body.kit, so the kit's variables are set
   here; the section's own rules are copied from the template, as the builder puts them into a kit page */
body.pz { --k-max: 1344px; --k-gut: clamp(16px, 4vw, 48px); --k-blue: #5053D0; --k-ease: cubic-bezier(.22, 1, .36, 1);
  --k-edge: 0 0 0 1px rgba(25, 24, 38, .055), 0 1px 2px rgba(25, 24, 38, .04); }
/* one centred column, as the FAQ of every other page (Dasha, 29 Oct): the heading FAQ, the accordion, and one line to the docs */
.k-faq .k-head { margin-bottom: clamp(28px, 4vw, 44px); }
.k-faq-foot { margin: clamp(24px, 3vw, 36px) auto 0; max-width: 880px; text-align: center; font: 400 16px/1.5 var(--sans); color: var(--ink2); }
.k-faq-more { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; font: 500 16px/1.5 var(--sans); color: var(--k-blue); text-decoration: none; white-space: nowrap; }
.k-faq-more svg { width: 18px; height: 18px; transition: transform .3s var(--k-ease); }
.k-faq-more:hover svg { transform: translateX(3px); }
.k-faq-more:focus-visible { outline: 2px solid #6E72F2; outline-offset: 4px; border-radius: 6px; }
@media (max-width: 860px) { .k-faq-foot { font-size: 15.5px; } .k-faq-more { display: inline-flex; margin: 6px 0 0; } }
@media (prefers-reduced-motion: reduce) { .k-faq-more svg { transition: none; } }
body.pz .k-faq { padding-bottom: clamp(104px, 14svh, 160px); }
.k-qa .lk { color: #5053D0; }
.k-qa .ofq-t { width: calc(100% - 48px); margin: 0 24px 22px; font-size: 15px; }  /* the storage and bandwidth tables stay in their answers */
@media (max-width: 860px) { .k-qa .ofq-t { width: calc(100% - 36px); margin: 0 18px 20px; } }

/* a tablet: the same table, a little tighter */
@media (max-width: 1100px) {
  .pc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pz-g { grid-template-columns: minmax(0, 1.1fr) repeat(4, minmax(0, 1fr)); }
  body.glass .pz-name { font-size: 24px; }
  .pz-l { font-size: 15px; }
  .pz-btn { font-size: 14px; padding: 0 6px; }
  .pz-sub { padding-left: 10px; padding-right: 10px; }
  .pz-gh { font-size: 18px; }
}

/* a phone: one card for each plan, with its own labels; the row of plan buttons shows one card (the one the slider picks) */
@media (max-width: 860px) {
  body.one > main.pz-main { padding-top: 48px; }
  .pz-hero p { margin-top: 12px; font-size: 17px; }
  .pz-ctl { flex-direction: column; gap: 18px; margin-top: 28px; }
  body.one .pr-slide.pz-slide { margin-top: 12px; }
  .pz-pick { position: sticky; top: 72px; z-index: 5; display: flex; gap: 2px; margin: 28px 0 0; padding: 4px; border-radius: 14px; background: #f3f3f7;
    overflow-x: auto; scrollbar-width: none; }
  .pz-pick::-webkit-scrollbar { display: none; }
  .pz-pick button { -webkit-appearance: none; appearance: none; flex: 1 0 auto; min-height: 40px; margin: 0; padding: 0 10px; border: 0; border-radius: 10px;
    background: none; font: 500 13.5px/1 var(--sans); color: var(--ink2); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
  .pz-pick button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(25, 24, 38, .06), 0 6px 14px -8px rgba(25, 24, 38, .25); }
  .pz-pick button:focus-visible { outline: 2px solid #6E72F2; outline-offset: 1px; }
  .pz-stage { margin-top: 16px; }
  .pc-stage { margin: 32px calc(-1 * clamp(16px, 4vw, 48px)) -24px; padding: 0 0 24px; }
  .pc-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); gap: 14px; padding: 4px clamp(16px, 4vw, 48px) 4px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 clamp(16px, 4vw, 48px); scrollbar-width: none; }
  .pc-list::-webkit-scrollbar { display: none; }
  .pc { scroll-snap-align: start; }
  .pz-plans { padding-top: 88px; }
  .pz-g { display: block; }
  .pz-col.pz-lbls { display: none; }
  .pz-col { display: block; margin: 0 0 16px; padding: 0 20px 4px; border-radius: 22px; background: #fff;
    box-shadow: 0 0 0 1px rgba(25, 24, 38, .08), 0 18px 50px -34px rgba(40, 44, 120, .25); }
  .pz-g.is-one .pz-col:not(.is-rec) { display: none; }
  .pz-col.is-rec > :is(.pz-b, .pz-top, .pz-sub, .pz-gh, .pz-f), .pz-col.is-rec dd { background-color: transparent; }
  .pz-b { justify-content: flex-start; min-height: 0; padding: 22px 0 0; }
  .pz-col:not(.is-rec) .pz-b { padding-top: 10px; }
  .pz-top { position: static; justify-content: flex-start; min-height: 0; padding: 10px 0 0; background: none; box-shadow: none !important; }
  .pz-sub { align-items: stretch; padding: 16px 0 24px; text-align: left; }
  .pz-btn { max-width: none; min-height: 52px; font-size: 16px; }
  body.glass .pz-name { font-size: 28px; }
  .pz-col dl { display: block; margin: 0; }
  .pz-col:not(.pz-lbls) .pz-gh { padding: 30px 0 10px; }
  .pz-col:not(.pz-lbls) .pz-gh span { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font: 500 18px/1.3 var(--sans); letter-spacing: -.02em; }
  .pz-r { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 10px 0; box-sizing: border-box; border-top: 1px dashed rgba(25, 24, 38, .16); }
  .pz-col dt { position: static; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 4px; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    font: 400 15px/1.35 var(--sans); color: var(--ink); }
  .pz-col dt .tip { display: inline-grid; }
  .pz-col dt .arr { display: inline; }
  .pz-r.is-sub dt { color: var(--ink2); }
  .pz-col dd { flex: none; justify-content: flex-end; max-width: 55%; min-height: 0; padding: 0; border: 0; text-align: right; }
  .pz-g.has-hc .pz-col dd { opacity: 1; }
  .pz-f { padding: 22px 0 18px; }
  .pz-links { flex-direction: column; gap: 12px; margin-top: 28px; text-align: center; }
  body.pz .one-sec { padding-top: 88px; }
  body.pz .one-sec:last-of-type { padding-bottom: 88px; }
  body.pz .addons-stage { margin-top: 32px; }
}
@media (max-width: 640px) { .pz-pick { top: 72px; } body.pz [id] { scroll-margin-top: 136px; } }
