.page-disclaimer{
  --dl-border: rgba(255,255,255,0.12);
  --dl-panel: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  font-family: var(--font-body);
  background: var(--bg-primary);
}

.dl-hero{
  position: relative;
  padding: 48px 0 44px;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 88% 18%, rgba(255,107,0,0.16) 0%, transparent 52%),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 75%);
  border-bottom: 1px solid var(--dl-border);
}

.dl-hero::after{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 68%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.dl-hero-inner{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.dl-hero-iconwrap{
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  background: var(--bg-secondary);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.dl-hero-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}

.dl-hero-body{
  min-width: 0;
}

.dl-hero .breadcrumb{
  margin: 0 0 16px;
}

.dl-hero .section-kicker{
  color: var(--accent-light);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .75rem;
  font-family: var(--font-data);
  margin: 0 0 10px;
}

.dl-hero h1{
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.16;
  color: var(--text-primary);
  margin: 0 0 14px;
  letter-spacing: .01em;
}

.dl-title-rule{
  color: var(--accent);
  margin: 0 .16em;
}

.dl-hero-lead{
  font-size: .95rem;
  line-height: 1.72;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0;
}

.dl-doc{
  padding-top: 36px;
  padding-bottom: 72px;
}

.dl-toc{
  margin-bottom: 44px;
  padding: 20px 20px 18px;
  background: linear-gradient(135deg, var(--dl-panel) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--dl-border);
  border-radius: 8px;
}

.dl-toc-title{
  margin: 0 0 14px;
  font-size: .75rem;
  font-family: var(--font-data);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dl-toc-list{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  list-style: none;
  margin: 0;
  padding: 0 4px 4px 0;
  scrollbar-width: thin;
}

.dl-toc-list li{
  flex: 0 0 auto;
}

.dl-toc-list a{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--dl-border);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-size: .875rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.dl-toc-list a:hover,
.dl-toc-list a:focus-visible{
  border-color: var(--accent);
  color: var(--text-primary);
  background: rgba(255,107,0,0.12);
  outline: none;
}

.dl-toc-num{
  font-family: var(--font-data);
  font-size: .75rem;
  color: var(--accent);
}

.dl-toc-related{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--dl-border);
}

.dl-related-title{
  margin: 0 0 8px;
  font-size: .75rem;
  font-family: var(--font-data);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dl-toc-related ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.dl-toc-related a{
  color: var(--data-color);
  font-size: .875rem;
  text-decoration: none;
  transition: color .2s ease;
}

.dl-toc-related a:hover{
  color: var(--accent-light);
}

.dl-section{
  position: relative;
  padding-left: 22px;
  margin-bottom: 52px;
  border-left: 1px solid rgba(255,255,255,0.1);
  scroll-margin-top: 24px;
}

.dl-section::before{
  content: '';
  position: absolute;
  left: -5px;
  top: 2px;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  transform: rotate(45deg);
}

.dl-sec-head{
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.dl-sec-num{
  font-family: var(--font-data);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.dl-section h2{
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.dl-lead{
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.dl-list{
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.dl-list li{
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: .925rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.dl-list li::before{
  content: '';
  position: absolute;
  left: 2px;
  top: 17px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  transform: rotate(45deg);
}

.dl-quote{
  position: relative;
  margin: 24px 0 0;
  padding: 18px 20px 18px 46px;
  background: var(--dl-panel);
  border-radius: 8px;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.dl-quote::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
}

.dl-quote p{
  margin: 0;
}

.dl-quote-icon{
  position: absolute;
  left: 15px;
  top: 18px;
  color: var(--accent);
}

.dl-quote-warn::before{
  background: linear-gradient(180deg, var(--data-color), #2188FF);
}

.dl-quote-warn .dl-quote-icon{
  color: var(--data-color);
}

.dl-note{
  margin: 22px 0 0;
  padding: 14px 18px;
  background: rgba(0,212,255,0.06);
  border-left: 3px solid var(--data-color);
  border-radius: 4px;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.dl-note a{
  color: var(--data-color);
  text-decoration: none;
}

.dl-note a:hover{
  text-decoration: underline;
}

@media (min-width: 900px){
  .dl-hero{
    padding: 64px 0 56px;
  }

  .dl-hero-inner{
    flex-direction: row;
    align-items: center;
    gap: 52px;
  }

  .dl-hero-iconwrap{
    width: 200px;
    height: 200px;
    border-radius: 12px;
  }

  .dl-hero h1{
    max-width: 780px;
  }

  .dl-doc{
    display: grid;
    grid-template-columns: 264px 1fr;
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 88px;
  }

  .dl-toc{
    position: sticky;
    top: 28px;
    align-self: start;
    margin-bottom: 0;
    padding: 22px 20px 20px;
  }

  .dl-toc-list{
    flex-direction: column;
    gap: 4px;
    overflow: visible;
    padding: 0;
  }

  .dl-toc-list a{
    border-radius: 6px;
    white-space: normal;
    padding: 9px 12px;
  }

  .dl-toc-related ul{
    flex-direction: column;
    gap: 6px;
  }
}

@media (min-width: 600px){
  .dl-list li{
    padding-right: 20px;
  }
}
