/* Build page: plain documentation sections on the white page, with code in
   the same black blocks as the home page's decision. */
.docs {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 880px;
  margin-top: 40px;
  padding-bottom: 48px;
  font: 16px / 1.5 var(--mono);
}

.doc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.doc__title {
  font: 700 32px / var(--lh-sans) var(--sans);
  letter-spacing: -0.06em;
}

.doc code { font: inherit; font-weight: 600; }

.doc__code {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  background: var(--ink);
  color: var(--white);
  font: 13px / 1.55 var(--mono);
  white-space: pre;
}

.doc__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.doc__table th,
.doc__table td {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid #e4e4e4;
  text-align: left;
  vertical-align: top;
}

.doc__table th { color: #777; font-size: 12px; font-weight: 400; }
.doc__table td:first-child { white-space: nowrap; }
.doc__cta { align-self: flex-start; }

@media (max-width: 600px) {
  .doc__title { font-size: 26px; }
  .doc__table thead { display: none; }
  .doc__table tr { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid #e4e4e4; }
  .doc__table td { padding: 2px 0; border: 0; white-space: normal; }
}
