.dl-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 16px 180px;
  background: linear-gradient(90deg, #0290e3 0%, #0395e5 10%, #029ae7 20%, #05a0ea 32%, #31a9ee 50%, #4db0f0 65%, #69b8f3 80%, #77bff5 90%, #82c4f8 100%);
}

.dl-hero [hidden] { display: none; }

.dl-hero__photo {
  position: absolute;
  left: 0;
  bottom: -200px;
  width: 100%;
  height: 1060px;
  object-fit: cover;
  object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 200px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 200px);
  pointer-events: none;
}

.dl-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1440px;
  padding: 32px 64px;
}

.dl-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  color: #fff;
}

.dl-brand img { width: 36px; height: 36px; border-radius: 10px; }

.dl-bar__link {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-ink);
}

.dl-bar__link:hover { text-decoration: underline; text-underline-offset: 4px; }

.dl-pointer {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: var(--color-lime);
  rotate: 4deg;
  box-shadow: 0 8px 20px rgba(24, 35, 63, 0.18);
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
}

html[data-view]:not([data-view="desktop"]):not([data-view="feedback-desktop"]) .dl-bar__link { display: none; }
html[data-view="steps"] .dl-pointer { display: flex; }

.dl-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 40px;
  text-align: center;
}

.dl-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  background: #fff;
  rotate: -6deg;
  box-shadow: 0 24px 48px rgba(24, 35, 63, 0.22), 0 6px 12px rgba(24, 35, 63, 0.12);
}

.dl-view {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

html:not([data-view]) .dl-view--desktop,
html:not([data-view]) .dl-view--notfound,
html[data-view="desktop"] .dl-view--desktop,
html[data-view="android"] .dl-view--android,
html[data-view="escape"] .dl-view--escape,
html[data-view="steps"] .dl-view--steps,
html[data-view="feedback-phone"] .dl-view--feedback-phone,
html[data-view="feedback-desktop"] .dl-view--feedback-desktop { display: flex; }

.dl-view h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 96px;
  line-height: 92px;
  word-spacing: 0.06em;
  color: #fff;
}

.dl-view > p {
  max-width: 600px;
  font-size: 20px;
  line-height: 30px;
}

button.store {
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dl-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px 16px 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(24, 35, 63, 0.14);
  text-align: left;
}

.dl-qr svg { flex-shrink: 0; }

.dl-qr strong {
  display: block;
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
}

.dl-qr span {
  display: block;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-body);
}

.dl-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding-top: 8px;
}

.dl-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 310px;
  height: 58px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 28px rgba(24, 35, 63, 0.22), 0 3px 8px rgba(24, 35, 63, 0.12);
}

.dl-nostore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.dl-nostore p {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.dl-qr--phone { padding: 10px 24px 10px 10px; }

.dl-qr .dl-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-accent-tint);
  color: var(--color-accent);
}

.dl-fallback {
  max-width: 300px;
  padding-top: 4px;
  font-size: 14px;
  line-height: 20px;
}

.dl-steps {
  width: 100%;
  max-width: 350px;
  padding: 6px 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(24, 35, 63, 0.16);
  text-align: left;
}

.dl-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
}

.dl-steps li + li { border-top: 1px solid var(--color-track); }

.dl-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
}

.dl-steps__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.dl-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 28px;
  padding: 0 10px 0 8px;
  border: 1px solid var(--color-track);
  border-radius: 8px;
  background: #f3f4f6;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
}

.dl-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--color-ink);
  font: 600 16px/22px var(--font-sans);
  cursor: pointer;
}

.dl-hero__photo { animation: photo-settle 1800ms cubic-bezier(0.16, 1, 0.3, 1) both; transform-origin: 50% 100%; }
.dl-icon, .dl-view h1 { animation: title-in 1000ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.dl-view > p { animation: rise-in 900ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.dl-qr, .dl-steps { animation: rise-in 900ms 280ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.dl-actions, .dl-fallback, .dl-link { animation: rise-in 900ms 360ms cubic-bezier(0.16, 1, 0.3, 1) both; }

@media (min-width: 641px) and (max-height: 820px) {
  .dl-content { gap: 20px; padding-top: 8px; }
  .dl-icon { width: 88px; height: 88px; border-radius: 20px; }
  .dl-view h1 { font-size: 80px; line-height: 78px; }
}

@media (max-width: 900px) {
  .dl-bar { padding-inline: 16px; }
  .dl-view h1 { font-size: 64px; line-height: 64px; }
}

@media (max-width: 640px) {
  .dl-hero { padding-bottom: 220px; }

  .dl-hero__photo {
    bottom: -40px;
    height: 560px;
    object-position: 22% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
  }

  .dl-bar { padding: max(14px, env(safe-area-inset-top)) 4px 8px; }
  .dl-brand { gap: 8px; font-size: 22px; line-height: 28px; }
  .dl-brand img { width: 30px; height: 30px; border-radius: 8px; }
  .dl-bar__link { display: none; }

  .dl-content { gap: 24px; padding-top: 56px; }
  .dl-icon { width: 84px; height: 84px; border-radius: 20px; }

  .dl-view { gap: 16px; }
  .dl-view h1 { font-size: 46px; line-height: 46px; }
  .dl-view--android h1, .dl-view--escape h1, .dl-view--feedback-phone h1 { font-size: 56px; line-height: 54px; }
  .dl-view > p { font-size: 17px; line-height: 26px; }
  .dl-view .stores { gap: 10px; padding-top: 8px; }

  .dl-qr { display: none; }
  .dl-qr--phone { display: flex; }

  html[data-view="steps"] .dl-hero__photo { height: 480px; }
  html[data-view="steps"] .dl-content { padding-top: 28px; }
  html[data-view="steps"] .dl-icon { width: 72px; height: 72px; border-radius: 18px; }
  .dl-view--steps h1 { font-size: 40px; line-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-hero__photo, .dl-icon, .dl-view h1, .dl-view > p, .dl-qr, .dl-steps, .dl-actions, .dl-fallback, .dl-link { animation: none; }
}
