/* Standalone pages retain the homepage's shared responsive styles and frame. */
html[data-by5-page] .by5-page-title { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Canvas and type from Main By5.css; bright controls use the reference's lime/forest pair. */
html[data-by5-page="help"] body.by5-unified-homepage #main > #by5-help-page {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - var(--by5-header-scroll-offset, 122px) + 16px);
  min-height: calc(100svh - var(--by5-header-scroll-offset, 122px) + 16px);
  margin: 0;
  padding: 48px clamp(20px, 4vw, 64px) 64px;
  background: var(--by5-bg-gradient, linear-gradient(135deg, #f3efe6 0%, #e1ece7 100%)) !important;
  background-attachment: fixed !important;
  color: var(--by5-text-dark, #182323);
  font-family: Inter, Arial, sans-serif;
}
#by5-help-page .by5-help-inner { max-width: 1600px; margin: 0 auto; }
#by5-help-page #by5-help-title { margin: 0 0 32px; font: 900 40px/1.1 Inter, Arial, sans-serif; letter-spacing: -.04em; text-align: left; }
#by5-help-page .by5-help-buttons { display: flex; flex-wrap: wrap; gap: 24px; align-items: start; }

/* One rule supplies the same appearance to all six return links and all four Help links. */
html body.by5-unified-homepage #main a.by5-bright-link-button,
html body.by5-unified-homepage #main #metrics-section :is(#story-01, #story-02, #story-03, #story-04, #story-05, #story-06) a.by5-bright-link-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 260px;
  max-width: 100%;
  min-height: 60px;
  padding: 15px 26px;
  border: 4px solid #173c32;
  border-radius: 5px !important;
  background: #d1ef41;
  color: #173c32 !important;
  box-shadow: none;
  opacity: 1;
  font: 750 18px/1.5 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
html body.by5-unified-homepage #main a.by5-bright-link-button:is(:hover, :focus-visible),
html body.by5-unified-homepage #main #metrics-section :is(#story-01, #story-02, #story-03, #story-04, #story-05, #story-06) a.by5-bright-link-button:is(:hover, :focus-visible) {
  background: #173c32;
  color: #d1ef41 !important;
  text-decoration: none;
}
html body.by5-unified-homepage #main a.by5-bright-link-button:focus-visible { outline: 3px solid #008ba4; outline-offset: 4px; }
html body.by5-unified-homepage #main #metrics-section #story-02 .stage-topbar { flex-wrap: wrap; gap: 16px; }
@media (max-width: 600px) {
  #by5-help-page .by5-help-buttons { flex-direction: column; }
  html body.by5-unified-homepage #main #metrics-section :is(#story-01, #story-02, #story-03, #story-04, #story-05, #story-06) a.by5-bright-link-button {
    position: static;
    inset: auto;
    margin: 0 0 24px auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body.by5-unified-homepage #main a.by5-bright-link-button,
  html body.by5-unified-homepage #main #metrics-section :is(#story-01, #story-02, #story-03, #story-04, #story-05, #story-06) a.by5-bright-link-button { transition: none; }
}

/* Numeric card labels were removed; keep module badges aligned above the feature titles. */
html body.by5-unified-homepage #main #metrics-section .reference-feature-cards .feature-head { justify-content: flex-end; }
html body.by5-unified-homepage #main #metrics-section .reference-feature-cards h4.feature-lead { margin-top: 0; }
html body.by5-unified-homepage #main #metrics-section #feature-list .quotation-feature-cards > summary {
  flex-wrap: wrap;
}
html body.by5-unified-homepage #main #metrics-section #feature-list .by5-ai-generated-badge {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: 750 14px/1.3 Inter, Arial, sans-serif;
  white-space: nowrap;
}

/* The homepage detail action opens the App Software page. */
html body.by5-unified-homepage #main #by5-benefits-overview a.by5-app-detail-cta {
  width: max-content;
  max-width: 100%;
  min-height: 60px;
  padding: 15px 26px;
  border: 4px solid #173c32;
  background: #d1ef41;
  color: #173c32 !important;
  font: 750 18px/1.5 Inter, Arial, sans-serif;
}
html body.by5-unified-homepage #main #by5-benefits-overview a.by5-app-detail-cta:is(:hover, :focus-visible) {
  background: #173c32;
  color: #d1ef41 !important;
}
html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) > .by5-software-benefits {
  background: transparent;
  margin-top: -72px;
}
html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) #metrics-section #advantages #by5-features-title {
  max-width: none;
  margin-inline: auto;
  font-weight: 900;
  text-align: center;
}
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages #by5-features-title {
  margin-top: -24px;
  margin-bottom: 0;
  text-align: center;
}
@media (max-width: 767px) {
  html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) > .by5-software-benefits { margin-top: -40px; }
}
@media print {
  html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) > .by5-software-benefits { margin-top: 0; }
}

/* Match the two marked panels; the four benefit labels retain plain text. */
html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) #metrics-section #advantages :is(.pillar-card.featured-pillar, .workspace-card) {
  background: var(--by5-teal, #0f3d3e);
  border-color: var(--by5-teal-dark, #0a2b2c);
  color: #ffffff;
}
html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) #metrics-section #advantages .pillar-pill {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  color: inherit;
}
html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) #metrics-section #advantages .workspace-card :is(.workspace-title, .workspace-meta) {
  color: #ffffff;
}
html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) #metrics-section #advantages .workspace-card .enquiry-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) #metrics-section #advantages .workspace-card :is(.ai-banner, .mini-status-box, .control-box) {
  color: var(--by5-text-dark, #182323);
}

/* Editable label replaces the artwork's original feature action. */
html body.by5-unified-homepage #main #metrics-section #story-01 .story-art.by5-story-image-panel {
  container-type: inline-size;
}
html body.by5-unified-homepage #main #metrics-section #story-01 a.by5-explore-features-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--by5-teal, #0f3d3e);
  color: #ffffff;
  font: 750 clamp(9px, 2cqw, 18px)/1.2 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}
html body.by5-unified-homepage #main #metrics-section #story-01 a.by5-explore-features-button:hover {
  background: var(--by5-teal-dark, #0a2b2c);
}

/* Bring the filter panel towards the heading on wide screens. */
@media (min-width: 1100px) {
  html body.by5-unified-homepage #main #metrics-section #by5-core-features.module-section {
    grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
  }
}
html body.by5-unified-homepage #main #metrics-section #by5-core-features .filters > .feature-search-field {
  position: relative;
  grid-column: 1 / -1;
  min-width: 0;
}
html body.by5-unified-homepage #main #metrics-section #by5-core-features .feature-search-field > label { display: block; }
html body.by5-unified-homepage #main #metrics-section #by5-core-features #feature-query {
  min-height: 50px;
  padding-right: 52px;
}
html body.by5-unified-homepage #main #metrics-section #by5-core-features #feature-query::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
html body.by5-unified-homepage #main #metrics-section #by5-core-features #feature-clear {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--by5-teal, #0f3d3e);
  font: 600 26px/1 Inter, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
html body.by5-unified-homepage #main #metrics-section #by5-core-features #feature-clear:hover { background: #e2f5ee; }
html body.by5-unified-homepage #main #metrics-section #feature-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--by5-teal, #0f3d3e);
  color: #ffffff;
  font: 600 28px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}
html body.by5-unified-homepage #main #metrics-section #feature-expand:hover { background: var(--by5-teal-dark, #0a2b2c); }
html body.by5-unified-homepage #main #metrics-section #feature-expand:disabled { opacity: .5; cursor: default; }
html body.by5-unified-homepage #main #metrics-section :is(#feature-expand, #feature-clear):focus-visible {
  outline: 3px solid var(--by5-gold, #e5b869);
  outline-offset: 3px;
}

