.doc-hero {
  position: relative;
  overflow-x: clip;
  padding-top: clamp(58px, 9vw, 112px);
  padding-bottom: clamp(58px, 8vw, 96px);
  text-align: center;
}

.doc-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(820px, 92vw);
  height: 520px;
  top: -210px;
  left: calc(50% - 560px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-accent), .24), rgba(var(--rgb-accent), .08) 42%, transparent 70%);
  pointer-events: none;
}

.doc-hero h1 {
  max-width: 880px;
  margin: 14px auto 0;
}

.doc-hero h1 .hero-keyword {
  display: inline-block;
  margin-left: .22em;
}

.doc-lede {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--color-text-muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}

.doc-entry-note {
  max-width: 820px;
  margin: 34px auto 0;
  text-align: left;
}

.doc-entry-note a,
.deepdoc-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(var(--rgb-accent), .44);
  text-underline-offset: .2em;
}

.doc-entry-note a:hover,
.deepdoc-body a:hover {
  text-decoration-color: var(--color-accent);
}

.deepdoc-body {
  max-width: 900px;
  padding-bottom: var(--section-space);
}

.deepdoc-body .toc-tabs {
  margin-bottom: clamp(62px, 9vw, 108px);
}

.doc-section {
  padding-top: 38px;
  padding-bottom: clamp(76px, 10vw, 126px);
  border-top: 1px solid rgba(var(--rgb-text), .08);
}

.doc-section:first-of-type {
  border-top: 0;
}

.doc-section > .section-kicker {
  margin-bottom: 12px;
}

.doc-section > h2 {
  margin-bottom: 34px;
}

.doc-section h3 {
  margin-top: 38px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 550;
}

.doc-section p {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.92;
}

.doc-section p + p {
  margin-top: 18px;
}

.doc-section .callout {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
}

.doc-section .table-scroll {
  margin-top: 30px;
  margin-bottom: 12px;
}

.deepdoc-body pre {
  margin-top: 24px;
  margin-bottom: 24px;
  line-height: 1.75;
}

.session-checklist,
.runbook-panel,
.doc-related {
  margin-top: 32px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-panel);
  box-shadow: var(--shadow-near);
}

.session-checklist h3,
.runbook-panel h3,
.doc-related h3 {
  margin-top: 0;
}

.session-checklist ul,
.doc-related ul {
  display: grid;
  gap: 13px;
  margin-top: 18px;
  padding-left: 22px;
  color: var(--color-text-muted);
}

.session-checklist li,
.doc-related li {
  padding-left: 5px;
}

.session-checklist li::marker,
.doc-related li::marker {
  color: var(--color-accent);
}

.runbook-panel dl {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.runbook-panel dl > div {
  display: grid;
  grid-template-columns: minmax(110px, .28fr) minmax(0, 1fr);
  gap: 22px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid var(--color-border);
}

.runbook-panel dt {
  color: var(--color-text);
  font-weight: 550;
}

.runbook-panel dd {
  color: var(--color-text-muted);
}

.doc-related {
  background: var(--color-panel-raised);
}

.doc-related .section-kicker {
  margin-bottom: 8px;
}

.tool-table {
  min-width: 760px;
}

@media (max-width: 768px) {
  .doc-hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .doc-hero::before {
    width: 620px;
    height: 430px;
    top: -190px;
    left: calc(50% - 470px);
  }

  .doc-hero h1 .hero-keyword {
    margin-left: 0;
  }

  .deepdoc-body .toc-tabs {
    margin-bottom: 64px;
  }

  .doc-section {
    padding-top: 30px;
    padding-bottom: 82px;
  }

  .doc-section > h2 {
    margin-bottom: 28px;
  }

  .doc-section h3 {
    margin-top: 32px;
  }

  .runbook-panel dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .doc-lede,
  .doc-section p {
    font-size: 15px;
  }

  .doc-meta {
    justify-content: flex-start;
  }

  .doc-entry-note {
    margin-top: 28px;
  }

  .session-checklist,
  .runbook-panel,
  .doc-related {
    padding: 21px;
  }

  .comparison-table {
    min-width: 640px;
  }
}