/* Production layout fix: keep every decorative effect inside its owner.
   An unconstrained primary-button pseudo element previously enlarged the
   document's vertical overflow and produced a large blank area after footer. */
html {
  min-height: 100%;
  background: #061520;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
  width: 100%;
}

body > .keyword-section,
body > .site-footer {
  flex: 0 0 auto;
  width: 100%;
}

/* This is the direct fix for the blank space shown in the supplied video. */
.btn,
.btn.primary,
.shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn.primary::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin: 0 !important;
}

body.theme-2,
body.theme-tech {
  --footer-canvas: #102e2a;
}

@media (max-width: 980px), (prefers-reduced-motion: reduce) {
  .shine::after {
    content: none !important;
    display: none !important;
    animation: none !important;
  }
}
