body {
  max-width: 80rem;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.5;
}

h1, h2 {
  line-height: 1.2;
}

h2 {
  margin-top: 2rem;
}

hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}

/* Inline code-ish text: <tt> is used throughout, <code> may follow. */
tt, code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

/* Long fingerprints and deb lines shouldn't push the page wide on mobile. */
p tt, dd tt {
  overflow-wrap: anywhere;
}

pre.codesnippet {
  margin: 1rem 0 1rem 2rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  line-height: 1.4;
  background: color-mix(in srgb, currentColor 6%, transparent);
  border-left: 3px solid color-mix(in srgb, currentColor 30%, transparent);
}

/* The font-size is already set on the pre; don't shrink it a second time. */
pre code {
  font-size: inherit;
}

/* no leading/trailing blank lines because of layout in the HTML; beware CSS level 4, might change */
pre.codesnippet > code {
  white-space-trim: discard-inner;
}

dt {
  font-weight: bold;
  margin-top: 0.75rem;
}

dd {
  margin: 0.25rem 0 0 2rem;
}
