/* /black-friday only (loads after styles.css, reuses its tokens and components) */

.bf-eyebrow {
  margin: 0 0 10px; color: var(--muted);
  font: 600 .8rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.bf-lead { font-size: 1.05rem; margin: 14px 0 0; }

/* ---------- Hero: founders photo (peach left, photo right) as a labelled background layer ---------- */
.bf-hero {
  position: relative; isolation: isolate;
  min-height: 620px; display: flex; align-items: center; padding: 56px 0;
  background: var(--peach-wash);
}
.bf-hero > .container { position: relative; z-index: 1; }
.bf-hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url("/assets/bf-hero-founders.jpg") no-repeat right center / auto 100%;
}
.bf-hero-copy { max-width: 520px; }
.bf-hero h1 { margin: 18px 0; font-size: clamp(2rem, 1.55rem + 1.9vw, 3.15rem); }
.bf-sub { font-size: 18px; max-width: 34em; margin: 0; }

/* Terracotta tint pill, same family as the pricing page's status pill */
.bf-pill {
  display: inline-flex; margin: 0; padding: 7px 14px; border-radius: 999px;
  background: var(--peach); color: var(--copper-ink); border: 1px solid var(--peach-line);
  font: 700 .92rem/1.25 var(--font-body);
}

.bf-hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 22px 0 0; }
.bf-was {
  font: 700 1.5rem/1 var(--font-head); color: var(--muted);
  text-decoration: line-through; text-decoration-thickness: 2px;
}
.bf-now-sm { font: 800 2.6rem/1 var(--font-head); color: var(--ink); letter-spacing: -.03em; }
.bf-code-chip {
  align-self: center; padding: 4px 12px; border-radius: 999px;
  background: #fff; border: 1px dashed var(--copper); color: var(--copper-ink);
  font: 700 .82rem/1.3 var(--font-body); letter-spacing: .04em;
}
.bf-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.bf-hero-cta small { color: var(--muted); font-size: .9rem; }

/* Desktop: the image is as tall as the hero, and its photo's right edge lines up with the container's content
   edge (not the screen edge), so copy and photo keep the same ~50px gap from 1200px up to any width.
   The image is 1200×628 with ~8.6% empty peach right of the photo: about 102px at the 620px hero height. */
@media (min-width: 1200px) {
  .bf-hero-photo {
    left: auto; height: 100%; aspect-ratio: 1200 / 628;
    right: max(-102px, calc(50% - 676px)); /* 676 = 590 half-container − 16 gutter + 102 image margin */
    background-size: cover; background-position: center;
  }
  .bf-hero-copy { max-width: 540px; }
}
@media (max-width: 1199px) {
  .bf-hero-photo { background-size: auto 75%; background-position: right bottom; }
  .bf-hero-copy { max-width: 440px; }
}
/* Narrow: copy on top, photo below it (the image's right half fills the width) */
@media (max-width: 820px) {
  .bf-hero { display: block; min-height: 0; padding: 40px 0 calc(97vw + 16px); }
  .bf-hero-photo { background-size: 185% auto; background-position: right bottom; }
  .bf-hero-copy { max-width: none; }
}

/* ---------- Offer card ---------- */
/* Between the video and the checkout: no top padding (the video section already has its bottom space) */
.bf-offer { padding: 0 0 72px; }
@media (min-width: 1040px) { .bf-offer { padding-bottom: 96px; } }
.bf-price-card {
  max-width: 560px; margin: 0 auto; padding: 34px;
  background: #fff; border: 1px solid var(--peach-line); border-radius: 28px; box-shadow: var(--shadow-lift);
}
.bf-price-row { display: flex; align-items: baseline; gap: 14px; margin: 10px 0 8px; }
.bf-now { font: 800 3.6rem/1 var(--font-head); color: var(--ink); letter-spacing: -.03em; }
.bf-save {
  display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-ink); border: 1px solid var(--teal-line);
  font-weight: 600; font-size: .9rem;
}
.bf-checks { margin: 18px 0 0; gap: 10px; }
.bf-checks .icon { color: var(--teal-ink); stroke-width: 2.5; }
.bf-card-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 480px) {
  .bf-price-card { padding: 26px 20px; border-radius: 20px; }
  .bf-now { font-size: 3rem; }
}

/* ---------- Catch-up steps ---------- */
.bf-steps { display: grid; gap: 22px; }
@media (min-width: 820px) { .bf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bf-steps h3 { margin-bottom: 8px; }
.bf-steps p { font-size: .98rem; margin: 0; }
.bf-num {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); font: 800 1rem/1 var(--font-head);
}
.bf-when { display: inline-block; margin-top: 12px; color: var(--copper-ink); font-size: .82rem; font-weight: 600; }

