/* Compact enterprise footer, isolated from the legacy service-directory layout. */
#root .cloud-footer.octa-footer-compact {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: 0;
  color: #fff;
  background: #050505;
  border-top: 1px solid #555;
  text-align: left;
}

#root .octa-footer-compact .octa-footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 44px;
  align-items: center;
  gap: 48px;
  width: min(100%, 1440px);
  min-height: 112px;
  margin-inline: auto;
  padding: 24px clamp(24px, 4vw, 64px);
  box-sizing: border-box;
}

#root .octa-footer-compact .octa-footer-wordmark {
  display: inline-block;
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.055em;
  text-decoration: none;
}

#root .octa-footer-compact .octa-footer-content { min-width: 0; }

#root .octa-footer-compact .octa-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  margin: 0 0 6px;
  padding: 0;
}

#root .octa-footer-compact .octa-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #eee;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

#root .octa-footer-compact .octa-footer-content small {
  display: block;
  color: #999;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

#root .octa-footer-compact .octa-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: 4px;
  transition: background-color 180ms ease;
}

#root .octa-footer-compact .octa-footer-links a:hover { color: #fff; text-decoration: underline; }
#root .octa-footer-compact .octa-footer-social:hover { background: #242424; }
#root .octa-footer-compact a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 3px; }

@media (max-width: 960px) {
  #root .octa-footer-compact .octa-footer-inner { gap: 28px; }
  #root .octa-footer-compact .octa-footer-links { column-gap: 16px; }
}

@media (max-width: 600px) {
  #root .octa-footer-compact .octa-footer-inner {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 20px;
    padding-block: 28px 24px;
  }
  #root .octa-footer-compact .octa-footer-wordmark { font-size: 28px; }
  #root .octa-footer-compact .octa-footer-social { grid-column: 2; grid-row: 1; }
  #root .octa-footer-compact .octa-footer-content { grid-column: 1 / -1; }
  #root .octa-footer-compact .octa-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    margin-bottom: 18px;
  }
  #root .octa-footer-compact .octa-footer-links a { min-height: 44px; font-size: 13px; }
  #root .octa-footer-compact .octa-footer-content small { max-width: 300px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  #root .octa-footer-compact a { transition: none; }
}

#root .legacy-header > .skip-link {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#root .legacy-header > .skip-link:focus-visible {
  inset-block-start: 8px;
  inset-inline-start: var(--octa-header-gutter, 16px);
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  overflow: visible;
  clip-path: none;
  background: #111;
  color: #fff;
  outline: 2px solid #ffc658;
  outline-offset: 2px;
  z-index: 100;
}
