.install-page {
  max-width: 440px;
  padding-inline: 28px;
}

.install-back-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  font-size: 14px;
}

.install-back-link:hover {
  background: var(--surface-2);
}

.install-back-link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.install-page .brandLogo {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-inline: auto;
}

.install-page .brandLogo img {
  display: block;
  width: 237px;
  max-width: 100%;
  height: auto;
}

.install-page .info-text {
  margin: 20px 0 24px;
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
}

.install-carousel {
  width: 100%;
  padding: 16px 20px 2px;
  border-radius: 12px;
  background: var(--accent);
}

.install-track {
  display: flex;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 10px;
  background: var(--bg);
}

.install-track::-webkit-scrollbar {
  display: none;
}

.install-slide {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 24px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: center;
}

.install-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.install-step-number {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid var(--accent);
  border-radius: 22px;
  background: var(--accent-soft);
  font-size: 32px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.install-slide figcaption {
  font-size: 16px;
  line-height: 1.5;
}

.install-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 44px;
}

.install-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.install-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #949494;
}

.install-dot[aria-current="step"]::before {
  background: #fff;
}

.install-dot:focus-visible,
.install-track:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.install-page .help-text {
  margin-block: 24px;
  font-size: 13px;
}
