/* ===========================================================================
   WHITE LABEL OFFER (2026-10-10): one plan, a billing toggle, and WL999
   Loaded by /whitelabel and /wl after wl-vsl.css; both pages carry the same
   markup (keep the two blocks identical, like the hero stage).

   1. The single-plan table: the reference table's frame, beam and corner marks,
      with the plan on the left and what it includes on the right.
   2. The billing toggle (wl-pricing.js swaps the price lines and the CTA).
   3. The ticket under the table: a stub torn off along a perforation, the
      old price slashed in ember, the code as a rubber stamp. Its Black Friday
      face is in bf-campaign.css, and so is the lip that points to it.
   4. The campaign ticket's pieces: the validity band, the ladder, the re-stamp.
   5. Assurance and proof, in every phase. Only what legal/refund.html and the
      terms say sits under a button (the old trust image promised a money-back
      guarantee the refund policy does not give), with the user count beside it.
   =========================================================================== */

/* ---- 1. the single-plan table ------------------------------------------ */
.wl-price__table--single .wl-price__row { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.wl-price__table--single .wl-price__col { padding: 34px; }
.wl-price__table--single .wl-price__col--plan { min-height: 0; }
.wl-price__table--single .wl-price__desc { min-height: 0; max-width: 30rem; }
.wl-price__table--single .wl-price__amount { margin-top: 20px; font-variant-numeric: tabular-nums; }
.wl-price__table--single .wl-price__btn { margin-top: 22px; }
.wl-price__table--single .purchase-reassurance { padding: 0; }
.wl-price__col--feat { justify-content: center; }
.wl-price__includes {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-500);
}
.wl-price__list li.is-key span { color: var(--cream-050); font-weight: 600; }
.wl-price__list li.is-key .wl-price__check { color: var(--app-sunset-1, #ffb300); }
/* Without JavaScript the toggle cannot work, so the annual plan is a plain link instead. */
.wl-price__alt { margin: 6px 0 0; font-size: 13px; line-height: 1.6; text-align: center; color: var(--cream-300); }
.wl-price__alt a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
html:not(.no-js) .wl-price__alt { display: none; }

/* ---- 2. the billing toggle --------------------------------------------- */
.wl-plan-toggle {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ink-950);
  box-shadow: inset 0 0 0 1px var(--ink-600);
}
.no-js .wl-plan-toggle { display: none; }
.wl-plan-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cream-300);
  font: 500 14px/1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.25s var(--wl-ease), color 0.25s var(--wl-ease);
}
.wl-plan-toggle button:hover { color: var(--cream-050); }
.wl-plan-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wl-plan-toggle button[aria-pressed='true'] {
  background: linear-gradient(180deg, var(--app-sunset-1, #ffb300), var(--app-sunset-2, #ff5e00));
  color: #170b03;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3);
}
.wl-plan-toggle__save {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgb(255 179 0 / 0.14);
  color: #fdac53;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .wl-plan-toggle button { gap: 6px; padding: 0 12px; }
  .wl-plan-toggle__save { padding: 3px 6px; font-size: 10px; }
}
.wl-plan-toggle button[aria-pressed='true'] .wl-plan-toggle__save { background: rgb(23 11 3 / 0.16); color: #170b03; }
/* The swapped lines settle in rather than snapping. */
[data-wl-plan-text]:not([hidden]) { animation: wl-plan-swap 0.35s var(--wl-ease); }
@keyframes wl-plan-swap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- 3. the WL999 ticket ----------------------------------------------- */
.wl-promo {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(15rem, 30%);
  border: 1px solid rgb(255 138 61 / 0.34);
  border-radius: var(--r-card, 28px);
  background:
    radial-gradient(85% 140% at 0% 0%, rgb(255 94 0 / 0.2), transparent 62%),
    radial-gradient(60% 120% at 100% 100%, rgb(255 179 0 / 0.1), transparent 60%),
    linear-gradient(105deg, #23140a 0%, #18120d 55%, #141210 100%);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h, 4.25rem) + 4.5rem);
}
.wl-promo .wl-price__beam { border-radius: inherit; }
.wl-promo__main { padding: 34px 34px 32px; }
.wl-promo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fdac53;
}
.wl-promo__spark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8a3d;
  box-shadow: 0 0 0 0 rgb(255 138 61 / 0.6);
  animation: wl-promo-spark 2.4s ease-out infinite;
}
@keyframes wl-promo-spark {
  0% { box-shadow: 0 0 0 0 rgb(255 138 61 / 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgb(255 138 61 / 0); }
}
.wl-promo__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--cream-050);
}
.wl-promo__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 18px 0 0; }
/* The old price is slashed, not just struck: an ember stroke drawn across it. The stroke is drawn by default
   (no script, reduced motion); bf-campaign.js arms it and lets it draw when the ticket comes into view. */
