.scroll-dot-footer { display: none; }
.scroll-arrow { display: none; }

.footer-title {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 1;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 981px) {
  html, body { height: 100dvh; overflow: hidden; }
  body { overflow-y: scroll; scroll-snap-type: y mandatory; }
  main { overflow: visible; }
  .section { height: 100dvh; min-height: unset; scroll-snap-align: start; }
  .app-section,
  .nutrition-section,
  .progress-section { min-height: unset; }

  .hero-copy { margin-top: -30vh; }

  .scroll-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
  }
  .scroll-dot {
    background: rgba(49, 91, 72, 0.28);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    height: 0.5rem;
    padding: 0;
    transition: background 250ms, transform 250ms;
    width: 0.5rem;
  }
  .scroll-dot.active { background: var(--forest); transform: scale(1.6); }
  .scroll-dot:hover { background: rgba(49, 91, 72, 0.55); }

  .footer-bar { scroll-snap-align: start; }
  .footer-title { display: none; }
  .footer-links { display: contents; }
}

@media (max-width: 640px) {
  html, body { height: 100dvh; overflow: hidden; }
  #slide-container {
    transition: transform 600ms cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
  }
  main { overflow: visible; }
  .section { height: 100dvh; min-height: unset; }
  .app-section,
  .nutrition-section,
  .progress-section { min-height: unset; }

  .scroll-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    top: unset;
    transform: none;
    z-index: 100;
  }
  .scroll-dot {
    background: rgba(49, 91, 72, 0.28);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    height: 0.42rem;
    padding: 0;
    transition: background 250ms, transform 250ms;
    width: 0.42rem;
  }
  .scroll-dot.active { background: var(--forest); transform: scale(1.6); }
  .scroll-dot-footer { display: block; }

  .scroll-arrow {
    animation: arrow-bounce 1.8s ease-in-out infinite;
    bottom: 1.5rem;
    color: rgba(49, 91, 72, 0.55);
    display: block;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 10;
  }
  .scroll-arrow svg { height: 1.8rem; width: 1.8rem; }
  @keyframes arrow-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
    50% { transform: translateX(-50%) translateY(7px); opacity: 1; }
  }

  .footer-bar {
    align-content: unset;
    flex-direction: column;
    gap: 2rem;
    height: 100dvh;
    justify-content: center;
    padding: 3rem 2rem;
  }
  .footer-bar .store-link { margin-right: 0; }
}
