/* Document scenario interiors. No shared shell, intake, or service-card rules. */
.document-guide {
  color: #102235;
  background: #fff;
  font: 400 1rem/1.7 Arial, Helvetica, sans-serif;
}

.document-guide :where(h1, h2, h3, p, li, a, td, th) {
  overflow-wrap: anywhere;
}

.document-guide > .hero {
  grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.125rem, 4vw, 3.5rem);
  color: #fff;
  background: #0f2438;
}

.document-guide h1 {
  max-width: 24ch;
  margin-bottom: 1.25rem;
  font: 700 clamp(2rem, 3.8vw, 3.25rem)/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.document-guide h2 {
  max-width: 36ch;
  margin-bottom: 1.125rem;
  font: 700 clamp(1.5rem, 2.4vw, 2.125rem)/1.25 Georgia, "Times New Roman", serif;
  letter-spacing: -.01em;
}

.document-guide h3 {
  margin-bottom: .75rem;
  font: 700 1.3rem/1.35 Georgia, "Times New Roman", serif;
}

.document-guide .hero-text {
  max-width: 58ch;
  color: #e1eaf2;
  font-size: 1.125rem;
  line-height: 1.7;
}

.document-guide .eyebrow {
  margin-bottom: .75rem;
  color: #edc66e;
  font-size: .875rem;
  line-height: 1.5;
  letter-spacing: .04em;
}

.document-guide .actions {
  gap: .75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.document-guide .button {
  max-width: 100%;
  min-height: 3rem;
  padding: .75rem 1.125rem;
  border-radius: 6px;
  white-space: normal;
  text-align: center;
  font-size: 1rem;
  line-height: 1.45;
}

.document-guide .button.primary {
  color: #102235;
  background: #d9a63a;
  border: 1px solid #b78113;
}

.document-guide .button.secondary {
  color: #14304a;
  background: #fff;
  border: 1px solid #9cadba;
}

.document-guide .button:hover {
  box-shadow: inset 0 0 0 1px #14304a;
}

.document-guide a:not(.button) {
  color: #14304a;
  text-decoration: underline;
  text-decoration-thickness: .075em;
  text-underline-offset: .2em;
}

.document-guide .hero .actions .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  color: #fff;
  font-size: 1rem;
}

.document-guide a:hover {
  text-decoration-thickness: .15em;
}

.document-guide :where(a, button, summary):focus-visible,
.document-guide [tabindex="0"]:focus-visible {
  outline: 3px solid #805000;
  outline-offset: 4px;
}

.document-guide .hero :where(a, button):focus-visible {
  outline-color: #f4d27a;
}

.document-guide .trust-panel {
  padding: 1.5rem;
  border: 0;
  border-top: 3px solid #d9a63a;
  border-radius: 0;
  color: #102235;
  background: #fff;
  box-shadow: none;
}

.document-guide .trust-panel h2 {
  color: #102235;
  font-size: 1.375rem;
  line-height: 1.3;
}

.document-guide .trust-panel li {
  margin: .75rem 0;
  color: #43576a;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.document-guide__contents {
  padding: 1.5rem clamp(1.125rem, 4vw, 3.5rem);
  background: #f7fafc;
  border-bottom: 1px solid #dbe4ec;
}

.document-guide__contents h2 {
  margin-bottom: .75rem;
  font: 700 1rem/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.document-guide__contents ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-guide__contents a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .375rem 0;
  font-weight: 600;
  line-height: 1.45;
}

.document-guide > .section {
  padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.125rem, 4vw, 3.5rem);
  border-bottom: 1px solid #dbe4ec;
  background: #fff;
}

.document-guide .section::before,
.document-guide .section-header::after,
.document-guide .contact-card::before,
.document-guide .signal-card::before,
.document-guide .signal-card::after {
  content: none;
}

