.page-disclaimer {
  --doc-muted: rgba(255, 255, 255, 0.78);
  --doc-soft-line: rgba(10, 31, 68, 0.12);
  background: var(--c-cream);
  color: var(--c-charcoal);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

.doc-progress {
  position: sticky;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--c-gold-grad);
  border-radius: 0 6px 6px 0;
  z-index: 999;
}

.doc-hero {
  position: relative;
  padding: 40px 0 46px;
  overflow: hidden;
  background: var(--c-blue);
  color: var(--c-white);
  border-bottom: 6px solid var(--c-gold);
}
.doc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(201, 162, 39, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(201, 162, 39, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.doc-hero__bunting {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0.28;
}
.doc-hero__bunting span {
  width: 14px;
  height: 26px;
  background: var(--c-gold);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.doc-hero__bunting span:nth-child(even) {
  background: var(--c-red);
}
.doc-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.doc-hero__text {
  min-width: 0;
}
.page-disclaimer .breadcrumb {
  margin: 0 0 18px;
}
.page-disclaimer .breadcrumb__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.page-disclaimer .breadcrumb__link:hover {
  color: var(--c-gold);
}
.page-disclaimer .breadcrumb__current {
  color: rgba(255, 255, 255, 0.92);
}
.doc-hero__kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--c-gold);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.doc-hero__title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--c-white);
}
.doc-hero__lead {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--doc-muted);
}
.doc-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 20px;
}
.page-disclaimer .tag {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}
.doc-hero__figure {
  margin: 0;
  justify-self: center;
}
.doc-hero__mark {
  display: block;
  width: 150px;
  height: 150px;
  border: 3px solid var(--c-gold);
  border-radius: 50%;
  background: var(--c-blue-dark);
  box-shadow: var(--shadow-hard);
  object-fit: cover;
}

.doc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 0 56px;
}

.doc-toc {
  overflow-x: auto;
}
.doc-toc__box {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 440px;
  padding: 12px 16px;
  background: var(--c-white);
  border: 2px solid var(--c-blue);
  border-radius: var(--radius-md);
  box-shadow: 5px 5px 0 rgba(8, 16, 36, 0.35);
}
.doc-toc__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.doc-toc__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc-toc__list a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-blue);
  text-decoration: none;
  white-space: nowrap;
}
.doc-toc__list a:hover,
.doc-toc__list a:focus {
  border-color: rgba(201, 162, 39, 0.6);
  background: rgba(201, 162, 39, 0.1);
  color: var(--c-gold);
}

.doc-content {
  min-width: 0;
}

.doc-chapter {
  scroll-margin-top: 120px;
  border-top: var(--border-thick) solid var(--c-blue);
  padding-top: 26px;
}
.doc-chapter + .doc-chapter {
  margin-top: 34px;
  border-top-color: var(--c-gold);
}
.doc-chapter__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.doc-chapter__num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-gold);
}
.doc-chapter__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-blue);
}
.doc-chapter__content p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-charcoal);
}

.doc-quote {
  margin: 22px 0;
  padding: 18px 20px;
  background: var(--c-white);
  border-left: 5px solid var(--c-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-hard);
  font-family: var(--font-head);
  color: var(--c-blue);
}
.doc-quote p {
  margin: 0;
  line-height: 1.7;
}
.doc-quote--gold {
  border-left-color: var(--c-gold);
  background: var(--c-cream);
  color: var(--c-blue-dark);
}

.doc-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc-list li {
  position: relative;
  padding: 0 0 12px 28px;
  border-bottom: 1px solid var(--doc-soft-line);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-charcoal);
}
.doc-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.doc-list li::before {
  content: "◆";
  position: absolute;
  left: 2px;
  top: 2px;
  font-size: 12px;
  color: var(--c-gold);
}
.doc-list strong {
  color: var(--c-blue);
  font-weight: 600;
}

.doc-ipblock {
  padding: 24px 22px;
  background: var(--c-blue-dark);
  border-left: 4px solid var(--c-gold);
  border-radius: var(--radius-md);
}
.doc-ipblock > p {
  color: rgba(255, 255, 255, 0.85);
}
.doc-ipblock .doc-list li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}
.doc-ipblock .doc-list strong {
  color: var(--c-gold);
}

.doc-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--c-white);
  border: 2px solid var(--c-red);
  border-radius: var(--radius-md);
  box-shadow: 5px 5px 0 rgba(178, 34, 34, 0.15);
}
.doc-alert__mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}
.doc-alert p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-charcoal);
}

.page-disclaimer .divider {
  height: 4px;
  margin: 0;
  background: var(--c-gold-grad);
  border: 0;
  border-radius: 0;
}

.doc-refer {
  padding: 48px 0;
  background: var(--c-blue-dark);
  color: var(--c-white);
  border-top: 6px solid var(--c-gold);
}
.doc-refer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.doc-refer__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-gold);
}
.doc-refer__desc {
  margin: 0 0 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}
.doc-refer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-disclaimer .btn--gold {
  padding: 10px 18px;
  background: var(--c-gold-grad);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.page-disclaimer .btn--outline {
  padding: 10px 18px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.page-disclaimer .btn--outline:hover {
  border-color: var(--c-gold);
  background: rgba(201, 162, 39, 0.1);
  color: var(--c-gold);
}
.doc-refer__trust {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--c-gold);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}
.doc-refer__trust p {
  margin: 0;
}

.doc-footprint {
  margin: 0;
  overflow: hidden;
  background: var(--c-blue);
  line-height: 0;
}
.doc-footprint__img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .doc-hero {
    padding: 56px 0 64px;
  }
  .doc-hero__grid {
    grid-template-columns: 1fr auto;
    gap: 40px;
  }
  .doc-hero__mark {
    width: 200px;
    height: 200px;
  }
  .doc-hero__lead {
    font-size: 16px;
  }
  .doc-refer__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .doc-footprint__img {
    height: 300px;
  }
}

@media (min-width: 992px) {
  .doc-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 48px;
    padding: 56px 0 72px;
  }
  .doc-toc {
    position: sticky;
    top: 120px;
    align-self: start;
    overflow: visible;
  }
  .doc-toc__box {
    display: block;
    min-width: 0;
    padding: 18px;
  }
  .doc-toc__label {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--c-cream);
  }
  .doc-toc__list {
    flex-direction: column;
    gap: 2px;
  }
  .doc-toc__list a {
    display: block;
    white-space: normal;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 0 6px 6px 0;
  }
  .doc-toc__list a:hover,
  .doc-toc__list a:focus {
    border-left-color: var(--c-gold);
    background: var(--c-cream);
    color: var(--c-blue);
  }
  .doc-chapter {
    padding-top: 30px;
  }
  .doc-chapter + .doc-chapter {
    margin-top: 40px;
  }
}
