.deepdoc-hero {
  position: relative;
  padding-top: 92px;
  padding-bottom: 68px;
  overflow-x: clip;
  border-bottom: 1px solid var(--color-border);
}

.deepdoc-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--color-panel-strong), var(--color-accent), var(--color-panel-strong));
  content: '';
}

.deepdoc-hero-inner {
  text-align: center;
}

.deepdoc-hero h1 {
  max-width: 820px;
  margin: 26px auto 20px;
}

.deepdoc-hero h1 .no-break {
  position: relative;
  display: inline-block;
  color: var(--color-accent);
  font-style: italic;
}

.deepdoc-hero h1 .no-break::after {
  position: absolute;
  right: 0;
  bottom: -0.04em;
  left: 0;
  height: 0.08em;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  content: '';
}

.deepdoc-hero .lead {
  margin-right: auto;
  margin-left: auto;
}

.deepdoc-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.deepdoc-summary .fact-pill {
  background: var(--color-bg);
  color: var(--color-text);
}

.deepdoc-intro-note {
  max-width: var(--reading-width);
  margin: 38px auto 0;
  text-align: left;
}

.deepdoc-intro-note a {
  color: var(--color-accent-dark);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.deepdoc-body {
  padding-top: 62px;
  padding-bottom: 30px;
}

.deepdoc-section {
  padding-top: 22px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--color-border);
}

.deepdoc-section:last-child {
  border-bottom: 0;
}

.deepdoc-section > .eyebrow {
  margin-top: 0;
}

.deepdoc-section h2 {
  margin-top: 0;
}

.deepdoc-section h3 {
  font-size: 24px;
}

.deepdoc-section p {
  text-align: justify;
  text-justify: inter-ideograph;
}

.deepdoc-section .table-scroll {
  margin: 30px 0;
}

.deepdoc-section .compare-table {
  min-width: 760px;
}

.deepdoc-section .compare-table th,
.deepdoc-section .compare-table td {
  line-height: 1.65;
}

.error-table {
  min-width: 820px;
}

.quality-checklist,
.final-checklist {
  margin: 30px 0;
  padding: 26px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-panel);
}

.quality-checklist h3,
.final-checklist h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.quality-checklist ul,
.final-checklist ul {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}

.quality-checklist li,
.final-checklist li {
  padding-left: 4px;
}

.route-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.route-decision-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-panel);
}

.route-decision-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.route-decision-grid p {
  margin-bottom: 0;
  text-align: left;
  font-size: 14px;
}

.deepdoc-section .promo-block {
  margin-bottom: 34px;
}

.deepdoc-section .promo-block h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .deepdoc-hero {
    padding-top: 74px;
    padding-bottom: 58px;
  }

  .route-decision-grid {
    grid-template-columns: 1fr;
  }

  .route-decision-grid article {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .deepdoc-hero {
    padding-top: 58px;
    padding-bottom: 50px;
  }

  .deepdoc-body {
    padding-top: 46px;
  }

  .deepdoc-section {
    padding-top: 16px;
    padding-bottom: 44px;
  }

  .deepdoc-section h3 {
    font-size: 21px;
  }

  .deepdoc-section p {
    text-align: left;
  }

  .quality-checklist,
  .final-checklist {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .deepdoc-summary {
    justify-content: flex-start;
  }

  .deepdoc-summary .fact-pill {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
  }

  .deepdoc-intro-note {
    margin-top: 30px;
  }

  .deepdoc-body {
    padding-top: 38px;
  }

  .quality-checklist,
  .final-checklist {
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .deepdoc-summary .fact-pill {
    flex-basis: 100%;
  }
}