/* ============================================================================
   BLACK FRIDAY 2026 — /black-friday (prefix bf-)
   Built on mono-getillustrations.css like the tool guides (docs/design/
   tool-guide-design-system.md): one 1200px rail, hairline separators, white
   cards on the 16-20px radius, Bricolage display type, lime #ccea4a as the
   accent (owner 2026-10-12: "use our lime color"). The art is the owner's
   Black Friday illustrations with their green turned into our lime, shown
   WHOLE on cream panels (#ebe8d9 = the art's own background, so there is no
   edge): never cropped by CSS, object-fit contain. The coral underline and
   strike lines are the banners' one extra note.
   Motion: entrance in the hero, reveal on scroll (.bf-reveal, gated on
   html.bf-js so nothing hides without JS), count-ups, a ticking countdown, a
   shine on the code pill, confetti on copy, floating art, tilt on the cards
   (gi-tilt.js). prefers-reduced-motion turns all of it off.
   Phases: .bf[data-phase="soon|live|ended"].
   ============================================================================ */

.bf {
    --bf-cream: #ebe9da;   /* the art's background as WebP decodes it (235,233,218), so the panels show no edge */
    --bf-cream-soft: #f5f3ea;
    --bf-lime: var(--mono-lime, #ccea4a);
    --bf-lime-deep: var(--mono-lime-bright, #b8d640);
    --bf-lime-chip: #f1f8cf;
    --bf-lime-ink: var(--mono-lime-ink, #4d5e0f);
    --bf-ink: var(--mono-ink, #111827);
    --bf-coral: #fb6b52;
    --bf-ease: cubic-bezier(.22, .61, .36, 1);
    --bf-spring: cubic-bezier(.34, 1.56, .64, 1);
}
.bf .mono-container { max-width: 1200px; }
.bf .mono-section { padding: clamp(40px, 6vw, 72px) 0; }
.bf .mono-section-head { max-width: 760px; }
.bf .mono-section-head .mono-lead { margin-top: 12px; }
.bf .mono-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.bf .mono-section.bf-sep { padding-top: 0; }
.bf .mono-section.bf-sep > .mono-container {
    border-top: 1px solid var(--mono-border);
    padding-top: clamp(40px, 6vw, 72px);
}
.bf .mono-eyebrow { color: var(--mono-text-subtle); }
.bf-num { font-variant-numeric: tabular-nums; }
.bf-vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bf-ul { color: var(--bf-ink); border-bottom: 2px solid var(--bf-lime); padding-bottom: 1px; transition: border-color var(--mono-dur) ease; }
.bf-ul:hover { border-bottom-color: var(--bf-ink); }

/* buttons: ink pill (the site's primary) and the lime pill (the site's "Get All Access") */
.bf .mono-btn--primary { background: var(--bf-ink); border-color: var(--bf-ink); color: #fff; }
.bf .mono-btn--primary:hover { background: var(--mono-ink-raised, #1f2937); border-color: var(--mono-ink-raised, #1f2937); color: #fff; }
.bf .bf-btn--lime { background: var(--bf-lime); border-color: var(--bf-lime); color: var(--bf-ink); box-shadow: var(--mono-shadow-cta); }
.bf .bf-btn--lime:hover { background: var(--bf-lime-deep); border-color: var(--bf-lime-deep); color: var(--bf-ink); }
.bf .mono-btn:focus-visible, .bf a:focus-visible, .bf button:focus-visible { outline: 2px solid var(--bf-ink); outline-offset: 3px; }

/* ---- hero: the cream card ---------------------------------------------- */
.bf .mono-section.bf-hero { padding-top: clamp(16px, 3vw, 32px); }
.bf-hero__card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 28px; align-items: center;
    background: var(--bf-cream); color: var(--bf-ink);
    border-radius: var(--mono-radius-2xl, 28px);
    padding: clamp(28px, 4.5vw, 56px) clamp(16px, 2.6vw, 36px) clamp(28px, 4.5vw, 52px) clamp(24px, 4.5vw, 56px);
}
.bf-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    background: var(--bf-ink); color: #fff;
    font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
}
.bf-tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bf-lime); box-shadow: 0 0 0 0 rgba(204,234,74,.7); animation: bf-ping 1.8s ease-out infinite; }
.bf[data-phase="soon"] .bf-tag__dot { background: var(--bf-coral); }
.bf[data-phase="ended"] .bf-tag__dot { animation: none; background: var(--mono-gray-400); }

.bf-h1 {
    margin: 18px 0 0;
    font-family: var(--mono-font-display);
    font-size: clamp(1.6rem, 2.9vw, 2.5rem) !important;   /* site.css forces every h1 to a tiny clamp on phones */
    font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
    color: var(--bf-ink);
}
.bf-h1__big {
    position: relative; display: block; width: max-content; max-width: 100%;
    margin-bottom: .14em;
    font-size: clamp(4rem, 9.6vw, 7.6rem);
    line-height: .92; letter-spacing: -0.045em;
}
.bf-h1__pct { position: relative; display: inline-block; }
.bf-h1__scribble {
    position: absolute; left: -2%; bottom: -.16em; width: 106%; height: .26em;
    overflow: visible; pointer-events: none;
}
.bf-h1__scribble path { fill: none; stroke: var(--bf-coral); stroke-linecap: round; stroke-linejoin: round; }
.bf[data-phase="ended"] .bf-h1__big { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.bf-hero__lead { margin: 16px 0 0; max-width: 50ch; font-size: 16.5px; line-height: 1.6; color: #3a3c37; }
.bf-hero__lead strong { color: var(--bf-ink); font-weight: 700; }

/* the code, as on the banners: "Use code" + the pill, with a copy button */
.bf-code { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 24px 0 0; }
.bf-code__label { font-size: 17px; color: var(--bf-ink); }
.bf-code__pill {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--bf-lime);
    font-family: var(--mono-font-display); font-size: 20px; font-weight: 800; letter-spacing: .01em; color: var(--bf-ink);
}
.bf-code__pill::after {   /* the shine that crosses the pill every few seconds */
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -40%; width: 30%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
    transform: skewX(-18deg); animation: bf-shine 4.2s ease-in-out 1.6s infinite;
}
.bf-code__copy {
    position: relative; appearance: none; border: 0; cursor: pointer;
    padding: 8px 14px; border-radius: 999px;
    background: var(--bf-ink); color: #fff;
    font: 700 12.5px/1 var(--mono-font-display, inherit); letter-spacing: 0;
    transition: transform .15s var(--bf-ease), background var(--mono-dur) ease;
}
.bf-code__copy:hover { transform: translateY(-1px); }
.bf-code__copy:active { transform: scale(.94); }
.bf-code__copy.is-done { background: #fff; color: var(--bf-ink); }
.bf-code__note { flex-basis: 100%; margin: 0; font-size: 13px; color: #5a5c56; }
.bf-confetti { position: absolute; z-index: 5; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; animation: bf-confetti .9s var(--bf-ease) forwards; }

/* countdown */
.bf-count { margin: 24px 0 0; }
.bf-count__label {
    display: block; margin: 0 0 8px;
    font-family: var(--mono-font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
    color: #5a5c56;
}
.bf-count__tiles { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bf-count__tile {
    display: grid; justify-items: center; align-content: center; gap: 4px; overflow: hidden;
    min-width: 70px; padding: 11px 10px 9px; border-radius: 14px;
    background: #fff; border: 1px solid rgba(17,24,39,.08); box-shadow: 0 1px 2px rgba(17,24,39,.04);
}
.bf-count__n { display: block; font-family: var(--mono-font-mono); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1; color: var(--bf-ink); }
.bf-count__n.is-tick { animation: bf-tick .38s var(--bf-ease); }
.bf-count__tile:last-child { background: var(--bf-ink); border-color: var(--bf-ink); }
.bf-count__tile:last-child .bf-count__n { color: var(--bf-lime); }
.bf-count__tile:last-child .bf-count__u { color: rgba(255,255,255,.6); }
.bf-count__u { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #6b6d66; }

.bf-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 26px 0 0; }
.bf-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; color: #4a4c47; }
.bf-trust li { display: inline-flex; align-items: center; gap: 7px; }
.bf-trust svg { flex: none; padding: 2px; border-radius: 50%; background: var(--bf-lime); color: var(--bf-ink); }

.bf-hero__art { position: relative; margin: 0; align-self: center; }
.bf-hero__float { display: block; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s var(--bf-ease); }
.bf-hero__art img { display: block; width: 100%; height: auto; object-fit: contain; animation: bf-float 7s ease-in-out infinite; }
.bf-hero__stamp {
    position: absolute; top: 0; right: 4%;
    display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%;
    background: var(--bf-ink); color: #fff; text-align: center; transform: rotate(10deg);
    font-family: var(--mono-font-display); font-weight: 800; line-height: 1;
    box-shadow: 0 14px 30px rgba(17,24,39,.25);
    animation: bf-stamp .7s var(--bf-spring) 1.1s both, bf-wobble 5s ease-in-out 2s infinite;
}
.bf-hero__stamp b { display: block; font-size: 34px; color: var(--bf-lime); letter-spacing: -0.03em; }
.bf-hero__stamp > span > span { display: block; margin-top: 2px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

/* ---- logos: the site's marquee ----------------------------------------- */
.bf .mono-section.bf-logos { padding: 8px 0 clamp(32px, 4vw, 48px); }
.bf-logos .mono-marquee-label { margin-bottom: 18px; }

/* ---- deals ------------------------------------------------------------- */
.bf-deals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.bf-deals > * { min-width: 0; }
.bf-deal {
    position: relative; display: flex; flex-direction: column; height: 100%;
    padding: 26px 24px 24px; border-radius: 20px;
    background: #fff; border: 1px solid var(--mono-border);
    box-shadow: var(--mono-shadow-card);
    transition: box-shadow var(--mono-dur) ease, border-color var(--mono-dur) ease;
}
.bf-deal:hover { box-shadow: var(--mono-shadow-hover); border-color: var(--bf-lime); }
.bf-deal--featured { background: var(--bf-ink); color: #fff; border-color: var(--bf-ink); box-shadow: 0 26px 60px rgba(17,24,39,.28); }
.bf-deal__ribbon {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    padding: 6px 14px; border-radius: 999px; background: var(--bf-lime); color: var(--bf-ink);
    font-size: 12px; font-weight: 800; white-space: nowrap;
}
.bf-deal__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bf-deal__name { margin: 0; font-family: var(--mono-font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.bf-deal__term { font-family: var(--mono-font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mono-text-subtle); white-space: nowrap; }
.bf-deal--featured .bf-deal__term { color: rgba(255,255,255,.55); }
.bf-deal__tagline { margin: 6px 0 0; font-size: 13.5px; color: var(--mono-text-muted); }
.bf-deal--featured .bf-deal__tagline { color: rgba(255,255,255,.7); }
.bf-deal__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 20px 0 0; }
.bf-was { position: relative; display: inline-block; font-weight: 600; color: var(--mono-gray-400); text-decoration: none; }
.bf-was::after {   /* the strike, drawn across when the card shows */
    content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 2px; border-radius: 2px;
    background: var(--bf-coral); transform-origin: left center; transform: rotate(-8deg) scaleX(1);
}
.bf-deal__was { font-size: 18px; }
.bf-deal__now { display: inline-block; font-family: var(--mono-font-display); font-size: clamp(2.6rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.bf-deal--featured .bf-deal__now { color: var(--bf-lime); }
.bf-deal__save { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--bf-lime-chip); color: var(--bf-lime-ink); font-size: 12px; font-weight: 700; }
.bf-deal--featured .bf-deal__save { background: rgba(204,234,74,.16); color: var(--bf-lime); }
.bf-deal__per { margin: 8px 0 0; font-size: 13px; color: var(--mono-text-muted); }
.bf-deal--featured .bf-deal__per { color: rgba(255,255,255,.66); }
.bf-deal__cta { margin: 20px 0 0; }
.bf-deal__cta .mono-btn { width: 100%; justify-content: center; }
.bf-deal--featured .bf-btn--lime { animation: bf-glow 2.6s ease-in-out infinite; }
.bf-deal__cta .is-disabled { opacity: .55; pointer-events: none; cursor: default; box-shadow: none; animation: none; }
.bf-deal__after { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--mono-text-subtle); }
.bf-deal--featured .bf-deal__after { color: rgba(255,255,255,.55); }
.bf-deal__list { display: grid; gap: 10px; margin: 22px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--mono-border); font-size: 13.5px; line-height: 1.45; }
.bf-deal--featured .bf-deal__list { border-top-color: rgba(255,255,255,.12); }
.bf-deal__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.bf-deal__tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--bf-lime); color: var(--bf-ink); }
.bf-deals__note { margin: 22px auto 0; max-width: 780px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--mono-text-muted); }
.bf-deals__note b { font-family: var(--mono-font-display); color: var(--bf-ink); }

/* ---- collections and packs, 30% off too ------------------------------- */
.bf-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bf-cols > li, .bf-packs > li { min-width: 0; }
.bf-col {
    display: flex; flex-direction: column; height: 100%;
    border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--mono-border);
    transition: box-shadow var(--mono-dur) ease, border-color var(--mono-dur) ease;
}
.bf-col:hover { box-shadow: var(--mono-shadow-hover); border-color: var(--bf-lime); }
.bf-col__img { display: block; aspect-ratio: 4 / 3; background: var(--bf-cream-soft); overflow: hidden; }
.bf-col__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--mono-dur-slower) var(--bf-ease); }
.bf-col:hover .bf-col__img img { transform: scale(1.05); }
.bf-col__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.bf-col__name { font-family: var(--mono-font-display); font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; color: var(--bf-ink); }
.bf-col__meta { margin: 0; font-size: 12.5px; color: var(--mono-text-muted); }
.bf-col__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; }
.bf-col__price .bf-was { font-size: 14px; }
.bf-col__price b { font-family: var(--mono-font-display); font-size: 22px; letter-spacing: -0.02em; color: var(--bf-ink); }
.bf-col__buy { margin-top: 10px; }
.bf-col__buy .mono-btn { width: 100%; justify-content: center; height: 44px; font-size: 14px; }
.bf-cols__more { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--mono-text-muted); }

/* ---- the maths --------------------------------------------------------- */
.bf-maths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bf-maths li { padding: 24px; border-radius: 18px; border: 1px solid var(--mono-border); background: #fff; }
.bf-maths li:nth-child(2) { background: var(--bf-ink); border-color: var(--bf-ink); color: #fff; }
.bf-maths__n { position: relative; display: inline-block; font-family: var(--mono-font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.bf-maths li:nth-child(1) .bf-maths__n { color: var(--mono-gray-400); }
.bf-maths li:nth-child(1) .bf-maths__n::after { height: 3px; }
.bf-maths li:nth-child(2) .bf-maths__n { color: var(--bf-lime); }
.bf-maths__t { display: block; margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--mono-text-muted); }
.bf-maths li:nth-child(2) .bf-maths__t { color: rgba(255,255,255,.72); }

/* ---- why: the guides' lime shell, the art framed on cream --------------- */
.bf-cap {
    display: grid; gap: 28px;
    background: var(--bf-lime); color: var(--bf-ink);
    border-radius: var(--mono-radius-xl, 24px);
    padding: clamp(24px, 4vw, 48px);
}
.bf-cap__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 28px; align-items: center; }
.bf-cap__frame { margin: 0; border-radius: 18px; overflow: hidden; background: var(--bf-cream); border: 2px solid var(--bf-ink); box-shadow: 6px 6px 0 var(--bf-ink); transform: rotate(1.2deg); }
.bf-cap__frame img { display: block; width: 100%; height: auto; object-fit: contain; }
.bf-cap__intro { max-width: 640px; }
.bf-cap__intro .mono-eyebrow { color: var(--bf-ink); opacity: .7; }
.bf-cap__h2 { margin: 8px 0 0; font-family: var(--mono-font-display); font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; }
.bf-cap__body { margin: 14px 0 0; font-size: var(--mono-fs-lead); line-height: 1.6; color: #1d2416; }
.bf-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.bf-feat__card {
    display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; height: 100%;
    padding: 18px; border-radius: 18px; background: rgba(255,255,255,.92); border: 1px solid rgba(17,17,17,.06);
    font-size: 13.5px; line-height: 1.5; color: var(--bf-ink);
    transition: transform var(--mono-dur) ease, box-shadow var(--mono-dur) ease, background var(--mono-dur) ease;
}
.bf-feat__card:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17,24,39,.12); }
.bf-feat__i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bf-ink); color: var(--bf-lime); }
.bf-feat__card:hover .bf-feat__i svg { animation: bf-nudge .5s var(--bf-spring); }
.bf-feat__card strong { display: block; font-family: var(--mono-font-display); font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px; }
.bf-feat__card p { margin: 0; color: #2a2a2a; }
.bf-feat__card a { color: var(--bf-ink); border-bottom: 2px solid var(--bf-ink); padding-bottom: 1px; }

/* ---- packs ------------------------------------------------------------- */
.bf-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bf-pack {
    display: flex; flex-direction: column; height: 100%;
    border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--mono-border);
    color: var(--bf-ink);
    transition: box-shadow var(--mono-dur) ease, border-color var(--mono-dur) ease;
}
.bf-pack:hover { box-shadow: var(--mono-shadow-hover); border-color: var(--bf-lime); }
.bf-pack__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--mono-gray-50); overflow: hidden; }
.bf-pack__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--mono-dur-slower) var(--bf-ease); }
.bf-pack:hover .bf-pack__img img { transform: scale(1.05); }
.bf-pack__rank {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 9px; border-radius: 999px; background: var(--bf-ink); color: var(--bf-lime);
    font-family: var(--mono-font-mono); font-size: 11px; font-weight: 700;
}
.bf-pack__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.bf-pack__name { font-family: var(--mono-font-display); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; color: var(--bf-ink); }
.bf-pack__meta { margin: 0; font-size: 12.5px; color: var(--mono-text-muted); }
.bf-pack__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; margin-top: auto; padding-top: 6px; font-size: 13px; }
.bf-pack__price b { font-family: var(--mono-font-display); font-size: 18px; color: var(--bf-ink); }
.bf-pack__price a { margin-left: auto; font-size: 12.5px; font-weight: 700; }
.bf-pack--more {
    justify-content: center; gap: 10px; padding: 24px;
    background: var(--bf-ink); border-color: var(--bf-ink); color: #fff;
}
.bf-pack--more .bf-pack__big { font-family: var(--mono-font-display); font-size: clamp(2.2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--bf-lime); }
.bf-pack--more p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
.bf-pack--more .bf-pack__go { margin-top: 6px; font-weight: 700; color: #fff; }
.bf-pack--more:hover .bf-pack__go { color: var(--bf-lime); }

/* ---- who it is for ----------------------------------------------------- */
.bf-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bf-who__card {
    padding: 22px; background: #fff; border: 1px solid var(--mono-border); border-radius: 16px;
    transition: transform var(--mono-dur) var(--bf-ease), box-shadow var(--mono-dur) ease, border-color var(--mono-dur) ease;
}
.bf-who__card:hover { transform: translateY(-3px); box-shadow: var(--mono-shadow-hover); border-color: var(--bf-lime); }
.bf-who__i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bf-lime); color: var(--bf-ink); margin-bottom: 12px; }
.bf-who__card h3 { margin: 0; font-family: var(--mono-font-display); font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--bf-ink); }
.bf-who__card p { margin: 8px 0 0; font-size: var(--mono-fs-sm); line-height: 1.6; color: var(--mono-text-muted); }
.bf-who__card a { color: var(--bf-ink); border-bottom: 2px solid var(--bf-lime); padding-bottom: 1px; }

