/* One quiet footer shared by the landing, app and support pages. */
.site-footer {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  min-height: 62px;
  margin: 0 auto;
  padding: 8px 20px;
  border-top: 1px solid #d7ded2;
  background: #f7f5ef;
  color: #58665e;
  font: 400 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.site-footer-company { white-space: nowrap; }
.site-footer-disclosure { position: relative; flex: none; margin: 0; padding: 0; border: 0; }
.site-footer-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #243e36;
  background: transparent;
  cursor: pointer;
  list-style: none;
}
.site-footer-disclosure > summary::-webkit-details-marker { display: none; }
.site-footer-disclosure > summary::marker { content: ""; }
.site-footer-disclosure > summary:hover,
.site-footer-disclosure[open] > summary { background: #e4eade; border-color: #c7d1c3; }
.site-footer-disclosure svg { display: block; }
.site-footer-links {
  position: absolute;
  z-index: 50;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(280px, calc(100vw - 40px));
  max-height: min(440px, 65svh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid #c7d1c3;
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 8px 28px #243e3620;
  text-align: left;
}
.site-footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 7px;
  color: #243e36;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}
.site-footer-links a:hover { background: #edf1e8; }
.site-footer :focus-visible { outline: 3px solid #426a42; outline-offset: 2px; }
.landing-reveal .site-footer {
  grid-column: 1 / -1;
  width: calc(100% - 40px);
  max-width: none;
  margin-top: 12px;
  padding-inline: 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.app-page { --site-bottom-space: env(safe-area-inset-bottom, 0px); padding-bottom: var(--site-bottom-space); }
.app-page.has-tabbar { --site-bottom-space: calc(75px + env(safe-area-inset-bottom, 0px)); }
.app-page.has-flower-action { --site-bottom-space: calc(84px + env(safe-area-inset-bottom, 0px)); }
.app-page #app { min-height: 0; }
.app-page .mobile-shell,
.app-page .app-screen { min-height: calc(100svh - 62px - var(--site-bottom-space)); }
.app-page .app-screen.with-tabbar,
.app-page .flower-screen,
.app-page .payment-screen { padding-bottom: 30px; }
.support-page-body { display: flex; flex-direction: column; min-height: 100svh; padding-bottom: env(safe-area-inset-bottom, 0px); }
.support-page-body .support-page { flex: 1; width: 100%; }
@media (min-width: 650px) {
  .landing-reveal .site-footer { width: 100%; margin-top: 18px; }
}
