.bf-pricing {
  color: #181a17;
  background: #f7f7f3;
  padding: clamp(74px, 7.9vw, 118px) 0;
}
.bf-pricing__inner {
  width: min(calc(100% - 2 * var(--gutter, 6vw)), 1320px);
  margin: 0 auto;
}
.bf-pricing__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #53554d;
  font: 650 11px/1.3 ui-monospace, monospace;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.bf-pricing__eyebrow span {
  width: 24px;
  height: 3px;
  background: #c39800;
}
.bf-pricing__intro {
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 38px;
}
.bf-pricing__intro h2, .bf-pricing__intro h1 {
  margin: 0;
  color: inherit;
  font-weight: 650;
  font-size: clamp(49px, 5.8vw, 84px);
  line-height: .99;
  letter-spacing: -.065em;
}
.bf-pricing__intro p {
  margin: 0 0 3px auto;
  max-width: 425px;
  color: #51534b;
  font-size: clamp(15px,1.35vw,19px);
  line-height: 1.55;
}
.bf-billing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.bf-billing[hidden] { display: none; }
.bf-billing__switch {
  display: inline-flex;
  gap: 3px;
  min-inline-size: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid #d7dacd;
  border-radius: 9px;
  background: #e9ebe2;
}
.bf-billing__switch legend, .bf-billing__switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bf-billing__switch label { position: relative; cursor: pointer; }
.bf-billing__switch label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 15px;
  border-radius: 6px;
  color: #464b3c;
  font-size: 14px;
  font-weight: 700;
}
.bf-billing__switch label:hover > span { color: #141710; }
.bf-billing__switch input:checked + span { background: #22251e; color: #fff; }
.bf-billing__switch input:focus-visible + span { outline: 3px solid #b17b00; outline-offset: 2px; }
.bf-billing__switch small {
  border-radius: 4px;
  padding: 3px 6px;
  background: #ffe190;
  color: #3b2b00;
  font-size: 10px;
  font-weight: 760;
  line-height: 1.3;
  white-space: nowrap;
}
.bf-billing__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #383c31;
  font-size: 14px;
  font-weight: 690;
  text-decoration: underline;
  text-decoration-color: #babfae;
  text-underline-offset: 4px;
}
.bf-billing__link svg { transform: rotate(90deg); }
.bf-billing__link:hover { color: #755500; }
.bf-pricing__plans {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.bf-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px,2.1vw,32px);
  border: 1px solid #d9dbd1;
  border-radius: 12px;
  background: #fff;
  --price-muted: #5b5d52;
  --price-border: #d9dbd1;
}
.bf-plan--dark {
  --price-muted: #c5c7ba;
  --price-border: #484a40;
  background: #252820;
  color: #f8f9ee;
  border-color: #252820;
}
.bf-plan h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(18px,1.55vw,25px);
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.bf-plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  margin: 22px 0 5px;
}
.bf-plan__price strong {
  font-weight: 630;
  font-size: clamp(36px,3.4vw,56px);
  line-height: 1;
  letter-spacing: -.065em;
}
.bf-plan__price span { color: var(--price-muted); font-size: 12px; }
.bf-plan__billing {
  min-height: 2.9em;
  margin: 0 0 16px;
  color: var(--price-muted);
  font-size: 12px;
  line-height: 1.45;
}
.bf-plan__allowance {
  display: grid;
  gap: 3px;
  border-block: 1px solid var(--price-border);
  padding: 14px 0;
}
.bf-plan__allowance strong {
  font-size: clamp(14px,1.15vw,17px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.025em;
}
.bf-plan__allowance span { color: var(--price-muted); font-size: 12px; line-height: 1.5; }
.bf-plan__allowance b { color: inherit; font-weight: 650; }
.bf-plan__allowance { align-content: start; min-height: 92px; }
.bf-plan__allowance small {
  color: #675315;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}
.bf-plan--dark .bf-plan__allowance small { color: #f5d67a; }
.bf-plan__includes {
  margin: 18px 0 10px;
  color: inherit;
  font-size: 13px;
  font-weight: 730;
  line-height: 1.45;
}
.bf-plan__features {
  display: grid;
  align-content: start;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.bf-plan__features li {
  position: relative;
  padding-left: 18px;
  color: var(--price-muted);
  font-size: 13px;
  line-height: 1.45;
}
.bf-plan__features li::before {
  position: absolute;
  left: 2px;
  top: .31em;
  content: "";
  width: 4px;
  height: 8px;
  transform: rotate(42deg);
  border: solid #7d650f;
  border-width: 0 1.7px 1.7px 0;
}
.bf-plan--dark .bf-plan__features li::before { border-color: #ffd24a; }
.bf-plan__button {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 39px;
  padding: 9px 12px;
  color: inherit;
  background: transparent;
  border: 1px solid var(--price-border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 690;
  text-align: left;
}
.bf-plan--dark .bf-plan__button, .bf-plan__button:hover {
  color: #17180e;
  background: #fac000;
  border-color: #fac000;
}
.bf-plan--dark .bf-plan__button:hover { background: #ffd12a; }
.bf-estimate[hidden] { display: none; }
.bf-estimate {
  margin: 25px 0 0;
  padding: clamp(18px,3vw,42px);
  background: #eaece4;
  border: 1px solid #d7d9ce;
  border-radius: 14px;
  scroll-margin-top: 90px;
}
.bf-estimate__header {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 20px 32px;
}
.bf-estimate__controls { display: flex; align-items: end; flex-wrap: wrap; gap: 10px 14px; }
.bf-estimate__controls > label { width: min(100%, 160px); }
.bf-estimate__heading { display: flex; align-items: center; gap: 13px; }
.bf-estimate__icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border: 1px solid #c5c8b9;
  border-radius: 8px;
  background: #f7f8f1;
}
.bf-estimate__icon svg { width: 21px; height: 21px; }
.bf-estimate h3, .bf-price-help h3 {
  margin: 0;
  font-size: clamp(25px,2.5vw,39px);
  font-weight: 640;
  line-height: 1.07;
  letter-spacing: -.055em;
}
.bf-estimate__intro, .bf-price-help > div > p {
  margin: 12px 0 22px;
  max-width: 500px;
  color: #55584b;
  font-size: 14px;
  line-height: 1.55;
}
.bf-estimate__intro { margin-bottom: 0; }
.bf-estimate__fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.bf-estimate__fields label, .bf-estimate__controls > label {
  display: block;
  min-width: 0;
  font-size: 12px;
  font-weight: 690;
  line-height: 1.5;
}
.bf-estimate__fields input, .bf-estimate__controls input[type="number"] {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 5px 0 0;
  padding: 8px 11px;
  background: white;
  color: #1c1e17;
  border: 1px solid #b8beac;
  border-radius: 6px;
  line-height: 1.4;
  font-family: inherit;
  font-size: 15px;
  font-weight: 620;
}
.bf-estimate input[aria-invalid="true"] { border-color: #a6422e; }
.bf-estimate__footer {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 0 26px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #c9cfc0;
}
.bf-estimate__options { grid-column: 1; grid-row: 1; max-width: 570px; }
.bf-estimate__options summary, .bf-price-help summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 15px;
  font-size: 14px;
  font-weight: 680;
  cursor: pointer;
  line-height: 1.5;
}
.bf-estimate__options summary { min-height: 38px; justify-content: start; }
.bf-estimate__options summary::-webkit-details-marker, .bf-price-help summary::-webkit-details-marker { display: none; }
.bf-estimate__options summary > span, .bf-price-help summary > span {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.bf-estimate__options summary > span::before, .bf-estimate__options summary > span::after,
.bf-price-help summary > span::before, .bf-price-help summary > span::after {
  position: absolute;
  top: 6px;
  left: 0;
  content: "";
  height: 1.5px;
  width: 13px;
  background: currentColor;
}
.bf-estimate__options summary > span::after, .bf-price-help summary > span::after { transform: rotate(90deg); }
.bf-estimate__options[open] summary > span::after, .bf-price-help details[open] summary > span::after { transform: none; }
.bf-estimate__fields--extras { margin-top: 14px; }
.bf-estimate__fields--extras small {
  display: block; color: #575c4b; font-size: 11px; font-weight: 500;
}
.bf-estimate__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  cursor: pointer;
}
.bf-estimate__brand input { width: 16px; height: 16px; margin: 0; accent-color: #343b24; }
.bf-estimate__brand strong { font-size: 12px; font-weight: 570; margin-left: auto; }
.bf-estimate__note { grid-column: 1; margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #414739; }
.bf-estimate__note:empty { margin: 0; }
.bf-estimate__contact {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  min-height: 38px;
  padding: 5px 0;
  color: #282d22;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-decoration-color: #888f7d;
  text-underline-offset: 4px;
  font-size: 13px;
  font-weight: 670;
}
.bf-estimate__contact[hidden] { display: none; }
.bf-estimate__contact:hover { color: #69500b; }
.bf-price-help {
  display: grid;
  grid-template-columns: minmax(0,.7fr) minmax(0,1.2fr);
  gap: clamp(25px,6vw,90px);
  margin-top: clamp(46px,5.7vw,86px);
}
.bf-price-help details { border-bottom: 1px solid #cdcec3; }
.bf-price-help details:first-child { border-top: 1px solid #cdcec3; }
.bf-price-help summary { padding: 17px 2px; font-size: 15px; }
.bf-price-help details > p { max-width: 690px; margin: -1px 0 20px; color: #53564c; font-size: 14px; line-height: 1.6; }
@media (max-width: 1000px) {
  .bf-pricing__plans { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bf-plan { padding: 22px; }
  .bf-plan__price { margin: 18px 0 5px; }
  .bf-estimate__header { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
  .bf-pricing__intro { grid-template-columns: 1fr; gap: 15px; margin-bottom: 26px; }
  .bf-pricing__intro p { margin-left: 0; }
  .bf-pricing__plans { gap: 9px; }
  .bf-plan { padding: 16px 13px; }
  .bf-plan__button { font-size: 12px; }
  .bf-estimate__fields { gap: 9px; }
  .bf-estimate__fields input { padding-inline: 8px; }
  .bf-price-help { grid-template-columns: 1fr; gap: 10px; }
  .bf-price-help > div > p { margin-bottom: 8px; }
}
@media (max-width: 520px) {
  .bf-pricing__plans { grid-template-columns: 1fr; gap: 12px; }
  .bf-plan { padding: 20px; }
  .bf-plan__billing { min-height: 0; }
  .bf-plan__price { margin-top: 15px; }
  .bf-plan__features { gap: 6px; margin-bottom: 18px; }
  .bf-plan__allowance { min-height: 0; padding-block: 12px; }
  .bf-billing { align-items: flex-start; gap: 3px; flex-direction: column; }
  .bf-billing__link { font-size: 13px; }
}
@media (max-width: 365px) {
  .bf-estimate__fields { grid-template-columns: 1fr; }
  .bf-estimate__heading { align-items: flex-start; }
}
.estimate-comparison { margin-top: clamp(24px,2.6vw,38px); }
.estimate-comparison h4 {
  margin: 0 0 10px;
  font-size: clamp(17px,1.4vw,21px);
  font-weight: 700;
  letter-spacing: -.035em;
}
.estimate-comparison dl {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  margin: 0;
}
.estimate-comparison__plan {
  min-width: 0;
  padding: clamp(13px,1.5vw,22px);
  background: #fff;
  border: 1px solid #cfd5c7;
  border-radius: 10px;
  color: #20231c;
  --tile-muted: #555b4d;
}
.estimate-comparison__plan.is-lowest {
  background: #22251f;
  border-color: #22251f;
  color: #fafbf4;
  --tile-muted: #d3d6c9;
}
.estimate-comparison dt { font-size: 14px; font-weight: 670; color: inherit; }
.estimate-comparison dd { margin: 0; }
.estimate-comparison__plan .estimate-comparison__price {
  margin-top: 5px;
  font-size: clamp(24px,2.45vw,38px);
  font-weight: 670;
  letter-spacing: -.055em;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.estimate-comparison__plan.is-lowest .estimate-comparison__price { color: #ffd046; }
.estimate-comparison__plan .estimate-comparison__detail { margin-top: 7px; color: var(--tile-muted); font-size: 12px; line-height: 1.45; }
.estimate-comparison__plan .estimate-comparison__badge {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 7px;
  border: 1px solid #687156;
  border-radius: 5px;
  color: #eff4df;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}
.bf-price-help__items p a { text-decoration: underline; text-underline-offset: 2px; }
@media(max-width:740px) { .estimate-comparison dl { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) {
  .bf-estimate__controls > label { width: 100%; }
  .bf-estimate__controls input[type="number"], .bf-estimate__fields input { font-size: 16px; }
  .bf-estimate__footer { grid-template-columns: 1fr; }
  .bf-estimate__contact { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .bf-estimate__options summary { justify-content: space-between; }
  .estimate-comparison dl { gap: 7px; }
}