.document-guide > .split {
  grid-template-columns: minmax(0, 1.65fr) minmax(15rem, .85fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.document-guide .section-header {
  max-width: 68ch;
  padding: 0;
  margin-bottom: 1.75rem;
}

.document-guide .section :where(p, ul, ol) {
  max-width: 68ch;
  color: #43576a;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.document-guide .section p {
  margin-bottom: 1.25rem;
}

.document-guide .section .eyebrow {
  margin-bottom: .75rem;
  color: #755213;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
}

.document-guide .contact-card {
  padding: 1.25rem 0 0 1.25rem;
  border: 0;
  border-left: 2px solid #d9a63a;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.document-guide .contact-card h2 {
  font-size: 1.375rem;
  line-height: 1.3;
}

.document-guide .contact-card > :last-child {
  margin-bottom: 0;
}

.document-guide .card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}

.document-guide .card-grid article,
.document-guide .card-grid article.emphasized {
  padding: 1.25rem 0 0;
  border: 0;
  border-top: 2px solid #dbe4ec;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.document-guide .card-grid article > span {
  display: block;
  width: auto;
  margin-bottom: .5rem;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #755213;
  font-size: .875rem;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}

.document-guide .document-guide__steps {
  max-width: 76ch;
  padding-left: 1.75rem;
  margin: 0;
}

.document-guide__steps > li {
  padding: 1.25rem 0 1.25rem .75rem;
  border-top: 1px solid #dbe4ec;
}

.document-guide__steps > li::marker {
  color: #755213;
  font: 700 1.25rem Georgia, "Times New Roman", serif;
}

.document-guide__steps h3 {
  color: #102235;
}

.document-guide__steps p:last-child {
  margin-bottom: 0;
}

.document-guide .notice-grid {
  display: grid;
  gap: 1.25rem;
}

.document-guide .notice-grid > div {
  padding: 0 0 1.25rem;
  border: 0;
  border-bottom: 1px solid #dbe4ec;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.document-guide .notice-grid strong {
  display: block;
  margin-bottom: .25rem;
  color: #755213;
  font-size: .875rem;
}

.document-guide .notice-grid span {
  color: #43576a;
  font-size: 1rem;
  line-height: 1.7;
}

.document-guide .responsive-table {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #c7d3de;
  border-radius: 6px;
  background: #fff;
}

.document-guide .responsive-table table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  table-layout: fixed;
  color: #102235;
}

.document-guide .responsive-table :where(th, td) {
  padding: 1rem;
  border-bottom: 1px solid #dbe4ec;
  text-align: left;
  vertical-align: top;
  font-size: 1rem;
  line-height: 1.6;
}

.document-guide .responsive-table th {
  color: #14304a;
  background: #eef3f8;
  font-weight: 700;
}

.document-guide .responsive-table tr:last-child td {
  border-bottom: 0;
}

.document-guide .signal-grid,
.document-guide .signal-grid.grouped-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
}

.document-guide .signal-card,
.document-guide .signal-card:hover {
  min-height: 0;
  padding: 1.25rem 0;
  border: 0;
  border-top: 1px solid #dbe4ec;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: none;
}

.document-guide .signal-card span {
  color: #755213;
  font-size: .875rem;
  line-height: 1.5;
}

.document-guide .signal-card strong {
  color: #14304a;
  font-size: 1.125rem;
  line-height: 1.4;
}

.document-guide .signal-card small {
  color: #43576a;
  font-size: 1rem;
  line-height: 1.65;
}

.document-guide > .entity-note-strip {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: #f7fafc;
}

.document-guide .section[id] {
  scroll-margin-top: 7rem;
}

.document-guide .section[tabindex="-1"]:focus {
  outline: 2px solid #805000;
  outline-offset: -3px;
}

@media (max-width: 62rem) {
  .document-guide > .hero,
  .document-guide > .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .document-guide__contents ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-guide .trust-panel,
  .document-guide .contact-card {
    max-width: 68ch;
  }
}

@media (max-width: 40rem) {
  .document-guide .card-grid,
  .document-guide .signal-grid,
  .document-guide .signal-grid.grouped-proof-grid,
  .document-guide__contents ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .document-guide .actions {
    align-items: stretch;
  }

  .document-guide .actions :where(.button, .text-link) {
    width: 100%;
    min-width: 0;
  }

  .document-guide .trust-panel {
    padding: 1.25rem;
  }

  .document-guide .responsive-table :where(th, td) {
    padding: .875rem;
  }
}

@media print {
  .document-guide > .hero,
  .document-guide > .split,
  .document-guide .card-grid,
  .document-guide .signal-grid {
    display: block;
  }

  .document-guide > .hero {
    color: #102235;
    background: #fff;
  }

  .document-guide .hero-text,
  .document-guide .hero .eyebrow,
  .document-guide .hero .actions .text-link {
    color: #102235;
  }

  .document-guide__contents {
    display: none;
  }

  .document-guide .responsive-table {
    overflow: visible;
  }

  .document-guide .responsive-table table {
    min-width: 0;
  }
}