/* ---- reviews ----------------------------------------------------------- */
.bf-reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bf-review { display: flex; flex-direction: column; gap: 14px; height: 100%; margin: 0; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--mono-border); }
.bf-review__stars { display: flex; gap: 2px; color: var(--bf-ink); }
.bf-review blockquote { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.6; color: var(--bf-ink); }
.bf-review figcaption { font-size: 12.5px; color: var(--mono-text-subtle); }
.bf-review figcaption b { display: block; font-size: 13.5px; color: var(--bf-ink); }
.bf-reviews__more { margin: 20px 0 0; text-align: center; font-size: 13.5px; }

/* ---- guarantees -------------------------------------------------------- */
.bf-promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bf-promise li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px; border-radius: 14px; background: var(--bf-cream-soft); border: 1px solid rgba(17,24,39,.06); }
.bf-promise__i { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bf-ink); color: var(--bf-lime); }
.bf-promise b { display: block; font-size: 14px; color: var(--bf-ink); }
.bf-promise li > div > span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--mono-text-muted); }

/* ---- FAQ --------------------------------------------------------------- */
.bf-faq .mono-faq2 { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }

/* ---- closing card ------------------------------------------------------ */
.bf-final {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 36px; align-items: center;
    background: var(--bf-cream); color: var(--bf-ink);
    border-radius: var(--mono-radius-2xl, 28px); padding: clamp(28px, 4.5vw, 56px);
}
.bf-final__h2 { margin: 10px 0 0; font-family: var(--mono-font-display); font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; }
.bf-final p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: #3a3c37; }
.bf-final__links { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.bf-final__links a {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 13px 18px; border-radius: 14px; background: #fff; border: 1px solid rgba(17,24,39,.08); color: var(--bf-ink);
    transition: border-color var(--mono-dur) ease, transform var(--mono-dur) var(--bf-ease), box-shadow var(--mono-dur) ease;
}
.bf-final__links a:hover { border-color: var(--bf-ink); transform: translateX(4px); box-shadow: -4px 4px 0 var(--bf-lime); }
.bf-final__links b { font-family: var(--mono-font-display); font-size: 16px; }
.bf-final__links span { font-size: 13px; color: var(--mono-text-muted); }
.bf-final__links strong { font-family: var(--mono-font-display); font-size: 20px; white-space: nowrap; }
.bf-final__links .bf-was { margin-right: 8px; font-size: 14px; }
.bf-final__art { margin: 0; }
.bf-final__art img { display: block; width: 100%; height: auto; object-fit: contain; animation: bf-float 8s ease-in-out .8s infinite; }

/* ---- sticky bar -------------------------------------------------------- */
.bf-sticky {
    position: fixed; z-index: 60; left: 50%; bottom: 16px;
    width: min(760px, calc(100% - 24px));
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 20px; border-radius: 999px;
    background: var(--bf-ink); color: #fff; box-shadow: 0 18px 50px rgba(17,24,39,.35);
    transform: translate(-50%, 140%); opacity: 0; visibility: hidden;
    transition: transform .4s var(--bf-spring), opacity .3s ease, visibility 0s linear .4s;
}
.bf-sticky.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .4s var(--bf-spring), opacity .3s ease; }
.bf-sticky__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; font-size: 14px; }
.bf-sticky__text b { color: var(--bf-lime); font-family: var(--mono-font-display); font-size: 16px; }
.bf-sticky__time { font-family: var(--mono-font-mono); font-size: 13px; color: rgba(255,255,255,.72); }
.bf-sticky .mono-btn { flex: none; height: 44px; padding: 0 20px; box-shadow: none; }

