/* Помощь со скачиванием — оформление в стиле основного сайта Эрви. */
.download-help__trigger-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  margin-top: 18px;
}
.download-help__trigger-wrap > span {
  color: rgba(226, 225, 245, .7);
  font-size: 13px;
}
.download-help__trigger {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: #b9eaff;
  font-size: 16px;
  font-weight: 750;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: rgba(143, 226, 255, .88);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: color .2s, text-decoration-color .2s;
}
.download-help__trigger:hover {
  color: #fff;
  text-decoration-color: #fff;
}
.download-help__panel {
  width: min(900px, 100%);
  padding: clamp(22px, 3.2vw, 38px);
}
.download-help__header {
  max-width: 720px;
  padding-right: 28px;
  margin-bottom: 26px;
}
.download-help__header .eyebrow { margin-bottom: 10px; }
.download-help__header h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.download-help__header p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}
.download-help__section {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.download-help__number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(143, 233, 255, .28);
  border-radius: 13px;
  background: rgba(143, 233, 255, .08);
  color: #bdeeff;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.download-help__section-copy { min-width: 0; }
.download-help__section-copy h3 {
  margin: 2px 0 10px;
  padding-right: 10px;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.25;
  letter-spacing: -.018em;
}
.download-help__section-copy p {
  margin: 0 0 10px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}
.download-help__section-copy p:last-child { margin-bottom: 0; }
.download-help__section-copy strong,
.download-help__tip strong { color: #f4f3fb; }
.download-help__figures {
  grid-column: 2;
  display: grid;
  gap: 14px;
  min-width: 0;
  margin-top: 8px;
}
.download-help__figures--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.download-help__figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(0, 0, 0, .26);
}
.download-help__figure img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  background: #080811;
}
.download-help__figure figcaption {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}
.download-help__figure figcaption b { color: #e9e8f5; }
.download-help__figure--single {
  grid-column: 2;
  width: min(100%, 520px);
  margin-top: 8px;
}
.download-help__figure--single img { max-height: 300px; }
.download-help__tip {
  grid-column: 2;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(143, 233, 255, .2);
  border-radius: 16px;
  background: linear-gradient(130deg, rgba(143, 233, 255, .07), rgba(165, 139, 255, .055));
}
.download-help__tip > b { display: block; margin-bottom: 6px; color: #eaf8ff; font-size: 15px; }
.download-help__tip p,
.download-help__tip li {
  color: var(--text-2);
  font-size: 13.8px;
  line-height: 1.55;
}
.download-help__tip p { margin: 0 0 8px; }
.download-help__tip p:last-child { margin: 8px 0 0; }
.download-help__tip ol { display: grid; gap: 5px; margin: 8px 0; padding-left: 20px; }
.download-help__tip kbd {
  display: inline-block;
  min-width: 25px;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font: 600 12px/1.6 var(--mono);
  text-align: center;
}
.download-help__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 8px;
  padding: 18px 0 2px 58px;
  border-top: 1px solid var(--line);
}
.download-help__footer p { color: var(--text-2); font-size: 14px; }
.download-help__footer a { color: #b9eaff; text-decoration: none; }
.download-help__footer a:hover { color: #fff; }

@media (max-width: 620px) {
  .download-help__trigger-wrap { gap: 3px 9px; margin-top: 14px; }
  .download-help__trigger { font-size: 15px; }
  .download-help__trigger-wrap > span { font-size: 12px; }
  .download-help { align-items: end; padding: 0; }
  .download-help__panel {
    width: 100%;
    max-height: 94svh;
    padding: 24px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }
  .download-help__header { padding-right: 30px; margin-bottom: 18px; }
  .download-help__header h2 { font-size: 25px; }
  .download-help__header p { font-size: 14px; }
  .download-help__section { grid-template-columns: 34px minmax(0, 1fr); gap: 7px 11px; padding: 20px 0; }
  .download-help__number { width: 32px; height: 32px; border-radius: 11px; font-size: 12px; }
  .download-help__section-copy h3 { font-size: 18px; }
  .download-help__section-copy p { font-size: 13.8px; }
  .download-help__figures,
  .download-help__figure--single,
  .download-help__tip { grid-column: 1 / -1; }
  .download-help__figures--pair { grid-template-columns: 1fr; }
  .download-help__figure img { max-height: 360px; }
  .download-help__figure--single { width: 100%; }
  .download-help__figure--single img { max-height: 260px; }
  .download-help__footer { padding-left: 0; }
}

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