@media (min-width: 1100px) and (min-height: 700px) {
  html {
    scroll-snap-type: y proximity;
  }

  .story-section {
    min-height: 100svh;
    scroll-snap-align: start;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    width: min(calc(100% - 36px), 760px);
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
  }

  .section-shell {
    width: min(calc(100% - 44px), 760px);
    padding-top: 100px;
  }

  .split-layout,
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-shell {
    padding-top: 122px;
  }

  .hero-section::before {
    inset: 48% 0 0;
  }

  .hero-copy,
  .section-copy {
    max-width: 650px;
  }

  .hero-visual {
    width: min(100%, 620px);
  }

  .visual-first .section-copy,
  .visual-first > :last-child {
    order: initial;
  }

  .visual-first > :last-child {
    order: 2;
  }

  .notes-demo,
  .explore-demo,
  .connect-demo {
    width: min(100%, 600px);
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 62px;
  }

  body {
    word-break: keep-all;
  }

  .site-header {
    width: calc(100% - 30px);
  }

  .brand-word {
    font-size: 29px;
  }

  .header-download {
    min-width: 96px;
    padding: 9px 14px;
    font-size: 12px;
  }

  .story-section,
  .hero-section {
    min-height: auto;
    overflow: clip;
  }

  .section-shell {
    width: calc(100% - 36px);
    padding: 94px 0 72px;
  }

  .hero-shell {
    padding-top: 112px;
    padding-bottom: 86px;
  }

  .hero-section::before {
    inset: 47% 0 0;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .section-copy h2 {
    font-size: clamp(32px, 9.5vw, 44px);
  }

  .hero-copy .lead,
  .section-copy > p,
  .closing-content > p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.65;
  }

  .store-badges {
    gap: 8px;
    margin-top: 27px;
  }

  .store-badge {
    width: min(46%, 148px);
    height: 45px;
  }

  .hero-visual {
    aspect-ratio: 1 / 0.97;
  }

  .map-surface,
  .explore-map {
    border-radius: 26px;
  }

  .mini-note {
    top: 10%;
    left: 5%;
    width: 48%;
    padding: 24px 13px 13px;
  }

  .mini-note small {
    margin-top: 10px;
    font-size: 9px;
  }

  .profile-dot {
    width: 64px;
    height: 64px;
    padding: 4px;
  }

  .profile-two {
    width: 56px;
    height: 56px;
  }

  .scroll-cue {
    display: none;
  }

  .notes-demo,
  .connect-demo {
    padding: 18px;
    border-radius: 24px;
  }

  .feed-note {
    min-height: 100px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
    border-radius: 15px;
  }

  .feed-note img {
    width: 44px;
    height: 44px;
  }

  .feed-note b {
    font-size: 13px;
  }

  .feature-list {
    margin-top: 28px;
  }

  .explore-demo {
    min-height: 500px;
    padding-top: 88px;
  }

  .search-controls {
    right: 0;
    left: 0;
    min-height: 112px;
    grid-template-columns: 74px 1fr;
    padding: 14px;
    border-radius: 20px;
  }

  .radius-control {
    grid-template-columns: 74px 1fr;
  }

  .radius-control strong,
  .search-controls button {
    height: 38px;
    font-size: 12px;
  }

  .explore-map {
    top: 58px;
  }

  .explore-profile {
    width: 56px;
    height: 56px;
  }

  .explore-a { left: 9%; }
  .explore-b { right: 8%; }

  .profile-preview-card {
    grid-template-columns: 58px 1fr;
  }

  .profile-preview-card > img {
    width: 58px;
    height: 58px;
  }

  .flow-copy {
    gap: 7px;
  }

  .flow-copy span {
    padding: 8px 10px;
    font-size: 11px;
  }

  .flow-copy i {
    width: 9px;
  }

  .closing-section {
    min-height: 760px;
  }

  .closing-content {
    width: calc(100% - 36px);
    padding: 98px 0 60px;
  }

  .closing-mark {
    width: 180px;
    height: 180px;
  }

  .closing-mark img {
    width: 92px;
    height: 92px;
  }

  .closing-content h2 {
    font-size: 34px;
  }

  .footer-links {
    gap: 18px;
  }
}

@media (max-width: 370px) {
  .section-shell {
    width: calc(100% - 28px);
  }

  .hero-copy h1 {
    font-size: 37px;
  }

  .store-badge {
    width: 142px;
  }

  .profile-one {
    right: 4%;
  }

  .feed-note b {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