/* ---- motion ------------------------------------------------------------ */
@keyframes bf-ping { 0% { box-shadow: 0 0 0 0 rgba(204,234,74,.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(204,234,74,0); } }
@keyframes bf-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bf-art-in { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bf-draw { from { stroke-dashoffset: 340; } to { stroke-dashoffset: 0; } }
@keyframes bf-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-.6deg); } }
@keyframes bf-stamp { from { opacity: 0; transform: rotate(-30deg) scale(.3); } to { opacity: 1; transform: rotate(10deg) scale(1); } }
@keyframes bf-wobble { 0%, 100% { transform: rotate(10deg) scale(1); } 50% { transform: rotate(3deg) scale(1.05); } }
@keyframes bf-shine { 0% { left: -40%; } 45%, 100% { left: 120%; } }
@keyframes bf-tick { 0% { transform: translateY(-55%); opacity: .2; } 100% { transform: none; opacity: 1; } }
@keyframes bf-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(204,234,74,.55); } 50% { box-shadow: 0 0 0 10px rgba(204,234,74,0); } }
@keyframes bf-pop { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes bf-nudge { 0% { transform: rotate(0); } 40% { transform: rotate(-14deg) scale(1.12); } 100% { transform: rotate(0); } }
@keyframes bf-confetti {
    0% { transform: translate(0, 0) rotate(0); opacity: 1; }
    100% { transform: translate(var(--cx), var(--cy)) rotate(var(--cr)); opacity: 0; }
}

/* the hero arrives in order; the art lifts in, the underline draws itself */
.bf-hero__copy > * { animation: bf-in .7s var(--bf-ease) both; }
.bf-hero__copy > :nth-child(1) { animation-delay: .05s; }
.bf-hero__copy > :nth-child(2) { animation-delay: .15s; }
.bf-hero__copy > :nth-child(3) { animation-delay: .3s; }
.bf-hero__copy > :nth-child(4) { animation-delay: .42s; }
.bf-hero__copy > :nth-child(5) { animation-delay: .54s; }
.bf-hero__copy > :nth-child(6) { animation-delay: .66s; }
.bf-hero__copy > :nth-child(7) { animation-delay: .78s; }
.bf-hero__art { animation: bf-art-in 1s var(--bf-ease) .25s both; }
.bf-h1__scribble path { stroke-dasharray: 340; animation: bf-draw .9s var(--bf-ease) .75s both; }
.bf-h1__scribble path + path { animation-delay: 1s; }

/* reveal on scroll: only once the script has run (html.bf-js), so no-JS shows everything */
html.bf-js .bf-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--bf-ease), transform .7s var(--bf-ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.bf-js .bf-reveal.is-in { opacity: 1; transform: none; }
html.bf-js .bf-reveal .bf-was::after { transform: rotate(-8deg) scaleX(0); transition: transform .55s var(--bf-ease); transition-delay: calc(var(--d, 0) * 90ms + .35s); }
html.bf-js .bf-reveal.is-in .bf-was::after { transform: rotate(-8deg) scaleX(1); }
html.bf-js .bf-reveal.is-in .bf-deal__now { animation: bf-pop .6s var(--bf-spring) both; animation-delay: calc(var(--d, 0) * 90ms + .55s); }

@media (prefers-reduced-motion: reduce) {
    .bf *, .bf *::before, .bf *::after { animation: none !important; transition: none !important; }
    html.bf-js .bf-reveal { opacity: 1; transform: none; }
    .bf-hero__float { transform: none; }
}

/* ---- narrow ------------------------------------------------------------ */
@media (max-width: 979px) {
    .bf-hero__card { grid-template-columns: minmax(0, 1fr); padding-right: clamp(24px, 4.5vw, 56px); }
    .bf-hero__art { max-width: 640px; width: 100%; margin: 0 auto; }
    .bf-deals { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
    .bf-deals > .bf-deal-wrap--featured { order: -1; }
    .bf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bf-maths { grid-template-columns: minmax(0, 1fr); }
    .bf-cap__head { grid-template-columns: minmax(0, 1fr); }
    .bf-cap__frame { max-width: 520px; }
    .bf-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bf-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bf-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bf-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bf-promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bf-final { grid-template-columns: minmax(0, 1fr); }
    .bf-final__art { order: -1; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 620px) {
    .bf .mono-section { padding: 36px 0; }
    .bf .mono-container { padding-left: 16px; padding-right: 16px; }
    .bf-hero__card { padding: 24px 18px 20px; border-radius: 22px; gap: 16px; }
    .bf-h1__big { font-size: clamp(3.6rem, 19vw, 5rem); }
    .bf-hero__lead { font-size: 15px; }
    .bf-hero__stamp { width: 84px; height: 84px; right: 0; }
    .bf-hero__stamp b { font-size: 26px; }
    .bf-hero__stamp > span > span { font-size: 10px; }
    .bf-code__pill { font-size: 17px; padding-left: 16px; }
    .bf-count__tiles { gap: 6px; }
    .bf-count__tile { min-width: 0; flex: 1; padding: 10px 4px 8px; }
    .bf-cta-row .mono-btn { width: 100%; justify-content: center; }
    .bf-deal { padding: 24px 18px 20px; }
    .bf-cols { gap: 10px; }
    .bf-col__body { padding: 12px; }
    .bf-col__price b { font-size: 19px; }
    .bf-feat { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .bf-feat__card { padding: 14px; gap: 12px; border-radius: 14px; }
    .bf-cap { padding: 20px 14px; border-radius: 18px; gap: 20px; }
    .bf-cap__frame { transform: none; box-shadow: 4px 4px 0 var(--bf-ink); }
    .bf-packs { gap: 10px; }
    .bf-pack__body { padding: 10px 12px 12px; }
    .bf-pack__price a { margin-left: 0; flex-basis: 100%; }
    .bf-who, .bf-reviews, .bf-promise { grid-template-columns: minmax(0, 1fr); }
    .bf-final { padding: 24px 18px; border-radius: 22px; }
    .bf-sticky { bottom: 10px; padding-left: 16px; }
    .bf-sticky__text { font-size: 13px; }
    .bf-sticky__time { font-size: 12px; }
    .bf-sticky .mono-btn { height: 40px; padding: 0 16px; }
}
@media (max-width: 400px) {
    .bf-count__u { font-size: 9.5px; }
    .bf-col__buy .mono-btn { padding: 0 10px; font-size: 13px; height: 40px; }
    .bf-col__name, .bf-pack__name { font-size: 14px; }
}
@media (max-width: 340px) {
    .bf-cols, .bf-packs { grid-template-columns: minmax(0, 1fr); }
}
