/* v15: the Black Friday band (tools_v15/add_blackfriday.py). It is the site's own band: night blue on paper by day,
   paper on the night sky, gold for the code. Hidden by the head script after 30 Nov 2026 23:59 Sofia time. */
.bf-over .bf-x{display:none!important}

.bf{position:relative;z-index:1;padding:calc(66px + env(safe-area-inset-top,0px)) 8px 0}
.bf-in{max-width:var(--wide);margin-inline:auto;padding:26px 18px 22px;border-radius:22px;background:var(--band);color:var(--band-fg);
  display:grid;gap:22px}
.bf-h{font-family:var(--display);font-style:italic;font-variation-settings:"SOFT" 100,"opsz" 144;font-weight:400;
  font-size:clamp(54px,14.4vw,136px);line-height:.92;letter-spacing:-.025em}
.bf-sub{margin-top:12px;font-size:clamp(20px,1vw + 15px,28px);line-height:1.25;font-weight:500;color:var(--band-fg)}
.bf-do{display:grid;gap:14px;align-content:center}
.bf-code{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 12px 14px;border:2px solid var(--gold-on-band);border-radius:16px;text-align:center}
.bf-lbl{font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--band-muted)}
.bf-code b{font-family:var(--figures);font-weight:500;font-variant-numeric:lining-nums;font-size:clamp(28px,8.6vw,46px);line-height:1.05;
  letter-spacing:.02em;color:var(--band-fg);user-select:all;-webkit-user-select:all;overflow-wrap:anywhere}
.bf-acts{display:flex;flex-wrap:wrap;gap:10px}
.bf-copy,.bf-go{flex:1 1 150px;display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 22px;border-radius:999px;
  font-family:var(--ui);font-size:17px;font-weight:500;line-height:1.2;text-decoration:none;white-space:nowrap;
  transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .18s cubic-bezier(.2,.7,.2,1)}
.bf-copy{border:2px solid var(--gold-on-band);color:var(--band-fg)}
.bf-copy:hover{background:var(--gold-on-band);color:var(--band)}
.bf-copy.done{background:var(--gold-on-band);color:var(--band)}
.bf-go{background:var(--gold-on-band);color:var(--band)}
.bf-go:hover{background:var(--band-fg);color:var(--band)}
.bf-copy:active,.bf-go:active{transform:scale(.97)}
.bf :focus-visible{outline-color:var(--band-fg);box-shadow:0 0 0 5px var(--band)}

@media (min-width:700px){
  .bf{padding-inline:var(--gut);padding-top:calc(76px + env(safe-area-inset-top,0px))}
  .bf-in{padding:clamp(32px,4vw,56px);border-radius:28px}
  .bf-code b{white-space:nowrap;overflow-wrap:normal}
}
@media (min-width:1000px){
  .bf-in{grid-template-columns:minmax(0,1fr) auto;gap:clamp(32px,4vw,72px);align-items:center}
  .bf-h{font-size:clamp(72px,6.8vw,112px);white-space:nowrap}
  .bf-code{padding:16px 20px 18px}
}

/* the pricing page: the band takes the place of the heading's top space */
.bf + .phead{padding-top:clamp(48px,6vw,88px)}
/* one small gold line under each price */
.pitem .bf-note{font-size:15px;font-weight:600;color:var(--gold-fg);margin-top:-2px}
:root[data-sky="moon"] .pitem .bf-note{color:var(--gold-fg)}

@media (prefers-reduced-motion:reduce){ .bf-copy,.bf-go{transition:none} .bf-copy:active,.bf-go:active{transform:none} }
