.help-article-body {
  line-height: 1.6;
  color: #202223;
}

.help-article-body h1 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.help-article-body h1:first-child {
  margin-top: 0;
}

.help-article-body p {
  margin: 0 0 1rem;
}

.help-article-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.help-article-body li {
  margin-bottom: 0.5rem;
}

.help-article-body li p {
  margin: 0;
}

.help-article-body b {
  font-weight: 600;
}

.help-article-body a {
  color: #2c6ecb;
  text-decoration: underline;
}

.help-article-body a:hover {
  color: #1f5199;
}

.help-article-body code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: #f1f2f4;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.help-article-body pre {
  background: #f6f6f7;
  border: 1px solid #e3e4e6;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  margin: 0 0 1rem;
}

.help-article-body img {
  max-width: 100%;
  height: auto;
}

.help-article-body pre code {
  background: none;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Site chrome for docs.contribe.io. Colours follow the old Intercom Help Center theme. */
:root {
  --ink: #1a1a1a;
  --muted: #595959;
  --line: #e6e6e6;
  --tile: #d2c8ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  flex: 1;
}

.wrap {
  max-width: 992px;
  margin: 0 auto;
  padding: 0 16px;
}

.wrap.narrow {
  max-width: 672px;
}

.bar {
  background: #000;
}

.bar .wrap {
  height: 64px;
  display: flex;
  align-items: center;
}

.bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 18px;
}

.dark {
  background: #000;
  padding: 24px 0 36px;
}

.dark .search {
  background: #333;
  border-color: #333;
  box-shadow: none;
  color: #fff;
}

.dark .search input::placeholder {
  color: #d9d9d9;
}

.hero {
  padding: 56px 0 88px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: 28px;
}

.collections,
.articles {
  list-style: none;
  margin: 0;
  padding: 0 0 64px;
}

.section-title {
  margin: 32px 0 0;
  font-size: 18px;
}

.collection-head + .section-title {
  margin-top: 8px;
}

.articles.section {
  padding-bottom: 0;
}

.articles.section:last-child {
  padding-bottom: 64px;
}

.collection,
.collection-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  color: inherit;
  text-decoration: none;
}

.collection:hover h2 {
  text-decoration: underline;
}

.tile {
  flex: none;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--tile);
  color: #000;
}

.collection h2,
.collection-head h1 {
  margin: 8px 0 6px;
  font-size: 16px;
}

.collection-head h1 {
  font-size: 24px;
}

.collection p,
.collection-head p {
  margin: 0 0 12px;
}

.count {
  color: var(--muted);
  font-size: 14px;
}

.articles a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.articles a:hover span:first-child {
  text-decoration: underline;
}

.articles small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 48px;
  color: var(--muted);
  font-size: 15px;
}

.crumbs a {
  color: var(--ink);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.title {
  margin: 0 0 8px;
  font-size: 32px;
}

.title.missing {
  margin-top: 56px;
}

.lead {
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 17px;
}

article {
  padding-bottom: 64px;
}

.help-article-body {
  color: var(--ink);
  font-size: 17px;
}

.help-article-body h1 {
  font-size: 22px;
}

/* The in-app styles pack list items tightly; Intercom spaced them out. */
.help-article-body li p {
  margin: 0 0 1rem;
}

.help-article-body .intercom-container {
  margin: 0 0 1.5rem;
}

.help-article-body a {
  color: var(--ink);
}

footer {
  padding: 56px 16px;
  background: #000;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 22px;
  }

  .tile {
    width: 64px;
    height: 64px;
  }

  .title {
    font-size: 26px;
  }
}
