/* Pricing, in the shared field design (ui.css). Three plans with Yearly in the middle. Each plan is one dark
   card lit from its top edge. The light is drawn the way designers make real gradients: three solid wavy bands
   (an inline SVG, .pr-glow: near-white at the top, the colour under it, a deeper colour under that), then a
   heavy blur that melts them into one glow. Yearly is white, orange, red (inverted in the light theme); monthly in blues; 6 months in reds.
   Cards follow the theme: white with dark text in light, ink with light text in dark; the glow fades into the
   card either way. The name, price and note sit on the colour, so they stay white in both. These glows are
   the only gradients on the page; buttons are solid and the same on every card. */
.pricing-content{padding-top:clamp(28px,4vw,48px)}
/* Room above the cards for the Yearly tab. */
.pr-plans{padding-top:46px}

.pr-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start;max-width:1060px;margin-inline:auto}
.pr-card:not(:has(.is-best)){margin-top:22px}

/* Tones per plan: the three bands of light from the top (pale, colour, deep). Buttons share one colour. */
.pr-card--blue{--c1:#eef5ff;--c2:#4c8dff;--c3:#1f2fe0;--btn:#2f5bf0}
.pr-card--orange{--c1:#fff3e2;--c2:#ff7a12;--c3:#f3170c;--btn:#f05a00}
.pr-card--red{--c1:#fff0ee;--c2:#ff3d45;--c3:#b3001f;--btn:#d8102b}

.pr-card{position:relative;min-width:0}

.pr-plan{
  --base:#ffffff;--on-glow:#ffffff;--on-glow-2:rgba(255,255,255,.86);
  --text:#14151a;--text-2:rgba(20,21,26,.66);--text-3:rgba(20,21,26,.46);--line:rgba(20,21,26,.1);
  position:relative;isolation:isolate;display:flex;flex-direction:column;overflow:hidden;padding:30px 28px 28px;
  border-radius:var(--r-lg);color:var(--text);box-shadow:0 1px 2px rgba(20,21,26,.06),0 30px 60px -30px rgba(20,21,26,.35);
}
body.ui[data-theme="dark"] .pr-plan{
  --base:#111216;--text:#f6f5f1;--text-2:rgba(246,245,241,.74);--text-3:rgba(246,245,241,.54);--line:rgba(246,245,241,.14);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.9);
}
/* No border, and the card fill is a layer inside the card rather than its background, so it is clipped
   together with the glow: no dark ring shows round the rounded edges. */
.pr-plan::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--base)}
/* The glow: the wavy bands, larger than the card on every side so the blur's soft edge falls outside it. */
.pr-glow{position:absolute;z-index:-1;top:-80px;left:-70px;width:calc(100% + 140px);height:420px;max-width:none;filter:blur(36px);pointer-events:none}
.pr-w1{fill:var(--c1)}.pr-w2{fill:var(--c2)}.pr-w3{fill:var(--c3)}
/* Light theme: the bands are inverted, deep colour at the top edge, then the colour, then pale, so the glow
   fades into the white card. */
body.ui:not([data-theme="dark"]) .pr-w1{fill:var(--c3)}
body.ui:not([data-theme="dark"]) .pr-w3{fill:var(--c1)}
.pr-card--red .pr-glow{transform:scaleX(-1)}
.pr-plan :is(.pr-head h2,.pr-price,.pr-sub){text-shadow:0 1px 14px rgba(0,0,0,.28)}
.pr-plan.is-best{padding:38px 30px 32px}

.pr-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:26px}
.pr-plan h2{color:var(--on-glow);font-size:16px;font-weight:600;letter-spacing:-.01em}
.pr-save{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font:600 12px/1 var(--sans);letter-spacing:0;white-space:nowrap}
.pr-save{background:rgba(255,255,255,.18);color:#fff}

/* Yearly: a tab 90% as wide as the card slides up from behind its top edge, like a notification, then "yearly
   discount" is written by a pen, stroke after stroke, like the macOS "hello". The words are single-line
   strokes (EMS Allure, built into the SVG); each path draws by its dash offset, with the delay and duration
   below (generated with the SVG) so the pen moves at one speed, lifting briefly between strokes. The tab lives on .pr-card, under the plan
   (which clips its own overflow), with its foot tucked behind the card. */
.pr-card--orange .pr-plan{z-index:1}
.pr-flag{
  position:absolute;z-index:0;top:0;left:5%;right:5%;display:flex;justify-content:center;margin:0;height:64px;padding:5px 20px 0;
  border-radius:var(--r-lg) var(--r-lg) 0 0;background:#fff;color:#14151a;border:1px solid rgba(20,21,26,.1);border-bottom:0;box-shadow:0 -12px 30px -16px rgba(20,21,26,.35);
  transform:translateY(-44px);animation:pr-flag-up .75s cubic-bezier(.2,.9,.25,1.1) .3s both;
}
body.ui[data-theme="dark"] .pr-flag{background:#000;color:#fff;border-color:rgba(255,255,255,.12);box-shadow:0 -12px 30px -16px rgba(0,0,0,.8)}
.pr-flag-script{display:block;height:34px;width:auto;max-width:100%;overflow:visible}
.pr-flag-script path{fill:none;stroke:currentColor;stroke-width:64;stroke-linecap:round;stroke-linejoin:round;animation:pr-pen .2s linear 1.05s forwards}
.pr-flag-script path:nth-child(1){animation-duration:0.256s;animation-delay:1.050s}
.pr-flag-script path:nth-child(2){animation-duration:0.115s;animation-delay:1.356s}
.pr-flag-script path:nth-child(3){animation-duration:0.151s;animation-delay:1.522s}
.pr-flag-script path:nth-child(4){animation-duration:0.133s;animation-delay:1.722s}
.pr-flag-script path:nth-child(5){animation-duration:0.181s;animation-delay:1.905s}
.pr-flag-script path:nth-child(6){animation-duration:0.256s;animation-delay:2.136s}
.pr-flag-script path:nth-child(7){animation-duration:0.262s;animation-delay:2.442s}
.pr-flag-script path:nth-child(8){animation-duration:0.079s;animation-delay:2.755s}
.pr-flag-script path:nth-child(9){animation-duration:0.060s;animation-delay:2.884s}
.pr-flag-script path:nth-child(10){animation-duration:0.060s;animation-delay:2.938s}
.pr-flag-script path:nth-child(11){animation-duration:0.060s;animation-delay:3.044s}
.pr-flag-script path:nth-child(12){animation-duration:0.094s;animation-delay:3.150s}
.pr-flag-script path:nth-child(13){animation-duration:0.088s;animation-delay:3.294s}
.pr-flag-script path:nth-child(14){animation-duration:0.060s;animation-delay:3.432s}
.pr-flag-script path:nth-child(15){animation-duration:0.141s;animation-delay:3.510s}
.pr-flag-script path:nth-child(16){animation-duration:0.260s;animation-delay:3.701s}
.pr-flag-script path:nth-child(17){animation-duration:0.060s;animation-delay:4.012s}
@keyframes pr-flag-up{from{transform:translateY(0)}}
@keyframes pr-pen{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){
  .pr-flag{animation:none}
  .pr-flag-script path{animation:none;stroke-dashoffset:0}
}
@media (max-width:560px){.pr-flag{height:60px;transform:translateY(-40px)}.pr-flag-script{height:30px}}

.pr-price{display:flex;align-items:baseline;gap:8px;margin-top:26px}
.pr-price b{font:600 clamp(44px,4.6vw,56px)/1 var(--sans);font-variant-numeric:tabular-nums;letter-spacing:-.045em;color:var(--on-glow)}
.pr-price span{color:var(--on-glow-2);font-size:15px;font-weight:500}
.pr-sub{margin:12px 0 0;color:var(--on-glow-2);font-size:14.5px;line-height:1.5}
/* Light theme: the billing line falls where the inverted glow turns pale, so it is set dark. */
body.ui:not([data-theme="dark"]) .pr-sub{color:var(--text-2);text-shadow:none}

.pr-points{display:grid;gap:11px;margin:30px 0 0;padding:0;list-style:none}
.pr-points li{display:flex;align-items:flex-start;gap:10px;color:var(--text);font-size:14.5px;line-height:1.4}
.pr-points svg{flex:none;width:16px;height:16px;margin-top:1px;fill:none;stroke:var(--text);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* "Everything included": a quiet row that opens the full feature list; pricing.js animates its height. */
.pr-more{margin:20px 0 26px;border-top:1px solid var(--line)}
.pr-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 0;color:var(--text-2);font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.pr-more summary::-webkit-details-marker{display:none}
.pr-more summary:hover{color:var(--text)}
.pr-chev{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s var(--ease)}
/* .is-closing is set by pricing.js the moment a close starts, so icons turn back at once, not after the slide. */
.pr-more[open]:not(.is-closing) .pr-chev{transform:rotate(180deg)}
.pr-all{display:grid;gap:9px;margin:0;padding:14px 0 0;list-style:none}
.pr-all li{display:flex;align-items:flex-start;gap:10px;color:var(--text-2);font-size:14px;line-height:1.4}
.pr-all svg{flex:none;width:14px;height:14px;margin-top:2px;fill:none;stroke:var(--text-3);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Each card's button is one solid colour from its own gradient (no gradient fill). */
.pr-plan .btn{margin-top:auto;background:var(--btn,var(--accent));border-color:var(--btn,var(--accent));color:#fff;box-shadow:none}
.pr-plan .btn:hover{background:var(--btn,var(--accent-hover));filter:brightness(.92);box-shadow:none}

.pricing-assurance{max-width:62ch;margin:28px auto 0;color:var(--text-3);font-size:14px;line-height:1.55;text-align:center}

/* Billing questions: a centred heading, then one column of questions between hairlines. Each opens with a
   plus that turns into a cross; pricing.js slides the answer open. */
.pr-faq-section{max-width:760px;padding:clamp(88px,11vw,136px) 0 clamp(16px,2vw,24px)}
.pr-faq-head{text-align:center}
.pr-faq-head h2{font-size:clamp(30px,3.6vw,42px);font-weight:600;line-height:1.08;letter-spacing:-.035em}
.pr-faq-head p{margin:14px auto 0;color:var(--text-2);font-size:16px;line-height:1.55}
.pr-faq{margin-top:clamp(36px,5vw,52px);border-top:1px solid var(--line-2)}
.pr-q{border-bottom:1px solid var(--line-2)}
.pr-q summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 2px;color:var(--text);font-size:17px;font-weight:550;letter-spacing:-.01em;line-height:1.4;cursor:pointer;list-style:none}
.pr-q summary::-webkit-details-marker{display:none}
.pr-q-icon{flex:none;width:18px;height:18px;fill:none;stroke:var(--text-3);stroke-width:1.7;stroke-linecap:round;transition:transform .15s var(--ease),stroke .15s}
.pr-q summary:hover .pr-q-icon{stroke:var(--text)}
.pr-q[open]:not(.is-closing) .pr-q-icon{transform:rotate(45deg);stroke:var(--text)}
.pr-a p{max-width:62ch;margin:0;padding:0 40px 24px 2px;color:var(--text-2);font-size:16px;line-height:1.65}

@media (max-width:960px){
  .pr-plans{grid-template-columns:minmax(0,1fr);max-width:460px;gap:28px}
  .pr-card:has(.is-best){order:-1}
  .pr-card:not(:has(.is-best)){margin-top:0}
  .pr-plan.is-best{padding:32px 28px 28px}
}
@media (max-width:560px){
  .pr-plan,.pr-plan.is-best{padding:26px 22px 22px}
  .pr-q summary{padding:18px 0;font-size:16px}
  .pr-a p{padding:0 0 20px}
}
