.milestone-lead {
  margin-top: 19px;
  color: #f7faff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.milestone-install-copy {
  margin-top: 7px;
  margin-bottom: 15px;
  color: #a6b8cd;
  line-height: 1.8;
}

.ios-guide-heading {
  margin-top: 7px;
  color: #f7faff;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.025em;
}

.ios-guide-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  color: #ffe6a5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.ios-guide-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ios-guide-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #31455e;
  transition: width .18s ease, background-color .18s ease;
}

.ios-guide-dot.is-active {
  width: 20px;
  background: linear-gradient(90deg, #d9b85f, #ffe6a5);
}

.ios-guide-title {
  margin-top: 13px;
  color: #f7faff;
  font-size: clamp(17px, 4.6vw, 21px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.5;
}

.ios-guide-copy {
  margin-top: 4px;
  color: #9cafc6;
  font-size: 12px;
  line-height: 1.7;
}

.ios-guide-visual {
  position: relative;
  min-height: 218px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(77, 112, 153, .42);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(17, 39, 67, .97), rgba(8, 20, 36, .99));
}

.ios-diagram-label {
  padding: 15px 16px 7px;
  color: #8196ae;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ios-browser-page {
  display: grid;
  gap: 10px;
  padding: 22px 19px 17px;
}

.ios-browser-page span {
  height: 8px;
  border-radius: 999px;
  background: rgba(131, 155, 182, .15);
}

.ios-browser-page span:nth-child(2) {
  width: 81%;
}

.ios-browser-page span:nth-child(3) {
  width: 62%;
}

.ios-browser-toolbar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 8px 12px 0;
  padding: 9px 11px;
  border: 1px solid rgba(104, 132, 166, .26);
  border-radius: 14px;
  background: rgba(10, 25, 43, .92);
  color: #a1b3c8;
  font-size: 19px;
}

.ios-toolbar-spacer {
  flex: 1;
}

.ios-toolbar-highlight {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(255, 230, 165, .9);
  border-radius: 11px;
  background: rgba(217, 184, 95, .18);
  color: #ffe6a5;
  font-size: 26px;
  line-height: 1;
  animation: installGuidePulse 1.55s ease-in-out infinite;
}

.ios-diagram-caption {
  padding: 8px 15px 12px;
  text-align: right;
  color: #ffe6a5;
  font-size: 10px;
  font-weight: 850;
}

.ios-menu-diagram,
.ios-scroll-diagram {
  padding-bottom: 12px;
}

.ios-menu-row {
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 11px;
  margin: 4px 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #c8d5e3;
  font-size: 11px;
  font-weight: 800;
}

.ios-menu-row > span:first-child {
  width: 17px;
  color: #99aec6;
  font-size: 16px;
  text-align: center;
}

.ios-menu-row > span:last-child:nth-child(3) {
  margin-left: auto;
  color: #ffe6a5;
  font-size: 18px;
}

.ios-menu-highlight {
  border-color: rgba(217, 184, 95, .75);
  background: linear-gradient(105deg, rgba(217, 184, 95, .21), rgba(217, 184, 95, .07));
  color: #ffe6a5;
  box-shadow: 0 0 18px rgba(217, 184, 95, .11);
}

.ios-menu-highlight > span:first-child {
  color: #ffe6a5;
}

.ios-scroll-hint {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #ffe6a5;
  font-size: 10px;
  font-weight: 850;
}

.ios-scroll-hint > span:first-child {
  font-size: 20px;
  line-height: 1;
  animation: installGuideScroll 1.2s ease-in-out infinite;
}

.ios-menu-preview {
  min-height: 36px;
  opacity: .58;
}

.ios-guide-final {
  margin-top: 11px;
  color: #ffe6a5;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.6;
  text-align: center;
}

.ios-guide-next {
  margin-top: 15px;
}

.ios-guide-back {
  margin-top: 8px;
}

.install-fallback-copy {
  color: #d6e0ec;
  font-size: 13px;
  line-height: 1.85;
}

@keyframes installGuidePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(217, 184, 95, .15), 0 0 13px rgba(217, 184, 95, .13);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(217, 184, 95, .08), 0 0 21px rgba(217, 184, 95, .27);
  }
}

@keyframes installGuideScroll {
  0%,
  100% {
    transform: translateY(-2px);
  }

  55% {
    transform: translateY(4px);
  }
}

@media (max-width: 390px) {
  .ios-guide-visual {
    min-height: 205px;
  }

  .ios-browser-toolbar {
    gap: 18px;
  }

  .ios-guide-title {
    font-size: 16px;
  }
}

@media (max-height: 700px) {
  .ios-guide-visual {
    min-height: 181px;
  }

  .ios-browser-page {
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 10px;
  }

  .ios-menu-row {
    min-height: 38px;
  }

  .ios-guide-progress {
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ios-toolbar-highlight,
  .ios-scroll-hint > span:first-child {
    animation: none;
  }

  .ios-guide-dot {
    transition: none;
  }
}


