/* Reuse the original header, including its colors and controls. */
.home.evs-path-mode .site-header { display: flex; }
.header-hover-edge { display: none; }
@media (hover: hover) and (pointer: fine) {
  .home[data-header-mode="auto"] .site-header {
    opacity: 0;
    transform: translate(-50%, calc(-100% - 24px));
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms ease;
  }
  .home[data-header-mode="auto"] .site-header.header-revealed {
    opacity: 1;
    transform: translateX(-50%);
    pointer-events: auto;
  }
  .home[data-header-mode="auto"] .header-hover-edge {
    display: block; position: fixed; inset: 0 0 auto; height: 12px; z-index: 59;
    background: transparent; border: 0; box-shadow: none; pointer-events: none;
  }
}
@media (max-width: 1024px) {
  .home.evs-path-mode .hero { padding-top: calc(100px + env(safe-area-inset-top)); }
  .home .assistant-entry-text { white-space: nowrap; text-overflow: clip; }
}
@media (prefers-reduced-motion: reduce) {
  .home[data-header-mode="auto"] .site-header { transition: none; }
}

/* One footer owns both rows; intrinsic height remains safe under text zoom. */
.home .site-footer { position: fixed; z-index: 60; bottom: 0; left: 0; right: 0; display: grid; justify-items: center; gap: 8px; min-height: 62px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); pointer-events: none; }
.home .site-footer .agreement-library-links { position: static; margin: 0; gap: 8px 16px; pointer-events: auto; }
.home .site-footer .preview-badge { position: static; inset: auto; transform: none; margin: 0; white-space: normal; text-align: center; }
.home .evs-path-nav { bottom: calc(var(--site-footer-height, 72px) + 16px); }
.home .hero, .home.evs-path-mode .hero { padding-bottom: calc(var(--site-footer-height, 72px) + 112px); }
@media (max-width: 720px) {
  .home .site-footer { gap: 2px; min-height: 64px; padding: 4px max(16px, env(safe-area-inset-left), env(safe-area-inset-right)) calc(2px + env(safe-area-inset-bottom)); }
  .home .site-footer .preview-badge { order: 1; min-height: 18px; display: grid; place-items: center; }
  .home .site-footer .agreement-library-links { order: 2; width: 100%; justify-content: center; gap: 4px 22px; margin: 0; line-height: 1.25; }
  .home .site-footer .agreement-library-links button { min-height: 28px; }
  .home .evs-path-nav { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .home .hero, .home.evs-path-mode .hero { padding-bottom: calc(176px + env(safe-area-inset-bottom)); }
}
.home .booking-agreement-button { display: flex; justify-content: center; margin: 16px 0; }
.home .booking-agreement-button .primary-nav-link { font: inherit; }
.home .participant-question { border: 0; padding: 0; margin: 0; min-width: 0; }
.home .participant-question legend { font-size: 14px; margin-bottom: 12px; }
.home .participant-answers { display: flex; gap: 24px; justify-content: center; }
.home .participant-answers label { align-items: center; min-height: 44px; cursor: pointer; }
.home .participant-answers input { width: 20px; height: 20px; margin: 0; accent-color: var(--fg); }
