.ios-flow {
  margin-top: 4px;
}

.ios-flow-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.ios-flow-kicker {
  display: block;
  margin-bottom: 8px;
  color: #b9ffd5;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ios-flow-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.ios-flow-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.ios-install-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ios-flow-step {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16, 27, 45, 0.82);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.ios-step-copy {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  min-height: 142px;
  padding: 20px 18px 18px;
}

.ios-step-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03111f;
  font-weight: 900;
}

.ios-step-copy h3 {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.18;
}

.ios-step-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.ios-step-shot {
  aspect-ratio: 1179 / 2556;
  margin: auto 12px 12px;
  overflow: hidden;
  border-radius: 13px;
  background: #eef0f2;
}

.ios-step-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ios-shot {
  aspect-ratio: 1206 / 2622;
  background: #02050b;
}

.ios-shot img {
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transform: none;
}

@media (max-width: 1050px) {
  .ios-install-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .ios-flow-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ios-install-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ios-install-flow {
    grid-template-columns: 1fr;
  }

  .ios-step-copy {
    min-height: 0;
  }

  .ios-step-shot {
    width: min(100% - 24px, 400px);
    align-self: center;
  }
}
