.page-disclaimer {
  --doc-space: clamp(3rem, 8vw, 6.5rem);
  --doc-number: clamp(3.6rem, 12vw, 6.8rem);
  position: relative;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

.page-disclaimer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 47, 247, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-disclaimer > * {
  position: relative;
  z-index: 1;
}

.doc-hero {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.doc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2.25rem;
}

.doc-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.doc-breadcrumb a:hover {
  color: var(--neon);
}

.doc-hero-grid {
  display: grid;
  gap: 2rem;
}

.doc-hero-copy {
  min-width: 0;
}

.doc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(57, 255, 20, 0.05);
}

.doc-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}

.doc-title {
  margin: 1rem 0 0.9rem;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text);
}

.doc-intro {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.doc-hero-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2 / 1;
}

.doc-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doc-hero-figure figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 6px;
  background: rgba(8, 18, 39, 0.72);
  color: var(--text);
  font-size: 0.8rem;
}

.doc-toc {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 38, 74, 0.55);
}

.doc-toc-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
  margin-right: 0.25rem;
}

.doc-toc a {
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(123, 47, 247, 0.55);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.doc-toc a:hover {
  background: rgba(123, 47, 247, 0.16);
  border-color: var(--neon);
  color: #fff;
}

.doc-sections {
  padding: var(--doc-space) 0 clamp(3rem, 7vw, 5rem);
}

.doc-section {
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: var(--doc-space) 0;
  border-bottom: 1px solid rgba(57, 255, 20, 0.12);
}

.doc-section:last-of-type {
  border-bottom: none;
}

.doc-index {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.doc-index-num {
  font-family: var(--font-head);
  font-size: var(--doc-number);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--neon);
  text-shadow: 0 0 32px rgba(57, 255, 20, 0.25);
}

.doc-index-tag {
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.5rem;
}

.doc-body h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin: 0 0 1.1rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.doc-body p {
  margin: 0 0 1rem;
  line-height: 1.85;
  color: var(--text);
}

.doc-body a {
  color: var(--neon);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(57, 255, 20, 0.35);
}

.doc-body a:hover {
  color: #fff;
  box-shadow: inset 0 -1px 0 var(--neon);
}

.doc-list {
  list-style: none;
  margin: 1.2rem 0 1.4rem;
  padding: 0;
}

.doc-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.7rem;
  border-bottom: 1px dashed rgba(57, 255, 20, 0.12);
  line-height: 1.75;
  color: var(--text);
}

.doc-list li:last-child {
  border-bottom: none;
}

.doc-list li::before {
  content: "▹";
  position: absolute;
  left: 0.2rem;
  top: 0.75rem;
  color: var(--neon);
  font-size: 0.9rem;
}

.doc-rules {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  counter-reset: doc-rule;
}

.doc-rules li {
  position: relative;
  padding: 0.9rem 0 0.9rem 3.1rem;
  line-height: 1.8;
  color: var(--text);
  counter-increment: doc-rule;
}

.doc-rules li::before {
  content: counter(doc-rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(123, 47, 247, 0.65);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon);
}

.doc-contact-card {
  margin-top: 1.3rem;
  padding: 1.6rem 1.5rem 1.4rem;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-deep));
  border: 1px solid rgba(123, 47, 247, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.doc-contact-heading {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.doc-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.doc-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.doc-contact-label {
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-contact-value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}

.doc-callout {
  margin: 1.5rem 0 0;
  padding: 1rem 1rem 1rem 2.6rem;
  border-left: 3px solid var(--neon);
  background: rgba(57, 255, 20, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.doc-callout a {
  color: var(--neon);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(57, 255, 20, 0.3);
}

.page-disclaimer .feedback-notice {
  margin-top: 2rem;
}

.doc-bottom-links {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(57, 255, 20, 0.2);
}

.doc-bottom-links a {
  color: var(--neon);
  text-decoration: none;
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s;
}

.doc-bottom-links a:hover {
  background: rgba(57, 255, 20, 0.08);
  border-color: var(--neon);
}

@media (min-width: 600px) {
  .doc-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .doc-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 2.5rem 3rem;
  }

  .doc-section {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 2.5rem 3.5rem;
  }

  .doc-index {
    margin-bottom: 0;
  }

  .doc-body h2 {
    margin-top: 0.15rem;
  }

  .doc-body {
    border-left: 1px solid rgba(123, 47, 247, 0.25);
    padding-left: 3rem;
  }

  .doc-contact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-disclaimer *,
  .page-disclaimer *::before,
  .page-disclaimer *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
