.bbtools-page {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  padding: 28px 20px 72px;
  color: #263746;
}

.bbtools-page * {
  box-sizing: border-box;
}

.bbtools-page h1, .bbtools-page h2, .bbtools-page h3 {
  font-family: "Zen Maru Gothic",sans-serif;
  line-height: 1.4;
}

.bbtools-page h1 {
  font-size: clamp(30px,2.6vw,36px);
  font-weight: 700;
  margin: 8px 0 18px;
}

.bbtools-page h2 {
  font-size: clamp(24px,2.6vw,31px);
  font-weight: 700;
  margin: 5px 0 24px;
}

.bbtools-page h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px;
}

.bbtools-page p {
  line-height: 1.85;
}

.bbtools-page a:not(.bbtools-button) {
  color: #245f8b;
  text-decoration: underline;
}

.bbtools-eyebrow {
  color: #245f8b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.bbtools-hero, .bbtools-section, .bbtools-final {
  background: #fff;
  border: 1px solid #c8d8e2;
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(36,95,139,.07);
}

.bbtools-hero {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: 34px;
  align-items: center;
  border-top: 5px solid #479cd7;
  padding: 48px 34px;
}

.bbtools-hero-copy, .bbtools-hero-visual {
  min-width: 0;
}

.bbtools-hero-copy>p:not(.bbtools-eyebrow) {
  margin-bottom: 13px;
}

.bbtools-lead {
  font-size: 18px;
  font-weight: 700;
}

.bbtools-button {
  display: inline-block;
  background: #bd1e21;
  color: #fff!important;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  padding: 15px 25px;
  margin-top: 12px;
  box-shadow: 0 4px 0 #861517;
}

.bbtools-button:hover, .bbtools-button:focus {
  background: #9b191c;
}

.bbtools-hero-visual {
  margin: 0;
}

.bbtools-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d0dce4;
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(30,62,85,.12);
}

.bbtools-hero-visual figcaption {
  font-size: 12px;
  color: #627585;
  margin-top: 10px;
  text-align: center;
}

.bbtools-table-wrap {
  min-width: 0;
}

.bbtools-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #d5e2ea;
  border-radius: 10px;
}

.bbtools-compare th, .bbtools-compare td {
  padding: 17px 18px;
  text-align: left;
  border-bottom: 1px solid #d5e2ea;
  line-height: 1.6;
}

.bbtools-compare thead th {
  background: #e7f3fa;
  color: #245f8b;
  font-weight: 700;
}

.bbtools-compare tbody th {
  font-weight: 700;
}

.bbtools-compare tbody td:last-child {
  background: #f4f9fc;
  font-weight: 700;
  color: #245f8b;
}

.bbtools-compare tbody tr:last-child>* {
  border-bottom: 0;
}

.bbtools-audience {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 24px;
  background: #eaf4fa;
}

.bbtools-audience ul {
  display: grid;
  gap: 10px;
}

.bbtools-audience li {
  position: relative;
  padding-left: 24px;
  line-height: 1.6;
}

.bbtools-audience li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #245f8b;
  font-weight: 700;
}

