/* Black Friday bar above the header (promo-bar.php). Sand band, ink text (owner, 2026-11-04: on ink it blended into the
   header): the offer, the code as a quiet dashed chip,
   the countdown and «Get lifetime», the site's own button and the only filled shape. No separators, no entrance:
   only the countdown changes. One row on desktop; on a phone the offer, then the code and the button. */
.fa-bf { background: var(--base-light); color: var(--base-ultra-dark); font-size: var(--text-s); line-height: 1.3;
  /* its own layer: the home hero is pulled up under the header with a negative margin and reached into the bar, taking
     its clicks (owner, 2026-11-04: worst when logged in, the admin bar pushes everything 32 px down) */
  position: relative; z-index: 11; }
.fa-bf__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px;
  max-inline-size: var(--content-width, 1280px); margin-inline: auto; padding: 8px 20px; min-block-size: 48px;
  box-sizing: border-box; }
.fa-bf p.fa-bf__msg { margin: 0; color: inherit; font-size: inherit; line-height: inherit; text-align: center; }
.fa-bf b { font-weight: 600; color: var(--base-ultra-dark); }

/* the code: a coupon, not a button — dashed coral outline, no fill */
.fa-bf__code { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; box-sizing: border-box;
  border: 1px dashed var(--primary); border-radius: 6px; background: transparent; color: var(--base-ultra-dark);
  font: inherit; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; white-space: nowrap;
  transition: background-color 0.3s ease, scale 0.15s ease; }
.fa-bf__code svg { color: var(--primary); flex: none; }
.fa-bf__code:hover { background: color-mix(in srgb, var(--primary) 14%, transparent); }
.fa-bf__code:active { scale: 0.97; }
.fa-bf__code[data-copied] { border-style: solid; }
.fa-bf__code:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* the countdown: one small box per unit, fixed-width digits so nothing shifts as they tick */
.fa-bf__clock { display: inline-flex; align-items: center; }
.fa-bf__clock[hidden] { display: none; }
.fa-bf__units { display: inline-flex; gap: 4px; }
.fa-bf__u { display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; min-inline-size: 38px; padding: 4px 6px;
  box-sizing: border-box; border-radius: 6px; background: color-mix(in srgb, var(--base-ultra-dark) 8%, transparent); }
.fa-bf__u b { font-variant-numeric: tabular-nums; }
.fa-bf__u small { font-size: 0.75em; color: color-mix(in srgb, var(--base-ultra-dark) 60%, transparent); }

/* the chip and the button share one height and corner at every width (the button's own height drifts 34–36 px with
   the fluid text size) */
.fa-bf .fa-bf__code, .fa-bf .fa-bf__cta { block-size: 36px; min-block-size: 36px; box-sizing: border-box; }
.fa-bf .fa-bf__cta { flex: none; display: inline-flex; align-items: center; }
.fa-bf__sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 767px) {
  .fa-bf__in { gap: 8px 10px; }
  .fa-bf p.fa-bf__msg { flex-basis: 100%; }
  .fa-bf__clock { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .fa-bf__code { transition: none; } }

/* Before and now on the prices during the sale (promo-bar.php, sale_prices): the list price small, struck and muted
   before the sale price; in the plan cards the sale price keeps the big size with the cents small. */
.fa-price__amount--sale { white-space: nowrap; }
.fa-price__was { margin-right: 0.3em; font-size: 0.42em; font-weight: 500; color: color-mix(in srgb, currentColor 50%, transparent);
  text-decoration-thickness: 2px; vertical-align: 0.6em; }
.fa-price__cents { font-size: 0.45em; font-weight: inherit; vertical-align: 0.95em; margin-left: 0.04em; }
.fa-price-was { color: color-mix(in srgb, currentColor 55%, transparent); text-decoration-thickness: 1px; font-weight: 400; }
.fa-bf__sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