.wl-promo__was {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  line-height: 1;
  font-weight: 600;
  color: var(--cream-500);
  text-decoration: none;
}
.wl-promo__was::after {
  content: '';
  position: absolute;
  left: -7%;
  right: -7%;
  top: 50%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff5e00, #ffb300);
  box-shadow: 0 0 12px rgb(255 94 0 / 0.55);
  transform: rotate(-10deg) scaleX(1);
  transform-origin: left center;
}
.wl-promo[data-armed] .wl-promo__was::after { transform: rotate(-10deg) scaleX(0); transition: transform 0.8s var(--wl-ease) 0.35s; }
.wl-promo[data-armed].is-in .wl-promo__was::after { transform: rotate(-10deg) scaleX(1); }
.wl-promo__now {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff6e9 0%, #ffc27a 62%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wl-promo__for { font-size: 15px; color: var(--cream-300); }
.wl-promo__terms { max-width: 34rem; margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--cream-300); }
.wl-promo__terms b { color: var(--cream-100); font-weight: 600; }
/* the perforation: a dashed tear with a notch at each end, each notch outlined like the ticket's edge */
.wl-promo__tear {
  position: relative;
  background: linear-gradient(to bottom, rgb(255 179 107 / 0.42) 50%, transparent 0) center / 1px 10px repeat-y;
  margin-block: 18px;
}
.wl-promo__tear::before,
.wl-promo__tear::after {
  content: '';
  position: absolute;
  left: 50%;
  z-index: 4;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  translate: -50% 0;
  background: var(--ink-800);
  box-shadow: inset 0 0 0 1px rgb(255 138 61 / 0.34);
}
.wl-promo__tear::before { top: -29px; }
.wl-promo__tear::after { bottom: -29px; }
.wl-promo__stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 26px;
  text-align: center;
}
.wl-promo__label { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-500); }
/* a rubber stamp: dashed ink, a few degrees off true, a little ember bleed */
.wl-promo__stamp {
  display: inline-block;
  margin: 10px 0 20px;
  padding: 9px 18px 8px;
  border: 2px dashed rgb(255 138 61 / 0.8);
  border-radius: 12px;
  background: rgb(255 94 0 / 0.07);
  color: #ffb36b;
  font: 700 27px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px rgb(255 94 0 / 0.35);
  transform: rotate(-6deg);
}
.wl-promo__btn { width: 100%; justify-content: center; }
.wl-promo__applied { margin: 2px 0 0; font-size: 12px; color: var(--cream-500); }
.wl-promo .purchase-reassurance { padding: 0; }

@media (max-width: 860px) {
  /* the two-column rule above outranks the page's own phone rule, so it stacks here explicitly */
  .wl-price__table--single .wl-price__row { grid-template-columns: minmax(0, 1fr); }
  .wl-price__table--single .wl-price__col { padding: 26px; }
  .wl-promo { grid-template-columns: minmax(0, 1fr); }
  .wl-promo__main { padding: 28px 24px 22px; }
  .wl-promo__tear {
    height: 1px;
    margin: 0 18px;
    background: linear-gradient(to right, rgb(255 179 107 / 0.42) 50%, transparent 0) center / 10px 1px repeat-x;
  }
  .wl-promo__tear::before,
  .wl-promo__tear::after { top: 50%; left: auto; translate: 0 -50%; }
  .wl-promo__tear::before { left: -29px; }
  .wl-promo__tear::after { right: -29px; bottom: auto; }
  .wl-promo__stub { padding: 22px 24px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .wl-promo__spark { animation: none; }
  .wl-promo[data-armed] .wl-promo__was::after { transform: rotate(-10deg) scaleX(1); transition: none; }
  [data-wl-plan-text]:not([hidden]) { animation: none; }
}

/* ---- 4. the campaign ticket's pieces -----------------------------------
   The lip lives in bf-campaign.css now (every page carries it during Black
   Friday). These are the ticket's campaign parts, first drawn for the WL497
   week: the validity band, the price ladder and the re-stamp. A campaign sets
   --wl-red, --wl-red-ink and --wl-red-glow on its own band and stamps
   (bf-campaign.css .bf-band, .bf-stamps). */
.wl-promo__band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 24px;
  margin: -34px -34px 26px;
  padding: 16px 34px 14px;
  border-bottom: 1px solid rgb(255 59 48 / 0.28);
  background:
    linear-gradient(90deg, rgb(255 59 48 / 0.16), rgb(255 59 48 / 0.05) 55%, transparent),
    #1a0c0a;
}
.wl-promo__ends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wl-red-ink);
}
.wl-promo__when { font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--cream-300); }
.wl-promo__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wl-red);
  box-shadow: 0 0 10px var(--wl-red-glow);
}
.wl-promo__after { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.5; color: var(--cream-300); }
.wl-promo__after b { color: var(--cream-050); font-weight: 600; }

