/* The top of every app page: its App Store header art, full width (the
   very file uploaded to App Store Connect, written in web sizes by
   ~/bin/store-art --site), then .store-intro. Colors come from the page's
   own --color-* palette.

     <header class="store-head"><img class="store-art" src="images/header-2400.jpg" srcset="..." alt=""></header>
     <section class="store-intro"><h1>Land rested.</h1><p>One line.</p><a class="store-get" href="...">Get on the App Store</a></section>
*/
.store-art { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 50%; }
/* On a phone, the middle of the art at App Store proportions, where Apple's
   art safe area always shows. */
@media (max-width: 700px) { .store-art { aspect-ratio: 4 / 3; } }
/* Under the art, every app page says the same three things in the same
   place: the headline, one line, and the App Store button. */
.store-intro { box-sizing: border-box; max-width: 760px; margin: 0 auto; text-align: center;
               padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 48px) clamp(40px, 6vw, 72px); }
.store-intro h1 { text-wrap: balance; font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.05; font-weight: 700;
                  letter-spacing: -0.01em; margin: 0 0 16px; color: var(--color-text-primary); }
.store-intro p { text-wrap: balance; font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.5; margin: 0 0 28px;
                 color: var(--color-text-secondary); }
.store-intro .store-get { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px;
             border-radius: 24px; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
             background: var(--color-text-primary); color: var(--color-ground); }
.store-intro .store-soon { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem;
              color: var(--color-text-tertiary); }

/* The home page: each app is a card of its header art and nothing else. */
.store-cards { display: grid; gap: clamp(64px, 10vw, 160px); padding: clamp(24px, 4vw, 64px) 16px 0;
               box-sizing: border-box; max-width: calc(1240px + 32px); margin: 0 auto; }
.store-band { display: block; border-radius: 18px; overflow: hidden; }

/* A small card of an app's header art, at the top of its support and
   privacy pages and in the list on /support/. */
.store-mini { display: block; box-sizing: border-box; max-width: var(--store-width, 720px);
              margin: 24px auto 0; padding: 0 24px; }
.store-mini img { display: block; width: 100%; height: auto; border-radius: 14px; }

/* Footer links are small type with a full-size touch area. */
.page-footer a { display: inline-block; min-height: 44px; min-width: 44px; line-height: 44px; text-align: center; }

/* The app itself: framed screenshots side by side, a row you swipe on a phone. */
.store-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center;
               gap: clamp(16px, 3vw, 40px); padding: 0 clamp(24px, 6vw, 48px) clamp(40px, 6vw, 72px); }
.store-shots img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .store-shots { grid-template-columns: repeat(3, 62%); justify-content: start; overflow-x: auto;
                 scroll-snap-type: x mandatory; scrollbar-width: none; }
  .store-shots img { scroll-snap-align: center; }
}

/* What the app does, in the words of its App Store description. */
.store-features { list-style: none; padding: 0; margin: 0; }
.store-features li { padding: 14px 0; color: var(--color-text-primary);
                      background: linear-gradient(to right, var(--color-text-tertiary), transparent) top left / 100% 1px no-repeat; }
/* A feature with a heading: the pun, then what it does for you, beside the
   screen that shows it. */
.store-features li:has(img) { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; }
.store-features li img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .store-features li:has(img) { grid-template-columns: 1fr; gap: 16px; }
  .store-features li img { width: 100%; margin: 0 0 8px; }
}
.store-features h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 700; margin: 6px 0 6px; color: var(--color-text-primary); }
.store-features h2 + p { margin: 0 0 6px; color: var(--color-text-secondary); line-height: 1.5; }