/* Linked feature totals sit centred above their corresponding ascending cards. */
html body.by5-unified-homepage #main #metrics-section #by5-core-features .module-row { padding-top: 64px; }
html body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item {
  --module-step: 0px;
  position: relative;
  min-width: 0;
  transform: translateY(var(--module-step));
}
html body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item[data-module-item="Quotes"] { --module-step: 84px; }
html body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item[data-module-item="Jobs"] { --module-step: 58px; }
html body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item[data-module-item="Coin"] { --module-step: 42px; }
html body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item[data-module-item="Communications"] { --module-step: 20px; }
html body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item > .module-tile {
  width: 100%;
  transform: none;
}
html body.by5-unified-homepage #main #metrics-section #by5-core-features a.module-count-link {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--by5-border);
  border-radius: 999px;
  background: var(--by5-bg-mint, #e1ece7);
  color: var(--by5-teal-dark, #0a2b2c);
  font: 800 18px/1.3 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
html body.by5-unified-homepage #main #metrics-section #by5-core-features a.module-count-link:hover {
  background: var(--by5-teal, #0f3d3e);
  color: #ffffff;
}
html body.by5-unified-homepage #main #metrics-section #by5-core-features a.module-count-link:focus-visible {
  outline: 3px solid var(--by5-teal);
  outline-offset: 4px;
}
@media (max-width: 1000px) {
  html body.by5-unified-homepage #main #metrics-section #by5-core-features .module-row { gap: 84px 20px; }
  html body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item[data-module-item] { --module-step: 0px; }
}

/* Compact, right-aligned photos match the marked Trades image area. */
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer img {
  width: 70%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-left: auto;
  object-fit: cover;
  align-self: flex-end;
}
@media (max-width: 1023px) {
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer img { width: 100%; }
}

/* Trade names are smaller text links without button frames or underlines. */
html body.by5-unified-homepage #main #bs-trade-finder a.trade-chip-card,
html body.by5-unified-homepage #main #bs-trade-finder a.trade-chip-card:is(:hover, :focus-visible, [aria-current="true"]) {
  min-height: 28px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--by5-text-muted, #4e5d5d);
  font: 500 12px/1.5 Inter, Arial, sans-serif;
  text-decoration: none;
  transform: none;
}
html body.by5-unified-homepage #main #bs-trade-finder a.trade-chip-card:is(:hover, [aria-current="true"]) { color: var(--by5-teal); }
html body.by5-unified-homepage #main #bs-trade-finder a.trade-chip-card[aria-current="true"] { font-weight: 700; }

html body.by5-unified-homepage #main #bs-trade-finder .trade-weekly-intro .trade-admin-hours {
  padding: 2px 6px;
  border-radius: 3px;
  background: #d1ef41;
  color: #173c32;
  font-weight: 800;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The marked return button shows the complete customer-journey wording. */
html body.by5-unified-homepage #main :is(#bs-management-software, #bs-back-office) #metrics-section #story-06 a.by5-journey-return {
  width: max-content;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Back Office starts below the shared header, independently of App Software. */
html[data-by5-page="back-office"] body.by5-unified-homepage #main > #bs-back-office {
  box-sizing: border-box;
  padding: 0 24px;
  background: transparent;
  color: var(--by5-text-dark);
  font-family: Inter, Arial, sans-serif;
}
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office > .by5-software-benefits { margin-top: 0; }
html body.by5-unified-homepage #main #bs-free-quotes-hero .benefit-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 320px;
  max-width: 100%;
  margin: 48px auto 0;
}
html body.by5-unified-homepage #main #bs-free-quotes-hero .benefit-actions a.by5-benefit-destination-cta {
  width: 320px;
  max-width: 100%;
  min-height: 60px;
  padding: 15px 26px;
  border: 4px solid var(--by5-teal, #0f3d3e);
  border-radius: 5px !important;
  background: var(--by5-teal, #0f3d3e);
  color: #ffffff !important;
  font: 750 14px/1.5 Inter, Arial, sans-serif;
}
html body.by5-unified-homepage #main #bs-free-quotes-hero .benefit-actions a.by5-benefit-destination-cta:is(:hover, :focus-visible) {
  border-color: var(--by5-teal-dark, #0a2b2c);
  background: var(--by5-teal-dark, #0a2b2c);
  color: #ffffff !important;
}
html body.by5-unified-homepage #main #bs-free-quotes-hero .benefit-actions a.by5-benefit-destination-cta:nth-child(2) {
  border-color: var(--by5-gold, #e5b869);
  background: var(--by5-gold, #e5b869);
  color: #142b2c !important;
}
html body.by5-unified-homepage #main #bs-free-quotes-hero .benefit-actions a.by5-benefit-destination-cta:nth-child(2):is(:hover, :focus-visible) {
  border-color: #d9aa4f;
  background: #d9aa4f;
  color: #142b2c !important;
}
html body.by5-unified-homepage #main #metrics-section #by5-scenarios > .by5-scenario-back {
  display: flex;
  justify-content: flex-end;
  max-width: 1240px;
  margin: 96px auto;
  padding: 0 30px;
}
html body.by5-unified-homepage #main #metrics-section .by5-scenario-back a {
  color: var(--by5-teal);
  font: 700 14px/1.5 Inter, Arial, sans-serif;
  text-decoration: none;
}
html body.by5-unified-homepage #main #metrics-section .by5-scenario-back a:hover { text-decoration: underline; }

/* Compact copies keep module navigation beside the results and collapse control. */
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library .results-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
html body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-module-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  justify-self: center;
  width: 100%;
  max-width: 720px;
  min-width: 0;
}
html body.by5-unified-homepage #main #metrics-section #by5-feature-library a.feature-module-shortcut {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 86px;
  padding: 8px 6px;
  border: 1px solid var(--by5-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--by5-teal-dark, #0a2b2c);
  box-shadow: 0 3px 8px rgba(15, 61, 62, .06);
  font: 750 13px/1.2 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}
html body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-module-shortcut .icon {
  width: 20px;
  height: 20px;
  margin: 0;
}
html body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-module-shortcut strong {
  max-width: 100%;
  font: inherit;
  overflow-wrap: anywhere;
}
html body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-shortcut-count {
  font: 700 12px/1.3 Inter, Arial, sans-serif;
  white-space: nowrap;
}
html body.by5-unified-homepage #main #metrics-section #by5-feature-library a.feature-module-shortcut:is(:hover, [aria-current="true"]) {
  border-color: var(--by5-gold);
  background: var(--by5-teal);
  color: #ffffff;
}
html body.by5-unified-homepage #main #metrics-section #by5-feature-library a.feature-module-shortcut:focus-visible {
  outline: 3px solid var(--by5-gold);
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library .results-bar { grid-template-columns: minmax(0, 1fr) 44px; }
  html body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-module-shortcuts { grid-column: 1 / -1; grid-row: 2; }
  html body.by5-unified-homepage #main #metrics-section #feature-expand { grid-column: 2; grid-row: 1; }
}
@media (max-width: 520px) {
  html body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-module-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Taller shared navigation follows the marked header height. */
html body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .navigation {
  min-height: 96px;
  padding-block: 18px;
}
@media (min-width: 901px) {
  html body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .navigation {
    min-height: 144px;
    padding-block: 24px;
  }
}

/* Trade summaries fill the left space beside the compact photo. */
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer.is-active {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 70fr);
  grid-template-rows: auto auto;
  align-items: start;
}
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .trade-image-summary {
  box-sizing: border-box;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 24px 20px;
  color: var(--by5-text-dark);
  font: 400 14px/1.6 Inter, Arial, sans-serif;
  text-align: left;
}
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .caption-title {
  margin: 0 0 4px;
  font: 800 20px/1.3 Inter, Arial, sans-serif;
}
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .caption-sub {
  margin: 0 0 24px;
  font: 400 12.8px/1.5 Inter, Arial, sans-serif;
}
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary h4 {
  margin: 0 0 10px;
  font: 650 20px/1.3 Inter, Arial, sans-serif;
}
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .trade-weekly-intro { margin: 0; }
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: auto;
  margin: 0;
  align-self: start;
}
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .image-caption-overlay {
  grid-column: 1 / -1;
  grid-row: 2;
}
html body.by5-unified-homepage #main #bs-trade-finder .image-caption-overlay .window-weekly-overhead { margin-top: 0; }
@media (max-width: 1023px) {
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer.is-active { grid-template-columns: minmax(0, 1fr); }
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > img { grid-column: 1; grid-row: 2; }
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .image-caption-overlay { grid-row: 3; }
}

/* Pricing uses the homepage canvas, with the requested extra space above and below. */
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing.bs-pricing-equalized {
  background: var(--by5-bg-gradient, linear-gradient(135deg, #f3efe6 0%, #e1ece7 100%)) !important;
  background-attachment: fixed !important;
}
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing #pricing .by5-pricing-grid { margin-top: 96px; }
html[data-by5-page="plans"] body.by5-unified-homepage #main { padding-bottom: 40px !important; }

/* The wider homepage text column starts near the marked upper guide. */
@media (min-width: 901px) {
  html body.by5-unified-homepage #main > #bs-free-quotes-hero.bs-field-management-hero {
    grid-template-columns: minmax(0, 37fr) minmax(0, 63fr);
  }
  html body.by5-unified-homepage #main > #bs-free-quotes-hero .bs-home-hero-photo {
    inset: 0 0 0 37%;
    width: 63%;
  }
  html body.by5-unified-homepage #main > #bs-free-quotes-hero .bs-home-hero-content {
    align-self: start;
    padding-top: 60px;
  }
}

