/* ══ MOTION TOKENS (Motion Lab, finding #1) — one system, strong curves ══ */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms;
  --dur-fast: 160ms;
  --dur-ui: 200ms;
  --dur-modal: 240ms;
  /* brand tokens (same values as brand.css, duplicated here because the
   * conversion surfaces open on pages that do not load brand.css — the
   * editor and account pages keep their own chrome until their restyle) */
  --o-btn-a: #FB8221;
  --o-btn-b: #FA962B;
  --grad-btn: linear-gradient(90deg, var(--o-btn-a) 0%, var(--o-btn-b) 100%);
  --orange-ink: #F4761B;
  --o-soft: #FFF6EE;
  --o-wash: #FFF3E7;
  --o-line: #FCD9B6;
  --o-shadow: rgba(251, 130, 33, .28);
}
/* signitur — plan states + conversion surfaces (announcement bar,
 * PRO badges, Pro-locks, trial popup, plan chooser). Loads after app.css. */

/* plan visibility gates: body gets plan-free OR plan-paidlike (trial+paid) */
body.plan-paidlike .free-only { display: none !important; }
body.plan-free .paid-only { display: none !important; }

/* ---- announcement bar (free plan, dismissible) ---- */
.announce-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--o-soft); border-bottom: 1px solid var(--o-line);
  padding: 9px 40px 9px 16px; font-size: 12.5px; font-weight: 600; color: var(--ink);
  position: relative; z-index: 31;
}
.announce-bar button.bar-cta { border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; }
.announce-bar .bar-x {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; color: var(--ink-2); font-size: 14px; padding: 4px 8px;
}

/* ---- PRO badge chip ---- */
.pro-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--o-wash); color: var(--orange-ink); border-radius: var(--r-pill);
  font-size: 9.5px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 9px; vertical-align: 2px;
}
.pro-badge::after { content: ''; font-size: 8px; }

