/* Production behaviors layered over the approved homepage styling. */
html { scroll-padding-top: 92px; }
.skip:focus {
  left: 16px; top: 12px; z-index: 30; padding: 10px 16px;
  background: var(--gb-abyss); color: var(--gb-white);
}
.light :focus-visible, .white :focus-visible { outline-color: var(--gb-proof); }
.header-demo { flex-shrink: 0; text-align: center; }
.hdr .header-demo .btn { margin-left: 0; }
.menu { cursor: pointer; flex-shrink: 0; }
.menu span { display: block; height: 1.5px; background: currentColor; }
.menu { color: var(--gb-white); }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.rec:last-child { border-color: #3C7A70; }
.chain .rec-b { white-space: pre-line; }
.three .arrow::before { content: ''; width: 11px; border-top: 1.5px solid currentColor; }
.three .arrow::after { content: ''; position: absolute; width: 5px; height: 5px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateX(3px) rotate(45deg); }
.flow .steps { counter-reset: step; }
.flow .steps li { counter-increment: step; }
.flow .steps li::before { content: counter(step, decimal-leading-zero); font: 500 13px/1.7 var(--gb-font-data); color: var(--gb-lime); }
.footer-brand { width: fit-content; }
.cta .help a { display: inline-block; margin-inline-start: 6px; }
/* Mockup .term .c (#6E8C8A) is 4.38:1 on the abyss terminal; nearest AA tone (4.62:1). */
.term .c { color: #72908E; }
@media (min-width: 761px) and (max-width: 940px) {
  .hdr .wrap { gap: 20px; padding-inline: 24px; }
  .hdr nav { gap: 15px; }
  .hdr .logo { height: 30px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .hdr .wrap { height: auto; min-height: 62px; gap: 8px; flex-wrap: wrap; padding-block: 5px; }
  .hdr .logo { height: auto; width: clamp(104px, 35vw, 148px); }
  .header-demo { margin-left: auto; }
  .hdr .header-demo .btn { padding-inline: 10px; }
  .hdr nav { display: flex; width: 100%; order: 2; margin: 0; gap: 10px 20px; flex-wrap: wrap; padding: 8px 0 16px; }
  .hdr nav a { line-height: 1.4; padding: 6px 0; }
  .has-navigation .hdr .menu { display: flex; order: 1; }
  .has-navigation .hdr nav { display: none; }
  .has-navigation .hdr:has(.menu[aria-expanded="true"]) nav { display: flex; }
  html:not(.has-navigation) .hdr .menu { display: none; }
  .rec .diagram-icon { min-height: 80px; }
}
@media (max-width: 350px) {
  .hdr .wrap { padding-inline: 12px; gap: 7px; }
  .hdr .logo { width: 114px; }
}

/* Release control (BBX-GBW-1): remove at Derek's go-live, together with noindex. Rules from mockups/assets/site.css + home.css (r3). */
.draft { position: static; display: block; z-index: 50; background: #DCE3E2; color: var(--gb-abyss); font: 600 12px/1 var(--gb-font-ui); letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 8px 12px; border-radius: 0; }
