/* The Machine Blue Book cohesive interface system · v1 · 2026-10-03 */
:root {
  --mbb-ink: #142333;
  --mbb-navy: #101f31;
  --mbb-navy-2: #162d47;
  --mbb-blue: #315f9d;
  --mbb-blue-light: #a9c7eb;
  --mbb-orange: #d56b35;
  --mbb-paper: #f2f1ec;
  --mbb-paper-2: #e7ebed;
  --mbb-white: #ffffff;
  --mbb-line: #cfd5d8;
  --mbb-muted: #5f6b72;
  --mbb-shadow: 0 16px 42px rgba(16, 31, 49, 0.09);
  --mbb-shell: 1180px;
  --mbb-header-height: 76px;
}

body.mbb-cohesive {
  margin: 0;
  background: var(--mbb-paper);
  color: var(--mbb-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.mbb-cohesive *,
body.mbb-cohesive *::before,
body.mbb-cohesive *::after {
  box-sizing: border-box;
}

body.mbb-cohesive img,
body.mbb-cohesive video {
  max-width: 100%;
}

body.mbb-cohesive h1,
body.mbb-cohesive h2,
body.mbb-cohesive h3 {
  text-wrap: balance;
}

body.mbb-cohesive p,
body.mbb-cohesive li {
  text-wrap: pretty;
}

body.mbb-cohesive :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #f2a472;
  outline-offset: 3px;
}

body.mbb-cohesive :where(input, select, textarea, button) {
  font: inherit;
}

body.mbb-cohesive :where(input, select, button) {
  min-height: 44px;
}

body.mbb-cohesive :where(.button, .btn, .pill) {
  border-radius: 2px;
}

body.mbb-cohesive :where(.panel, .card, .machine-card, .listing-card, .hub-card, .partner-card, .link-card) {
  border-radius: 2px;
}

body.mbb-cohesive :where(.panel, .card, .machine-card, .listing-card, .hub-card, .partner-card, .link-card):has(a):hover {
  box-shadow: var(--mbb-shadow);
}

body.mbb-cohesive > :where(.mast, .mast-strip, .independent-strip, .independence),
body.mbb-cohesive :where(.topbar) {
  display: none !important;
}

body.mbb-cohesive .subnav {
  background: var(--mbb-white);
  border-bottom: 1px solid var(--mbb-line);
}

body.mbb-cohesive .subnav > :where(.shell, .wrap, div) {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.mbb-cohesive .subnav > :where(.shell, .wrap, div)::-webkit-scrollbar {
  display: none;
}

.mbb-image-unavailable {
  display: grid !important;
  place-items: center;
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--mbb-line);
  border-radius: 12px;
  background: linear-gradient(145deg, #101a31, #18294d);
  color: #dce7ff;
  font: 800 12px/1.4 var(--mbb-font);
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

body.mbb-cohesive :where(main, section, article, [id]) {
  scroll-margin-top: calc(var(--mbb-header-height) + 22px);
}

.mbb-shell {
  width: min(var(--mbb-shell), calc(100% - 40px));
  margin-inline: auto;
}

@media (max-width: 700px) {
  body.mbb-cohesive .subnav > :where(.shell, .wrap, div) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 14px !important;
    width: min(100% - 28px, var(--mbb-shell)) !important;
    padding-block: 11px !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  body.mbb-cohesive .subnav a {
    flex: 0 1 auto;
    white-space: normal !important;
  }
}

.mbb-skip {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  background: var(--mbb-white);
  color: var(--mbb-navy);
  border: 2px solid var(--mbb-blue);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 0.14s ease;
}

.mbb-skip:focus {
  transform: translateY(0);
}

.mbb-utility {
  background: var(--mbb-navy);
  color: #c9d4df;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 11px;
  letter-spacing: .035em;
}

.mbb-utility .mbb-shell {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mbb-utility strong {
  color: var(--mbb-white);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mbb-utility nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mbb-utility a {
  color: #c9d4df;
  text-decoration: none;
}

.mbb-utility a:hover {
  color: var(--mbb-white);
}

.mbb-global-header {
  position: sticky;
  z-index: 90;
  top: 0;
  background: rgba(242, 241, 236, .975);
  border-bottom: 1px solid var(--mbb-line);
  box-shadow: 0 5px 18px rgba(16,31,49,.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.mbb-nav-row {
  min-height: var(--mbb-header-height);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 34px;
}

.mbb-brand {
  display: grid;
  grid-template-columns: 38px auto;
  align-items: center;
  gap: 11px;
  color: var(--mbb-ink);
  text-decoration: none;
  white-space: nowrap;
}

.mbb-brand img {
  width: 38px;
  height: 38px;
  display: block;
}

.mbb-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.mbb-brand-copy strong {
  margin-top: 3px;
  font-size: 17px;
  letter-spacing: .055em;
}

.mbb-brand-copy small {
  margin-top: 5px;
  color: var(--mbb-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.mbb-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #8e9aa2;
  background: var(--mbb-white);
  color: var(--mbb-ink);
  font-weight: 800;
  cursor: pointer;
}

.mbb-nav-toggle-bars,
.mbb-nav-toggle-bars::before,
.mbb-nav-toggle-bars::after {
  width: 17px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}

.mbb-nav-toggle-bars {
  position: relative;
}

.mbb-nav-toggle-bars::before {
  position: absolute;
  top: -6px;
}

.mbb-nav-toggle-bars::after {
  position: absolute;
  top: 6px;
}

.mbb-primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.mbb-primary-nav a,
.mbb-primary-nav summary {
  color: var(--mbb-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.mbb-nav-group {
  position: relative;
}

.mbb-nav-group > summary {
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.mbb-nav-group > summary::-webkit-details-marker {
  display: none;
}

.mbb-nav-group > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .14s ease;
}

.mbb-nav-group[open] > summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.mbb-nav-group:is(.is-active, [data-active="true"]) > summary,
.mbb-nav-group > summary:hover,
.mbb-nav-group[open] > summary {
  color: var(--mbb-blue);
  border-bottom-color: var(--mbb-orange);
}

.mbb-nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 318px;
  padding: 10px;
  background: var(--mbb-white);
  border: 1px solid var(--mbb-line);
  box-shadow: var(--mbb-shadow);
}

.mbb-nav-group:nth-of-type(n+4) .mbb-nav-menu {
  right: 0;
  left: auto;
}

.mbb-nav-menu::before {
  content: "";
  position: absolute;
  top: -13px;
  right: 0;
  left: 0;
  height: 13px;
}

.mbb-nav-menu a {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-left: 3px solid transparent;
}

.mbb-nav-menu a:hover,
.mbb-nav-menu a[aria-current="page"] {
  background: #eef3f7;
  border-left-color: var(--mbb-orange);
  color: var(--mbb-blue);
}

.mbb-nav-menu a span {
  color: var(--mbb-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}

.mbb-nav-direct {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-bottom: 3px solid transparent;
}

.mbb-nav-direct:hover,
.mbb-nav-direct.is-active {
  color: var(--mbb-blue);
  border-bottom-color: var(--mbb-orange);
}

.mbb-nav-search {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 0 15px;
  background: var(--mbb-blue);
  border: 1px solid var(--mbb-blue);
  color: var(--mbb-white) !important;
  letter-spacing: .02em;
}

.mbb-nav-search:hover {
  background: #234d83;
  border-color: #234d83;
}

.mbb-next-steps {
  clear: both;
  padding: 62px 0;
  background: var(--mbb-paper-2);
  border-top: 1px solid var(--mbb-line);
}

.mbb-next-steps-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 25px;
}

.mbb-next-steps-kicker {
  display: block;
  color: var(--mbb-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.mbb-next-steps h2 {
  margin: 9px 0 0;
  color: var(--mbb-ink);
  font: 42px/1.07 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.mbb-next-steps-head p {
  margin: 0;
  color: var(--mbb-muted);
  font-size: 15px;
}

.mbb-next-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mbb-next-card {
  min-height: 196px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  background: var(--mbb-white);
  border: 1px solid var(--mbb-line);
  border-top: 4px solid var(--mbb-blue);
  color: var(--mbb-ink);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.mbb-next-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--mbb-shadow);
  border-top-color: var(--mbb-orange);
}

.mbb-next-card span {
  color: var(--mbb-orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mbb-next-card strong {
  margin-top: 15px;
  font: 25px/1.12 Georgia, "Times New Roman", serif;
}

.mbb-next-card small {
  margin-top: 9px;
  color: var(--mbb-muted);
  font-size: 12px;
  line-height: 1.5;
}

.mbb-next-card b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--mbb-blue);
  font-size: 12px;
}

.mbb-global-footer {
  clear: both;
  padding: 54px 0 26px;
  background: var(--mbb-navy);
  color: #c4d0dc;
}

.mbb-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.mbb-footer-brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--mbb-white);
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
}

.mbb-footer-brand strong {
  margin-top: 3px;
  font-size: 20px;
  letter-spacing: .055em;
}

.mbb-footer-intro p {
  max-width: 270px;
  margin: 15px 0 0;
  color: #aebdcb;
  font-size: 12px;
}

.mbb-global-footer nav strong,
.mbb-global-footer nav a {
  display: block;
}

.mbb-global-footer nav strong {
  margin-bottom: 10px;
  color: var(--mbb-white);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mbb-global-footer nav a {
  padding: 4px 0;
  color: #b8c7d7;
  font-size: 12px;
  text-decoration: none;
}

.mbb-global-footer nav a:hover {
  color: var(--mbb-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mbb-footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #8fa1b4;
  font-size: 10px;
}

@media (max-width: 1100px) {
  .mbb-nav-row {
    grid-template-columns: 1fr auto;
  }

  .mbb-nav-toggle {
    display: inline-flex;
  }

  .mbb-primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100vh - 106px);
    display: none;
    overflow-y: auto;
    padding: 14px 20px 22px;
    background: var(--mbb-paper);
    border-top: 1px solid var(--mbb-line);
    border-bottom: 1px solid var(--mbb-line);
    box-shadow: var(--mbb-shadow);
  }

  .mbb-primary-nav.is-open {
    display: block;
  }

  .mbb-nav-group {
    border-bottom: 1px solid var(--mbb-line);
  }

  .mbb-nav-group > summary,
  .mbb-nav-direct {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding-inline: 4px;
    border-bottom: 0;
  }

  .mbb-nav-menu,
  .mbb-nav-group:nth-of-type(n+4) .mbb-nav-menu {
    position: static;
    width: auto;
    padding: 0 0 10px 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .mbb-nav-menu::before {
    display: none;
  }

  .mbb-nav-menu a {
    padding: 10px 12px;
    background: rgba(255,255,255,.55);
    border-top: 1px solid rgba(207,213,216,.75);
    border-left: 3px solid transparent;
  }

  .mbb-nav-search {
    width: 100%;
    margin: 16px 0 0;
  }

  .mbb-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mbb-footer-grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .mbb-shell {
    width: min(var(--mbb-shell), calc(100% - 28px));
  }

  .mbb-utility .mbb-shell {
    min-height: 28px;
  }

  .mbb-utility nav {
    display: none;
  }

  .mbb-nav-row {
    min-height: 68px;
    gap: 14px;
  }

  .mbb-brand {
    grid-template-columns: 32px auto;
    gap: 9px;
  }

  .mbb-brand img {
    width: 32px;
    height: 32px;
  }

  .mbb-brand-copy {
    font-size: 8px;
  }

  .mbb-brand-copy strong {
    font-size: 14px;
  }

  .mbb-brand-copy small {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mbb-nav-toggle {
    padding-inline: 11px;
  }

  .mbb-nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .mbb-primary-nav {
    max-height: calc(100vh - 96px);
    padding-inline: 14px;
  }

  .mbb-next-steps {
    padding: 48px 0;
  }

  .mbb-next-steps-head,
  .mbb-next-grid {
    grid-template-columns: 1fr;
  }

  .mbb-next-steps-head {
    gap: 15px;
  }

  .mbb-next-steps h2 {
    font-size: 34px;
  }

  .mbb-next-card {
    min-height: 0;
  }

  .mbb-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mbb-footer-intro {
    grid-column: 1 / -1;
  }

  .mbb-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .mbb-footer-grid {
    grid-template-columns: 1fr;
  }

  .mbb-footer-intro {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mbb-skip,
  .mbb-next-card {
    transition: none;
  }
}

@media print {
  .mbb-utility,
  .mbb-global-header,
  .mbb-next-steps,
  .mbb-global-footer {
    display: none !important;
  }
}