/* ---- Remove Watermark card ---- */
.rw-card {
  display: flex; align-items: center; gap: 11px;
  border: 1.5px solid var(--o-line); border-radius: var(--r-sm); background: #fff;
  padding: 10px 12px; box-shadow: 0 0 0 3px rgba(251, 130, 33, .07);
}
.rw-ic {
  width: 32px; height: 32px; border-radius: var(--r-xs); background: var(--o-wash); color: var(--orange-ink, #F4761B);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.rw-txt { flex: 1; min-width: 0; }
.rw-txt b { font-size: 12.5px; display: inline-flex; align-items: center; gap: 7px; }
.rw-txt small { display: block; color: var(--ink-2); font-size: 10.5px; margin-top: 1px; }
.rw-toggle {
  width: 34px; height: 19px; border-radius: var(--r-pill); background: #d8dee9; border: 0;
  position: relative; flex: 0 0 auto; cursor: pointer;
}
.rw-toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

/* ---- Pro-locked analytics overlay ---- */
.ana-prolock {
  position: absolute; inset: 0; z-index: 2; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  text-align: center; padding: 20px;
}
body.plan-free .ana-prolock { display: flex; }
body.plan-free .ana-card .ana-live, body.plan-free .ana-card .ana-overlay { display: none !important; }
body.plan-free .ana-card .ana-blur { display: flex !important; }
.lock-circle {
  width: 34px; height: 34px; border-radius: 50%; background: #e8edf5; color: #475569;
  display: inline-flex; align-items: center; justify-content: center;
}
.ana-prolock b { font-size: 14.5px; }
.ana-prolock span { color: var(--ink-2); font-size: 12px; }
.unlock-btn {
  margin-top: 6px; border: 0; border-radius: var(--r-pill); padding: 8px 16px;
  background: var(--grad-btn); color: var(--on-brand, #FFFFFF); font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 5px 14px var(--o-shadow);
}
.prolock-box {
  border: 1.5px dashed #d3dced; border-radius: var(--r-sm); background: #f8fafc;
  padding: 26px 16px; text-align: center; color: var(--ink-2); font-size: 12.5px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 14px;
}

/* ---- popup shell ---- */
.pw-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(240, 244, 251, .55); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  display: flex; align-items: center; justify-content: center; padding: 18px; overflow-y: auto;
}
.pw-modal {
  position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .25); max-width: calc(100vw - 24px);
  margin: auto;
}
.pw-x {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 13px; line-height: 1;
}

/* trial offer modal — owner's Figma (Aug 25): one light card over a faint
   brand grid, signature left, three feature blocks right */
.pw-trial {
  display: flex; gap: 30px; width: 980px; padding: 30px 34px;
  font-family: '42dot Sans', -apple-system, system-ui, sans-serif;
  background-image:
    linear-gradient(rgba(251, 130, 33, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 130, 33, .06) 1px, transparent 1px);
  background-size: 54px 54px;
}
.pwt-left { flex: 1 1 52%; min-width: 0; }
.pwt-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pwt-pill {
  background: var(--grad-btn); color: var(--on-brand, #FFFFFF); border-radius: var(--r-pill);
  font-size: 10.5px; font-weight: 800; padding: 5px 13px;
  display: inline-flex; align-items: center; gap: 5px;
  box-shadow: 0 3px 10px var(--o-shadow);
}
.pwt-cancel { color: var(--orange-ink); font-size: 11.5px; font-weight: 600; }
.pwt-title { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.pwt-title b { color: var(--orange-ink, #F4761B); }
.pwt-sub { color: var(--ink-2); font-size: 12.5px; margin-bottom: 16px; }
.pwt-sig {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px;
  margin-bottom: 18px; overflow: hidden; display: flex; justify-content: center;
  background: #fff; box-shadow: 0 8px 26px rgba(16, 24, 40, .07);
}
.pwt-sig .sig-inner { display: block; transform-origin: center center; }
/* LOOK-ONLY previews (owner, Aug 25): the upgrade-path previews render the
 * CLEAN Pro signature — he drag-selected one, pasted it into Gmail, and had
 * a free Pro signature. No selection, no image-drag, no pointer target.
 * (user-select:none also keeps it out of a select-all copy in Chrome.)
 * NOTE FOR PORT-BACK: prod has the same hole on its sigpreview surfaces. */
.pwt-sig, .co-sigbox { pointer-events: none; }
.pwt-sig, .co-sigbox, .pwt-sig *, .co-sigbox * {
  -webkit-user-select: none; user-select: none;
  -webkit-user-drag: none;
}
.pwt-ctas { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.pwt-accept {
  border: 0; border-radius: var(--r-pill); padding: 12px 20px;
  background: var(--grad-btn); color: var(--on-brand, #FFFFFF); font-weight: 700; font-size: 13px;
  box-shadow: 0 6px 16px var(--o-shadow); cursor: pointer;
}
.pwt-timer {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px;
  background: #fff; font-size: 12px; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pwt-foot { color: var(--ink-2); font-size: 10.5px; margin-top: 12px; }
/* the right column is the three feature blocks (was: a dark promo panel) */
.pwt-right {
  flex: 1 1 48%; min-width: 0; display: flex; flex-direction: column;
  justify-content: center; gap: 20px; padding-top: 10px;
}
.pwt-feat { display: flex; gap: 14px; align-items: flex-start; }
.pwt-feat i {
  width: 42px; height: 42px; border-radius: 13px; flex: 0 0 auto; font-style: normal;
  background: #fff; border: 1.5px solid var(--o-line); color: var(--orange-ink, #F4761B);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(251, 130, 33, .10);
}
.pwt-feat b { font-size: 14px; display: block; margin-bottom: 4px; }
.pwt-feat span { font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }

/* plan chooser modal */
/* Stripe Payment Element */
.co-payel { min-height: 44px; margin-bottom: 6px; }
.co-payerr {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  border-radius: var(--r-sm); padding: 9px 12px; font-size: 12.5px; font-weight: 600; margin: 8px 0;
}
.co-payerr[hidden] { display: none; }
.co-accept[disabled] { opacity: .55; cursor: default; }

/* keep-one-on-upgrade chooser */
.pw-keepone { padding: 30px 34px 26px; max-width: 560px; }
.ko-count { margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--orange-ink); }
.ko-list { margin: 8px 0 4px; max-height: 46vh; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.ko-item input:disabled + .ko-name { opacity: .45; }
.ko-item:has(input:disabled) { cursor: default; background: #fafbfc; }
.ko-item {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: #fff;
}
.ko-item:hover { border-color: var(--o-line); background: var(--o-soft); }
.ko-item:has(input:checked) { border-color: var(--orange-ink, #F4761B); background: var(--o-soft); box-shadow: 0 0 0 1px var(--o-btn-a) inset; }
.ko-name b { display: block; font-size: 13.5px; }
.ko-name small { color: var(--ink-2); font-size: 11.5px; }
.ko-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 18px; }

.pw-plans {
  width: 960px; padding: 28px 32px;
  font-family: '42dot Sans', -apple-system, system-ui, sans-serif;
}
.pwp-title { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.pwp-title b { color: var(--orange-ink, #F4761B); }
.pwp-sub { text-align: center; color: var(--ink-2); font-size: 13.5px; margin: 4px 0 18px; }
.qty-wrap { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 18px 12px; margin-bottom: 16px; position: relative; box-shadow: 0 4px 16px rgba(16,24,40,.05); }
.qty-chip {
  position: absolute; top: -10px; left: 14px; background: var(--o-soft); border: 1px solid var(--o-line);
  border-radius: var(--r-xs); font-size: 10.5px; font-weight: 700; color: var(--orange-ink); padding: 2px 8px;
}
.qty-wrap input[type=range] { width: 100%; }

/* ══ BRAND SLIDERS (owner, Aug 25): every left-right dial carries the faded
   orange — gradient fill up to the thumb, gradient thumb, soft glow. The
   --fill var is kept current by the hydrator in paywall.js. Covers the
   editor panels, the plans modal and checkout (this sheet loads on all). ══ */
input[type=range] {
  -webkit-appearance: none; appearance: none;
  height: 7px; border-radius: 999px; outline: none;
  background:
    linear-gradient(90deg, var(--o-btn-a), var(--o-btn-b)) 0 / var(--fill, 50%) 100% no-repeat,
    #EFEFF1;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 19px; height: 19px; border-radius: 50%;
  background: linear-gradient(135deg, var(--o-btn-a), var(--o-btn-b));
  border: 3px solid #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .25), 0 0 0 1px var(--o-line), 0 3px 10px var(--o-shadow);
  cursor: grab;
}
input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; }
input[type=range]:focus-visible { box-shadow: 0 0 0 3px rgba(251, 130, 33, .25); }
input[type=range]::-moz-range-track { height: 7px; border-radius: 999px; background: #EFEFF1; }
input[type=range]::-moz-range-progress { height: 7px; border-radius: 999px; background: linear-gradient(90deg, var(--o-btn-a), var(--o-btn-b)); }
input[type=range]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%;
  background: linear-gradient(135deg, var(--o-btn-a), var(--o-btn-b));
  border: 3px solid #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .25), 0 0 0 1px var(--o-line), 0 3px 10px var(--o-shadow);
}
.qty-ticks { position: relative; height: 15px; margin: 7px 8px 0; font-size: 9.5px; color: var(--ink-2); }
.qty-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.cycle-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; font-size: 12.5px; font-weight: 600; }
.cycle-row .switch input:checked + .knob { background: var(--grad-btn); box-shadow: 0 0 10px var(--o-shadow); }
.save-chip { background: var(--o-wash); color: var(--orange-ink); border-radius: var(--r-pill); font-size: 10.5px; font-weight: 700; padding: 3px 10px; }
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pcard { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; background: #fff; }
.pcard.hot {
  border: 1.5px solid var(--o-btn-a);
  background: linear-gradient(160deg, #FFF9F2, #FFFDFA 65%);
  box-shadow: 0 14px 38px rgba(251, 130, 33, .13);
}
.pcard h4 { font-size: 18px; }
.pcard .pc-sigs { font-size: 12px; color: var(--ink-2); margin: 3px 0 2px; }
.pcard .pc-grn { color: var(--orange-ink); font-size: 11.5px; font-weight: 700; margin-bottom: 14px; }
.pc-price { font-size: 34px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.pc-price s { color: var(--ink-3); font-size: 14px; font-weight: 600; }
.pc-free-chip {
  background: var(--grad-btn); color: var(--on-brand, #FFFFFF); border-radius: var(--r-pill);
  font-size: 10.5px; font-weight: 700; padding: 5px 12px;
  box-shadow: 0 3px 12px var(--o-shadow);
}
.pc-cycle { font-size: 11px; color: var(--ink-2); margin: 2px 0 8px; }
.pc-desc { font-size: 12px; color: var(--ink-2); line-height: 1.6; margin-bottom: 14px; }
.pc-cta {
  width: 100%; border: 0; border-radius: var(--r-pill); padding: 12px;
  background: var(--grad-btn); color: var(--on-brand, #FFFFFF); font-weight: 700; font-size: 13.5px;
  box-shadow: 0 6px 16px var(--o-shadow); margin-bottom: 16px; cursor: pointer;
}
.pc-cta.ghost { background: #fff; color: var(--orange-ink); border: 1.5px solid var(--o-btn-a); box-shadow: none; }
.pc-contact { font-size: 36px; font-weight: 800; margin: 6px 0 4px; }
.pc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pc-list li { display: flex; align-items: center; gap: 9px; font-size: 12px; }
/* the frame's orange checkbox: rounded square, gradient fill, white check */
.pc-list li::before {
  content: ''; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E"); background-size: 68%; background-position: center; background-repeat: no-repeat; flex: 0 0 auto; width: 15px; height: 15px; border-radius: 4.5px;
  background-color: var(--orange-ink, #F4761B);
}
/* the frame's greyed items use a plain dash, not a box */
.pc-list li.na { color: var(--ink-3); }
.pc-list li.na::before { background-image: none; background-color: transparent; border-radius: 0; height: 2px; width: 12px; margin: 0 1.5px; background: #CDCDD2; align-self: center; }
/* inline marks inside checklist rows (verified badge, AI cube, brand logos) */
.pc-list .pcf-ic { width: 15px; height: 15px; flex: 0 0 auto; display: inline-block; vertical-align: -2px; object-fit: contain; }
.pc-plus { border-top: 1px solid var(--line); margin: 14px 0 10px; padding-top: 12px; font-size: 12.5px; font-weight: 700; }

@media (max-width: 920px) {
  .pw-trial { width: 100%; flex-direction: column; gap: 8px; }
  .pw-plans { width: 100%; }
  .plan-cards { grid-template-columns: 1fr; }
}

/* ══ MOBILE (owner task #7): modals breathe on a phone, and the 22 slider
   tick labels thin to every 4th — all 22 collide into an unreadable strip
   at 375px. Applies to the plans modal AND checkout (shared classes). ══ */
@media (max-width: 560px) {
  .pw-plans { padding: 20px 16px; }
  .pwp-title { font-size: 24px; }
  .pw-trial { padding: 22px 16px; }
  .pwt-title { font-size: 22px; }
  .pwt-ctas { flex-wrap: wrap; }
  .pwt-accept { flex: 1 1 auto; }
  .pcard { padding: 16px; }
  .pc-price { font-size: 28px; flex-wrap: wrap; gap: 8px; }
  .pc-contact { font-size: 28px; }
  .qty-ticks span { display: none; }
  .qty-ticks span:nth-child(4n+1) { display: block; }
  .qty-wrap { padding: 16px 14px 10px; }
  .cycle-row { flex-wrap: wrap; }
}

/* ══ #2: the conversion surface no longer teleports ══
 * Entrance: @starting-style (no JS). Exit: paywall.js adds .closing and
 * removes after 170ms. Modals stay transform-origin center (exempt). */
.pw-overlay {
  opacity: 1;
  transition: opacity var(--dur-modal) var(--ease-out);
}
@starting-style { .pw-overlay { opacity: 0; } }
.pw-modal {
  opacity: 1; transform: scale(1);
  transition: opacity var(--dur-modal) var(--ease-out), transform var(--dur-modal) var(--ease-out);
}
@starting-style { .pw-overlay .pw-modal { opacity: 0; transform: scale(0.96); } }
.pw-overlay.closing { opacity: 0; transition-duration: var(--dur-fast); }
.pw-overlay.closing .pw-modal { opacity: 0; transform: scale(0.97); transition-duration: var(--dur-fast); }
@media (prefers-reduced-motion: reduce) {
  .pw-modal, .pw-overlay.closing .pw-modal { transform: none; }
}

/* ══ #5: every pressable element confirms the press (scale .97) ══ */
button:where(:not(:disabled)) { transition: transform var(--dur-press) var(--ease-out); }
button:where(:not(:disabled)):active { transform: scale(0.97); }

/* ══ CHECKOUT (owner's Figma, Aug 25) — brand restyle of the co-* chrome.
   Scoped body.co so nothing leaks; loads after pages.css so it wins. ══ */
body.co { font-family: '42dot Sans', -apple-system, system-ui, sans-serif; }
body.co .co-title { font-size: 26px; letter-spacing: -0.01em; }
body.co .co-title b { color: var(--orange-ink, #F4761B); }
body.co .co-cancel { color: var(--orange-ink); }
body.co .co-left {
  background: #fff; border: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(251, 130, 33, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 130, 33, .05) 1px, transparent 1px);
  background-size: 54px 54px;
}
body.co .co-plancard {
  border: 1.5px solid var(--o-btn-a);
  background: linear-gradient(160deg, #FFF9F2, #FFFDFA 65%);
  box-shadow: 0 14px 38px rgba(251, 130, 33, .13);
}
body.co .co-cycle-row .switch input:checked + .knob { background: var(--grad-btn); box-shadow: 0 0 10px var(--o-shadow); }
body.co .co-apply { background: var(--grad-btn); box-shadow: 0 4px 12px var(--o-shadow); border-radius: var(--r-pill); }
body.co .co-accept { background: var(--grad-btn); box-shadow: 0 8px 20px var(--o-shadow); }
body.co .co-sum-line.sv { color: var(--orange-ink); }
body.co .co-x { border-color: var(--o-line); background: var(--o-soft); color: var(--orange-ink); }
body.co .txt:focus { border-color: var(--orange-ink, #F4761B); box-shadow: 0 0 0 3px rgba(251, 130, 33, .14); }
body.co .co-feats { border-top-color: var(--o-line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
body.co .co-sigbox { box-shadow: 0 8px 26px rgba(16, 24, 40, .07); }
@media (max-width: 560px) {
  body.co .co-grid { padding: 12px; gap: 14px; }
  body.co .co-left { padding: 16px 14px; }
  body.co .co-cycle-row { float: none; justify-content: flex-start; margin-bottom: 10px; }
  body.co .co-title { font-size: 22px; }
  body.co .co-feats { grid-template-columns: 1fr; }
  body.co .co-trust { justify-content: flex-start; }
}


/* ══════════════════════════════════════════════════════════════════════════
 * POPUPS v2 (owner, Sep 5: "can't have it look exactly like the previous one").
 * The markup in paywall.js (openTrial / openPlans) changed shape; these rules
 * style it in the sandbox's language and override the CE-era rules above.
 *   trial  = SPLIT modal: warm near-black left (headline, live signature on the
 *            beam, countdown pill) / light right (marked feature list, fade CTA)
 *   plans  = header, quantity as a big number + segmented Monthly|Yearly pill,
 *            ONE dark Pro card, Enterprise as a slim row
 * ══════════════════════════════════════════════════════════════════════ */
.pw-overlay { background: rgba(247, 245, 242, .62); }
.pw-modal { border-radius: 20px; box-shadow: 0 30px 90px rgba(30, 18, 9, .28); }
.pw-x {
  width: 32px; height: 32px; border: 1px solid rgba(30, 18, 9, .09); background: #fff; color: #161110;
  box-shadow: 0 1px 2px rgba(30, 18, 9, .05);
}
.pw-x:hover { background: #FFF3E7; }

/* ── trial / limited-time offer ── */
.pw-trial {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0;
  width: 940px; padding: 0; background-image: none;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', sans-serif;
}
.pwt-left {
  position: relative; overflow: hidden; padding: 30px 32px 32px;
  background: #1A110A; color: #FBF7F3;
}
.pwt-eyebrow { margin-bottom: 14px; }
.pwt-timer {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: rgba(255, 255, 255, .06);
  color: #FBF7F3; font-size: 12px; font-weight: 500; letter-spacing: -.004em;
}
.pwt-timer i { width: 7px; height: 7px; border-radius: 50%; background: #FB8221; box-shadow: 0 0 0 3px rgba(251, 130, 33, .25); animation: pwtPulse 1.6s ease-in-out infinite; }
@keyframes pwtPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(251, 130, 33, .25); } 50% { box-shadow: 0 0 0 6px rgba(251, 130, 33, .08); } }
.pwt-timer b { font-variant-numeric: tabular-nums; color: #FFB56B; font-weight: 700; }
.pwt-title {
  margin: 0 0 8px; font-size: 28px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: #FBF7F3;
}
.pwt-title b {
  color: transparent; background: linear-gradient(90deg, #FB8221, #FA962B);
  -webkit-background-clip: text; background-clip: text;
}
.pwt-sub { margin: 0 0 22px; font-size: 13px; line-height: 1.55; color: #A69384; }
.pwt-stage { position: relative; min-height: 200px; display: flex; align-items: center; justify-content: center; padding: 8px 0 4px; }
.pwt-stage[hidden] { display: none; }
.pwt-beam {
  position: absolute; left: 50%; top: 50%; width: 140%; height: 170%; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; opacity: .55; filter: blur(44px);
  background: conic-gradient(from 210deg at 50% 50%, #F99A2D 0%, #F99A2D 18%, #FE6613 30%, rgba(251, 130, 33, 0) 68%, rgba(250, 150, 43, 0) 82%, #F99A2D 100%);
}
.pwt-sig {
  position: relative; z-index: 1; width: 100%; margin: 0; padding: 14px; border: 0; border-radius: 14px;
  background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.pwt-right { display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 30px 32px 28px; background: #fff; }
.pwt-kicker { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6B615A; margin-bottom: 14px; }
.pwt-feats { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pwt-feat { display: flex; gap: 14px; align-items: flex-start; }
.pwt-feat i {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; border: 0; box-shadow: none; margin-top: 1px;
  background: linear-gradient(90deg, #FB8221, #FA962B)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 56% no-repeat;
}
.pwt-feat b { display: block; margin-bottom: 3px; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: #161110; }
.pwt-feat span { font-size: 13px; line-height: 1.55; color: #6B615A; }
.pwt-accept {
  width: 100%; padding: 13px 20px; border-radius: 999px;
  background: linear-gradient(90deg, #FB8221, #FA962B); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: -.006em;
  box-shadow: 0 0 0 1px rgba(251, 130, 33, .5), 0 6px 22px rgba(251, 130, 33, .28);
}
.pwt-accept:hover { filter: brightness(1.05); }
.pwt-foot { margin-top: 12px; text-align: center; font-size: 11.5px; color: #6B615A; }

/* ── plans / pricing ── */
.pw-plans {
  width: 760px; padding: 28px 32px 30px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', sans-serif;
}
.pwp-head { text-align: center; margin-bottom: 18px; }
.pwp-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #161110; }
.pwp-title b { color: transparent; background: linear-gradient(90deg, #F99D2E, #FE6111); -webkit-background-clip: text; background-clip: text; }
.pwp-sub { margin: 4px 0 0; color: #6B615A; font-size: 13.5px; }
.qty-wrap { border: 1px solid rgba(30, 18, 9, .09); border-radius: 16px; padding: 18px 20px 14px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(30, 18, 9, .05); background: #fff; }
.qty-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.qty-big { position: static; border: 0; background: none; padding: 0; font-size: 15px; font-weight: 500; color: #6B615A; letter-spacing: -.006em; }
.qty-big b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: #161110; margin-right: 4px; }
.qty-ticks { color: #9C918A; }
.qty-ticks span.on { color: #F4761B; font-weight: 700; }
.cycle-row { margin: 0; justify-content: flex-end; gap: 10px; }
.cycle-seg { position: relative; display: inline-flex; }
.cycle-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-track { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(30, 18, 9, .06); }
.seg-opt {
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1; color: #6B615A;
  cursor: pointer; text-align: center; white-space: nowrap; transition: background .16s, color .16s;
}
.cycle-seg input:not(:checked) ~ .seg-track .seg-opt[data-seg="0"],
.cycle-seg input:checked ~ .seg-track .seg-opt[data-seg="1"] {
  background: linear-gradient(90deg, #FB8221, #FA962B); color: #fff; box-shadow: 0 2px 8px rgba(251, 130, 33, .3);
}
.cycle-seg input:focus-visible ~ .seg-track { box-shadow: 0 0 0 3px rgba(251, 130, 33, .3); }
.save-chip { padding: 5px 10px; font-size: 11px; font-weight: 600; background: #FFF3E7; color: #F4761B; }

.pcard.hot {
  position: relative; overflow: hidden; border: 0; border-radius: 16px; padding: 24px 26px;
  background: #1A110A; color: #FBF7F3; box-shadow: 0 4px 12px rgba(30, 18, 9, .07), 0 1px 3px rgba(30, 18, 9, .05);
}
.pcard.hot::after {
  content: ''; position: absolute; right: -100px; top: -160px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(251, 130, 33, .24), rgba(251, 130, 33, 0));
}
.pcard.hot > * { position: relative; z-index: 1; }
.pc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pcard.hot h4 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.014em; color: #FBF7F3; }
.pcard.hot .pc-sigs { color: #A69384; font-size: 13px; margin: 3px 0 0; }
.pc-free-chip { background: linear-gradient(90deg, #FB8221, #FA962B); color: #fff; font-weight: 600; font-size: 11px; padding: 6px 12px; box-shadow: none; }
.pcard.hot .pc-price { display: flex; align-items: baseline; gap: 10px; font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: #FBF7F3; margin: 4px 0 0; }
.pcard.hot .pc-price s { font-size: 15px; font-weight: 500; color: #A69384; }
.pcard.hot .pc-cycle { font-size: 12px; color: #A69384; margin: 2px 0 8px; }
.pcard.hot .pc-grn { color: #FFB56B; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.pcard.hot .pc-desc { font-size: 13px; line-height: 1.6; color: #A69384; margin-bottom: 16px; }
.pcard.hot .pc-cta {
  margin: 0 0 18px; padding: 13px; border-radius: 999px;
  background: linear-gradient(90deg, #FB8221, #FA962B); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: -.006em;
  box-shadow: 0 0 0 1px rgba(251, 130, 33, .5), 0 6px 22px rgba(251, 130, 33, .28);
}
.pcard.hot .pc-cta:hover { filter: brightness(1.05); }
.pcard.hot .pc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.pcard.hot .pc-list li { color: #EADFD5; font-size: 13px; }
.pcard.hot .pc-list li::before { background-color: #FB8221; }
.pcard.hot .pc-list li.na { color: #7A6B60; }
.pcard.hot .pc-list li.na::before { background: #4A3A2E; }
.pcard.hot .pc-list svg.pcf-ic { fill: #FBF7F3; }
.pc-ent {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px;
  padding: 14px 18px; border: 1px solid rgba(30, 18, 9, .09); border-radius: 14px; background: #fff;
  color: #161110; text-decoration: none; box-shadow: 0 1px 2px rgba(30, 18, 9, .05);
}
.pc-ent:hover { border-color: #FCD9B6; background: #FFF9F3; }
.pc-ent-txt { min-width: 0; }
.pc-ent-txt b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.pc-ent-txt b span { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; color: #6B615A; }
.pc-ent-txt small { display: block; margin-top: 4px; font-size: 12px; color: #6B615A; }
.pc-ent-cta {
  flex: 0 0 auto; padding: 9px 16px; border: 1px solid rgba(30, 18, 9, .09); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: #F4761B; background: #fff; white-space: nowrap;
}
@media (max-width: 920px) {
  .pw-trial { grid-template-columns: 1fr; width: 100%; }
  .pwt-left { padding: 24px 22px 26px; }
  .pwt-right { padding: 22px 22px 24px; }
  .pwt-title { font-size: 24px; }
  .pw-plans { width: 100%; padding: 22px 18px 24px; }
  .qty-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cycle-row { justify-content: flex-start; }
  .pcard.hot { padding: 20px 18px; }
  .pcard.hot .pc-price { font-size: 34px; }
  .pcard.hot .pc-list { grid-template-columns: 1fr; }
  .pc-ent { flex-direction: column; align-items: flex-start; }
}

/* Sep 10 2026: the yearly plan represented per month on the plans popup card —
   big per-month figure + small unit, the monthly plan's price struck through beside it */
.pcard.hot .pc-price small { font-size: 15px; font-weight: 500; color: #A69384; letter-spacing: 0; margin-left: 1px; }
.pcard.hot .pc-price s { text-decoration-thickness: 1.5px; }
