/* Shared visual refinements: keep typography, topic links and map geometry consistent. */
.site-shell .home-master__trust-list { gap: 1.25rem; grid-auto-rows: 1fr; }
.site-shell .home-master__trust-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  min-width: 0;
}
.site-shell .home-master__trust-item h3 { margin: .4rem 0 0; line-height: 1.3; }
.site-shell .home-master__trust-item p { margin: .85rem 0 0; max-width: 34ch; font-size: 1rem; line-height: 1.65; }
.site-shell .home-master__trust-item p,
.site-shell .home-master__map-node-body { color: #c4d5e5; }
html { scroll-behavior: smooth; }
.site-shell [id] { scroll-margin-top: 11rem; }
.site-shell a:focus-visible { outline: 2px solid #5bd399; outline-offset: 4px; }
.site-shell .shared-header .home-master__brand-name {
  color: #279465;
  text-shadow: 0 0 9px #249b6870, 0 0 24px #1e865050;
}
.site-shell .shared-header .home-master__brand-note { max-width: none; line-height: 1.4; }
.site-shell .home-master__nav-link { font-size: 1.125rem; padding-inline: .62rem; }
.site-shell .home-master__header-shell { max-width: 96rem; }
@media (min-width: 1200px) {
  .site-shell .shared-header .home-master__header-shell { grid-template-columns: minmax(260px, 1fr) auto; gap: .65rem 1rem; }
  .site-shell .shared-header .home-master__nav { display: block; }
  .site-shell .shared-header .home-master__header-tools { display: flex; grid-column: 2; justify-content: flex-end; gap: .6rem; }
  .site-shell .shared-header .home-master__brand { grid-row: 1 / 3; }
  .site-shell .shared-header .home-master__mobile-nav { display: none; }
}
.site-shell .home-master__title,
.site-shell .bfm__hero-h1,
.site-shell .standard-page__intro h1 { max-width: none; text-wrap: pretty; overflow-wrap: normal; }
.site-shell .bfm__hero-h1 { font-size: clamp(2rem, 3.2vw, 3.5rem); line-height: 1.1; }
.site-shell .home-master__hero-grid { gap: 2rem; }
@media (min-width: 64rem) and (max-width: 74.99rem) {
  .site-shell .home-master__hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 75rem) {
  .site-shell .home-master__hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}
.site-shell .home-master__hero-copy,
.site-shell .bfm__hero-text { max-width: none; }
.site-shell .standard-page--about { padding-top: 1.5rem; }
.site-shell .standard-page--about .standard-page__hero { align-items: start; }
.site-shell .standard-page--about .standard-page__intro { align-content: start; padding-top: 1rem; }
.site-shell .standard-page--about .standard-page__visual { width: min(100%, 24rem); justify-self: center; padding-top: 1rem; }
.site-shell .standard-page--about .standard-page__image-shell img { height: 19rem; min-height: 0; aspect-ratio: auto; }
.site-shell .home-master__marks a,
.site-shell .standard-page__quick-facts a,
.site-shell .bfm__hero-proof-copy a { text-decoration: none; }
.site-shell .bfm__hero-proof-copy li { padding: 0; }
.site-shell .bfm__hero-proof-copy a { display: block; padding: .5rem .65rem; color: inherit; }
.site-shell .home-master__legend a:hover,
.site-shell .standard-page__quick-facts a:hover,
.site-shell .bfm__hero-proof-copy a:hover,
.site-shell .bfm__arch-phase:hover { color: #7de3ae; background: #17563b55; }
.site-shell .home-master__marks a:hover { color: #7de3ae; }
.site-shell .home-master__map-flow-column li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; }
.site-shell .home-master__map-flow-column li::before { content: ''; flex: 0 0 .42rem; width: .42rem; height: .42rem; border-radius: 50%; }
.site-shell :is(.home-master__marks a, .home-master__map-flow-column li, .home-master__canvas-signal, .home-master__capability-item,
  .bfm__topology-node, .bfm__arch-row-label, .bfm__arch-row-points li, .bfm__cluster-item-label, .bfm__cluster-item-points li,
  .content-system__lane-label, .content-system__zone-item-label, .content-system__lane-points li, .content-system__zone-points li)::before {
  background: #39bd7d;
  box-shadow: 0 0 0 .15rem #39bd7d22, 0 0 8px #39bd7d55;
  animation: fbi-green-pulse 2.6s ease-in-out infinite;
}
@keyframes fbi-green-pulse {
  0%, 100% { opacity: .7; box-shadow: 0 0 0 .1rem #39bd7d20, 0 0 5px #39bd7d40; }
  50% { opacity: 1; box-shadow: 0 0 0 .25rem #39bd7d18, 0 0 12px #39bd7d80; }
}
.site-shell .home-master__system-map { container-type: inline-size; }
.site-shell .home-master__map-node::after { display: none; }
.fbi-map-connectors { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.fbi-map-connectors line { stroke: #6bbaff; stroke-width: 1.25; opacity: .65; }
@media (min-width: 48rem) {
  .site-shell .home-master__system-map { min-height: 37rem; }
  .site-shell .home-master__map-core { width: 40%; min-height: 10rem; padding: 1rem .7rem; }
  .site-shell .home-master__map-core strong { font-size: clamp(1rem, 3.5cqw, 1.9rem); }
  .site-shell .home-master__map-node { width: 23%; }
  .site-shell .home-master__map-node--south { bottom: 9rem; }
  .site-shell .home-master__map-node--northwest,
  .site-shell .home-master__map-node--southwest { left: 2.5%; }
  .site-shell .home-master__map-node--northeast,
  .site-shell .home-master__map-node--southeast { right: 2.5%; }
  .site-shell .home-master__map-node--northwest,
  .site-shell .home-master__map-node--northeast { top: calc(40% - 3.5rem); bottom: auto; --map-node-y: -50%; }
  .site-shell .home-master__map-node--southwest,
  .site-shell .home-master__map-node--southeast { top: calc(40% + 3.5rem); bottom: auto; --map-node-y: -50%; }
  .site-shell .home-master__map-node:hover,
  .site-shell .home-master__map-node:focus-visible,
  .site-shell .home-master__map-node.is-active { transform: translate(var(--map-node-x), var(--map-node-y)); }
}
@media (max-width: 47.99rem) { .fbi-map-connectors { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-shell *::before { animation: none !important; }
}
/* Intrinsic rows also protect the first diagram when fine print is enlarged. */
@media (min-width: 48rem) {
  .site-shell .home-master__system-map {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1rem;
    min-height: 0;
    align-items: center;
  }
  .site-shell .home-master__map-nodes { display: contents; }
  .site-shell .home-master__map-core,
  .site-shell .home-master__map-node,
  .site-shell .home-master__map-flow {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    transform: none !important;
  }
  .site-shell .home-master__map-core { grid-area: 2 / 2 / 4 / 3; }
  .site-shell .home-master__map-node--north { grid-area: 1 / 2; }
  .site-shell .home-master__map-node--northwest { grid-area: 2 / 1; }
  .site-shell .home-master__map-node--northeast { grid-area: 2 / 3; }
  .site-shell .home-master__map-node--southwest { grid-area: 3 / 1; }
  .site-shell .home-master__map-node--southeast { grid-area: 3 / 3; }
  .site-shell .home-master__map-node--south { grid-area: 4 / 2; }
  .site-shell .home-master__map-flow { grid-area: 5 / 1 / 6 / 4; }
}
