/* =================================================================
   Black Friday: temporary campaign page, offer runs 23 to 30 Nov 2026

   Shared by black-friday.html and nl/black-friday.html.

   Everything the page needs that the site already has comes from styles.css:
   .page-head, .sec-head, .card (the offer card and the two plan cards),
   .feat-pair / .feat-tile (what Willow does), .tpl-shot (the screenshots),
   .c-steps / .c-step (how Create works, on the one dark band), .btn, .lede,
   .cta-card. Only what the site has no component for lives here:

   .bf-hero      Split hero, copy left and offer card right. The same layout as
                 willow-portefeuille's .pf-hero, which keeps its copy in its own
                 stylesheet and goes with that campaign on 31 Dec. When both are
                 gone, or a third page needs it, promote it to styles.css.
                 (The hero keeps the standard .page-head padding. The
                 portefeuille shortens it because its sticky tabs sit above the
                 hero and clear the fixed nav, and this page has no tabs.)
   .bf-offer     Delta on .card: the countdown, then the counter. The counter is
                 filled in by black-friday.js from black-friday.json.
   .bf-bar       The bar under the counter. No chart component exists.
   .bf-timer     Countdown boxes, driven by black-friday.js. The same boxes as
                 willow-portefeuille's .pf-timer.
   .bf-terms     The one line of terms under the hero buttons.
   .bf-blue      The blue band under the hero, with the heading and lede turned
                 to white. The three example sites sit in it, in the site's
                 .slider: side by side while they fit, a swipeable row (with
                 controls, from slider.js) when they don't.
   .bf-site      One example: a browser frame around the screenshot (.bf-browser,
                 with .bf-chrome and .bf-url, a bar the site has no component for,
                 and .bf-live, the pulsing "Live example" badge in it, which uses
                 the site's existing pulse keyframes). .bf-ask is the line above
                 the button under the cards.,
                 then the name, a line and the link. The whole card is the link.
   .bf-detail    The three Willow tiles: .feat-tile with longer copy, so its
                 paragraphs are the 15px of copy inside a card, not the tile's
                 14px, with bold lead-ins.
   .bf-notes     The housekeeping list under the website screenshots, which sit
                 in the site's boxed .slider (styles.css, controls from
                 slider.js) as .tpl-shot slides.
   .bf-cases     The case-study examples in the proof tile, as a short bullet
                 list sharing the notes list's bullet.
   .bf-rating    The Trustpilot stars and score inside the proof tile: the
                 site's .tp-stars and .tp-score, laid side by side.
   .bf-plans     The two plan cards side by side, and the choice inside them.
   .bf-dark      The one ink band (Create), with the heading and the ghost
                 button turned to cream, and the step sizes .c-steps leaves to
                 the page. Pages may not use style="", so the inline colours
                 other pages use are a class here.
   .bf-lede      The measure for the ledes under a heading.
   .bf-band      The paper surface for alternate sections.
   .faq-*        The pricing page's accordion look, on <details> so it works from
                 the keyboard and without JavaScript. faq-item still has no home
                 in styles.css; each page carries its own copy, as
                 willow-portefeuille does.

   Every px value below already exists elsewhere on the site (check-design E3).
   ================================================================= */

