/* Download page: a full-bleed photo band sits between the platform choices and the
   numbered setup steps, reusing the shared .photo-band component. Scoped spacing only;
   .photo-band, .download-layout, .setup-steps etc. are already styled in experience.css. */

.download-page .download-layout {
  padding-bottom: 0;
}
.download-page .photo-band {
  margin: 70px 0;
}
.download-page .download-steps {
  max-width: 640px;
  margin-bottom: 80px;
}
.download-page .download-steps li:last-child {
  border-bottom: 1px solid var(--line);
}
/* .photo-band positions its child with position:absolute + inset:0, which normally overrides
   a photo's sizing entirely. But .photo-slot also carries a CSS aspect-ratio (for its many other,
   non-band uses), and per spec an aspect-ratio still wins over one of the two inset-derived
   dimensions when both width and height are otherwise auto, so on desktop the slot quietly grows
   to a 16:9 box taller than the band and its caption gets clipped by the band's overflow:hidden.
   Pin both dimensions explicitly so the slot fills the band exactly, matching a real photo. At the
   700px slot-portrait breakpoint the band's own height becomes auto, so this rule resolves back to
   a no-op and the band's aspect-ratio:4/5 mobile override applies normally. The rule covers the
   real picture too, which carries the same reserved ratio once the photograph lands. */
.download-page .photo-band .photo {
  width: 100%;
  height: 100%;
}

/* Between 901px and 1300px, .photo-band's height clamp sits near its 480px floor while the band
   stays wide enough that the cover-fit crop keeps download-counter's subject close to the frame's
   top edge, so the default top:24px card placement crowds her hairline (roughly 50-75px of
   clearance versus a generous 160-200px at desktop). Dropping the card lower, into the clear
   counter/cabinet background beside her shoulder, and narrowing it slightly restores the "set down
   near the subject" clearance without touching the shared .photo-band component other pages reuse. */
@media (max-width: 1300px) and (min-width: 901px) {
  .download-page .photo-card-top-right {
    top: 140px;
    width: 260px;
  }
}

@media (max-width: 900px) {
  .download-page .photo-band {
    margin: 50px 0;
  }
}
@media (max-width: 700px) {
  .download-page .photo-band {
    margin: 40px 0 50px;
  }
  .download-page .download-steps {
    max-width: none;
    margin-bottom: 50px;
  }
  /* The shared .photo-band .photo{aspect-ratio:4/5} rule in experience.css outranks this
     scene's own inline --slot-aspect-portrait:3/4 by source order at equal specificity, so
     the pre-baked 3:4 portrait crop for download-counter gets re-cropped to a mismatched 4:5
     box. This page-scoped, higher-specificity selector restores the scene's declared ratio. */
  .download-page .photo-band .photo {
    aspect-ratio: var(--slot-aspect-portrait, var(--slot-aspect));
  }
}

/* The phone-to-desktop handoff, always visible beside the installers rather than seven items down
   in a collapsed FAQ. Social traffic arrives on a phone and meets two buttons it cannot use; this
   says why, and where that visitor can actually go, without device detection hiding a supported
   option and without implying a phone installer exists. */
.download-page .platform-note {
  margin: 28px 0 0;
  padding: 22px 24px;
  background: var(--surface-muted);
  border-radius: var(--radius);
}
.download-page .platform-note h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.download-page .platform-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.download-page .platform-note-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 14px;
}
.download-page .platform-note-routes a {
  font-size: 14px;
  color: var(--accent);
}
/* The steps now sit above the band rather than below it, so their spacing flips. */
.download-page .download-steps {
  margin: 64px 0 0;
}

@media (max-width: 700px) {
  .download-page .platform-note {
    padding: 20px 18px;
  }
  .download-page .platform-note-routes {
    gap: 10px;
    flex-direction: column;
  }
  .download-page .download-steps {
    margin-top: 44px;
  }
}
