.route-intro {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: end;
  gap: clamp(16px, 4vw, 56px);
  padding-bottom: clamp(16px, 3vw, 32px);
  border-bottom: 1px solid var(--border);
}

.route-intro h1 {
  margin-bottom: 0;
}

.route-intro .lede {
  max-width: 42em;
  margin-inline: 0;
}

.route-scope {
  min-width: 0;
  border-inline-start: 3px solid var(--accent);
}

.route-scope .eyebrow {
  margin-bottom: 8px;
}

.route-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: clamp(var(--type-lede), 2.4vw, var(--type-h2));
  font-weight: var(--weight-bold);
}

.route-divider {
  color: var(--muted);
}

.route-directory > .muted,
.route-section-note {
  max-width: 52em;
  line-height: 1.75;
}

.route-directory .data-table tbody + tbody tr:first-child th {
  border-top: 1px solid var(--border);
}

.route-directory .callout,
.route-choices .callout {
  margin-bottom: 0;
}

.route-method-grid {
  align-items: stretch;
}

.route-method,
.route-use-entry {
  line-height: 1.75;
}

.route-path {
  padding: 8px 10px;
  background: var(--panel-2);
  border-radius: var(--r-sm);
  color: var(--accent-dark);
  font-size: var(--type-chip);
}

.route-path span {
  color: var(--muted);
}

.route-choices {
  padding-bottom: var(--page-space);
}

.route-usebook {
  padding-block: 0;
}

.route-use-entry {
  display: grid;
  grid-template-columns: minmax(0, 9em) minmax(0, 1fr);
  gap: 8px 20px;
  padding-block: clamp(16px, 3vw, 28px);
}

.route-use-entry + .route-use-entry {
  border-top: 1px solid var(--border);
}

.route-use-entry h3,
.route-use-entry p:last-child {
  margin: 0;
}

.route-use-entry > div {
  max-width: 48em;
}

@media (max-width: 768px) {
  .route-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-method-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .route-use-entry {
    grid-template-columns: minmax(0, 1fr);
  }
}