html body.by5-unified-homepage #main #bs-free-quotes-hero .benefit-actions a.by5-scenario-cta {
  border-color: var(--by5-mint, #68d3a8);
  background: var(--by5-mint, #68d3a8);
  color: #142b2c !important;
}
html body.by5-unified-homepage #main #bs-free-quotes-hero .benefit-actions a.by5-scenario-cta:is(:hover, :focus-visible) {
  border-color: #4cbf93;
  background: #4cbf93;
  color: #142b2c !important;
}

html body.by5-unified-homepage #main #bs-office-workflow .workflow-header { margin-bottom: 88px; }

/* Distinct By5 colours distinguish Capture, Review and Automate. */
html body.by5-unified-homepage #main #bs-office-workflow .step-card:nth-child(1) {
  background: var(--by5-mint, #68d3a8);
  border-color: var(--by5-teal);
  color: var(--by5-teal-dark);
}
html body.by5-unified-homepage #main #bs-office-workflow .step-card:nth-child(2) {
  background: var(--by5-gold, #e5b869);
  border-color: var(--by5-teal);
  color: var(--by5-teal-dark);
}
html body.by5-unified-homepage #main #bs-office-workflow .step-card:nth-child(3) {
  background: var(--by5-teal, #0f3d3e);
  border-color: var(--by5-teal-dark);
  color: #ffffff;
}
html body.by5-unified-homepage #main #bs-office-workflow .step-card:nth-child(-n+2) :is(.step-label, .step-heading, .step-text) { color: var(--by5-teal-dark); }
html body.by5-unified-homepage #main #bs-office-workflow .step-card:nth-child(3) :is(.step-label, .step-heading, .step-text) { color: #ffffff; }
html body.by5-unified-homepage #main #bs-office-workflow .step-card:nth-child(2) .step-badge { background: var(--by5-teal); color: #ffffff; }
html body.by5-unified-homepage #main #bs-office-workflow .step-card:nth-child(3) .step-badge { background: var(--by5-mint); color: var(--by5-teal-dark); }

