/* =========================================================
   Installation help page
   ========================================================= */

.header-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.header-back .icon {
  width: 15px;
  height: 15px;
}

.help-main {
  padding: clamp(36px, 5vw, 62px) 0 0;
}

.help-hero {
  max-width: 820px;
}

.eyebrow-danger {
  color: #a62b19;
}

.eyebrow-danger::before {
  background: #e23a22;
}

.help-hero h1 {
  margin: 15px 0 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.help-lead {
  max-width: 42em;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  line-height: 1.85;
}

.help-lead strong {
  color: var(--ink);
  font-weight: 800;
}

.help-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  max-width: 760px;
  margin-top: 26px;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.choice-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
}

.choice-icon .icon {
  width: 19px;
  height: 19px;
}

.choice small {
  display: block;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.choice b {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.choice p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.choice-good {
  background: linear-gradient(120deg, #f7ffdc 0%, #fff 72%);
  border-color: rgba(150, 200, 0, 0.35);
}

.choice-good .choice-icon {
  background: var(--lime);
  color: var(--ink);
}

.choice-bad {
  background: linear-gradient(120deg, #fff2ee 0%, #fff 72%);
  border-color: #ffd2c8;
}

.choice-bad .choice-icon {
  background: #e23a22;
  color: #fff;
}

.choice-bad small {
  color: #9f2b19;
}

.help-steps {
  margin-top: 28px;
}

.help-dark {
  scroll-margin-top: 88px;
}

.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 6px;
}

.help-page .footer {
  margin-top: clamp(32px, 4vw, 46px);
}

@media (max-width: 760px) {
  .help-page {
    padding-bottom: 0;
  }

  .help-main {
    padding-top: 28px;
  }

  .header-back {
    height: 33px;
    padding: 0 10px;
    font-size: 10.5px;
  }

  .help-hero h1 {
    font-size: clamp(34px, 9.2vw, 44px);
  }

  .help-lead {
    margin-top: 15px;
    font-size: 13.5px;
    line-height: 1.8;
  }

  .help-choice {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .choice {
    padding: 14px;
    gap: 11px;
    border-radius: 16px;
  }

  .choice b {
    font-size: 17px;
  }

  .help-steps {
    margin-top: 22px;
  }

  .help-actions {
    margin-top: 16px;
  }

  .help-actions .btn {
    height: 50px;
    padding: 0 16px;
    font-size: 13.5px;
    border-radius: 14px;
  }
}

@media (max-width: 360px) {
  .back-label {
    display: none;
  }

  .help-actions .btn {
    flex: 1 1 100%;
  }
}