/* the ladder: the list price small and faint, the price it replaces slashed, the campaign price the hero */
.wl-promo__list {
  align-self: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 600;
  color: var(--cream-500);
  opacity: 0.7;
  text-decoration: line-through 1.5px rgb(201 191 178 / 0.6);
}

/* the re-stamp: the standing code faded and struck underneath, the campaign's stamped over it at another angle */
.wl-promo__stamps { display: grid; place-items: center; margin: 16px 0 30px; }
.wl-promo__stamps .wl-promo__stamp { grid-area: 1 / 1; margin: 0; }
.wl-promo__stamp--old {
  opacity: 0.5;
  text-decoration: line-through 3px var(--wl-red);
  text-shadow: none;
  transform: translate(-14px, -12px) rotate(-6deg);
}
.wl-promo__stamp--new {
  border-color: var(--wl-red);
  background: rgb(26 6 5 / 0.92);
  color: var(--wl-red-ink);
  text-shadow: 0 0 18px var(--wl-red-glow);
  transform: translate(12px, 12px) rotate(4deg);
  box-shadow: 0 14px 30px -18px var(--wl-red-glow);
}
.wl-promo[data-armed] .wl-promo__stamp--new { opacity: 0; }
.wl-promo[data-armed].is-in .wl-promo__stamp--new { opacity: 1; animation: wl-stamp 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.95s backwards; }
@keyframes wl-stamp {
  from { opacity: 0; transform: translate(12px, 4px) rotate(-10deg) scale(1.7); }
  70% { opacity: 1; transform: translate(12px, 12px) rotate(5deg) scale(0.96); }
  to { opacity: 1; transform: translate(12px, 12px) rotate(4deg) scale(1); }
}
/* the final hour: the band's dot breathes (only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  [data-bf-clock-phase='hour'] .wl-promo__pulse { animation: wl-promo-spark 1.6s ease-out infinite; box-shadow: 0 0 0 0 var(--wl-red-glow); }
}
@media (max-width: 860px) {
  .wl-promo__band { margin: -28px -24px 22px; padding: 14px 24px 12px; grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .wl-promo[data-armed] .wl-promo__stamp--new { opacity: 1; }
}

/* ---- 5. assurance and proof (every phase) ------------------------------- */
.wl-assure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 0;
  max-width: 100%;
  margin: 2px 0 0;
  color: var(--cream-400, #9c9488);
  font-size: 12.5px;
  line-height: 1.5;
}
.wl-assure__lock { flex: none; width: 13px; height: 13px; margin-right: 7px; color: #ffc27a; }
.wl-assure span + span::before { content: '\00b7'; margin: 0 8px; color: var(--cream-500, #8a8175); }
.wl-idea__copy .wl-assure { justify-content: flex-start; }
.wl-pricing-trust .wl-assure { font-size: 13px; }
.wl-proof { margin: 14px 0 0; color: var(--cream-300, #ada598); font-size: 14px; line-height: 1.5; }
.wl-proof b { color: var(--cream-050, #fbf9f6); font-weight: 600; font-variant-numeric: tabular-nums; }
.wl-price__head .wl-proof { margin-top: 10px; }
.wl-price__lead a { color: #ffc27a; text-decoration: underline; text-decoration-color: rgb(255 194 122 / 0.45); text-underline-offset: 3px; }
.wl-price__lead a:hover { text-decoration-color: currentColor; }
.wl-final-note { max-width: 34rem; margin: 18px auto 0; color: var(--cream-500, #8a8175); text-align: center; }
@media (max-width: 760px) {
  .page--white-label .wl-sticky__sub { font-size: 11px; line-height: 1.3; }
  /* A wrapped line would start with a separator; on a phone the three facts stack instead. */
  .wl-assure { flex-direction: column; gap: 2px; }
  .wl-assure__lock { display: none; }
  .wl-assure span + span::before { content: none; }
  .wl-idea__copy .wl-assure { align-items: flex-start; }
}
