/* BFCM 2026 offer (BFCM Readiness Audit).
   To remove the offer: delete this file, assets/bfcm.js, bfcm-audit.html and every
   <!-- BFCM-2026 START --> ... <!-- BFCM-2026 END --> block. See BFCM-ROLLBACK.md. */

:root {
  /* The only red on the site. White text on it passes WCAG AA (5.2:1). */
  --bfcm-red: #D7192D;
  --bfcm-red-dark: #B5121F;
}

/* After the deadline, bfcm.js adds .bfcm-ended to <html>. */
.bfcm-ended .bfcm-only { display: none !important; }
.bfcm-closed { display: none; }
.bfcm-ended .bfcm-closed { display: block; }

/* Red button */
.btn.btn-bfcm, .cta-band .btn.btn-bfcm { background: var(--bfcm-red); border-color: var(--bfcm-red); color: #fff; }
.btn.btn-bfcm:hover, .cta-band .btn.btn-bfcm:hover { background: var(--bfcm-red-dark); border-color: var(--bfcm-red-dark); color: #fff; }

/* Home hero: while the offer runs, the BFCM button stands in for "Get your free Meta audit".
   Both stay in the markup; once the offer ends (or this file is deleted) the free audit button returns. */
html:not(.bfcm-ended) .btn-bfcm.bfcm-only + a[href="#audit"] { display: none; }
.bfcm-note { margin: 12px 0 0; font-size: 0.88rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.bfcm-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bfcm-red); flex: 0 0 8px; }

/* Nav link */
.nav a.bfcm-nav, .nav a.bfcm-nav[aria-current="page"] { background: var(--bfcm-red); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 0.92rem; }
.nav a.bfcm-nav:hover { background: var(--bfcm-red-dark); color: #fff; text-decoration: none; }
@media (max-width: 900px) {
  .nav a.bfcm-nav { order: -1; }
}

/* Strip above the free audit section */
.bfcm-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; border: 1.5px solid var(--bfcm-red); border-radius: 14px; padding: 14px 22px; margin-bottom: 20px; }
.bfcm-strip p { margin: 0; font-weight: 700; color: var(--white); }
.bfcm-strip a { color: var(--white); font-weight: 800; text-decoration: underline; text-decoration-color: var(--bfcm-red); text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Final call to action band */
.cta-actions .btn-bfcm { margin-top: 8px; }

/* Landing page */
.bfcm-countdown { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--white); background: var(--panel); }
.bfcm-countdown::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bfcm-red); }
.bfcm-closed-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-top: 24px; }
.bfcm-closed-box p { margin: 0 0 14px; color: var(--white); font-weight: 700; }
.bfcm-gets { counter-reset: none; }
.bfcm-gets .card ul { margin: 6px 0 0; padding-left: 18px; color: #cfcfcf; font-size: 0.95rem; }
.bfcm-gets .card li { margin-bottom: 6px; }
.bfcm-plus { margin-top: 18px; color: #dcdcdc; font-weight: 600; }

.bfcm-price { max-width: 620px; background: var(--panel); border: 2px solid var(--bfcm-red); border-radius: 24px; padding: 32px; }
.bfcm-stack { list-style: none; padding: 0; margin: 0 0 18px; }
.bfcm-stack li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: #dcdcdc; }
.bfcm-stack li span:last-child { color: var(--white); font-weight: 700; white-space: nowrap; }
.bfcm-worth { display: flex; justify-content: space-between; font-weight: 800; color: var(--white); margin: 0 0 6px; }
.bfcm-q4 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; }
.bfcm-q4 span:first-child { font-weight: 800; color: var(--white); font-size: 1.1rem; }
.bfcm-q4 strong { font-family: var(--serif); font-size: 2.4rem; color: var(--white); line-height: 1; }
.bfcm-credit { color: #cfcfcf; font-size: 0.95rem; }
.bfcm-scarcity { font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 8px; margin: 18px 0; }
.bfcm-scarcity::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bfcm-red); flex: 0 0 8px; }
.bfcm-price .btn { width: 100%; justify-content: center; }
.bfcm-end-cta { text-align: center; }
.bfcm-end-cta .btn-row { justify-content: center; }

@media (max-width: 760px) {
  /* On phones the cards put the number beside the heading; keep the bullet lists full width underneath. */
  .bfcm-gets .card > ul { grid-column: 1 / -1; margin-top: 4px; }
  .bfcm-price { padding: 22px 18px; }
  .bfcm-q4 strong { font-size: 2rem; }
  .bfcm-strip { padding: 12px 16px; }
}
