/* /help: the numbered walkthrough and the question list. Prose measure and
   rhythm follow the announcement page so both read as the same document. */

.help-page {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px var(--pad) 90px;
}

.help-copy {
  max-width: 66ch;
  margin-top: 18px;
  color: var(--txt);
  font-size: 15px;
  line-height: 1.62;
}

.legacy-transfer-copy {
  max-width: 66ch;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--bg-2);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.62;
}

.legacy-transfer-status {
  margin: 0;
  color: var(--txt);
  font-size: 16px;
  line-height: 1.5;
}

.legacy-transfer-detail {
  margin: 8px 0 0;
  color: var(--txt-dim);
}

.legacy-transfer-action {
  margin: 20px 0 0;
}

.help-lede {
  margin: 0;
  color: var(--txt-dim);
  font-size: 16.5px;
}

.help-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: help-step;
}

.help-steps li {
  position: relative;
  padding: 15px 18px 16px 52px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--bg-2);
  counter-increment: help-step;
}

.help-steps li::before {
  content: counter(help-step);
  position: absolute;
  top: 15px;
  left: 17px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tally-soft);
  color: var(--tally);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
}

.help-steps h2 {
  font-size: 16px;
  line-height: 1.25;
}

.help-steps p {
  margin: 6px 0 0;
  color: var(--txt-dim);
}

.help-section {
  margin: 34px 0 0;
  font-size: 18px;
}

.help-faq {
  margin: 16px 0 0;
}

.help-faq dt {
  margin: 22px 0 0;
  color: var(--txt);
  font-family: var(--f-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.help-faq dt:first-of-type {
  margin-top: 0;
}

.help-faq dd {
  margin: 6px 0 0;
  color: var(--txt-dim);
}

.help-copy a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent);
  text-underline-offset: 2px;
  transition: text-decoration-color .13s;
}

.help-copy a:hover {
  text-decoration-color: currentColor;
}

.help-copy em {
  color: var(--txt);
  font-style: normal;
  font-weight: 600;
}

.help-copy code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-3);
  color: var(--txt);
  font-family: var(--f-mono);
  font-size: 12.5px;
}

.help-copy kbd {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-3);
  color: var(--txt-dim);
  font-family: var(--f-mono);
  font-size: 11.5px;
}

.help-action {
  padding: 0;
  color: var(--link);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent);
  text-underline-offset: 2px;
  transition: text-decoration-color .13s;
}

.help-action:hover {
  text-decoration-color: currentColor;
}

@media (max-width: 860px) {
  .help-page {
    padding-bottom: calc(var(--tabbar-h) + 30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-copy a,
  .help-action {
    transition: none;
  }
}
