/* Black Friday 2026 banner and price swap. One shared file for both sites.
   Ends 1796198399000 (Tue Dec 1 2026, 11:59:59 PM Pacific). bf-2026.js sets
   html.bf-on before the deadline and html.bf-over after it. */

/* Price swap: sale copy shows until the deadline, regular copy after. */
html:not(.bf-over) [data-bf-regular]{display:none!important}
html.bf-over [data-bf-sale],
html.bf-over [data-bf-label],
html.bf-over [data-bf-banner]{display:none!important}
[data-bf-price] s{text-decoration:line-through;text-decoration-thickness:.08em;opacity:.72;font-weight:inherit}
.bf-label{display:block;margin-top:4px;font-size:.78em;font-weight:700;letter-spacing:.01em;line-height:1.3;color:inherit;opacity:.85}
.bf-label--inline{display:inline;margin:0}

/* Banner */
.bf{--bf-gold:#FFC83D;position:relative;z-index:60;margin:0;background:#111;color:#fff;font-family:inherit;font-size:14px;line-height:1.3;-webkit-font-smoothing:antialiased;text-align:left}
aside.bf{border:0;padding:0;border-radius:0;box-shadow:none;max-width:none;width:auto;float:none}
.bf[data-bf-mode="sticky"]{position:sticky;top:0;z-index:1000}
.bf *{box-sizing:border-box}
.bf-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
.bf-bar{display:flex;align-items:center;justify-content:center;gap:18px;max-width:1240px;min-height:48px;margin:0 auto;padding:5px 16px}
.bf-text{min-width:0}
.bf-msg{margin:0;font-weight:500}
.bf-tag{font-weight:800;letter-spacing:.06em}
.bf-sep{margin:0 .45em;color:#8d8d8d}
.bf-gold{color:var(--bf-gold);font-weight:800}
.bf s{color:#c4c4c4;text-decoration:line-through;text-decoration-color:#D62828;text-decoration-thickness:2px;font-weight:500}
.bf-count{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-weight:700;white-space:nowrap}
.bf-fine{margin:1px 0 0;font-size:11.5px;line-height:1.25;color:#d2d2d2}
.bf-cta{flex:none;display:inline-flex;align-items:center;min-height:34px;padding:7px 15px;border-radius:999px;background:var(--bf-gold);color:#111!important;font-weight:800;font-size:14px;line-height:1;text-decoration:none!important;white-space:nowrap}
.bf-cta:hover{background:#ffd666}
.bf-cta:focus-visible{outline:3px solid #fff;outline-offset:2px}
.bf-narrow,.bf-fine-m{display:none}
.bf-fine-m{margin:0;padding:3px 16px 5px;background:#111;color:#d2d2d2;font-family:inherit;font-size:11.5px;line-height:1.3;text-align:center;border-top:1px solid #2a2a2a}

@media (max-width:640px){
  .bf{font-size:13px;line-height:1.35}
  .bf-bar{justify-content:flex-start;gap:0;min-height:0;padding:7px 14px}
  .bf-wide,.bf-text .bf-fine{display:none}
  .bf-narrow{display:block}
  .bf-l1,.bf-l2{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .bf-l2 .bf-gold{text-decoration:underline;text-underline-offset:2px}
  /* The one CTA link stretches over the whole bar, so the bar is tappable. */
  .bf-cta{position:absolute;inset:0;z-index:1;min-height:0;padding:0;border-radius:0;background:transparent;color:transparent!important;font-size:0}
  .bf-cta:hover{background:transparent}
  .bf-cta:focus-visible{outline:3px solid var(--bf-gold);outline-offset:-3px}
  .bf-fine-m{display:block}
}
@media (max-width:374px){.bf{font-size:12px}.bf-bar{padding:7px 10px}.bf-fine-m{padding:3px 10px 5px;font-size:11px}}

/* Sticky banner offsets on the marketing site (--bf-h is measured by bf-2026.js). */
html.bf-sticky{scroll-padding-top:var(--bf-h,48px)}
html.bf-sticky .course3-subnav,html.bf-sticky .course-subnav{top:var(--bf-h,48px)}
html.bf-sticky .course3-order{top:calc(78px + var(--bf-h,48px))}
html.bf-sticky .course3-faq__head{top:calc(85px + var(--bf-h,48px))}
html.bf-sticky .about-rhythm__visual.lesson-evidence{top:calc(96px + var(--bf-h,48px))}
html.bf-sticky .contact-intro{top:calc(34px + var(--bf-h,48px))}
html.bf-sticky .scroll-progress{top:var(--bf-h,48px)}
html.bf-sticky #enroll{scroll-margin-top:64px} /* clears the sticky page sub-nav too */
@media print{.bf,.bf-fine-m{display:none!important}}
