/* Help pages: paper / ink / blue, same shell as the rest of the site */
.help-page {
  padding: 40px 0 96px;
  font-family: var(--sans);
}

.help-page a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.help-page a:hover {
  color: #004ed1;
  text-decoration: none;
}

.help-wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin: 0 auto;
}

.help-back {
  margin: 0 0 18px;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
}

.help-wrap > .help-title:first-child,
.wrap > .help-title:first-child {
  padding-top: 0;
}

.help-title {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.help-lead {
  margin: 0 0 36px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 1;
}

.help-h2,
.help-toc-section h2 {
  margin: 36px 0 14px;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.help-h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.help-body,
.help-body p,
.help-body li {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.help-body p {
  margin: 0 0 14px;
}

.help-body ul,
.help-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.help-body li {
  margin: 0 0 6px;
}

.help-body strong {
  font-weight: 800;
}

.help-note {
  margin: 0 0 18px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.help-toc-section {
  margin: 0 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.help-toc-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.help-page .help-toc-section h2 a,
.help-page .help-toc-section h2 a:visited {
  color: var(--ink) !important;
  font-weight: 800;
}

.help-page .help-toc-section h2 a:hover {
  color: var(--blue) !important;
}

.help-toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px 24px;
  margin: 0 0 28px;
}

.help-toc-grid a {
  font-size: 16px;
  line-height: 1.5;
  color: var(--blue);
}

.help-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.help-list li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.help-list a {
  font-size: 16px;
}

.help-body img {
  display: block;
  max-width: 100%;
  margin: 16px 0;
}

@media screen and (max-width: 900px) {
  .help-toc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 480px) {
  .help-title {
    font-size: 32px;
  }

  .help-lead {
    font-size: 16px;
  }

  .help-toc-section h2 {
    font-size: 22px;
  }

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