/* Usage guide and non-submitting application preview */
.bbtools-usage-intro { color: #526575; margin-bottom: 28px; }
.bbtools-steps { display: grid; gap: 26px; list-style: none; padding: 0; margin: 0; }
.bbtools-steps li { display: flex; align-items: flex-start; gap: 18px; }
.bbtools-steps li > span { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #e7f3fa; color: #245f8b; font-weight: 700; }
.bbtools-steps li > div { min-width: 0; }
.bbtools-steps h3 { margin-bottom: 8px; }
.bbtools-steps p { font-size: 16px; margin: 0; }
.bbtools-application { border-top: 1px solid #d5e2ea; margin-top: 32px; padding-top: 30px; }
.bbtools-application h3 { font-size: 23px; margin-bottom: 24px; }
.bbtools-field { margin-bottom: 18px; }
.bbtools-field label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.bbtools-field label span { margin-left: 8px; color: #a91b1e; font-size: 14px; }
.bbtools-field label .bbtools-optional { color: #526575; font-weight: 400; }
.bbtools-field input, .bbtools-field textarea { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid #b9cbd7; border-radius: 24px; padding: 12px 18px; background: #fff; color: #263746; font: inherit; font-size: 16px; line-height: 1.6; }
.bbtools-field textarea { border-radius: 12px; resize: vertical; }
.bbtools-field input::placeholder, .bbtools-field textarea::placeholder { color: #718391; opacity: 1; }
.bbtools-field input:focus-visible, .bbtools-field textarea:focus-visible { outline: 2px solid #245f8b; outline-offset: 3px; }
.bbtools-application-submit { width: 100%; min-height: 48px; padding: 14px 20px; border: 0; border-radius: 28px; background: #edf0f2; color: #60717e; font: inherit; font-size: 16px; line-height: 1.6; white-space: normal; cursor: not-allowed; }
.bbtools-application #application-status { margin: 12px 0 0; color: #526575; font-size: 14px; }
.bbtools-start-action { text-align: center; margin: 0 0 32px; }
.bbtools-install-notices { border-top: 1px solid #d5e2ea; padding-top: 26px; }
.bbtools-install-notices h3:not(:first-child) { margin-top: 26px; }
.bbtools-install-notices p { margin: 0 0 12px; font-size: 16px; }
@media(max-width:600px) {
  .bbtools-steps li { gap: 12px; }
  .bbtools-steps h3 { font-size: 18px; }
  .bbtools-application h3 { font-size: 21px; }
}

.bbtools-faq details {
  border-top: 1px solid #d5e2ea;
  padding: 17px 0;
}

.bbtools-faq details:last-child {
  border-bottom: 1px solid #d5e2ea;
}

.bbtools-faq summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.5;
  padding-right: 15px;
}

.bbtools-faq p {
  margin: 12px 0 0 20px;
  font-size: 14px;
}

.bbtools-final {
  text-align: center;
  background: #eaf4fa;
  padding: 43px 25px;
}

.bbtools-final h2 {
  margin: 5px 0 18px;
}

@media(max-width:800px) {
  .bbtools-hero {
    grid-template-columns: 1fr;
  }

  .bbtools-steps {
    grid-template-columns: 1fr;
  }

  .bbtools-audience {
    grid-template-columns: 1fr;
  }

  .bbtools-hero-visual {
    max-width: 700px;
    margin: auto;
  }

}

@media(max-width:600px) {
  .bbtools-page {
    padding: 16px 12px 44px;
  }

  .bbtools-hero, .bbtools-section, .bbtools-final {
    padding: 24px 18px;
  }

  .bbtools-hero {
    gap: 25px;
    padding-top: 31px;
  }

  .bbtools-page h1 {
    font-size: clamp(27px,7.2vw,34px);
  }

  .bbtools-button {
    width: 100%;
  }

  .bbtools-compare, .bbtools-compare tbody, .bbtools-compare tr, .bbtools-compare th, .bbtools-compare td {
    display: block;
    width: 100%;
  }

  .bbtools-compare {
    border: 0;
    overflow: visible;
  }

  .bbtools-compare thead {
    display: none;
  }

  .bbtools-compare tr {
    background: #fff;
    border: 1px solid #d5e2ea;
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 12px;
  }

  .bbtools-compare th, .bbtools-compare td {
    border: 0;
    padding: 10px 15px;
  }

  .bbtools-compare tbody th {
    background: #e7f3fa;
    color: #245f8b;
  }

  .bbtools-compare td:before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #647683;
    margin-bottom: 3px;
  }

  .bbtools-compare tbody td:last-child {
    background: #f4f9fc;
  }

  .bbtools-final {
    padding-top: 34px;
    padding-bottom: 34px;
  }

}

/* BBtools feature walkthroughs and video placeholders */
.bbtools-features {
  padding-bottom: 12px;
}

.bbtools-feature {
  background: transparent;
  border-top: 1px solid #d5e2ea;
  border-radius: 0;
  padding: 32px 0 40px;
}

.bbtools-feature-number {
  color: #245f8b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 6px;
}

.bbtools-feature h3 {
  color: #245f8b;
  font-size: clamp(26px, 2.8vw, 32px);
  margin-bottom: 8px;
}

.bbtools-feature .bbtools-feature-summary {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(18px, 1.9vw, 21px);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 20px;
}

.bbtools-feature-description {
  max-width: 760px;
}

.bbtools-feature-description p {
  font-size: 16px;
  margin: 0 0 12px;
}

.bbtools-video-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 840px;
  margin: 24px auto 0;
  border: 1px solid #c8d8e2;
  border-radius: 10px;
  background: #edf4f8;
  color: #586f80;
  text-align: center;
}

.bbtools-video-placeholder span {
  font-weight: 700;
  letter-spacing: .06em;
}

@media (max-width: 600px) {
  .bbtools-feature {
    padding: 27px 0 32px;
  }

  .bbtools-video-placeholder {
    margin-top: 20px;
  }

}

/* Active application button; deployment gate keeps it disabled by default. */
.bbtools-application-submit:not(:disabled) { background: #bd1e21; color: #fff; cursor: pointer; }
.bbtools-application-submit:not(:disabled):hover { background: #9b191c; }
.bbtools-application-submit:focus-visible { outline: 2px solid #245f8b; outline-offset: 3px; }

/* Shared section labels: the requested seven locations only. */
.bbtools-page :is(.bbtools-hero, .bbtools-features, .bbtools-audience, [aria-labelledby="compare-title"]) .bbtools-eyebrow,
.bbtools-page .bbtools-feature-number {
  position: relative;
  display: block;
  width: fit-content;
  max-width: calc(100% - 40px);
  margin: 0 0 20px;
  padding: 8px 14px;
  border: 1px solid #d2e6f2;
  border-radius: 10px;
  background: #eaf4fb;
  color: #194e75;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(16px, 1.75vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .025em;
  overflow-wrap: break-word;
}

.bbtools-page :is(.bbtools-hero, .bbtools-features, .bbtools-audience, [aria-labelledby="compare-title"]) .bbtools-eyebrow::after,
.bbtools-page .bbtools-feature-number::after {
  content: "";
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: #9cc4df;
}

@media (max-width: 600px) {
  .bbtools-page :is(.bbtools-hero, .bbtools-features, .bbtools-audience, [aria-labelledby="compare-title"]) .bbtools-eyebrow,
  .bbtools-page .bbtools-feature-number {
    max-width: calc(100% - 30px);
    margin-bottom: 16px;
    padding: 7px 10px;
    font-size: 17px;
    letter-spacing: 0;
  }
  .bbtools-page :is(.bbtools-hero, .bbtools-features, .bbtools-audience, [aria-labelledby="compare-title"]) .bbtools-eyebrow::after,
  .bbtools-page .bbtools-feature-number::after {
    left: calc(100% + 8px);
    width: 20px;
  }
}