/* ---- Split hero ---- */
.bf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 56px;
  align-items: start;
}
.bf-hero h1 {
  font-size: var(--hero-h1-split);
  max-width: var(--hero-max-split);
}
.bf-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---- Offer card: counter, then countdown ---- */
.bf-offer { padding: 32px; }
.bf-spots { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
.bf-spots[hidden] { display: none; }
.bf-left { font-size: var(--t-h5); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bf-left[hidden], .bf-gone[hidden], .bf-yesterday[hidden] { display: none; }
.bf-gone { font-size: var(--t-h5); font-weight: 600; letter-spacing: -0.02em; }
.bf-bar { height: 12px; margin-top: 12px; border-radius: var(--r-pill); background: var(--blue-soft); overflow: hidden; }
.bf-bar span { display: block; width: 0; height: 100%; background: var(--blue); }
.bf-sold { margin-top: 12px; font-size: 15px; font-weight: 500; }
.bf-yesterday { margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--blue); }
.bf-asof { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.bf-until { font-size: 17px; font-weight: 500; color: var(--ink); }
.bf-timer { display: flex; gap: 8px; margin-top: 12px; }
.bf-timer[hidden] { display: none; }
.bf-timer span {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
}
.bf-timer b {
  display: block;
  font-size: var(--t-h5);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.bf-ended { margin-top: 12px; padding: 12px 16px; border-radius: var(--r-md); background: var(--cream-2); font-size: 14px; }
.bf-ended[hidden] { display: none; }

/* ---- Alternate surface and the dark band ---- */
.bf-band { background: var(--paper); }
.bf-dark { background: var(--ink); color: var(--cream); }
.bf-dark .sec-head h2 { color: var(--cream); }
.bf-dark .sec-head .btn-ghost { color: var(--cream); border-color: rgba(255,255,255,0.3); }
.bf-dark .lede { color: var(--on-dark); }
.bf-lede { max-width: 64ch; }
/* .c-steps leaves its sizes to the page (styles.css); these are the product
   page's own #create values. */
.bf-dark .c-steps { margin-top: 40px; }
.bf-dark .c-step h4 { font-size: 24px; line-height: 1.12; margin: 0; }
.bf-dark .c-step p { font-size: 14px; margin: 0; }

/* ---- Hero: the terms under the buttons ---- */
.bf-terms { margin-top: 16px; font-size: 15px; color: var(--ink-2); }

/* ---- Section-head asides ----
   The global .sec-head .right never shrinks, so between 720px (where the head
   stacks) and about 1000px a heading plus a 19px aside run past the viewport.
   Here the aside may shrink and wrap, as page-solutions.css does for its pages;
   the global rule is unchanged. */
.sec-head .right { flex-shrink: 1; }

/* ---- The sites band under the hero ---- */
.bf-blue { background: var(--blue); }
.bf-blue .sec-head h2 { color: var(--white); }
.bf-sites .slider-track { gap: 32px; padding: 12px 4px 32px; }
.bf-sites .slide { flex: 0 0 calc((100% - 64px) / 3); display: block; color: inherit; }
.bf-sites .slider-dot { background-color: rgba(255,255,255,0.4); }
.bf-sites .slider-dot[aria-current="true"], .bf-sites .slider-dot:hover { background-color: var(--white); }
.bf-sites .slider-dot:focus-visible, .bf-sites .slider-btn:focus-visible { outline-color: var(--white); }
.bf-sites-cta { margin-top: 24px; }
.bf-ask { margin-bottom: 16px; font-size: var(--t-h6); font-weight: 600; letter-spacing: -0.012em; line-height: 1.25; color: var(--white); }
.bf-site:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.bf-browser {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(12,19,56,0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bf-site:hover .bf-browser, .bf-site:focus-visible .bf-browser { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(12,19,56,0.4); }
.bf-chrome { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
.bf-dots { display: flex; gap: 6px; flex: none; }
.bf-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.bf-live { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; font-size: var(--t-micro); font-weight: 500; color: var(--ink-2); }
.bf-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.bf-live i::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; background: var(--blue); animation: pulse 1.6s ease-out infinite; }
.bf-url { overflow: hidden; font-family: var(--mono); font-size: var(--t-micro); color: var(--ink-3); text-overflow: ellipsis; white-space: nowrap; }
.bf-browser img { display: block; width: 100%; height: auto; }
.bf-site h3 { margin-top: 20px; font-size: var(--t-h6); letter-spacing: -0.012em; line-height: 1.25; color: var(--white); }
.bf-site p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--blue-soft); }
.bf-visit { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1001px) {
  /* The middle card sits lower, so three equal frames read as a collage. */
  .bf-sites .slide:nth-child(2) { margin-top: 48px; }
}

/* ---- The three Willow tiles ---- */
.bf-detail p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.bf-detail p strong { color: var(--ink); }

/* ---- Housekeeping under the screenshots: a heading, then bullets in two columns ---- */
.bf-notes-h { margin-top: 56px; font-size: var(--t-h6); letter-spacing: -0.012em; line-height: 1.25; }
.bf-notes, .bf-cases { list-style: none; padding: 0; }
.bf-notes { margin: 24px 0 0; columns: 2; column-gap: 48px; }
.bf-notes li, .bf-cases li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.bf-notes li { break-inside: avoid; margin-bottom: 20px; }
.bf-notes li::before, .bf-cases li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.bf-notes strong { color: var(--ink); }
/* The case studies in the proof tile: a short bullet list, each name a link. */
.bf-cases { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bf-fine { margin-top: 32px; font-size: 14px; line-height: 1.5; color: var(--ink-3); max-width: 64ch; }
.bf-fine a, .faq-a a, .bf-proof p a, .bf-cases a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Proof tile: Trustpilot rating, then the case-study line and its link ---- */
.bf-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.bf-proof .btn { align-self: flex-start; margin-top: auto; }

/* ---- The two plans and the choice inside them ---- */
.bf-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bf-plan { padding: 32px; }
.bf-plan h3 { font-size: var(--t-h6); letter-spacing: -0.012em; line-height: 1.25; }
.bf-plan-for { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.bf-price { margin-top: 20px; font-size: var(--t-h5); font-weight: 600; letter-spacing: -0.02em; }
.bf-price small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.bf-pick { margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.bf-opts { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.bf-opts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.bf-opts strong { font-weight: 600; }
.bf-opts span { color: var(--blue); font-weight: 500; text-align: right; }
.bf-plan-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---- FAQ accordion (pricing's look, on <details>) ---- */
.faq-list { max-width: 920px; }
.faq-item { border-top: 1px solid var(--rule); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .indic {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  /* Optically centre the "+": see --optical-plus. */
  padding-top: calc(2 * var(--optical-plus));
  line-height: 1;
  letter-spacing: 0;
  transition: transform 0.2s;
}
.faq-item[open] .indic { background: var(--blue); color: var(--white); transform: rotate(45deg); }
.faq-q:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.faq-a { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }

@media (max-width: 1000px) {
  .bf-hero { grid-template-columns: 1fr; gap: 40px; }
  .bf-sites .slide { flex-basis: min(82%, 420px); }
}
@media (max-width: 720px) {
  .bf-notes { columns: 1; }
  .bf-offer, .bf-plan { padding: 24px; }
  .bf-plans { grid-template-columns: 1fr; }
  .faq-q { font-size: 17px; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-q .indic, .bf-browser { transition: none; }
  .bf-site:hover .bf-browser, .bf-site:focus-visible .bf-browser { transform: none; }
}
