/* Help page — step guide layout (scoped; revert via backups/help-practical-guide-*) */

.demo-hero__lead a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq-panel h2 {
  margin-bottom: 1rem;
}

.help-group {
  margin: 0 0 1.65rem;
}

.help-group__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand);
}

.help-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.help-step {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.35rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 111, 216, 0.1);
  background: var(--surface);
  list-style: none;
}

/* Keep all card content in the text column */
.help-step > * {
  grid-column: 2;
  min-width: 0;
}

/* Single Western step number in the brand circle */
.help-step::before {
  content: attr(data-step) !important;
  counter-increment: none;
  grid-column: 1 !important;
  grid-row: 1 / -1;
  width: 2rem;
  height: 2rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.9rem;
  font-variant-numeric: lining-nums;
  font-feature-settings: "tnum";
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-step__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
}

.help-step__body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.help-step__body + .help-step__body {
  margin-top: 0.15rem;
}

.help-step__after {
  margin: 0.15rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(29, 111, 216, 0.06);
  border: 1px solid rgba(29, 111, 216, 0.1);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text);
}

.help-step__after strong {
  color: var(--brand);
  font-weight: 800;
}

.help-step__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
  width: 100%;
}

/* Fully override global pill buttons for Help card CTAs */
body.landing .help-cta.btn,
body.landing .help-step__actions .help-cta,
body.landing .help-panel-actions .help-cta,
body.landing .help-alt .help-cta,
.help-cta.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto !important;
  min-width: 13.5rem;
  height: 2.2rem !important;
  min-height: 2.2rem !important;
  max-height: 2.2rem !important;
  padding: 0 2rem !important;
  border-radius: 6px !important;
  border-width: 1.5px !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
  box-shadow: none !important;
  transform: none !important;
}

body.landing .help-cta.btn:hover,
.help-cta.btn:hover {
  transform: none !important;
  box-shadow: none !important;
}

.help-alt .help-step__actions {
  margin-top: 0.75rem;
}

.help-panel-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.help-alt {
  margin: 0.85rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(29, 111, 216, 0.28);
  background: rgba(29, 111, 216, 0.03);
}

.help-alt__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.help-alt p {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.help-status-box {
  grid-column: 2;
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(29, 111, 216, 0.12);
  background: rgba(29, 111, 216, 0.04);
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.help-status-box__item {
  display: grid;
  grid-template-columns: minmax(6.5rem, 8.5rem) minmax(0, 1fr);
  gap: 0.55rem 0.75rem;
  align-items: start;
  min-width: 0;
}

.help-status-box__label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.55;
}

.help-status-box__desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.help-trouble {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

@media (min-width: 720px) {
  .help-trouble {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .help-trouble--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.help-trouble__card {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 111, 216, 0.12);
  background: #fff;
}

.help-trouble__card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
}

.help-trouble__card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .help-step {
    padding: 0.95rem 0.9rem;
    column-gap: 0.7rem;
  }

  .help-step__body,
  .help-step__after {
    font-size: 0.86rem;
  }

  .help-step__actions,
  .help-panel-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .help-cta.btn,
  body.landing .help-cta.btn {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 9.5rem;
    padding: 0 1.35rem !important;
    height: 2.25rem !important;
    min-height: 2.25rem !important;
    max-height: 2.25rem !important;
  }

  .help-status-box__item {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(29, 111, 216, 0.12);
  }

  .help-status-box__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .help-trouble {
    grid-template-columns: 1fr;
  }
}