/* ---------- Sample video ---------- */
.bf-video {
  position: relative; max-width: 880px; margin: 0 auto; aspect-ratio: 16 / 9;
  overflow: hidden; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow-lift);
}
.bf-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bf-play {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0;
  border: 0; background: none; cursor: pointer; color: #fff;
}
.bf-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bf-play::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 17, 30, 0) 55%, rgba(12, 17, 30, .65));
}
.bf-play:focus-visible { outline-offset: -4px; }
.bf-play-btn {
  position: relative; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 8px 24px rgba(12, 17, 30, .35);
  transition: transform .15s ease, background-color .15s ease;
}
.bf-play-btn .icon { width: 30px; height: 30px; fill: #fff; stroke: none; margin-left: 4px; }
.bf-play:hover .bf-play-btn { transform: scale(1.06); background: var(--blue-hover); }
.bf-vid-tag { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-size: .9rem; font-weight: 600; text-align: left; }
@media (max-width: 480px) {
  .bf-play-btn { width: 64px; height: 64px; }
  .bf-vid-tag { left: 12px; bottom: 10px; font-size: .78rem; }
}

.bf-vid-below { max-width: 760px; margin: 32px auto 0; }
.bf-see { display: grid; gap: 12px; }
.bf-see li { position: relative; padding-left: 30px; }
.bf-see li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft); box-shadow: inset 0 0 0 4px var(--blue), 0 0 0 5px var(--blue-soft);
}
.bf-confused {
  margin-top: 26px; padding: 24px 26px;
  background: var(--peach-wash); border: 1px solid var(--peach-line); border-radius: var(--radius);
}
.bf-confused h3 { margin-bottom: 8px; }
.bf-confused p { margin: 0; font-size: .98rem; }
.bf-vid-cta { margin-top: 28px; text-align: center; }
.bf-vid-cta p { margin: 10px 0 0; color: var(--muted); font-size: .88rem; }

/* ---------- Pass or come back free ---------- */
/* Full-width navy band (Nov 26, 2026). Contrast on --navy #121E45: white 16.5:1, --navy-text #C5CBE0 10:1 (AA needs 4.5:1).
   The pill and seal carry their own fills, so their text contrast doesn't depend on the band. */
.bf-pass-section { padding: 56px 0; background: var(--navy); color: #fff; }
@media (min-width: 1040px) { .bf-pass-section { padding: 80px 0; } }
.bf-pass { display: grid; gap: 28px; align-items: center; max-width: 920px; margin: 0 auto; }
@media (min-width: 700px) { .bf-pass { grid-template-columns: auto 1fr; gap: 40px; } }
/* Burnt seal: white text 5.2:1 or better across the gradient (same values as the stats band) */
.bf-seal {
  display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burnt-start), var(--burnt-end));
  box-shadow: 0 6px 18px rgba(168, 74, 34, .3);
  color: #fff; text-align: center; font: 800 .82rem/1.15 var(--font-head);
}
/* Solid teal ink pill, white text 6.6:1 */
.bf-pass-pill {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  background: var(--teal-ink); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.3;
}
.bf-pass h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); margin: 10px 0 8px; color: #fff; }
.bf-pass p { margin: 0; color: #fff; }
.bf-pass-list { margin: 12px 0 0; padding-left: 20px; list-style: disc; font-size: .95rem; color: var(--navy-text); }
.bf-pass .bf-pass-fine { margin-top: 12px; color: var(--navy-text); font-size: .85rem; }

/* ---------- Checkout ---------- */
.bf-checkout { scroll-margin-top: var(--header-h); }
.bf-checkout [hidden] { display: none !important; }
.bf-co { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .bf-co { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; } }
.bf-summary { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.bf-summary h3 { margin-bottom: 16px; }
.bf-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.bf-line-disc { color: var(--teal-ink); font-weight: 600; }
.bf-line-total { border: 0; padding-top: 16px; font: 800 1.3rem/1.2 var(--font-head); color: var(--ink); }
.bf-code-tag {
  margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: var(--teal-soft); border: 1px solid var(--teal-line);
  font-size: .75rem; font-weight: 700; letter-spacing: .05em;
}
.bf-summary-fine { margin: 16px 0 0; color: var(--muted); font-size: .85rem; }
.bf-not-incl {
  margin-top: 22px; padding: 20px 22px;
  background: var(--peach-wash); border: 1px solid var(--peach-line); border-radius: var(--radius); font-size: .92rem;
}
.bf-not-incl strong { display: block; color: var(--ink); }

/* Stripe's iframe sizes itself; the box keeps the space reserved while it loads */
.bf-stripe-box {
  min-width: 0; min-height: 520px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift);
}
.bf-mount { min-height: 460px; }
.bf-mount-status { margin: 0; padding: 48px 8px; color: var(--muted); text-align: center; }
.bf-fallback { display: grid; justify-items: center; gap: 14px; padding: 40px 8px; text-align: center; }
.bf-fallback p { margin: 0; }
.bf-fallback-help { color: var(--muted); font-size: .9rem; }
.bf-secure { margin: 12px 0 0; color: var(--muted); font-size: .8rem; text-align: center; }
/* Phones: give Stripe's form the full width */
@media (max-width: 480px) {
  .bf-stripe-box { padding: 16px 8px; border-radius: var(--radius); }
  .bf-summary { padding: 22px 18px; }
}

.bf-state {
  max-width: 640px; margin: 0 auto; padding: 36px 28px; text-align: center;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.bf-state h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.bf-state p { margin: 0 0 18px; }
.bf-state p:last-child { margin-bottom: 0; }
.bf-state:focus { outline: none; }
.bf-state-success { background: var(--teal-soft); border: 1px solid var(--teal-line); }
.bf-state-success h2 { color: var(--teal-ink); }
.bf-state-ended { background: #fff; border: 1px solid var(--line); }

/* ---------- Closing ---------- */
.bf-final { padding: 72px 0; background: var(--peach-wash); text-align: center; }
.bf-final p { max-width: 36em; margin: 12px auto 26px; }
.bf-final .bf-sig { margin: 22px auto 0; color: var(--copper-ink); font: 700 1.75rem/1.2 var(--font-hand); }
