/* Home footer: the teal runs to the very bottom and sits behind the page.
   Everything above it lives in .page-sheet; the footer is stuck to the bottom
   of the screen underneath, so scrolling to the end slides the page up and
   uncovers it. Remove this file's link and unwrap .page-sheet to undo. */
.v2-footer-spacer { height: 120px; }
.page-sheet { position: relative; z-index: 1; background: var(--white, #fafaf8); }

footer.site-footer {
  position: sticky; bottom: 0; z-index: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 420px; border-top: 0;
  background: var(--accent); color: #fff;
}
footer.site-footer .footer-chat { flex: 1; display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
/* In a column flex box the row would shrink to its text and centre; keep it full width so the copyright stays on the left. */
footer.site-footer .footer-bottom-row { width: 100%; box-sizing: border-box; }
footer.site-footer .footer-bottom-row span { color: rgba(255, 255, 255, 0.85); }
footer.site-footer .dive-lock { color: rgba(255, 255, 255, 0.85); }
footer.site-footer .dive-lock-input { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.6); }
/* A footer taller than the screen (short phones, landscape) just flows normally. */
@media (max-height: 460px) { footer.site-footer { position: relative; } }
@media (max-width: 640px) { footer.site-footer { min-height: 340px; } }
