.download-page {
  background: #f7f5f8;
}

.download-page main {
  overflow: hidden;
}

.download-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #ee6980;
}

.download-hero__image,
.download-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.download-hero__image {
  object-fit: cover;
  object-position: center;
}

.download-hero__shade {
  background:
    linear-gradient(90deg, rgba(162, 29, 70, .66) 0%, rgba(198, 39, 79, .44) 31%, rgba(220, 64, 98, .14) 52%, rgba(220, 64, 98, 0) 70%),
    linear-gradient(0deg, rgba(89, 17, 42, .08), rgba(89, 17, 42, 0) 50%);
}

.download-hero__inner {
  position: relative;
  z-index: 1;
}

.download-hero__copy {
  width: min(600px, 47%);
  padding: 70px 0 74px;
  text-shadow: 0 2px 20px rgba(111, 15, 52, .16);
}

.download-hero__eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  opacity: .84;
}

.download-hero h1 {
  margin: 0;
  font-size: clamp(50px, 4.3vw, 76px);
  line-height: 1.1;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.download-hero__copy > p:not(.download-hero__eyebrow) {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.9;
}

.download-hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.download-hero__button {
  min-width: 148px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  color: #d93f70;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(114, 18, 53, .2);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.download-hero__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(114, 18, 53, .28);
}

.download-hero__actions span {
  font-size: 14px;
  font-weight: 700;
  opacity: .85;
}

.download-benefits {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(50, 36, 46, .06);
}

.download-benefits__grid {
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.download-benefit {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 28px;
  border-right: 1px solid #f0e7eb;
}

.download-benefit:last-child {
  border-right: 0;
}

.download-benefit__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  transform-origin: 50% 55%;
  will-change: transform;
}

.download-benefit div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.download-benefit strong {
  color: #2f2930;
  font-size: 16px;
  line-height: 1.45;
}

.download-benefit span {
  overflow: hidden;
  color: #8a8088;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-section {
  padding: 112px 0 118px;
  background:
    radial-gradient(circle at 11% 14%, rgba(255, 105, 145, .11), transparent 24%),
    radial-gradient(circle at 92% 80%, rgba(235, 92, 135, .1), transparent 25%),
    #f7f5f8;
}

.download-section__heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.download-section__heading > p {
  margin: 0 0 12px;
  color: #e44f79;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}

.download-section__heading h2 {
  margin: 0;
  color: #242128;
  font-size: clamp(38px, 3.3vw, 56px);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.download-section__heading > span {
  display: block;
  margin-top: 16px;
  color: #77707a;
  font-size: 17px;
  line-height: 1.75;
}

.download-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  padding: 44px 24px;
  background: #fff;
  border: 1px solid rgba(232, 79, 120, .09);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(78, 49, 64, .09);
}

.download-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 24px;
  text-align: center;
  border-right: 1px solid #eee9ec;
}

.download-card:last-child {
  border-right: 0;
}

.download-card__visual {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  overflow: hidden;
  background: #fff7f9;
  border: 1px solid #f3dce4;
}

.download-card__visual--app {
  padding: 13px;
  border-radius: 34px;
  box-shadow: 0 14px 30px rgba(224, 77, 119, .13);
}

.download-card__visual--app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.download-card__visual--qr {
  padding: 10px;
  border-radius: 20px;
}

.download-card__visual--qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.download-card h3 {
  margin: 0;
  color: #211f24;
  font-size: 22px;
  line-height: 1.4;
}

.download-card p {
  margin: 5px 0 0;
  color: #605a63;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.download-card__meta {
  min-height: 46px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 6px;
  color: #a09aa2;
  font-size: 12px;
  line-height: 1.55;
}

.download-card__action {
  width: min(142px, 100%);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ed796f, #e84f78);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(232, 79, 120, .18);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow 220ms ease;
}

.download-card__action--scan {
  color: #d94770;
  background: #fff1f5;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .download-benefit:hover .download-benefit__icon {
    animation: download-icon-wiggle 560ms ease-in-out;
  }

  .download-card__action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 28px rgba(232, 79, 120, .28);
  }

  .download-card__action--scan:hover {
    box-shadow: 0 12px 24px rgba(232, 79, 120, .14);
  }
}

@keyframes download-icon-wiggle {
  0%,
  100% {
    transform: translateX(0) rotate(0);
  }

  20% {
    transform: translateX(-1px) rotate(-10deg);
  }

  40% {
    transform: translateX(1px) rotate(8deg);
  }

  60% {
    transform: translateX(-1px) rotate(-6deg);
  }

  80% {
    transform: translateX(1px) rotate(3deg);
  }
}

.download-section__note {
  margin: 24px 0 0;
  color: #99929b;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1199px) {
  .download-hero {
    min-height: 520px;
  }

  .download-hero__copy {
    width: min(560px, 52%);
  }

  .download-benefit {
    padding-inline: 16px;
  }

  .download-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 0;
    padding-inline: 32px;
  }

  .download-card {
    padding-inline: 28px;
  }

  .download-card:nth-child(3) {
    border-right: 0;
  }

  .download-card:nth-child(4),
  .download-card:nth-child(5) {
    grid-column: span 1;
  }

  .download-card:nth-child(4) {
    grid-column-start: 1;
    margin-left: 50%;
  }

  .download-card:nth-child(5) {
    margin-left: 50%;
    border-right: 0;
  }
}

@media (max-width: 767px) {
  .download-hero {
    min-height: 590px;
    align-items: flex-start;
  }

  .download-hero__image {
    object-position: 68% center;
  }

  .download-hero__shade {
    background:
      linear-gradient(180deg, rgba(168, 30, 72, .76) 0%, rgba(200, 43, 83, .52) 52%, rgba(217, 57, 93, .22) 100%),
      linear-gradient(90deg, rgba(151, 24, 63, .5), rgba(151, 24, 63, 0));
  }

  .download-hero__copy {
    width: 100%;
    max-width: 470px;
    padding: 64px 0 250px;
  }

  .download-hero h1 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .download-hero__copy > p:not(.download-hero__eyebrow) {
    max-width: 420px;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.75;
  }

  .download-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
  }

  .download-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px 0;
  }

  .download-benefit {
    justify-content: flex-start;
    padding: 14px 8px;
    border-right: 0;
  }

  .download-benefit:nth-child(odd) {
    border-right: 1px solid #f0e7eb;
  }

  .download-benefit:nth-child(-n + 2) {
    border-bottom: 1px solid #f0e7eb;
  }

  .download-benefit__icon {
    width: 23px;
    height: 23px;
  }

  .download-benefit strong {
    font-size: 14px;
  }

  .download-benefit span {
    font-size: 11px;
  }

  .download-section {
    padding: 76px 0 82px;
  }

  .download-section__heading {
    margin-bottom: 32px;
  }

  .download-section__heading h2 {
    font-size: 36px;
  }

  .download-section__heading > span {
    font-size: 15px;
  }

  .download-panel {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 24px;
    border-radius: 26px;
  }

  .download-card,
  .download-card:nth-child(4),
  .download-card:nth-child(5) {
    grid-column: auto;
    margin-left: 0;
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid #eee9ec;
  }

  .download-card:last-child {
    border-bottom: 0;
  }

  .download-card__visual {
    width: 178px;
    height: 178px;
  }

  .download-card__meta {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-hero__button {
    transition: none;
  }

  .download-benefit:hover .download-benefit__icon {
    animation: none;
  }

  .download-card__action {
    transition: none;
  }
}
