.docs-layout {
  display: grid;
  gap: 40px;
  padding: 40px 0 0;
}

.docs-nav {
  font-size: 15px;
}

.docs-nav > p {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.docs-nav .docs-group {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.docs-nav ol {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.docs-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 300;
  color: var(--muted);
  transition: color var(--ease), background-color var(--ease);
}

.docs-nav a:hover {
  color: var(--ink);
  background: var(--wash);
}

.docs-nav a span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
}

.docs-nav a[aria-current="true"] {
  border-color: var(--line);
  background: var(--wash);
  font-weight: 400;
  color: var(--ink);
}

.docs-nav a[aria-current="true"] span {
  color: var(--link);
}

.docs-main {
  min-width: 0;
}

.crumbs {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--ink);
}

.chapter {
  scroll-margin-top: 24px;
}

.chapter + .chapter {
  margin-top: 28px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.chapter-label {
  margin-top: 52px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.chapter + .chapter .chapter-label {
  margin-top: 0;
}

.chapter h1,
.chapter > h2 {
  margin-top: 14px;
  font-size: clamp(52px, 12vw, 72px);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.035em;
}

.chapter .lede {
  margin-top: 28px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
}

.chapter .step {
  margin-top: 28px;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.023em;
}

.chapter .step span {
  margin-right: 10px;
}

.chapter .paste-card {
  margin-top: 28px;
}

.chapter .paste-body .wide {
  display: none;
}

.chapter .paste-body .narrow {
  display: block;
}

.host-table {
  width: 100%;
  min-width: 620px;
  margin-top: 28px;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13px;
}

.host-table th {
  height: 48px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.host-table td {
  height: 64px;
  padding: 0 12px;
  border-bottom: 1px solid var(--hairline);
}

.host-table td:first-child {
  font-family: var(--sans);
  font-size: 16px;
}

.host-table td:last-child {
  color: var(--muted);
}

.host-table .host-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-table img {
  width: 24px;
  height: 24px;
}

.chapter .table-scroll {
  margin-top: 0;
}

.chapter .gateway-lede {
  margin-top: 28px;
}

.chapter .cmd {
  margin-top: 28px;
}

.callout {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--lavender);
  border-radius: 24px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

.callout .icon {
  flex: none;
  width: 28px;
  height: 28px;
}

.chapter .compare-wrap {
  margin-top: 28px;
}

.chapter .issues-head {
  margin-top: 28px;
}

@media (min-width: 720px) {
  .chapter .paste-body .wide {
    display: block;
  }

  .chapter .paste-body .narrow {
    display: none;
  }
}

@media (min-width: 1080px) {
  .docs-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 72px;
    padding-top: 80px;
  }

  .docs-nav {
    position: sticky;
    top: 32px;
    align-self: start;
  }

  .chapter .issues {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }

  .chapter .table-scroll {
    overflow: visible;
  }

  .chapter .compare col.label-col {
    width: 32.4%;
  }

  .chapter .compare col.whale-col {
    width: 16.9%;
  }

  .chapter .compare th,
  .chapter .compare td {
    font-size: 12px;
  }

  .chapter .compare thead th {
    height: 56px;
    font-size: 16px;
  }

  .chapter .compare tbody th {
    height: 88px;
    font-size: 16px;
  }
}

.claims {
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.claims > div {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.claims dt {
  font-size: 18px;
  font-weight: 300;
}

.claims dd {
  margin: 0;
  max-width: 680px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.claims .cite {
  margin-top: 8px;
  color: var(--link);
}

@media (min-width: 1080px) {
  .claims > div {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
  }
}