/* Plain return links sit on the right after each marked Back Office story. */
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-back-to-top-row {
  box-sizing: border-box;
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 1180px;
  margin: 24px auto 0;
  text-align: right;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-back-to-top-row a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--by5-teal);
  font: 700 14px/1.5 Inter, Arial, sans-serif;
  text-decoration: none;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-back-to-top-row a:hover { text-decoration: underline; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-back-to-top-row a:focus-visible {
  outline: 3px solid var(--by5-teal);
  outline-offset: 3px;
}

/* Every Back Office journey uses the same compact six-link layout. */
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-journey {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 6px;
  width: 100%;
  max-width: 520px;
  margin: 24px 0 48px;
  padding: 0;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-journey .rail-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 64px;
  padding: 4px 0;
  color: var(--by5-text-dark);
  font: 400 12px/1.4 Inter, Arial, sans-serif;
  text-align: left;
  text-decoration: none;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-journey .round {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-journey .icon { width: 32px; height: 32px; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-journey .rail-link:is(:hover, :focus-visible) { color: var(--by5-teal); }
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-journey .rail-link:focus-visible {
  outline: 3px solid var(--by5-teal);
  outline-offset: 3px;
}

/* Mint, gold and teal give the interactive Reply preview clearer visual accents. */
@media (min-width: 901px) {
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .by5-reply-copy {
    align-self: start;
    padding-top: 0;
  }
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .by5-reply-copy > .by5-story-journey { margin: -4px 0 48px; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .by5-reply-copy .rail-link { font-size: 12px; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .by5-reply-copy > .by5-story-journey { gap: 6px; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .by5-reply-copy .rail-link,
html body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .by5-heading-journey .rail-link {
  align-items: flex-start;
  padding-inline: 0;
  text-align: left;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .by5-heading-journey {
  margin: 24px auto 32px;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .by5-heading-journey .rail-link {
  align-items: center;
  text-align: center;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .stage-box {
  background: linear-gradient(145deg, #e0f5ec, #f5f0df);
  border: 2px solid var(--by5-teal, #0f3d3e);
  box-shadow: 0 14px 36px rgba(15, 61, 62, .12);
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .chat-card {
  border-color: #68d3a8;
  border-top: 4px solid var(--by5-teal, #0f3d3e);
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .avatar-circle {
  background: var(--by5-teal, #0f3d3e);
  color: #ffffff;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .customer-bubble {
  background: #fff0cb;
  border-left: 3px solid var(--by5-gold, #e5b869);
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .ai-draft-box {
  background: #dbf5e9;
  border-color: #35997b;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .ai-draft-box[contenteditable="true"] { background: #ffffff; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .benefit-pill:nth-child(1) {
  background: #b9efdb;
  border-color: #35997b;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .benefit-pill:nth-child(2) {
  background: #f4d898;
  border-color: #b5862e;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .benefit-pill:nth-child(3) {
  background: var(--by5-teal, #0f3d3e);
  border-color: var(--by5-teal, #0f3d3e);
  color: #ffffff;
}
html body.by5-unified-homepage #main #metrics-section #feature-expand { justify-self: end; }

/* Each feature tier shares one colour across its navigation and matching cards. */
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features .module-item[data-module-item="Quotes"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library a.feature-module-shortcut[data-feature-module="Quotes"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card[data-module="Quotes"] { --feature-tier-colour: #68d3a8; --feature-tier-ink: #0a2b2c; }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features .module-item[data-module-item="Jobs"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library a.feature-module-shortcut[data-feature-module="Jobs"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card[data-module="Jobs"] { --feature-tier-colour: #0f3d3e; --feature-tier-ink: #ffffff; }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features .module-item[data-module-item="Coin"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library a.feature-module-shortcut[data-feature-module="Coin"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card[data-module="Coin"] { --feature-tier-colour: #e5b869; --feature-tier-ink: #0a2b2c; }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features .module-item[data-module-item="Communications"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library a.feature-module-shortcut[data-feature-module="Communications"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card[data-module="Communications"] { --feature-tier-colour: #afcbd5; --feature-tier-ink: #0a2b2c; }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features .module-item[data-module-item="Workers"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library a.feature-module-shortcut[data-feature-module="Workers"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card[data-module="Workers"] { --feature-tier-colour: #e2e3e5; --feature-tier-ink: #0a2b2c; }
html body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card:not([data-module="Cross-module"]) { border: 2px solid var(--feature-tier-colour); border-top-width: 3px; }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features button.module-tile[data-jump-module],
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features button.module-tile[data-jump-module]:is(:hover, [aria-current="true"], [aria-pressed="true"]) { border: 2px solid var(--feature-tier-colour); background: var(--feature-tier-colour); color: var(--feature-tier-ink); }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features a.module-count-link[data-feature-module],
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features a.module-count-link[data-feature-module]:is(:hover, [aria-current="true"], [aria-pressed="true"]) { border: 2px solid var(--feature-tier-colour); background: var(--feature-tier-colour); color: var(--feature-tier-ink); }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library a.feature-module-shortcut[data-feature-module],
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library a.feature-module-shortcut[data-feature-module]:is(:hover, [aria-current="true"], [aria-pressed="true"]) { border: 2px solid var(--feature-tier-colour); background: var(--feature-tier-colour); color: var(--feature-tier-ink); }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features button.module-tile[data-jump-module] :is(.icon, b, small) { color: var(--feature-tier-ink); }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features button.module-tile[data-jump-module]::after { border-top-color: var(--feature-tier-colour); }
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-core-features button.module-tile[data-jump-module][aria-pressed="true"],
html body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library a.feature-module-shortcut[data-feature-module][aria-current="true"] { box-shadow: inset 0 0 0 2px var(--feature-tier-ink), 0 6px 16px rgba(15,61,62,.15); }

/* The feature callout heading and return link sit above the direct signup action. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .end-banner { padding-top: 24px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .end-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .feature-end-heading-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .feature-end-top-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--by5-teal);
  font: 700 14px/1.5 Inter, Arial, sans-serif;
  text-decoration: none;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .feature-end-top-link:hover { text-decoration: underline; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .end-actions { grid-column: 2; }
@media (max-width: 760px) {
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .end-wrap { grid-template-columns: minmax(0, 1fr); }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .end-actions { grid-column: 1; }
}
html[data-by5-page="features"] body.by5-unified-homepage #bs-site-footer .bs-premium-footer-grid { padding-top: 48px; }
html[data-by5-page="back-office"] body.by5-unified-homepage #bs-site-footer .bs-premium-footer-grid { padding-top: 24px; }

/* Larger shared mark, with the desktop menu centred independently of Log in. */
html body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .brand.bs-brand-symbol img {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}
@media (min-width: 901px) {
  html body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .brand.bs-brand-symbol img {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
  html body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .bs-nav-items { justify-content: center; }
}
@media (min-width: 1280px) {
  html body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .navigation {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  html body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header #navigation { justify-self: center; }
}

/* Two lines below the hero heading; the signup group moves three lines overall. */
html body.by5-unified-homepage #main > #bs-free-quotes-hero #bs-hero-title > .bs-hero-heading-line {
  display: block;
  font-size: clamp(40px, 3.2vw, 52px);
  font-weight: 900;
  line-height: 1.12;
}
html body.by5-unified-homepage #main > #bs-free-quotes-hero #bs-hero-title > .bs-hero-heading-line + .bs-hero-heading-line { margin-top: 14px; }
html body.by5-unified-homepage #main > #bs-free-quotes-hero #bs-hero-title > .bs-hero-subtitle { margin-block-start: 1lh; }
html body.by5-unified-homepage #main > #bs-free-quotes-hero .bs-home-hero-actions { margin-top: 24px; }
html body.by5-unified-homepage #main > #bs-free-quotes-hero a.bs-home-hero-cta {
  padding: 12px 20px;
  border: 3px solid #173c32;
  background: #d1ef41;
  color: #173c32;
  font-weight: 800;
}
html body.by5-unified-homepage #main > #bs-free-quotes-hero a.bs-home-hero-cta:is(:hover, :focus-visible) {
  background: #e0f875;
  color: #173c32;
}

/* Narrower trade details move the dividing edge left towards the marked guide. */
@media (min-width: 1024px) {
  html body.by5-unified-homepage #main #bs-trade-finder .trades-explorer-section {
    grid-template-columns: minmax(0, 72fr) minmax(0, 28fr);
  }
  html body.by5-unified-homepage #main #bs-trade-finder .right-image-showcase-panel { grid-column: 1; grid-row: 1; }
  html body.by5-unified-homepage #main #bs-trade-finder .left-index-column { grid-column: 2; grid-row: 1; }
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer.is-active {
    grid-template-columns: minmax(0, 34.5vw) minmax(0, 1fr);
  }
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > img { grid-column: 1; grid-row: 1; }
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .trade-image-summary { grid-column: 2; grid-row: 1; }
}

html body.by5-unified-homepage #main #by5-journey-overview .journey > .wrap { row-gap: 0; }
html body.by5-unified-homepage #main #by5-journey-overview .by5-journey-summary {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  max-width: 100%;
  margin: 24px 0 0;
  padding: 0 12px;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.5;
  color: #142b2c;
  opacity: 1;
  text-align: center;
}
html body.by5-unified-homepage #main #by5-journey-overview .journey .section-intro > h2 { grid-row: 3; margin-top: 24px; }
@media (max-width: 900px) {
  html body.by5-unified-homepage #main #by5-journey-overview .by5-journey-summary { grid-column: 1; }
  html body.by5-unified-homepage #main #by5-journey-overview .journey .section-intro > .eyebrow { grid-row: 3; margin-top: 24px; }
  html body.by5-unified-homepage #main #by5-journey-overview .journey .section-intro > h2 { grid-row: 4; }
}

/* Workflow follows the journey without the former empty benefits panel. */
html body.by5-unified-homepage #main #bs-office-workflow.workflow-section { padding: 48px 20px; }
html body.by5-unified-homepage #main #bs-office-workflow .workflow-header { margin-bottom: 48px; }
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview.by5-workflow-closeout {
  width: 100%;
  min-height: 0;
  margin: 48px 0 0;
  padding: 0;
  color: #142b2c;
  text-align: left;
}
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview.by5-workflow-closeout > h2 {
  margin: 0 0 20px;
  color: #142b2c;
  font: 850 clamp(32px, 4.1vw, 53px)/1.12 Inter, Arial, sans-serif;
  letter-spacing: -.04em;
}
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview.by5-workflow-closeout > .eyebrow {
  margin: 0;
  color: #142b2c;
  font: 800 12px/1.5 Inter, Arial, sans-serif;
  letter-spacing: .12em;
}

/* Emphasise each trade's admin hours with crisp type and a light mint glow. */
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .trade-admin-hours {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--by5-teal-dark, #0a2b2c);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
  text-shadow: 0 0 5px rgba(104, 211, 168, .45), 0 0 12px rgba(104, 211, 168, .25);
  -webkit-box-decoration-break: initial;
  box-decoration-break: initial;
}

html body.by5-unified-homepage #main #by5-journey-overview #by5-story.journey-rail {
  box-sizing: border-box;
  padding: 12px clamp(16px, 2vw, 32px);
  border: 2px solid var(--by5-teal, #0f3d3e);
  border-radius: 8px;
}
@media (min-width: 901px) {
  html body.by5-unified-homepage #main #by5-journey-overview .journey > .wrap { grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); }
}
@media (max-width: 600px) {
  html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
}

/* Editable Get paid copy beside the original completion illustration. */
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 .by5-paid-completion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  background: linear-gradient(100deg, #c5d5c8 0%, #c5d5c8 42%, #f4eddf 100%);
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 .by5-paid-completion-copy {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(24px, 5vw, 64px) 24px clamp(24px, 5vw, 64px) clamp(24px, 5vw, 80px);
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 .by5-paid-completion-label {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--by5-teal, #0f3d3e);
  color: #ffffff;
  font: 750 14px/1.4 Inter, Arial, sans-serif;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 #by5-paid-completion-title {
  margin: 20px 0 24px;
  color: #14272a;
  font: 850 clamp(30px, 3.3vw, 48px)/1.12 Inter, Arial, sans-serif;
  letter-spacing: -.025em;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 .by5-paid-completion-copy > p {
  margin: 0 0 28px;
  color: #14272a;
  font: 400 clamp(16px, 1.5vw, 20px)/1.5 Inter, Arial, sans-serif;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 a.by5-paid-completion-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--by5-teal, #0f3d3e);
  color: #ffffff;
  font: 750 18px/1.4 Inter, Arial, sans-serif;
  text-decoration: none;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 a.by5-paid-completion-cta:focus-visible { outline: 3px solid #14272a; outline-offset: 4px; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 .by5-paid-completion-copy > .by5-paid-completion-note { margin: 18px 0 0; font-size: 14px; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 .by5-paid-completion-art {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 704 / 768;
  overflow: hidden;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 .by5-paid-completion-art > img {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 200%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: fill;
}
@media (max-width: 760px) {
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 .by5-paid-completion { grid-template-columns: minmax(0, 1fr); }
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-06 .by5-paid-completion-copy { padding: 28px 24px; }
}

/* Shared section spacing keeps return links and journeys close to their panels. */
html body.by5-unified-homepage #main #bs-back-office #metrics-section :is(.story-row, .story-section) { margin-block: 0; padding-block: 0; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #by5-scenarios > .by5-scenario-back { margin: 24px auto 32px; }

/* Compact feature overview keeps the five modules within the opening desktop view. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features.module-section { padding-top: 20px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .filters {
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 560px;
  justify-self: start;
  margin: 0 24px;
  padding: 8px;
  gap: 6px;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .filters :is(input, select) {
  min-height: 34px;
  height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features #feature-query { min-height: 34px; height: 34px; padding-right: 40px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features #feature-clear { width: 32px; height: 32px; min-height: 32px; }
@media (min-width: 1001px) {
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .section-intro > .eyebrow { margin-bottom: 8px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features #by5-building-blocks { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.08; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .module-guide { margin: 12px 24px 0; font-size: 12px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-row { min-height: 0; gap: 16px; padding: 48px 0 56px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item[data-module-item="Quotes"] { --module-step: 24px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item[data-module-item="Jobs"] { --module-step: 18px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item[data-module-item="Coin"] { --module-step: 12px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item[data-module-item="Communications"] { --module-step: 6px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item > .module-tile { box-sizing: border-box; min-height: 166px; padding: 14px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-tile .icon { width: 28px; height: 28px; margin-bottom: 8px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-tile > b { margin-bottom: 6px; font-size: 16px; line-height: 1.2; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features a.module-count-link { bottom: calc(100% + 10px); min-height: 30px; padding: 4px 12px; font-size: 14px; }
}
@media (max-width: 760px) {
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .filters { margin-top: 16px; }
}

/* Compact trade directory; previews change only on a deliberate selection. */
html body.by5-unified-homepage #main #bs-trade-finder .left-index-column { width: 100%; max-width: 100%; }
html body.by5-unified-homepage #main #bs-trade-finder .chips-grid-matrix { gap: 2px 12px; }
html body.by5-unified-homepage #main #bs-trade-finder a.trade-chip-card,
html body.by5-unified-homepage #main #bs-trade-finder a.trade-chip-card:is(:hover, :focus-visible, [aria-current="true"]) { min-height: 22px; padding: 2px 0; gap: 6px; font-size: 11px; line-height: 1.4; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-chip-icon { flex-basis: 16px; font-size: 11px; }
/* Pricing title uses the reserved space above the tier cards. */
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing #pricing #bs-pricing-title {
  position: static; display: block; width: auto; height: auto; max-width: none;
  overflow: visible; clip-path: none; white-space: normal; margin: 0 0 48px; padding: 0;
  color: #0f3d3e; font: 900 clamp(30px, 3vw, 40px)/1.2 Inter, Arial, sans-serif; text-align: left;
}
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing #pricing .by5-pricing-grid { margin-top: 0; }
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing #pricing #bs-communications-tier.by5-enterprise-tier { margin-top: 48px; }
/* The founder strapline sits between the portrait and quotation. */
html[data-by5-page="about"] body.by5-unified-homepage #main > #bs-founder-story.by5-founder-reference { padding-top: 96px; }
html[data-by5-page="about"] body.by5-unified-homepage #main #bs-founder-story .by5-founder-photo { margin-bottom: 0; }
html[data-by5-page="about"] body.by5-unified-homepage #main #bs-founder-story .by5-founder-quote-card > .by5-founder-eyebrow { margin: 24px 0; flex-wrap: wrap; }
@media (max-width: 600px) {
  html[data-by5-page="about"] body.by5-unified-homepage #main > #bs-founder-story.by5-founder-reference { padding-top: 80px; }
}
/* Centred Help topics retain one button shape with four brand fills. */
html[data-by5-page="help"] body.by5-unified-homepage #main #by5-help-page #by5-help-title { text-align: center; }
html[data-by5-page="help"] body.by5-unified-homepage #main #by5-help-page .by5-help-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1120px; margin-inline: auto; }
html[data-by5-page="help"] body.by5-unified-homepage #main #by5-help-page .by5-help-buttons > a:nth-child(1) { background: #0f3d3e; color: #ffffff !important; }
html[data-by5-page="help"] body.by5-unified-homepage #main #by5-help-page .by5-help-buttons > a:nth-child(2) { background: #e5b869; color: #142b2c !important; }
html[data-by5-page="help"] body.by5-unified-homepage #main #by5-help-page .by5-help-buttons > a:nth-child(3) { background: #68d3a8; color: #142b2c !important; }
html[data-by5-page="help"] body.by5-unified-homepage #main #by5-help-page .by5-help-buttons > a:nth-child(4) { background: #d1ef41; color: #142b2c !important; }
html[data-by5-page="help"] body.by5-unified-homepage #main #by5-help-page .by5-help-buttons > a:is(:hover, :focus-visible) { filter: brightness(.94); }

/* Trade annotations: task introduction, title, weekly heading, then hours. */
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .trade-task-intro {
  margin: 0 0 40px;
  font: 400 14px/1.6 Inter, Arial, sans-serif;
}
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .caption-sub { margin-bottom: 32px; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > h4 { margin-bottom: 48px; }

/* Return links share the journey icon row at every Back Office transition. */
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-navigation-row {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1180px;
  margin: 72px auto 24px;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-navigation-row > .by5-story-journey {
  width: 100%;
  max-width: 520px;
  margin: 0;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-inline-top-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 32px;
  color: var(--by5-teal);
  font: 700 14px/1.5 Inter, Arial, sans-serif;
  text-align: right;
  text-decoration: none;
}
html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-inline-top-link:is(:hover, :focus-visible) { text-decoration: underline; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-02 .by5-story-navigation-row { margin: 24px 0; }
@media (max-width: 600px) {
  html body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-story-navigation-row { gap: 12px; }
  html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .trade-task-intro { margin-bottom: 24px; }
  html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > h4 { margin-bottom: 24px; }
}

/* Keep both coloured heading phrases together, followed by two lines of space. */
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages #by5-features-title > :is(.headline-gold, .headline-teal) { display: inline; }

/* Workspace on the left; coloured advantages on the right. */
@media (min-width: 1081px) {
  html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .advantages-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); }
}
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .pillars-wrapper {
  background: linear-gradient(135deg, #e2f5ee 0%, #f3efe6 100%);
  border: 2px solid var(--by5-teal);
}
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .pillars-eyebrow { color: var(--by5-teal-dark); }
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .pillar-card:nth-child(1) { background: var(--by5-mint); border-color: #35997b; color: var(--by5-teal-dark); }
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .pillar-card:nth-child(3) { background: var(--by5-gold); border-color: #b5862e; color: var(--by5-teal-dark); }
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .pillar-card:nth-child(4) { background: #afcbd5; border-color: #638e9c; color: var(--by5-teal-dark); }
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .pillar-card:not(.featured-pillar) .pillar-desc { color: var(--by5-teal-dark); }
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #advantages .pillar-card:not(.featured-pillar) .pillar-icon-box { background: rgba(255,255,255,.5); border-color: rgba(15,61,62,.25); color: var(--by5-teal); }

/* Be found and Get noticed share one heading row, with the label at the right. */
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 .story-content > .story-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  width: 100%;
  text-align: left;
  margin-bottom: 24px;
}
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 .story-copy > .story-meta { margin: 0; }
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 .story-copy > h3 { margin: 0; max-width: none; text-align: left; }

/* Compact trade titles and weekly-overhead copy beneath the task introduction. */
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .trade-task-intro { margin-bottom: 16px; line-height: 1.35; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .caption-title { margin-bottom: 4px; line-height: 1.2; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .caption-sub { margin-bottom: 12px; line-height: 1.35; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > h4 { margin-bottom: 12px; line-height: 1.2; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .trade-weekly-intro { line-height: 1.35; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .trade-admin-hours { line-height: 1.25; }

/* All trade summaries share the requested label and 26px hours line. */
html body.by5-unified-homepage #main #bs-trade-finder .trade-manual-admin-compact .trade-manual-admin-label { display: block; margin-bottom: 6px; font-weight: 750; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-manual-admin-compact .trade-admin-estimate { display: block; line-height: 1.25; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .trade-manual-admin-compact .trade-admin-hours { font-size: 26px; line-height: 1.25; }

/* Marked Trades and App Software spacing. */
html body.by5-unified-homepage #main #bs-trade-finder .trades-explorer-section { margin-top: 0; }
html body.by5-unified-homepage #main #bs-trade-finder .left-index-column { padding-top: 24px; }
html body.by5-unified-homepage #main #bs-management-software .bs-software-grid-summary {
  max-width: none;
  margin: 24px 0 0;
  color: var(--by5-text-muted);
  font: 400 14px/1.5 Inter, Arial, sans-serif;
  text-align: center;
}
/* Reserve a clear band for the original connecting line and five markers. */
@media (min-width: 1001px) {
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-row { padding-bottom: 104px; }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-journey-path { inset: auto 0 0; width: 100%; height: 90px; z-index: 0; }
}
/* Get noticed heading and copied journey occupy the same top row. */
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-copy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; width: 100%; margin: 0; text-align: left; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-copy > .story-meta { margin: 0; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-copy > h3 { margin: 0; max-width: none; text-align: left; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .by5-get-noticed-journey { width: 100%; max-width: 520px; margin: 0; justify-self: center; }
html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-stage-name { text-align: left; }
@media (min-width: 900px) {
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 { grid-template-areas: "heading journey" "content label"; align-items: center; row-gap: 24px; }
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-copy { grid-area: heading; }
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .by5-get-noticed-journey { grid-area: journey; }
}
@media (max-width: 899px) {
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 { grid-template-columns: minmax(0, 1fr); }
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-copy { grid-column: 1; grid-row: 1; }
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .by5-get-noticed-journey { grid-column: 1; grid-row: 2; margin-bottom: 24px; }
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-content { grid-column: 1; grid-row: 3; }
  html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-stage-name { grid-column: 1; grid-row: 4; }
}

/* Signup reference: left introduction, right form, reassurance below the action. */
html body.by5-unified-homepage #main > #bs-free-signup.freemium-signup-section { padding-top: 32px; }
html body.by5-unified-homepage #main > #bs-free-signup .signup-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); align-items: start; gap: 48px; max-width: 1320px; margin: 0 auto; }
html body.by5-unified-homepage #main > #bs-free-signup .signup-header { margin: 0; text-align: left; }
html body.by5-unified-homepage #main > #bs-free-signup .signup-title { margin: 0 0 16px; font-size: clamp(28px, 2.5vw, 32px); line-height: 1.2; text-align: left; }
html body.by5-unified-homepage #main > #bs-free-signup .signup-subtitle { max-width: 420px; line-height: 1.5; }
html body.by5-unified-homepage #main > #bs-free-signup #freemium-signup-card.signup-card { width: 100%; min-width: 0; margin: 0; padding: 28px; }
html body.by5-unified-homepage #main > #bs-free-signup #freemium-signup-card .signup-form { width: 100%; max-width: none; margin: 0; }
html body.by5-unified-homepage #main > #bs-free-signup #freemium-signup-card .form-footer { align-items: start; gap: 16px; }
html body.by5-unified-homepage #main > #bs-free-signup #freemium-signup-card .terms-block { flex: 1 1 240px; min-width: 0; }
html body.by5-unified-homepage #main > #bs-free-signup #freemium-signup-card .signup-submit-stack { display: flex; flex: 0 1 auto; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; margin-left: auto; }
html body.by5-unified-homepage #main > #bs-free-signup #freemium-signup-card .signup-submit-stack > .signup-badge { margin: 0; text-align: center; font-size: 10px; }
@media (max-width: 900px) {
  html body.by5-unified-homepage #main > #bs-free-signup .signup-container { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 680px; }
}
@media (max-width: 600px) {
  html body.by5-unified-homepage #main > #bs-free-signup #freemium-signup-card.signup-card { padding: 24px 20px; }
  html body.by5-unified-homepage #main > #bs-free-signup #freemium-signup-card .signup-submit-stack { flex-basis: 100%; width: 100%; margin-left: 0; }
}
/* Founder reference: lift the heading and reduce the portrait/quotation card. */
html[data-by5-page="about"] body.by5-unified-homepage #main > #bs-founder-story.by5-founder-reference { padding-top: 48px; }
html[data-by5-page="about"] body.by5-unified-homepage #main #bs-founder-story .by5-founder-quote-card { width: 88%; justify-self: end; padding: 18px; }
@media (max-width: 960px) {
  html[data-by5-page="about"] body.by5-unified-homepage #main #bs-founder-story .by5-founder-quote-card { width: 100%; max-width: 440px; justify-self: center; }
}
/* One line of breathing room below the header across the trade layout. */
html body.by5-unified-homepage #main #bs-trade-finder .trades-explorer-section { margin-top: 24px; }

/* Admin estimates use the same typography as the trade title. */
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .caption-title,
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .trade-manual-admin-compact .trade-manual-admin-label,
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .trade-manual-admin-compact .trade-admin-estimate {
  color: var(--by5-text-dark);
  font: 800 20px/1.2 Inter, Arial, sans-serif;
  letter-spacing: -.01em;
  text-shadow: none;
}
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .trade-manual-admin-compact .trade-admin-hours {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: none;
}

/* Preserve title case in the shared manual-admin label. */
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary .trade-manual-admin-compact .trade-manual-admin-label { text-transform: none; }

/* Linked customer journey beside the homepage closing heading. */
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview.by5-workflow-closeout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 20px 32px; }
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview.by5-workflow-closeout > h2 { grid-column: 1; grid-row: 1; margin: 0; }
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview.by5-workflow-closeout > .eyebrow { grid-column: 1; grid-row: 2; }
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview .by5-home-closeout-journey { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-column: 2; grid-row: 1; align-items: start; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto; }
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview .by5-home-closeout-journey .rail-link { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; padding: 4px 0; color: #142b2c; font: 400 12px/1.4 Inter, Arial, sans-serif; text-align: center; text-decoration: none; }
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview .by5-home-closeout-journey .round { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: #007e88; }
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview .by5-home-closeout-journey svg { display: block; width: 32px; height: 32px; }
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview .by5-home-closeout-journey a:hover { color: #007e88; }
html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview .by5-home-closeout-journey a:focus-visible { outline: 2px solid #007e88; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 900px) {
  html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview.by5-workflow-closeout { grid-template-columns: minmax(0, 1fr); }
  html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview .by5-home-closeout-journey { grid-column: 1; grid-row: 3; margin-top: 8px; }
}
@media (max-width: 500px) {
  html body.by5-unified-homepage #main #bs-office-workflow #by5-benefits-overview .by5-home-closeout-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
}

/* Compact workflow cards keep all copy visible after removing the number badges. */
html body.by5-unified-homepage #main #bs-office-workflow .step-card { min-height: 0; height: auto; padding: 16px 24px; }
html body.by5-unified-homepage #main #bs-office-workflow .step-top { min-height: 0; margin-bottom: 10px; }
html body.by5-unified-homepage #main #bs-office-workflow .step-label { font-size: 13px; line-height: 1.3; }
html body.by5-unified-homepage #main #bs-office-workflow .step-heading { margin-bottom: 8px; font-size: 18px; line-height: 1.3; }
html body.by5-unified-homepage #main #bs-office-workflow .step-text { margin: 0; font-size: 14px; line-height: 1.45; }
/* The caption now contains the title, manual-admin figures and detailed breakdown. */
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .image-caption-overlay { padding: 24px 20px; }
html body.by5-unified-homepage #main #bs-trade-finder .image-caption-overlay > .trade-image-summary { min-width: 0; margin: 0; padding: 0; color: var(--by5-text-dark); font: 400 14px/1.6 Inter, Arial, sans-serif; text-align: left; }
html body.by5-unified-homepage #main #bs-trade-finder .image-caption-overlay .window-weekly-overhead { margin: 24px 0 0; }
html body.by5-unified-homepage #main #bs-trade-finder .image-caption-overlay .window-weekly-table { margin-top: 0; }
@media (min-width: 1024px) {
  html body.by5-unified-homepage #main #bs-trade-finder .trades-explorer-section { grid-template-columns: minmax(0, 78fr) minmax(0, 22fr); }
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer.is-active { grid-template-columns: minmax(0, 34.5vw) minmax(0, 1fr); grid-template-rows: auto; }
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .image-caption-overlay { grid-column: 2; grid-row: 1; }
}
@media (max-width: 1023px) {
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer.is-active { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > img { grid-column: 1; grid-row: 1; }
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .image-caption-overlay { grid-column: 1; grid-row: 2; }
}

/* Screenshot review: square trade photos and quiet route-container focus. */
html body.by5-unified-homepage #main :is(section, article, div, h1, h2, h3)[tabindex="-1"]:focus-visible { outline: none; }
html body.by5-unified-homepage #main #bs-trade-finder :is(.right-image-showcase-panel, .showcase-image-layer, .showcase-image-layer > img) { border-radius: 0; }
html body.by5-unified-homepage #main > #bs-free-quotes-hero { margin-top: 24px; }

/* Trade categories occupy two compact columns; each description follows its category/time. */
html body.by5-unified-homepage #main #bs-trade-finder .window-weekly-table { display: block; width: 100%; table-layout: auto; }
html body.by5-unified-homepage #main #bs-trade-finder .window-weekly-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
html body.by5-unified-homepage #main #bs-trade-finder .window-weekly-table tr { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; min-width: 0; border: 0; }
html body.by5-unified-homepage #main #bs-trade-finder .window-weekly-table td { display: block; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
html body.by5-unified-homepage #main #bs-trade-finder .window-weekly-table td:nth-child(2) { margin-bottom: 4px; }
html body.by5-unified-homepage #main #bs-trade-finder .window-weekly-table td:nth-child(3) { font-size: 13px; line-height: 1.6; }
@media (max-width: 700px) {
 html body.by5-unified-homepage #main #bs-trade-finder .window-weekly-table tbody { grid-template-columns: minmax(0, 1fr); }
}

/* Centre the signup heading/form, with explanatory copy immediately below the form. */
html body.by5-unified-homepage #main > #bs-free-signup .signup-container { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 780px; }
html body.by5-unified-homepage #main > #bs-free-signup .signup-header,
html body.by5-unified-homepage #main > #bs-free-signup .signup-title { text-align: center; }
html body.by5-unified-homepage #main > #bs-free-signup .signup-title { margin: 0; }
html body.by5-unified-homepage #main > #bs-free-signup .signup-product-title { display: block; margin-bottom: 10px; }
html body.by5-unified-homepage #main > #bs-free-signup .signup-action-title { display: block; font-size: 22px; }
html body.by5-unified-homepage #main > #bs-free-signup .signup-subtitle { max-width: none; margin: 0; text-align: center; font-size: 14px; }
html body.by5-unified-homepage #main > #bs-free-signup #freemium-signup-card { justify-self: center; }

/* The AI label introduces the library; results remain available to screen readers. */
html body.by5-unified-homepage #main #metrics-section .by5-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
html body.by5-unified-homepage #main #metrics-section .library-intro { display: flex; flex-direction: column; align-items: flex-start; }
html body.by5-unified-homepage #main #metrics-section .library-intro > .by5-ai-generated-badge { order: 3; display: block; margin: 12px 0 16px; padding: 0; border: 0; background: transparent; color: #142b2c; font: 600 12px/1.4 Inter, Arial, sans-serif; }

/* Match workspace sections to the four advantage colours: mint, teal, gold and blue. */
html body.by5-unified-homepage #main #bs-back-office .workspace-card .ai-banner { background: #0f3d3e; border: 1px solid #68d3a8; color: #ffffff; }
html body.by5-unified-homepage #main #bs-back-office .workspace-card .ai-banner :is(strong, span) { color: inherit; }
html body.by5-unified-homepage #main #bs-back-office .workspace-card .mini-status-box:first-child { background: #afcbd5; border-color: #7babb9; }
html body.by5-unified-homepage #main #bs-back-office .workspace-card .mini-status-box:nth-child(2) { background: #e5b869; border-color: #b88b3d; }
html body.by5-unified-homepage #main #bs-back-office .workspace-card .mini-status-box :is(h4, p) { color: #142b2c; }
html body.by5-unified-homepage #main #bs-back-office .workspace-card .approve-btn { background: #68d3a8; color: #142b2c; }

/* Get noticed: add breathing room below the heading and exchange the two panels. */
@media (min-width: 900px) {
 html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 { grid-template-areas: "heading journey" "label content"; row-gap: 48px; }
 html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-stage-name { grid-area: label; margin: 0; }
 html body.by5-unified-homepage #main #bs-back-office #metrics-section #story-01 > .story-content { grid-area: content; }
}

/* Homepage journey: remove the top edge, tighten the image gap, and lower the label. */
html body.by5-unified-homepage #main #by5-journey-overview #by5-story.journey-rail { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
html body.by5-unified-homepage #main #by5-journey-overview .journey { padding-top: 0; }
html body.by5-unified-homepage #main #by5-journey-overview .journey > .wrap > .section-intro { align-self: center; margin: 0; transform: translateY(12px); }
@media (min-width: 901px) {
 html body.by5-unified-homepage #main #by5-journey-overview { margin-top: -12px; }
}

/* Keep shortcut cards centred after the visible result count is removed. */
@media (min-width: 901px) {
 html body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-module-shortcuts { grid-column: 2; grid-row: 1; }
 html body.by5-unified-homepage #main #metrics-section #by5-feature-library #feature-expand { grid-column: 3; grid-row: 1; }
}
@media (max-width: 900px) {
 html body.by5-unified-homepage #main #metrics-section #by5-feature-library #feature-expand { grid-column: 2; grid-row: 1; }
}

/* Place the live trade search directly beneath each selected photo. */
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .bs-trade-search-tools {
  box-sizing: border-box; grid-column: 1; grid-row: 2; align-self: start;
  width: calc(100% - 48px); max-width: none; margin: 24px; padding: 20px;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px;
}
html body.by5-unified-homepage #main #bs-trade-finder .bs-trade-search-tools .form-element-wrap { min-width: 0; }
html body.by5-unified-homepage #main #bs-trade-finder .bs-trade-search-tools .input-field-style { box-sizing: border-box; width: 100%; min-width: 0; }
@media (min-width: 1024px) {
 html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer.is-active { grid-template-rows: min-content 1fr; align-items: start; }
 html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .image-caption-overlay { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 1023px) {
 html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer.is-active { grid-template-rows: auto auto auto; }
 html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .image-caption-overlay { grid-column: 1; grid-row: 3; }
}
@media (max-width: 480px) {
 html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .bs-trade-search-tools { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); margin: 16px; padding: 16px; }
}

/* Match the section labels to the Get noticed / Be found heading row. */
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section :is(#story-01, #story-03) > .story-copy,
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-stage-heading {
 display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
}
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section :is(#story-01, #story-03) > .story-copy > :is(h3, .story-meta),
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-stage-heading > :is(h3, .stage-eyebrow) { margin: 0; }
html[data-by5-page="back-office"] body.by5-unified-homepage #main #bs-back-office #metrics-section .by5-stage-heading { margin-bottom: 24px; }

/* Give the feature callout a direct Back Office link above the signup action. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .feature-end-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .feature-end-office-link { justify-self: start; background: #0f3d3e; color: #ffffff; font-size: 14px; }
@media (max-width: 1100px) {
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .feature-end-heading-row { display: flex; }
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .feature-end-heading-row h2 { flex-basis: 100%; }
}

/* Keep the trade category label inside the compact filter field. */
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .bs-trade-search-tools {
  margin-top: 72px;
}
@media (max-width: 480px) {
  html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .bs-trade-search-tools {
    margin-top: 64px;
  }
}
html body.by5-unified-homepage #main #bs-trade-finder :is(#bs-trade-search, #bs-trade-category) {
  font: 400 12px/1.5 Inter, Arial, sans-serif;
}
html body.by5-unified-homepage #main #bs-trade-finder #bs-trade-category {
  color: var(--by5-text-muted);
  padding-inline: 8px;
}
html body.by5-unified-homepage #main #bs-trade-finder #bs-trade-category option {
  font-size: 12px;
}
/* Supplied pearl texture for the Quotes plan card. */
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing .by5-plan-card[data-tier="quotes"] {
  background: #faf9f6 url("assets/by5-quotes-light-pearl-background-20261113.png") center / cover no-repeat;
}
/* Workers uses the same light grey across the overview and feature library. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library > .wrap {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding-left: clamp(4px, calc((100vw - 1150px) / 2 + 4px), 69px);
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library .results-bar {
  display: contents;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-module-shortcuts {
  grid-column: 1;
  grid-row: 1 / span 2;
  grid-template-columns: minmax(0, 1fr);
  align-self: start;
  width: 100%;
  max-width: none;
  margin-top: -140px;
  gap: 12px;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library .library-intro {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-right: 60px;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library #feature-expand {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library #feature-list {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}
@media (max-width: 760px) {
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-left: 0;
  }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-module-shortcuts {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: min(100%, 200px);
    margin-top: 0;
  }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library :is(.library-intro, #feature-expand) {
    grid-column: 1;
    grid-row: 2;
  }
  html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library #feature-list {
    grid-column: 1;
    grid-row: 3;
  }
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .section-intro {
  grid-column: 1 / -1;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: center;
  margin: 64px auto 0;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library.library {
  margin-top: 96px;
}
html body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card[data-module="Workers"] {
  background: var(--feature-tier-colour);
}
html body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card[data-module="Workers"] .module-chip {
  background: var(--feature-tier-colour);
  border-color: #b8bdc2;
  color: var(--feature-tier-ink);
}
/* Increase every desktop menu gap by the same amount. */
@media (min-width: 901px) {
  html body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .bs-nav-items {
    gap: 24px;
  }
}
@media (min-width: 1280px) {
  html body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .bs-nav-items {
    gap: 40px;
  }
}

/* Supplied soft neutral canvas for the Coin pricing card. */
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing .by5-plan-card[data-tier="coin"] {
  background: #eee9e5 url("assets/by5-coin-radial-white-background-20261113.png") center / 100% 100% no-repeat;
}
/* Supplied pale chevron canvas for Freemium Quotes. */
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing .by5-plan-card[data-tier="freemium"] {
  background: #f5f5f5 url("assets/by5-freemium-soft-chevron-background-20261113.png") center / cover no-repeat;
}
/* Supplied light cloud background for the Jobs pricing card. */
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing .by5-plan-card[data-tier="jobs"] {
  background: #f1f3f2 url("assets/by5-jobs-soft-wave-background-20261113.png") center / cover no-repeat;
  color: #0a2b2c;
}
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing .by5-plan-card[data-tier="jobs"] :is(.by5-plan-tagline, .by5-plan-check) {
  color: #0f3d3e;
}
/* Background only: Communications features area on the right of the Plans strip. */
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing #pricing #bs-communications-tier .by5-enterprise-right {
  background: #f7f7f7 url("assets/by5-communications-features-ribbed-background-20261113.png") center / cover no-repeat;
}
/* Background only: the left-hand Communications pricing section on Plans. */
html[data-by5-page="plans"] body.by5-unified-homepage #main #bs-pricing #pricing #bs-communications-tier .by5-enterprise-left::before {
  background: #f6f6f6 url("assets/by5-communications-price-white-plaster-background-20261113.png") center / cover no-repeat;
}

/* Latest marked positions: heading band below overview, search at upper right. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-library-heading-band { grid-column:1 / -1; grid-row:5; display:grid; grid-template-columns:minmax(0,1fr) 44px; align-items:center; gap:24px; width:calc(100% - 48px); max-width:760px; margin:24px auto 0; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band .library-intro { max-width:none; min-width:0; margin:0; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band .library-intro .eyebrow { font:800 12px/1.4 Inter,Arial,sans-serif; letter-spacing:.08em; color:#0f3d3e; margin-bottom:8px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band .library-intro h2 { margin:0 0 12px; font:800 clamp(30px,4vw,42px)/1.15 Inter,Arial,sans-serif; letter-spacing:-.02em; color:#0f3d3e; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band .by5-ai-generated-badge { display:block; margin:0 0 12px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band #feature-expand { position:static; display:grid; place-items:center; width:44px; height:44px; margin:0; padding:0; border:1px solid #b9c8cc; border-radius:10px; background:#fff; color:#0f3d3e; font:700 18px/1 Inter,Arial,sans-serif; cursor:pointer; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band #feature-expand:focus-visible { outline:3px solid #007e88; outline-offset:3px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library #feature-list { grid-row:1; }
@media(min-width:761px) {
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools { grid-column:2; grid-row:4; justify-self:end; align-self:start; width:calc(100% - 48px); max-width:540px; margin:-64px 96px 0 0; position:relative; z-index:1; }
}
@media(max-width:1100px) and (min-width:761px) { html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools { margin-right:24px; } }
@media(max-width:760px) {
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools { margin:24px auto 0; }
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-library-heading-band { gap:16px; margin-top:32px; }
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library #feature-list { grid-row:2; }
}
/* All trade summaries share the short separator and right-hand admin estimate. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band .library-intro[hidden] { display:none; }
@media(min-width:1024px) {
 html body.by5-unified-homepage #main #bs-trade-finder .image-caption-overlay > .trade-image-summary { position:relative; display:grid; grid-template-columns:minmax(0,42fr) minmax(0,58fr); grid-template-rows:min-content 1fr; column-gap:28px; align-content:start; min-height:100px; }
 html body.by5-unified-homepage #main #bs-trade-finder .image-caption-overlay > .trade-image-summary::after { content:""; position:absolute; top:0; left:calc((100% - 28px) * .42 + 13px); width:1px; height:100px; background:#0f3d3e; }
 html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .caption-title { grid-column:1; grid-row:1; }
 html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .caption-sub { grid-column:1; grid-row:2; margin-top:4px; }
 html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .trade-manual-admin-compact { grid-column:2; grid-row:1 / span 2; margin:0; padding:0; }
}

/* Raise the whole two-column reference row: both columns share one top edge. */
@media(min-width:761px) {
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library > .wrap { margin-top:-140px; }
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library .feature-module-shortcuts { grid-row:1; margin-top:0; }
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-feature-library #feature-list { grid-row:1; margin-top:0; align-self:start; }
}

/* Explore library sits beside the feature-reference eyebrow, over the left sidebar. */
/* Match the four other feature-card fills to their sidebar module colours. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card:is([data-module="Quotes"], [data-module="Jobs"], [data-module="Coin"], [data-module="Communications"]) {
  background: var(--feature-tier-colour);
  color: var(--feature-tier-ink);
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card:is([data-module="Quotes"], [data-module="Jobs"], [data-module="Coin"], [data-module="Communications"]) :is(.feature-lead, .feature-description, .module-chip) {
  color: var(--feature-tier-ink);
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section.by5-visual #feature-list article.feature-card:is([data-module="Quotes"], [data-module="Jobs"], [data-module="Coin"], [data-module="Communications"]) .module-chip {
  background: var(--feature-tier-colour);
  border-color: currentColor;
}
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-library-heading-band { position:relative; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > .module-guide { position:absolute; top:0; right:calc(100% + 28px); width:148px; max-width:none; margin:0; padding:0; color:#142b2c; font:400 12px/1.4 Inter,Arial,sans-serif; letter-spacing:normal; text-transform:none; text-align:center; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > .module-guide > strong { font-weight:400; }
@media(max-width:1100px) {
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > .module-guide { position:static; grid-column:1 / -1; grid-row:1; width:auto; text-align:left; }
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > .library-intro { grid-column:1; grid-row:2; }
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > #feature-expand { grid-column:2; grid-row:2; }
}

/* Keep the collapse control directly below the right side of the search panel. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools { position:relative; min-width:0; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools > .filters { width:100%; max-width:none; margin:0; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools > #feature-expand { position:absolute; top:100%; right:32px; display:grid; place-items:center; width:44px; height:44px; min-height:44px; margin:0; padding:0; border:1px solid #b9c8cc; border-radius:10px; background:#fff; color:#0f3d3e; font:700 18px/1 Inter,Arial,sans-serif; cursor:pointer; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools > #feature-expand:focus-visible { outline:3px solid #007e88; outline-offset:3px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-library-heading-band { grid-template-columns:minmax(0,1fr); }
@media(max-width:760px) { html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools > #feature-expand { right:8px; } }

/* Single-row overview heading and three additional 24px text rows below search. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .section-intro { width:calc(100% - 48px); max-width:none; margin:0 24px; text-align:center; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features #by5-building-blocks { width:100%; max-width:none; margin:0; text-align:center; font-size:clamp(24px,2.8vw,36px); line-height:1.15; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-library-heading-band { margin-top:96px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-feature-search-tools > #feature-expand { top:calc(100% + 72px); }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #feature-list details.library-stage.by5-has-ai-disclosure > summary { position:relative; padding-bottom:36px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #feature-list details.library-stage > summary > .by5-ai-generated-badge { position:absolute; left:24px; bottom:10px; display:block; margin:0; padding:0; border:0; background:transparent; color:#142b2c; font:400 9px/1.4 Inter,Arial,sans-serif; letter-spacing:normal; text-transform:none; }
@media(min-width:761px) { html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features #by5-building-blocks { white-space:nowrap; } }
@media(max-width:760px) { html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-library-heading-band { margin-top:104px; } }

/* Move the five counts into their own cards and lower the overview by three 24px rows. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-row { padding-top:136px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item > .module-tile { padding-bottom:56px; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-item > a.module-count-link { top:auto; bottom:14px; left:50%; z-index:2; min-height:30px; max-width:calc(100% - 28px); margin:0; padding:4px 12px; font-size:14px; transform:translateX(-50%); }
@media(min-width:1001px) { html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features .module-row { padding-top:120px; } }

/* The reference heading shares the sidebar/content columns used by the boxes below. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-library-heading-band { box-sizing:border-box; width:calc(100% - 40px); max-width:1240px; grid-template-columns:176px minmax(0,1fr); align-items:start; column-gap:28px; padding-left:clamp(4px,calc((100vw - 1150px) / 2 + 4px),69px); }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > .module-guide { position:static; grid-column:1; grid-row:1; box-sizing:border-box; width:auto; margin:0; padding:0 0 0 28px; text-align:left; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > .library-intro { grid-column:2; grid-row:1; align-self:start; margin:0; }
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > .library-intro > h2 { margin:0; line-height:1.1; }
@media(max-width:760px) {
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section #by5-core-features > .by5-library-heading-band { grid-template-columns:minmax(0,1fr); padding-left:0; }
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > .module-guide { grid-column:1; grid-row:1; padding-left:0; }
 html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section .by5-library-heading-band > .library-intro { grid-column:1; grid-row:2; }
}

/* Filtering must not pull the table up behind the Explore library heading row. */
html[data-by5-page="features"] body.by5-unified-homepage #main #metrics-section.by5-visual #by5-feature-library.library.module-results { padding-top:64px; }

/* Trade names below photos; search follows after two 24px text rows. */
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .trade-photo-caption { box-sizing:border-box; grid-column:1; grid-row:2; min-width:0; min-height:72px; width:100%; margin:0; padding:12px 20px 8px; background:var(--by5-bg-cream); text-align:left; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-photo-caption > .caption-title { margin:0; color:var(--by5-text-dark); font:800 20px/1.2 Inter,Arial,sans-serif; letter-spacing:-.01em; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-photo-caption > .caption-sub { margin:4px 0 0; color:var(--by5-text-dark); font:400 12.8px/1.5 Inter,Arial,sans-serif; }
html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .bs-trade-search-tools { grid-row:3; margin-top:48px; }
html body.by5-unified-homepage #main #bs-trade-finder .image-caption-overlay > .trade-image-summary { display:block; min-height:100px; }
html body.by5-unified-homepage #main #bs-trade-finder .image-caption-overlay > .trade-image-summary:empty { display:none; min-height:0; }
html body.by5-unified-homepage #main #bs-trade-finder .image-caption-overlay > .trade-image-summary::after { content:none; display:none; }
html body.by5-unified-homepage #main #bs-trade-finder .trade-image-summary > .trade-manual-admin-compact { margin:0; padding:0; text-align:left; }
@media(min-width:1024px) {
 html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer.is-active { grid-template-rows:min-content min-content 1fr; }
 html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .image-caption-overlay { grid-column:2; grid-row:1 / span 3; }
}
@media(max-width:1023px) {
 html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer.is-active { grid-template-rows:auto auto auto auto; }
 html body.by5-unified-homepage #main #bs-trade-finder .showcase-image-layer > .image-caption-overlay { grid-column:1; grid-row:4; }
}
