/* Lijn Help — plain support pages in the site's own dress.
   Shared by index.html and the four articles. */

.docs-page { max-width: 900px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.docs-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.docs-lede {
  color: var(--ink-light);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 36em;
  margin: 0 0 48px;
}

/* --- index: the list of articles --- */
.docs-list { border-top: 1px solid var(--rule); }
.docs-row {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
}
.docs-row:hover { text-decoration: none; }
.docs-row-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}
.docs-row-desc { display: block; font-size: 0.95rem; color: var(--ink-light); line-height: 1.6; margin: 0; }
.docs-row:hover .docs-row-title { color: var(--accent); }

/* --- article body --- */
.man-content { max-width: 68ch; }
.man-section { margin-bottom: 40px; }
.man-section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 10px;
}
.man-section p,
.man-section > ul { margin: 0 0 var(--space-sm); color: var(--ink-light); line-height: 1.65; }
.man-section p:last-child { margin-bottom: 0; }
.man-section ul { padding-left: 1.2rem; }
.man-section li { margin-bottom: 0.4rem; }
.man-name { font-weight: 600; color: var(--ink); }

/* definition lists: features, options, servers */
.man-dl dt {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: var(--space-sm) 0 0.25rem;
}
.man-dl dt:first-child { margin-top: 0; }
.man-dl dd { color: var(--ink-light); margin: 0 0 0.5rem; padding-left: 1.25rem; border-left: 1px solid var(--rule); line-height: 1.65; }

/* inline code, listings, keys */
.man-code, code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--ink);
  background: var(--surface);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}
.man-pre {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  padding: 0.9rem 1rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 0 0 var(--space-sm);
}
.man-badge {
  font-size: 0.78rem;
  padding: 0.15em 0.55em;
  border-radius: 980px;
  background: var(--surface);
  color: var(--ink-light);
}
kbd {
  font-family: var(--font-body);
  font-size: 0.82em;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0.1em 0.45em;
  background: var(--surface);
}

/* tables: format matrix, shortcut tables */
.man-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0 0 var(--space-sm); }
.man-table th {
  font-weight: 600;
  color: var(--ink-faint);
  text-align: left;
  padding: 0.5rem 0.8rem 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.man-table td { padding: 0.55rem 0.8rem 0.55rem 0; border-bottom: 1px solid var(--rule); color: var(--ink-light); vertical-align: top; }
.man-table td:first-child { color: var(--ink); font-weight: 500; }
.man-table-wrap { overflow-x: auto; }

/* related articles */
.man-xref { color: var(--ink-light); }

@media (max-width: 820px) {
  .docs-page { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 600px) {
  .docs-lede { margin-bottom: 32px; }
}
