/* ===========================================================================
   BLACK FRIDAY 2026 (packages/shared/src/black-friday.json)
   Loaded by /, /whitelabel, /wl and /black-friday. The server injects it into
   every other page while the campaign is live, with the lip (server/black-friday.mjs).

   1. Faces. An element that changes for the campaign has a data-bf-phase="on"
      sibling, written hidden, and a data-bf-phase="off" one. The server shows
      the "on" faces while the campaign is live and marks <html data-bf-live>;
      bf-campaign.js swaps them back at the deadline. Without the server's word
      every page is exactly as written, which is the page after the campaign.
   2. The lip: the site-wide announcement. An ember tab hanging from the nav
      (it was the WL999 and WL497 lip on /whitelabel); lip.js places it.
   3. The clock: tabular digits on dark tiles, in ember, not alarm red.
   4. The hero clock and the hero lines.
   5. Home pricing cards: the slashed list price, the badge, the terms.
   6. The White Label ticket's Black Friday face (on wl-promo.css's ticket).
   7. The customer story: a portrait video, loaded only when played.
   8. /black-friday.
   Red appears in one place only: the slash through a price that is gone.
   =========================================================================== */

/* ---- 1. faces ------------------------------------------------------------ */
[data-bf-phase][hidden] { display: none !important; }
/* Only a swap seen on an open page settles in; a page loaded after the end is simply its usual self. */
.bf-swapped [data-bf-phase]:not([hidden]) { animation: bf-swap 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes bf-swap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- 2. the lip ---------------------------------------------------------- */
/* The positioner follows the nav's bottom edge (lip.js measures it; the fallback is the resting bar's height).
   It clips only its top, so a tucked lip slides up behind the nav while its shadow stays soft. */
.wl-lip {
  --lip-a: #ff5e00;
  --lip-b: #ffb300;
  --lip-ink: #1b0d03;
  --lip-r: 14px;
  --lip-ease: var(--wl-ease, cubic-bezier(0.16, 1, 0.3, 1));
  position: fixed;
  top: var(--wl-lip-top, 58px);
  left: 50%;
  z-index: 99; /* under the nav (100) and its menu sheet, over the page */
  transform: translateX(-50%);
  /* Size to the content, within the viewport: an auto width at left: 50% gets half the screen. */
  width: max-content;
  max-width: calc(100vw - 8px);
  padding-inline: var(--lip-r);
  clip-path: inset(0 -48px -48px -48px);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
@media (min-width: 1024px) { .page--marketing-chrome .wl-lip { top: var(--wl-lip-top, 82px); } }
.page--white-label:not(.page--marketing-chrome) .wl-lip { top: var(--wl-lip-top, 0px); } /* /wl: no nav, it hangs from the top edge */
.lp .wl-lip { z-index: 7999; top: var(--wl-lip-top, 64px); } /* the home nav sits at 8000 */
.wl-lip--top { top: var(--wl-lip-top, 0px); z-index: 7999; } /* injected on pages whose nav lip.js does not know */
.wl-lip__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px 1px 7px;
  border-radius: 0 0 17px 17px;
  background: linear-gradient(90deg, var(--lip-a), #ff8a1f 55%, var(--lip-b));
  color: var(--lip-ink);
  font: 600 13.5px/1 var(--font-body, var(--lp-sans, 'General Sans', Inter, system-ui, sans-serif));
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 12px 26px -12px rgb(255 94 0 / 0.65), inset 0 -1px 0 rgb(255 255 255 / 0.22);
  pointer-events: auto;
  overflow: visible;
  transition: transform 0.55s var(--lip-ease), filter 0.2s ease;
}
.wl-lip__tab:hover { filter: brightness(1.05); }
.wl-lip__tab:focus-visible { outline: 2px solid #fff4e6; outline-offset: 3px; }
/* concave shoulders: the frame tabs' radial-gradient notch, flipped to hang down */
.wl-lip__tab::before,
.wl-lip__tab::after { content: ''; position: absolute; top: 0; width: var(--lip-r); height: var(--lip-r); pointer-events: none; }
.wl-lip__tab::before { left: calc(-1 * var(--lip-r)); background: radial-gradient(circle at 0 100%, transparent calc(var(--lip-r) - 0.5px), var(--lip-a) var(--lip-r)); }
.wl-lip__tab::after { right: calc(-1 * var(--lip-r)); background: radial-gradient(circle at 100% 100%, transparent calc(var(--lip-r) - 0.5px), var(--lip-b) var(--lip-r)); }
.wl-lip__stamp {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--lip-ink);
  color: #ffb36b;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.16em;
  box-shadow: inset 0 0 0 1px rgb(255 179 107 / 0.35);
}
/* Black Friday's stamp is the one black thing on the tab */
.wl-lip__stamp--bf { background: #050403; color: #ffc27a; letter-spacing: 0.14em; text-transform: uppercase; }
.wl-lip__text { font-weight: 500; }
.wl-lip__text b { font-weight: 800; }
.wl-lip__tail { display: none; font-weight: 500; }
.wl-lip__was { position: relative; opacity: 0.62; text-decoration: none; }
.wl-lip__was::after {
  content: '';
  position: absolute;
  left: -6%;
  right: -6%;
  top: 52%;
  height: 2px;
  border-radius: 2px;
  background: var(--lip-ink);
  transform: rotate(-12deg);
}
.wl-lip__now { font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; }
.wl-lip__clock {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--lip-ink);
  color: #ffc27a;
  font: 700 12.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgb(255 138 31 / 0.45);
  white-space: nowrap;
}
.wl-lip__arrow { width: 14px; height: 14px; transition: transform 0.25s var(--lip-ease); }
.wl-lip__tab:hover .wl-lip__arrow { transform: translateX(3px); }
/* one sweep of light across the tab, after it lands */
.wl-lip__sheen { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.wl-lip__sheen::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.42), transparent);
  transform: translateX(-130%);
}
/* tucked while the place it points to is on screen; hidden while a menu sheet is open */
.wl-lip.is-tucked { opacity: 0; }
.wl-lip.is-tucked .wl-lip__tab { transform: translateY(calc(-100% - 4px)); pointer-events: none; }
.nav--marketing.is-open ~ .wl-lip,
.lp-nav.is-menu-open ~ .wl-lip { opacity: 0; }
.nav--marketing.is-open ~ .wl-lip .wl-lip__tab,
.lp-nav.is-menu-open ~ .wl-lip .wl-lip__tab { pointer-events: none; }

