/* Guides: long-form pages under /guides/. Loaded after site.css, which they reuse
   (.doc, .compare, .faq, .sources, .contact, .pill). Only what those don't cover. */

/* Inline source markers, as on the compare page. */
.doc .src {
  display: inline-block; margin-left: 2px; padding: 0 5px;
  border-radius: 6px; background: rgb(255 255 255 / 0.08);
  color: var(--muted); font-size: 0.75rem; line-height: 1.5; text-decoration: none; white-space: nowrap;
  vertical-align: 0.1em;
}
.doc .src:hover { color: var(--bright); }

/* "Hushtrove is our app" and similar notes that must not be missed. */
.doc .disclose {
  margin-top: 28px; padding: 16px 20px; border-radius: 18px;
  background: var(--graphite); color: var(--bright); font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

/* Tables inside the article column. */
.doc .table { margin-top: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doc .table table { margin-top: 0; min-width: 32rem; }
.doc .table:focus-visible { outline-offset: 6px; }

/* A wide comparison table between article sections. */
.doc .compare + article, .doc article + .compare { margin-top: 40px; }

/* The questions block, inside a document. */
.doc .faq { margin-top: 28px; }
.doc .faq details p { margin-top: 0; }

/* The calm call to action at the end of each guide. */
.doc .contact .actions { margin-top: 24px; }
.doc .contact p { max-width: 36rem; }

/* The guides index. */
.guide-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; max-width: 42rem; }
.doc .guide-list { padding-left: 0; }
.doc .guide-list li + li { margin-top: 0; }
.guide-list a { font: 600 1.1875rem/1.35 var(--display); text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
.guide-list p { margin-top: 6px; color: var(--silver); }

@media (max-width: 760px) {
  .doc .table table { min-width: 28rem; }
}
