/* Business pricing, section 3 "Compare the two." (live nafas.com/business-pricing-plan, Framer "section 3").
   Breakpoints of this section: desktop >= 1440 (table fills the 1280 content box), tablet 810 to 1439.98
   (table 1816px wide inside a sideways scroller), phone <= 809.98 (table 526px wide inside a sideways scroller).
   The scroller is a plain overflow box, as on live: overflow-x auto, overflow-y hidden, no scroll snap, no sticky
   column, default scrollbar and overscroll. */

/* ---------- desktop (>= 1440) ---------- */
.nf-bp-compare {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  padding: 40px 80px;
  overflow: clip;
}
.nf-bp-compare__header {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  overflow: clip;
}
.nf-bp-compare__title,
.nf-bp-compare__lede {
  position: relative;
  width: 100%;
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: start;
}
.nf-bp-compare__title {
  font-family: "SF Pro Display Medium", "SF Pro Display Regular", sans-serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.1em;
  letter-spacing: normal;
  color: #000;
}
.nf-bp-compare__lede {
  font-family: "SF Pro Display Regular", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25em;
  letter-spacing: -0.48px;
  color: rgb(97, 97, 97);
}

/* Scroller: no box of its own on desktop (live has no wrapper there). */
.nf-bp-compare__scroller {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}
.nf-bp-compare__table {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  flex: 0 0 auto;
  width: 100%;
  padding: 0;
  background-color: #000;
  border-radius: 30px;
  overflow: clip;
}
.nf-bp-compare__row {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  width: 100%;
  padding: 20px 27px;
  overflow: clip;
}
/* Framer draws row borders with an ::after laid over the row (no layout effect). */
.nf-bp-compare__row--group { background-color: #222; } /* group bands, darker than live's #404040 (Danny, 2026-10-26) */
.nf-bp-compare__row--group::after,
.nf-bp-compare__row--line::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border-style: solid;
  border-width: 0 0 1px;
  border-color: #fff;
  border-radius: 0;
  pointer-events: none;
}
.nf-bp-compare__row--group::after { border-width: 1px 0; border-color: #000; }

.nf-bp-compare__spacer {
  position: relative;
  flex: 0 0 auto;
  width: 380px;
  height: 17px;
  overflow: clip;
}
.nf-bp-compare__cell,
.nf-bp-compare__group-label {
  position: relative;
  flex: 0 0 auto;
  font-family: "SF Pro Display Regular", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2em;
  letter-spacing: normal;
  color: #fff;
  text-align: start;
}
.nf-bp-compare__cell {
  width: 390px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}
.nf-bp-compare__cell--label { width: 380px; }
.nf-bp-compare__cell--head,
.nf-bp-compare__group-label {
  font-family: "SF Pro Display Bold", "SF Pro Display Regular", sans-serif;
  font-weight: 700;
}
.nf-bp-compare__group-label {
  width: auto;
  white-space: pre;
  text-transform: uppercase;
}

/* Heading appear (live: opacity 0 -> 1, spring, once each at >= 50% visible); js/30-compare.js plays it. */
.nf-bp-compare.is-bp-compare-js [data-bp-compare-reveal] { opacity: 0; }
.nf-bp-compare.is-bp-compare-js [data-bp-compare-reveal].is-bp-compare-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .nf-bp-compare.is-bp-compare-js [data-bp-compare-reveal] { opacity: 1; }
}

/* ---------- tablet (810 to 1439.98): table scrolls sideways ---------- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .nf-bp-compare { padding: 40px 0; }
  .nf-bp-compare__header { padding: 0 60px; }
  .nf-bp-compare__scroller {
    gap: 10px;
    padding: 0 60px;
    overflow: auto hidden;
  }
  .nf-bp-compare__table { width: 1816px; }
  .nf-bp-compare__spacer { width: 360px; height: 1px; }
  .nf-bp-compare__cell--label,
  .nf-bp-compare__cell--buy { width: 360px; }
}

/* ---------- phone (<= 809.98): narrower table, equal flexible columns ---------- */
@media (max-width: 809.98px) {
  .nf-bp-compare { gap: 26px; padding: 16px 0; }
  .nf-bp-compare__header { gap: 10px; padding: 0 16px; }
  .nf-bp-compare__title { font-size: 28px; line-height: 1.1em; }
  .nf-bp-compare__lede { font-size: 15px; line-height: 1.3em; letter-spacing: 0.3px; }
  .nf-bp-compare__scroller {
    gap: 10px;
    padding: 0 16px;
    overflow: auto hidden;
  }
  .nf-bp-compare__table { width: min-content; border-radius: 12px; }
  .nf-bp-compare__row--head,
  .nf-bp-compare__row--data { width: 526px; gap: 16px; }
  .nf-bp-compare__spacer { flex: 1 0 0px; width: 1px; height: 1px; }
  .nf-bp-compare__cell,
  .nf-bp-compare__cell--label { flex: 1 0 0px; width: 1px; }
  .nf-bp-compare__cell,
  .nf-bp-compare__group-label { font-size: 14px; line-height: 1.15em; }
  .nf-bp-compare__group-label--lg { font-size: 16px; line-height: 1.2em; }
}

/* Column heads (BUY · Pay once, RENT · Pay monthly) and group labels (Cost, What you get, ...) in the primary green
   (Danny, 2026-10-26); the row labels and values stay white. */
.nf-bp-compare__cell--head,
.nf-bp-compare__group-label { color: #91c851; }