@media (max-width: 520px) {
  .wl-lip__tab { gap: 7px; height: 34px; padding: 0 12px 1px 6px; font-size: 12.5px; }
  .wl-lip__stamp { height: 22px; padding: 0 7px; font-size: 10.5px; }
  .wl-lip__stamp--bf { letter-spacing: 0.1em; }
  .wl-lip__text { display: none; }
  .wl-lip__tail { display: inline; }
  .wl-lip__now { font-size: 14px; }
  .wl-lip__clock { height: 22px; padding: 0 7px; font-size: 11.5px; }
}
@media (max-width: 360px) { .wl-lip__clock { display: none; } }

/* motion: armed in <head> before the first paint, and only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  /* `backwards`, never `both`: once a drop ends the tab is back on its own styles, so the tuck's transform and
     the shoulders (which sit outside the tab's box) are never pinned by a finished animation. */
  .wl-lip-armed .wl-lip__tab { animation: wl-lip-drop 0.75s var(--lip-ease) 0.55s backwards; }
  .wl-lip-armed .wl-lip__sheen::before { animation: wl-lip-sheen 1.15s ease-in-out 1.45s 1 backwards; }
  .wl-lip-armed .wl-lip__was::after { animation: wl-lip-strike 0.5s var(--lip-ease) 1.2s backwards; transform-origin: left center; }
}
@keyframes wl-lip-drop {
  from { clip-path: inset(0 -40px 100% -40px); translate: 0 -14px; }
  to { clip-path: inset(0 -40px -40px -40px); translate: 0 0; }
}
@keyframes wl-lip-sheen { from { transform: translateX(-130%); } to { transform: translateX(260%); } }
@keyframes wl-lip-strike { from { transform: rotate(-12deg) scaleX(0); } to { transform: rotate(-12deg) scaleX(1); } }

