/* Date strip (lab v09, 28 Nov 2026).
   Black Friday phase (html.ph-promo): one line with a countdown that pulses red once a second.
   December phase (html.ph-dec): three lines of copy, linking to the Christmas waitlist.
   Motion follows the site's motion switch (data-motion), which already starts calm when the device asks for less motion. */
.bf{display:none}
html.bf-on{--bf-h:34px}
html.bf-on .bf{display:block;position:fixed;inset:0 0 auto 0;height:var(--bf-h);z-index:85;
  background:linear-gradient(90deg,rgb(var(--violet)/.14),rgb(var(--violet)/.26) 50%,rgb(var(--violet)/.14)),var(--surface);
  box-shadow:inset 0 -1px 0 rgb(var(--violet)/.35);color:var(--ink)}
.bf a{display:flex;align-items:center;justify-content:center;gap:12px;height:100%;max-width:var(--max);margin:0 auto;padding:0 16px;
  color:inherit;text-decoration:none;font-size:13px;line-height:1;white-space:nowrap}
.bf a:hover .bf-go{color:var(--ink);text-decoration-color:var(--peri-soft)}
.bf-tag{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:var(--peri-soft);font-weight:500}
.bf-msg b{font-weight:600}
.bf-was,.bf-end{color:var(--ink-soft)}
.bf-go{color:var(--ink-soft);text-decoration:underline;text-decoration-color:var(--edge);text-underline-offset:4px}

/* Countdown pill: red with a touch of purple */
.bf-t{--red:236 64 104;font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:12.5px;letter-spacing:.02em;
  padding:5px 9px;border-radius:999px;background:rgb(var(--red)/.18);box-shadow:inset 0 0 0 1px rgb(var(--red)/.55)}
.bf-t i{font-style:normal;color:var(--ink-soft);margin:0 5px 0 1px}
.bf-t i:last-child{margin-right:0}
.bf-t span{display:inline-block}
html[data-theme="light"] .bf-t{--red:200 30 80}
/* Pulse once a second: full motion only. Calm motion keeps the red tint, the numbers still update. */
html[data-motion="full"] .bf-t.pulse{animation:bf-pulse .9s var(--ease-out)}
html[data-motion="full"] .bf-t .tk{animation:bf-tk .6s var(--ease-out)}
@keyframes bf-pulse{
  0%{box-shadow:inset 0 0 0 1px rgb(var(--red)/.9),0 0 0 0 rgb(var(--red)/.5);background:rgb(var(--red)/.3)}
  100%{box-shadow:inset 0 0 0 1px rgb(var(--red)/.55),0 0 0 7px rgb(var(--red)/0);background:rgb(var(--red)/.18)}}
@keyframes bf-tk{from{opacity:.35}to{opacity:1}}

/* December lines */
.bf .bf-x{gap:6px}
.bf-l1{color:var(--ink-soft)}
.bf-l2{font-weight:600}
.bf-l3{display:inline-flex;align-items:center;gap:6px;margin-left:6px;color:var(--peri-soft);text-decoration:underline;text-decoration-color:rgb(var(--violet)/.5);text-underline-offset:4px}
.bf-l3 svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bf .bf-x:hover .bf-l3{color:var(--ink)}

/* Push the fixed header, menu sheet, progress bar and hero down by the strip height */
html.bf-on .top{top:var(--bf-h)}
html.bf-on .progress{top:var(--bf-h)}
html.bf-on .sheet{top:calc(var(--head-h) + var(--bf-h) + 6px)}
html.bf-on .hero{padding-top:calc(var(--head-h) + var(--bf-h) + 20px)}

@media (max-width:1179px){
  html.bf-on.ph-dec{--bf-h:52px}
  .bf .bf-x{flex-wrap:wrap;align-content:center;row-gap:6px;column-gap:6px;white-space:normal;text-align:center}
  .bf-l3{flex-basis:100%;justify-content:center;margin-left:0}
}
@media (max-width:899px){.bf-go{display:none}}
@media (max-width:719px){
  html.bf-on{--bf-h:32px}
  html.bf-on.ph-dec{--bf-h:68px}
  html.bf-on .hero{padding-top:calc(var(--head-h) + var(--bf-h) + 8px)}
  .bf a{gap:9px;font-size:12.5px;padding:0 10px}
  .bf .bf-x{flex-direction:column;justify-content:center;gap:4px;line-height:1.25}
  .bf-l3{flex-basis:auto}
  .bf-was,.bf-end{display:none}
  .bf-t{padding:4px 8px;font-size:12px}
  .bf-t i{margin-right:4px}
}
@media (max-width:359px){.bf-tag{display:none}.bf .bf-x{font-size:11.5px}}

/* v09b: one-day extension strip (html.bfx), between the switch and 1 Dec 21:59 UTC. Links to /start. */
.bf a[data-strip="ext"]{display:none}
html.bfx .bf a[data-strip="ext"]{display:flex}
html.bfx .bf a.bf-x,html.bfx .bf a[data-ph="promo"]{display:none!important}
.bf .bf-e{gap:6px}
html.bf-on.bfx{--bf-h:34px}
@media (max-width:719px){
  html.bf-on.bfx{--bf-h:52px}
  .bf .bf-e{flex-direction:column;justify-content:center;gap:4px;line-height:1.25;white-space:normal;text-align:center}
}
.bf .bf-e .bf-l3{flex-basis:auto;margin-left:6px}
@media (max-width:719px){.bf .bf-e .bf-l3{margin-left:0}}
