/* Help / connect page — extends landing tokens */

.help-page .site-nav .nav-link[aria-current="page"] {
  color: var(--accent);
}

.help-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
}

.help-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.75rem;
  max-width: 18ch;
}

.help-lead {
  max-width: 42rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.help-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.help-toc a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}

.help-toc a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-border);
}

.help-layout {
  display: grid;
  gap: 1.75rem;
}

.help-intro h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin: 0 0 0.5rem;
}

.help-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.help-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.help-table th,
.help-table td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.help-table th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--surface-raised);
}

.help-table tr:last-child td {
  border-bottom: none;
}

.help-table code {
  font-family: var(--mono);
  font-size: 0.84em;
  color: var(--accent);
  word-break: break-all;
}

.help-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.help-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem 1.35rem;
}

.help-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
}

.help-card p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.help-muted {
  color: var(--text-dim) !important;
  font-size: 0.9rem;
}

.help-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.help-list li {
  margin-bottom: 0.45rem;
}

.help-list code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--accent);
}

.help-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  max-width: 48rem;
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .help-cards,
  .help-cards--stack {
    grid-template-columns: 1fr;
  }
}
