.download-hero {
  margin-top: 76px;
  padding: 68px 0 72px;
  color: #f5faf6;
  background: #0b1710;
}

.download-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  align-items: center;
  gap: 72px;
  max-width: 1280px;
}

.download-hero__content { min-width: 0; }

.download-hero__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.download-hero__identity img {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.download-hero__identity div { display: grid; gap: 3px; }

.download-hero__identity span,
.download-details__eyebrow {
  color: #4ddd55;
  font-size: 12px;
  font-weight: 800;
}

.download-section-heading > span {
  color: #16751c;
  font-size: 12px;
  font-weight: 800;
}

.download-hero__identity strong { font-size: 16px; }

.download-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

.download-hero__lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #b8c7bc;
  font-size: 18px;
  line-height: 1.7;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.store-button {
  min-width: 218px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  border: 1px solid #3d4b41;
  border-radius: 8px;
  color: #ffffff;
  background: #050806;
  text-decoration: none;
}

.store-button:hover { color: #ffffff; border-color: #4ddd55; }
.store-button > i { width: 30px; font-size: 28px; text-align: center; }
.store-button span { display: grid; gap: 1px; font-size: 17px; font-weight: 700; line-height: 1.2; }
.store-button small { color: #aebbb1; font-size: 9px; font-weight: 700; }
.store-button--pending { color: #c6d1c8; background: #162019; }
.store-button--pending small { color: #8e9b91; }

.download-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 28px;
  color: #b8c7bc;
  font-size: 13px;
}

.download-status span { display: inline-flex; align-items: center; gap: 7px; }
.download-status .fa-circle-check { color: #4ddd55; }

.share-link {
  max-width: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #344238;
  border-radius: 8px;
  background: #101c14;
}

.share-link > div:first-child { min-width: 0; display: grid; gap: 3px; }
.share-link strong { color: #ffffff; font-size: 14px; }
.share-link span { overflow-wrap: anywhere; color: #aebbb1; font-size: 13px; }
.share-link__actions { display: flex; gap: 8px; }

.icon-command {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #425147;
  border-radius: 8px;
  color: #f5faf6;
  background: #17251b;
  font-weight: 700;
}

.icon-command--primary { border-color: #32cd32; color: #071008; background: #32cd32; }
.share-link .icon-command--primary span { color: #071008; }
.share-link__feedback { grid-column: 1 / -1; min-height: 18px; margin: -8px 0 0; color: #4ddd55; font-size: 12px; }

.download-hero__visual { position: relative; min-height: 610px; }

.phone-preview {
  width: 330px;
  height: 610px;
  margin-left: auto;
  padding: 8px;
  overflow: hidden;
  border: 2px solid #3c4a40;
  border-radius: 40px;
  background: #050806;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
}

.phone-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 31px; }

.download-qr {
  position: absolute;
  right: 285px;
  bottom: 34px;
  width: 210px;
  padding: 13px;
  border: 1px solid #dce7df;
  border-radius: 8px;
  color: #122016;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.download-qr img { width: 100%; border-radius: 4px; }
.download-qr div { display: grid; gap: 2px; padding: 8px 5px 2px; }
.download-qr strong { font-size: 14px; }
.download-qr span { color: #526056; font-size: 11px; }

.download-audiences,
.download-resources,
.app-gallery,
.download-details,
.download-notes { padding: 84px 0; }

.download-audiences { background: #f5faf6; }
.download-section-heading { max-width: 760px; margin-bottom: 40px; }

.download-section-heading h2,
.download-details h2 { margin: 10px 0 12px; font-size: 36px; letter-spacing: 0; }

.download-section-heading p,
.download-details p { color: #536258; font-size: 16px; line-height: 1.7; }

.download-audiences__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.download-audience {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid #dce7df;
  border-radius: 8px;
  background: #ffffff;
}

.download-audience > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(39, 184, 47, 0.35);
  border-radius: 8px;
  color: #16751c;
  background: rgba(39, 184, 47, 0.1);
}

.download-audience h3 { margin-bottom: 10px; font-size: 22px; }
.download-audience p { flex: 1; color: #536258; line-height: 1.65; }
.download-audience a { display: inline-flex; align-items: center; gap: 8px; color: #16751c; font-size: 14px; font-weight: 700; }

.download-resources { background: #ffffff; }

.download-resources__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.welcome-pack {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px;
  border: 1px solid #dce7df;
  border-radius: 8px;
  background: #f8fbf9;
}

.welcome-pack--featured {
  border-color: #5bd45f;
  background: #f1fbf2;
}

.welcome-pack__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(39, 184, 47, 0.35);
  border-radius: 8px;
  color: #16751c;
  background: rgba(39, 184, 47, 0.1);
}

.welcome-pack > div:nth-child(2) { flex: 1; }
.welcome-pack span,
.download-resources__qr-copy > span { color: #16751c; font-size: 11px; font-weight: 800; }
.welcome-pack h3 { margin: 7px 0 10px; font-size: 21px; }
.welcome-pack p { color: #536258; font-size: 14px; line-height: 1.65; }

.welcome-pack > a {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid #16751c;
  border-radius: 8px;
  color: #ffffff;
  background: #16751c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.welcome-pack > a:hover { color: #071008; background: #32cd32; }

.download-resources__qr-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 190px;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 28px;
  border-radius: 8px;
  color: #f5faf6;
  background: #101c14;
}

.download-resources__qr-copy h3 { margin: 8px 0 10px; color: #ffffff; font-size: 26px; }
.download-resources__qr-copy p { margin-bottom: 13px; color: #b8c7bc; line-height: 1.65; }
.download-resources__qr-copy strong { color: #4ddd55; overflow-wrap: anywhere; }
.download-resources__qr-band figure { margin: 0; padding: 10px; border-radius: 8px; background: #ffffff; }
.download-resources__qr-band figure img { width: 100%; height: auto; display: block; }
.download-resources__qr-band figcaption { padding: 8px 2px 2px; color: #122016; font-size: 11px; font-weight: 700; text-align: center; }

.app-gallery { overflow: hidden; background: #ffffff; }

.app-gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 260px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-color: #32cd32 #edf4ef;
}

.app-gallery figure { scroll-snap-align: start; margin: 0; }
.app-gallery figure img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid #dce7df; border-radius: 8px; background: #edf4ef; }
.app-gallery figcaption { padding-top: 10px; color: #536258; font-size: 13px; font-weight: 700; text-align: center; }

.download-details { color: #f5faf6; background: #101c14; }
.download-details__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 72px; max-width: 1080px; }
.download-details h2 { color: #ffffff; }
.download-details p { color: #b8c7bc; }
.download-details__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.download-details .btn--secondary { border-color: #4a5d50; color: #f5faf6; background: #17251b; }
.download-details .btn--secondary:hover { border-color: #4ddd55; color: #ffffff; background: #203126; }
.download-details__qr { padding: 18px; border-radius: 8px; background: #ffffff; }
.download-details__qr img { width: 100%; }
.download-details__qr a { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; border: 1px solid #dce7df; border-radius: 8px; color: #16751c; font-size: 13px; font-weight: 700; }

.download-notes { padding: 44px 0; background: #edf4ef; }
.download-notes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.download-notes__grid > div { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 12px; }
.download-notes__grid > div > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; color: #16751c; background: rgba(39, 184, 47, 0.1); }
.download-notes__grid span { display: grid; gap: 3px; color: #536258; font-size: 13px; line-height: 1.5; }
.download-notes__grid strong { color: #122016; font-size: 15px; }

@media (max-width: 1020px) {
  .download-hero__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
  .download-hero h1 { font-size: 44px; }
  .download-qr { display: none; }
}

@media (max-width: 820px) {
  .download-hero__layout,
  .download-details__layout { grid-template-columns: 1fr; }
  .download-hero__visual { min-height: auto; }
  .phone-preview { width: min(100%, 320px); height: 590px; margin: 0 auto; }
  .download-audiences__grid,
  .download-resources__grid,
  .download-notes__grid { grid-template-columns: 1fr; }
  .download-audience { min-height: auto; }
  .welcome-pack { min-height: auto; }
  .download-resources__qr-band { grid-template-columns: minmax(0, 1fr) 160px 160px; gap: 18px; }
  .download-details__qr { width: min(100%, 280px); }
}

@media (max-width: 560px) {
  .download-hero { padding: 48px 0 56px; }
  .download-hero h1 { font-size: 36px; }
  .download-hero__lead { font-size: 16px; }
  .store-button { width: 100%; }
  .share-link { grid-template-columns: 1fr; }
  .share-link__actions { width: 100%; }
  .icon-command { flex: 1; }
  .download-hero__visual { display: none; }
  .download-audiences,
  .download-resources,
  .app-gallery,
  .download-details { padding: 62px 0; }
  .download-section-heading h2,
  .download-details h2 { font-size: 30px; }
  .app-gallery__track { grid-auto-columns: 78%; }
  .download-details__actions .btn { width: 100%; }
  .download-resources__qr-band { grid-template-columns: 1fr 1fr; padding: 20px; }
  .download-resources__qr-copy { grid-column: 1 / -1; }
}