/* ---- 3. the clock ---------------------------------------------------------- */
.bf-clock { display: flex; align-items: flex-start; gap: 6px; margin: 0; }
.no-js .bf-clock { display: none; } /* without script the label names the end instead of a frozen number */
.bf-clock__cell { display: grid; justify-items: center; gap: 5px; }
.bf-clock__cell b {
  display: block;
  min-width: 2.2ch;
  padding: 7px 7px 6px;
  border-radius: 9px;
  background: #140c05;
  box-shadow: inset 0 0 0 1px rgb(255 138 31 / 0.3), 0 10px 22px -16px rgb(255 138 31 / 0.55);
  color: #ffc27a;
  font: 700 clamp(22px, 2.4vw, 30px)/1 'Commit Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  text-align: center;
  text-shadow: 0 0 16px rgb(255 138 31 / 0.35);
}
.bf-clock__cell i { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-500, #8f877c); }
.bf-clock__sep { padding-top: 9px; font: 700 20px/1 ui-monospace, monospace; color: rgb(255 179 107 / 0.5); }
/* the last day drops the days tile; reduced motion keeps a minute clock with no seconds */
[data-bf-clock-phase='day'] .bf-clock [data-bf-unit='d'],
[data-bf-clock-phase='hour'] .bf-clock [data-bf-unit='d'],
[data-bf-clock-phase='day'] .bf-clock [data-bf-sep='d'],
[data-bf-clock-phase='hour'] .bf-clock [data-bf-sep='d'],
.bf-clock[data-bf-minutes] [data-bf-unit='s'],
.bf-clock[data-bf-minutes] [data-bf-sep='s'] { display: none; }
@media (max-width: 520px) {
  .bf-clock { gap: 4px; }
  .bf-clock__cell b { padding: 6px 5px 5px; }
  .bf-clock__sep { font-size: 16px; padding-top: 8px; }
}

/* ---- 4. the hero clock and the hero lines ------------------------------- */
.bf-hero-clock { display: grid; justify-items: center; gap: 10px; margin: 28px auto 0; }
.bf-hero-clock__label {
  margin: 0;
  color: var(--lp-amber, #fdac53);
  font: 500 12px/1.2 'Commit Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bf-hero-clock__when { margin: 0; color: var(--lp-muted, var(--cream-500, #939393)); font-size: 13px; }
.bf-accent { color: var(--lp-amber, #fdac53); }
/* the lip hangs into the top of the home hero, so the hero starts lower while the sale runs */
@media (min-width: 768px) { [data-bf-live] .lp-hero { padding-top: 180px; } }
.bf-hero-terms { margin: 14px 0 0; color: var(--lp-muted, var(--cream-500, #939393)); font-size: 13px; line-height: 1.5; }

/* ---- 5. home pricing cards -------------------------------------------------- */
.bf-was {
  position: relative;
  align-self: center;
  margin-right: 6px;
  color: var(--lp-muted, #939393);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.bf-was::after {
  content: '';
  position: absolute;
  left: -7%;
  right: -7%;
  top: 52%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff3b30, #ff6a3d);
  box-shadow: 0 0 10px rgb(255 59 48 / 0.45);
  transform: rotate(-10deg);
}
.lp-price-card__amount.bf-amount > b {
  background: linear-gradient(180deg, #fff6e9 0%, #ffc27a 62%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 56px;
}
.lp-price-card__amount.bf-amount em { color: var(--lp-fg, #d6d6d6); }
.lp-price-card__badge.bf-badge {
  background: #050403;
  color: #ffc27a;
  box-shadow: inset 0 0 0 1px rgb(255 179 107 / 0.35);
  font-family: 'Commit Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lp-price-card__badge.bf-badge--best { background: linear-gradient(90deg, #ff5e00, #ffb300); color: #1b0d03; box-shadow: none; font-weight: 700; }
.bf-terms { margin: 12px 0 0; color: var(--lp-muted, #939393); font-size: 12.5px; line-height: 1.55; text-align: center; }
.bf-terms b { color: var(--lp-head, #f0f0f0); font-weight: 600; }
.bf-std { color: var(--lp-head, #f0f0f0); text-decoration: underline; text-decoration-color: var(--lp-line-3, #444); text-underline-offset: 3px; }
.bf-std:hover { text-decoration-color: currentColor; }
/* While the sale runs, the White Label card carries the heavier frame: it is the deal of the campaign. */
[data-bf-live] .lp-price-card--wl { border-color: rgb(255 138 61 / 0.42); box-shadow: 0 40px 90px -50px rgb(255 94 0 / 0.55); }

/* ---- 6. the White Label ticket's Black Friday face --------------------- */
[data-bf-live] .wl-promo { border-color: rgb(255 138 61 / 0.5); }
.bf-band {
  --wl-red: #ff8a1f;
  --wl-red-ink: #ffb36b;
  --wl-red-glow: rgb(255 138 31 / 0.45);
  border-bottom-color: rgb(255 138 31 / 0.26);
  background: linear-gradient(90deg, rgb(255 138 31 / 0.15), rgb(255 138 31 / 0.04) 55%, transparent), #1a120a;
}
.bf-ladder .wl-promo__was::after { background: linear-gradient(90deg, #ff3b30, #ff6a3d); box-shadow: 0 0 12px rgb(255 59 48 / 0.45); }
.bf-keep { max-width: 34rem; margin: 10px 0 0; color: var(--cream-300, #c9bfb2); font-size: 14px; line-height: 1.6; }
.bf-keep b { color: #ffc27a; font-weight: 600; }
.bf-stamps { --wl-red: #ff3b30; }
.bf-stamps .wl-promo__stamp--new {
  border-color: #ff8a3d;
  background: rgb(14 8 3 / 0.94);
  color: #ffc27a;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-shadow: 0 0 18px rgb(255 138 31 / 0.4);
  box-shadow: 0 14px 30px -18px rgb(255 138 31 / 0.6);
}
.bf-fine { margin: 6px 0 0; color: var(--cream-500, #8f877c); font-size: 12px; line-height: 1.5; text-align: center; }
/* What a year costs per day. Never a savings badge: the struck prices compare plans with different credits. */
.bf-perday { margin: 8px 0 0; color: #ffc27a; font-size: 14px; font-weight: 600; }

/* ---- 7. the customer story ------------------------------------------------ */
.bf-story {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 760px;
  margin: 48px auto 0;
  padding: 16px 28px 16px 16px;
  border: 1px solid var(--lp-line-2, rgb(255 255 255 / 0.09));
  border-radius: 26px;
  background: var(--lp-card, #141210);
  text-align: left;
}
.bf-story__video {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgb(255 179 107 / 0.22);
  border-radius: 16px;
  background:
    radial-gradient(80% 50% at 50% 30%, rgb(255 94 0 / 0.28), transparent 70%),
    linear-gradient(180deg, #1d140c, #0a0806);
}
.bf-story__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.bf-story__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 0;
  background: transparent;
  color: var(--cream-100, #f3ece2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.bf-story__play:focus-visible { outline: 2px solid #ffc27a; outline-offset: -4px; border-radius: 16px; }
.bf-story__orb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5e00, #ffb300);
  color: #1b0d03;
  box-shadow: 0 18px 40px -16px rgb(255 94 0 / 0.8);
  transition: transform 0.25s ease;
}
.bf-story__play:hover .bf-story__orb { transform: scale(1.06); }
.bf-story__orb svg { width: 22px; height: 22px; margin-left: 3px; }
.bf-story__kicker {
  margin: 0;
  color: var(--lp-amber, #fdac53);
  font: 500 12px/1.2 'Commit Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.bf-story__quote { margin: 14px 0 0; color: var(--lp-head, #f3ece2); font-size: clamp(20px, 2.2vw, 26px); font-weight: 560; line-height: 1.25; letter-spacing: -0.01em; }
.bf-story__note { margin: 12px 0 0; color: var(--lp-muted, #939393); font-size: 14px; line-height: 1.55; }
.bf-story__link { display: inline-block; margin-top: 16px; color: var(--lp-amber, #fdac53); font-size: 14px; text-decoration: none; }
.bf-story__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.bf-story__privacy { margin: 0; color: var(--cream-500, #8f877c); font-size: 11px; line-height: 1.45; }
/* Shown only once a story that started on its own is ready (bf-campaign.js). Never over YouTube's own controls. */
.bf-story__sound[hidden] { display: none; }
.bf-story__sound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 16px 12px 0 0;
  padding: 0 16px;
  border: 1px solid rgb(255 179 107 / 0.35);
  border-radius: 999px;
  background: rgb(255 138 31 / 0.1);
  color: var(--cream-100, #f3ece2);
  font: inherit;
  font-size: 14px;
  font-weight: 560;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.bf-story__sound::before {
  content: '';
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bf-story__sound:hover { background: rgb(255 138 31 / 0.18); border-color: rgb(255 179 107 / 0.55); }
.bf-story__sound:focus-visible { outline: 2px solid #ffc27a; outline-offset: 2px; }
@media (max-width: 640px) {
  .bf-story { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 22px; text-align: center; }
  .bf-story__video { width: min(240px, 100%); margin: 0 auto; }
  .bf-story__sound { margin-right: 0; }
}

/* ---- 8. /black-friday ------------------------------------------------------ */
.page--bf .page-hero { padding-bottom: clamp(48px, 7vw, 90px); }
.page--bf .wl-offer-hero__copy { text-align: center; }
.bf-hero__h1 em { font-style: normal; color: var(--accent, #fdac53); }
.bf-hero__lead { max-width: 44rem; margin: 22px auto 0; }
.bf-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.bf-offers { display: grid; gap: 20px; }
.bf-agency .wl-promo__main { padding-block: 28px; }
.bf-agency { border-color: rgb(255 255 255 / 0.12); background: linear-gradient(105deg, #191512 0%, #141210 60%, #121110 100%); }
.bf-agency .wl-promo__tear::before,
.bf-agency .wl-promo__tear::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.bf-agency .wl-promo__now { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.bf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--p-stage, 16px); }
.bf-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bf-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background: var(--ink-850, #16130f);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
  color: var(--cream-300, #c9bfb2);
  text-decoration: none;
}
.bf-card h3 { margin: 0; color: var(--cream-050, #fbf7f1); font-family: var(--font-display, inherit); font-size: 19px; font-weight: 600; line-height: 1.25; }
.bf-card p { margin: 0; font-size: 14px; line-height: 1.6; }
.bf-card__kicker { color: #fdac53; font: 600 11px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.bf-card__more { margin-top: auto; padding-top: 8px; color: #fdac53; font-size: 13.5px; }
a.bf-card { transition: box-shadow 0.25s ease, transform 0.25s ease; }
a.bf-card:hover { box-shadow: inset 0 0 0 1px rgb(255 138 61 / 0.4); transform: translateY(-2px); }
.bf-card--tech { background: linear-gradient(160deg, rgb(255 94 0 / 0.16), transparent 70%), var(--ink-850, #16130f); box-shadow: inset 0 0 0 1px rgb(255 138 61 / 0.3); }
/* A template card with its picture: the template's own gallery cover, saved locally (img-src is 'self'). */
.bf-card--shot { padding: 12px 12px 22px; }
.bf-card--shot > :not(.bf-card__frame) { margin-inline: 12px; }
.bf-card__frame {
  position: relative;
  display: block;
  margin-bottom: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #0d0b09;
  box-shadow: 0 18px 36px -24px rgb(0 0 0 / 0.9);
}
.bf-card__frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); pointer-events: none; }
.bf-card__shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
a.bf-card--shot:hover .bf-card__shot { transform: scale(1.04); }
.bf-builds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--p-stage, 16px); }
.bf-build { margin: 0; overflow: hidden; border-radius: 18px; background: var(--ink-850, #16130f); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.bf-build img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; }
.bf-build figcaption { padding: 14px 16px 16px; color: var(--cream-050, #fbf7f1); font-size: 15px; font-weight: 600; line-height: 1.3; }
.bf-message { max-width: 44rem; margin: 34px auto 0; color: var(--cream-100, #f3ece2); font-family: var(--font-display, inherit); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.3; text-align: center; }
.bf-message em { font-style: normal; color: #fdac53; }
.bf-message--left { margin-left: 0; text-align: left; }
.page--bf #offers { scroll-margin-top: calc(var(--nav-h, 4.25rem) + 1.5rem); }
.bf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.bf-split .t-h2 { margin-top: 10px; font-size: clamp(1.9rem, 3.1vw, 2.7rem); line-height: 1.12; }
.bf-split .section__lead { margin-top: 18px; }
.bf-playbook { padding: 30px; border-radius: 24px; background: linear-gradient(150deg, #24170c, #120e0a 70%); box-shadow: inset 0 0 0 1px rgb(255 138 61 / 0.3); }
.bf-playbook__label { margin: 0 0 14px; color: #fdac53; font: 600 11px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.bf-playbook ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; counter-reset: bf-step; }
.bf-playbook li { position: relative; padding: 13px 0 13px 34px; border-top: 1px solid rgb(255 255 255 / 0.08); color: var(--cream-100, #f3ece2); font-size: 15.5px; line-height: 1.45; counter-increment: bf-step; }
.bf-playbook li::before { content: counter(bf-step, decimal-leading-zero); position: absolute; left: 0; top: 12px; color: rgb(255 179 107 / 0.7); font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.bf-ended { padding: clamp(120px, 16vw, 180px) 0 clamp(70px, 10vw, 120px); text-align: center; }
.bf-ended .t-body { max-width: 38rem; margin: 18px auto 0; }
.bf-ended__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.page--bf .faq__grid .t-body + .t-body { margin-top: 10px; }
/* The two prices, first thing under the headline. */
.bf-hero__prices { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.bf-hero__prices span { padding: 7px 14px; border-radius: 999px; background: rgb(255 138 31 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 138 61 / 0.36); color: #ffc27a; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bf-hero__prices b { margin-right: 6px; color: var(--cream-050, #fbf7f1); font-weight: 600; }
.bf-assure { display: grid; justify-items: center; gap: 2px; margin: 26px auto 0; text-align: center; }
.bf-assure .wl-proof { margin-top: 8px; }
/* Which one is for me: only facts the tickets and the FAQ already state. */
.bf-compare { max-width: 880px; margin: 40px auto 0; }
.bf-compare__title { margin: 0 0 16px; color: var(--cream-050, #fbf7f1); font-family: var(--font-display, inherit); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; text-align: center; }
.bf-compare__scroll { overflow-x: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); background: var(--ink-850, #16130f); }
.bf-compare table { width: 100%; border-collapse: collapse; color: var(--cream-300, #c9bfb2); font-size: 14.5px; line-height: 1.5; }
.bf-compare th, .bf-compare td { padding: 14px 18px; border-top: 1px solid rgb(255 255 255 / 0.07); text-align: left; vertical-align: top; }
.bf-compare thead th { border-top: 0; color: var(--cream-050, #fbf7f1); font-size: 16px; font-weight: 600; }
.bf-compare thead th span { display: block; margin-top: 2px; color: #ffc27a; font-size: 13.5px; font-weight: 600; }
.bf-compare thead th:last-child { background: linear-gradient(180deg, rgb(255 138 31 / 0.12), transparent); }
.bf-compare tbody th { width: 26%; color: var(--cream-500, #8f877c); font-size: 13px; font-weight: 500; }
.bf-compare tbody td:last-child { color: var(--cream-100, #f3ece2); }
.bf-compare tfoot td { padding-block: 18px 20px; }
.bf-compare__btn { width: 100%; justify-content: center; }
@media (max-width: 640px) {
  .bf-compare table { font-size: 13px; }
  .bf-compare th, .bf-compare td { padding: 11px 10px; }
  .bf-compare tbody th { width: 30%; font-size: 12px; }
  .bf-compare table { table-layout: fixed; }
  .bf-compare__btn { min-height: 0; padding: 10px 8px; white-space: normal; line-height: 1.25; text-align: center; }
  .bf-compare__btn .btn__label { font-size: 13px; white-space: normal; }
}
@media (max-width: 1100px) {
  .bf-builds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bf-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bf-grid, .bf-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-builds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .bf-grid, .bf-grid--5 { grid-template-columns: minmax(0, 1fr); }
  .bf-playbook { padding: 22px; }
  .bf-playbook ol { grid-template-columns: minmax(0, 1fr); }
  .bf-card { padding: 20px; }
  .bf-card--shot { padding: 10px 10px 20px; }
  .bf-card--shot > :not(.bf-card__frame) { margin-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .bf-swapped [data-bf-phase]:not([hidden]) { animation: none; }
  .wl-lip, .wl-lip__tab { transition: none; }
  .bf-story__orb, a.bf-card, .bf-card__shot, .bf-story__sound { transition: none; }
  a.bf-card--shot:hover .bf-card__shot { transform: none; }
}
