/* Stepped "Get Pro" flow on /pricing: what Pro is -> how the free trial works -> choose your plan. */
.pw2 {
  --pw2-bg: var(--bg, #101318);
  --pw2-panel: var(--panel, #1b212a);
  --pw2-line: var(--line, #303946);
  --pw2-ink: var(--ink, #eef1f6);
  --pw2-ink-soft: var(--ink-soft, #c7ced9);
  --pw2-muted: var(--muted, #a6b0bf);
  --pw2-teal: #82ddd1;
  --pw2-peri: #94a9ff;
  --pw2-teal-glow: rgba(130, 221, 209, .35);
  --pw2-teal-ring: rgba(130, 221, 209, .18);
  --pw2-peri-ring: rgba(148, 169, 255, .22);
  --pw2-ease: cubic-bezier(.2, .8, .2, 1);
  --pw2-ease-out: cubic-bezier(.23, 1, .32, 1);
  --pw2-ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --pw2-t-step: 260ms;
  --pw2-t-item: 320ms;
  --pw2-owl: 132px;
  --pw2-nav: 64px;
}
@media (min-width: 640px) { .pw2 { --pw2-owl: 160px; } }

/* ---------- stage, bar, hero ---------- */
.pw2 { position: relative; z-index: 2; min-height: calc(100vh - var(--pw2-nav)); min-height: calc(100svh - var(--pw2-nav)); display: flex; align-items: flex-start; justify-content: center; padding: 8px 0 48px; }
.pw2-inner { width: 100%; max-width: 560px; margin: 0 auto; padding-inline: 16px; box-sizing: border-box; }
.pw2-bar { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; min-height: 44px; }
.pw2-back, .pw2-skip { appearance: none; border: 0; background: none; color: var(--pw2-muted); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; border-radius: 10px; min-height: 40px; }
.pw2-back { width: 40px; display: grid; place-items: center; padding: 0; }
.pw2-back svg { width: 20px; height: 20px; }
.pw2[data-step="1"] .pw2-back { visibility: hidden; }
.pw2-skip { justify-self: end; padding: 0 8px; }
.pw2-skip:hover, .pw2-back:hover { color: var(--pw2-ink); }
.pw2-back:focus-visible, .pw2-skip:focus-visible, .pw2-ghost:focus-visible { outline: 2px solid var(--pw2-peri); outline-offset: 2px; }
.pw2-dots { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pw2-dots li { width: 6px; height: 6px; border-radius: 999px; background: var(--pw2-line); transition: width .26s var(--pw2-ease), background .2s; }
.pw2-dots li.is-done { background: var(--pw2-teal); }
.pw2-dots li.is-on { width: 18px; background: var(--pw2-teal); box-shadow: 0 0 10px var(--pw2-teal-glow); }
.pw2-sr { position: absolute !important; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.pw2-hero { position: relative; display: grid; place-items: center; height: calc(var(--pw2-owl) + 24px); margin: 4px auto 6px; }
.pw2-glow { position: absolute; width: calc(var(--pw2-owl) * 1.9); height: calc(var(--pw2-owl) * 1.9); border-radius: 50%; background: radial-gradient(circle at 50% 60%, rgba(130,221,209,.18), rgba(148,169,255,.06) 55%, transparent 72%); pointer-events: none; }
.pw2-owl { position: relative; width: var(--pw2-owl); height: var(--pw2-owl); }
.pw2-owl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .28s var(--pw2-ease-out); }
.pw2-owl img.is-on { opacity: 1; animation: pw2-bob 3.2s ease-in-out infinite; }
.pw2-owl[data-pose="cheer"] img.is-on { animation: pw2-pop .5s var(--pw2-ease-pop) 1, pw2-bob 3.2s ease-in-out .5s infinite; }
.pw2-owl[data-pose="surprised"] img.is-on { animation: pw2-jump .55s var(--pw2-ease-pop) 1, pw2-bob 3.2s ease-in-out .55s infinite; }
.pw2-owl.hoot-rive-on img { visibility: hidden; animation: none; }
.pw2-owl .hoot-rive-wrap { position: absolute; pointer-events: none; display: block; overflow: visible; }
.pw2-owl .hoot-rive-canvas { display: block; width: 100%; height: 100%; }
.pw2-spark { position: absolute; top: 2px; right: calc(50% - var(--pw2-owl) * .75); width: 22px; height: 22px; animation: pw2-twinkle 2.8s ease-in-out infinite; }
.pw2-spark svg { width: 100%; height: 100%; display: block; }
@keyframes pw2-bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-1.5deg); } }
@keyframes pw2-pop { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes pw2-jump { 0% { transform: translateY(0); } 40% { transform: translateY(-10px) scale(1.03); } 100% { transform: translateY(0); } }
@keyframes pw2-twinkle { 0%,100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }

/* ---------- steps ---------- */
.pw2-step { display: none; }
.pw2-js .pw2-step.is-active { display: block; }
html:not(.pw2-js) .pw2-step { display: block; margin-bottom: 48px; }
html:not(.pw2-js) .pw2-bar, html:not(.pw2-js) [data-pw2-next], html:not(.pw2-js) .pw2-ghost { display: none; }
.pw2-step.is-active.is-in { animation: pw2-step-in var(--pw2-t-step) var(--pw2-ease) both; }
.pw2[data-dir="back"] .pw2-step.is-active.is-in { animation-name: pw2-step-back; }
@keyframes pw2-step-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes pw2-step-back { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

.pw2-eyebrow { margin: 0 0 6px; text-align: center; color: var(--pw2-teal); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pw2-h { margin: 0; text-align: center; font-size: clamp(28px, 7vw, 36px); line-height: 1.12; letter-spacing: -.02em; color: var(--pw2-ink); outline: none; }
.pw2-h em, .pw2-sub em, .pw2-row--pro em { font-style: normal; color: var(--pw2-teal); text-shadow: 0 0 22px var(--pw2-teal-glow); }
.pw2-sub { margin: 10px auto 0; max-width: 42ch; text-align: center; color: var(--pw2-ink-soft); font-size: 16px; line-height: 1.5; }

/* step 1: benefits */
.pw2-benefits { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pw2-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--pw2-line); border-radius: 14px; background: rgba(27,33,42,.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pw2-benefits b { display: block; color: var(--pw2-ink); font-size: 15.5px; }
.pw2-benefits small { display: block; color: var(--pw2-muted); font-size: 13.5px; margin-top: 2px; line-height: 1.45; }
.pw2-tile { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(130,221,209,.12); color: var(--pw2-teal); border: 1px solid rgba(130,221,209,.35); }
.pw2-tile svg { width: 16px; height: 16px; }
.is-in .pw2-benefits li { animation: pw2-rise var(--pw2-t-item) var(--pw2-ease-out) both; animation-delay: calc(var(--i) * 70ms + 180ms); }
@keyframes pw2-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* step 2: trial timeline */
.pw2-trail { margin: 22px 0 0; padding: 0; list-style: none; }
.pw2-row { position: relative; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: start; padding-bottom: 22px; opacity: .35; transition: opacity .32s var(--pw2-ease-out); }
.pw2-row:last-child { padding-bottom: 0; }
.pw2-row::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--pw2-teal), var(--pw2-peri)); transform: scaleY(0); transform-origin: top; transition: transform .42s var(--pw2-ease-out); }
.pw2-row:last-child::after { display: none; }
.pw2-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--pw2-line); background: var(--pw2-bg); color: #6b7487; box-sizing: border-box; }
.pw2-ico svg { width: 18px; height: 18px; }
.pw2-row-text { padding-top: 1px; }
.pw2-row-text b { display: block; color: var(--pw2-ink); font-size: 15px; }
.pw2-row-text span { display: block; color: var(--pw2-muted); font-size: 14px; margin-top: 2px; line-height: 1.45; }
.pw2-row.is-on { opacity: 1; }
.pw2-row.is-on::after { transform: scaleY(1); }
.pw2-row.is-on .pw2-ico { border-color: rgba(130,221,209,.65); background: rgba(130,221,209,.12); color: var(--pw2-teal); box-shadow: 0 0 14px rgba(130,221,209,.35); animation: pw2-ico-pop .5s var(--pw2-ease-pop) both; }
.pw2-row--pro.is-on .pw2-ico { border-color: rgba(148,169,255,.7); background: rgba(148,169,255,.12); color: var(--pw2-peri); box-shadow: 0 0 16px rgba(148,169,255,.4); animation: pw2-ico-pop .5s var(--pw2-ease-pop) both, pw2-pulse 2.4s ease-in-out .6s infinite; }
@keyframes pw2-ico-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes pw2-pulse { 0%,100% { box-shadow: 0 0 16px rgba(148,169,255,.4); } 50% { box-shadow: 0 0 26px rgba(148,169,255,.65); } }
.pw2-note { display: flex; gap: 8px; align-items: flex-start; justify-content: center; margin: 20px 0 0; color: var(--pw2-muted); font-size: 13.5px; text-align: left; }
.pw2-note svg { flex: none; width: 14px; height: 14px; color: var(--pw2-teal); margin-top: 3px; }

/* step 3: plans */
.pw2-plans { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.pw2-group { margin: 14px 0 8px; color: var(--pw2-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pw2-plans > .pw2-group:first-of-type { margin-top: 0; }
.pw2-plan { position: relative; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 10px; border: 2px solid var(--pw2-line); border-radius: 16px; background: var(--pw2-panel); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s var(--pw2-ease-out), background .15s; }
.pw2-plan:hover { transform: translateY(-1px); border-color: #3f4a5c; }
.pw2-plan:focus-within { outline: 2px solid var(--pw2-peri); outline-offset: 3px; }
.pw2-plan.is-selected { border-color: var(--pw2-teal); box-shadow: 0 0 0 4px var(--pw2-teal-ring), 0 0 30px rgba(130,221,209,.12); background: linear-gradient(180deg, rgba(130,221,209,.10), var(--pw2-panel) 60%); }
.pw2-plan--once.is-selected { border-color: var(--pw2-peri); box-shadow: 0 0 0 4px var(--pw2-peri-ring), 0 0 30px rgba(148,169,255,.12); background: linear-gradient(180deg, rgba(148,169,255,.10), var(--pw2-panel) 60%); }
.pw2-check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--pw2-line); color: #0b1714; box-sizing: border-box; transition: background .15s, border-color .15s; }
.pw2-check svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .25s var(--pw2-ease-pop); }
.is-selected .pw2-check { background: var(--pw2-teal); border-color: var(--pw2-teal); }
.pw2-plan--once.is-selected .pw2-check { background: var(--pw2-peri); border-color: var(--pw2-peri); }
.is-selected .pw2-check svg { opacity: 1; transform: scale(1); }
.pw2-plan-main { min-width: 0; }
.pw2-plan-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--pw2-ink); font-weight: 700; font-size: 16px; }
.pw2-plan-sub { display: block; margin-top: 2px; color: var(--pw2-muted); font-size: 13px; }
.pw2-plan-sub b { color: var(--pw2-teal); }
.pw2-plan-price { text-align: right; white-space: nowrap; }
.pw2-plan-price strong { display: block; color: var(--pw2-ink); font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pw2-plan-price small { color: var(--pw2-muted); font-size: 12px; }
.pw2-chip { padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: rgba(130,221,209,.12); color: var(--pw2-teal); border: 1px solid rgba(130,221,209,.35); white-space: nowrap; }
.pw2-chip--peri { background: rgba(148,169,255,.12); color: var(--pw2-peri); border-color: rgba(148,169,255,.35); }
.is-in .pw2-group, .is-in .pw2-plan { animation: pw2-rise var(--pw2-t-item) var(--pw2-ease-out) both; animation-delay: calc(var(--i) * 60ms + 160ms); }

/* actions */
.pw2-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
.is-in .pw2-actions { animation: pw2-rise var(--pw2-t-item) var(--pw2-ease-out) both; animation-delay: 480ms; }
.pw2-step:has(.pw2-row).is-in .pw2-actions { animation-delay: 1900ms; } /* rec1209: only the (removed) trial step waited */
.pw2 .pw2-cta { width: 100%; max-width: 420px; min-height: 56px; font: inherit; cursor: pointer; border: 0; }
.pw2-cta b svg { width: 18px; height: 18px; }
.pw2-cta.is-live { animation: pw2-breathe 2.4s ease-in-out infinite; }
@keyframes pw2-breathe { 0%,100% { box-shadow: 0 10px 30px rgba(130,221,209,.30), 0 0 0 1px rgba(255,255,255,.18) inset; } 50% { box-shadow: 0 14px 40px rgba(130,221,209,.48), 0 0 0 1px rgba(255,255,255,.25) inset; } }
.pw2-cta.is-swapping b, .pw2-cta.is-swapping small { animation: pw2-swap .22s var(--pw2-ease-out); }
@keyframes pw2-swap { from { opacity: 0; transform: translateY(4px); } }
.pw2-fine { margin: 0; color: var(--pw2-ink-soft); font-size: 14px; text-align: center; }
.pw2-trust { margin: 0; color: var(--pw2-muted); font-size: 12.5px; text-align: center; }
.pw2-ghost { appearance: none; border: 0; background: none; color: var(--pw2-muted); font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; }
.pw2-ghost:hover { color: var(--pw2-ink); background: rgba(255,255,255,.05); }
.pw2-links { margin: 0; color: var(--pw2-muted); font-size: 12.5px; }
.pw2-links a { color: var(--pw2-muted); }
.pw2-links a:hover { color: var(--pw2-ink); }

/* closed state + details */
.pw2.is-closing { opacity: 0; transform: translateY(-8px); transition: opacity .22s var(--pw2-ease-out), transform .22s var(--pw2-ease-out); }
.pw2.is-closed { display: none; }
.pw2-details { scroll-margin-top: var(--pw2-nav); }
.pw2-details [id] { scroll-margin-top: var(--pw2-nav); }
.pw2-js .pw2-details.is-revealed { animation: pw2-fade .3s var(--pw2-ease-out) both; }
@keyframes pw2-fade { from { opacity: 0; } }
.pw2-reopen { display: flex; justify-content: center; margin: 4px 0 0; }

@media (max-width: 420px) {
  .pw2-plan { grid-template-columns: 22px 1fr auto; padding: 12px; gap: 10px; }
  .pw2-plan-price strong { font-size: 18px; }
  .pw2-h { font-size: 28px; }
  .pw2-benefits li { padding: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pw2 *, .pw2 *::before, .pw2 *::after { animation: none !important; transition: none !important; }
  .pw2-row { opacity: 1; }
  .pw2-row::after { transform: scaleY(1); }
  .pw2-row .pw2-ico { border-color: rgba(130,221,209,.65); background: rgba(130,221,209,.12); color: var(--pw2-teal); }
  .pw2-row--pro .pw2-ico { border-color: rgba(148,169,255,.7); background: rgba(148,169,255,.12); color: var(--pw2-peri); }
  .pw2-spark { opacity: .8; }
}
html:not(.pw2-js) .pw2-reopen { display: none; }
.pw2-details [tabindex="-1"]:focus, .pw2-h:focus { outline: none; }
.pw2 { overflow-x: clip; }   /* the Rive canvas is ~3.5x the owl box; never let it widen the page */

/* r22 fix: one short line per Pro extra, two columns on wide screens, so Continue sits on the first screen;
   the crown sits on the owl's shoulder instead of floating apart */
.pw2-benefits { gap: 8px; }
.pw2-benefits li { align-items: center; padding: 10px 14px; }
@media (min-width: 640px) {
  .pw2-benefits { grid-template-columns: 1fr 1fr; }
  .pw2-benefits li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-content: center; }
}
.pw2-spark { top: 18%; right: calc(50% - var(--pw2-owl) * .5); width: 26px; height: 26px; }
