:root{
  --deepdoc-width:960px;
  --deepdoc-rule:4px;
  --deepdoc-marker:34px;
}
.deepdoc-hero{
  position:relative;
  padding-top:72px;
  padding-bottom:64px;
  overflow-x:clip;
  border-bottom:1px solid var(--border);
}
.deepdoc-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,var(--white-03),var(--accent-06));
  pointer-events:none;
}
.deepdoc-hero .content-wrap{
  position:relative;
}
.deepdoc-hero h1{
  max-width:820px;
  margin-bottom:22px;
}
.deepdoc-hero .lead{
  max-width:800px;
  margin-bottom:24px;
}
.deepdoc-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
  margin-bottom:28px;
  color:var(--text-muted);
  font-family:var(--font-mono);
  font-size:13px;
}
.deepdoc-meta span{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.deepdoc-meta span::before{
  content:"";
  width:7px;
  height:7px;
  flex-shrink:0;
  border-radius:var(--r-pill);
  background:var(--accent);
  box-shadow:0 0 0 3px var(--accent-14);
}
.deepdoc-intro-note{
  margin-bottom:0;
}
.deepdoc-intro-note a{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px;
}
.deepdoc-article{
  max-width:var(--deepdoc-width);
  padding-top:54px;
  padding-bottom:32px;
}
.deepdoc-section{
  position:relative;
  padding-top:32px;
  padding-bottom:48px;
  border-bottom:1px solid var(--border);
}
.deepdoc-section:last-child{
  border-bottom:0;
}
.deepdoc-section h2{
  position:relative;
  margin-top:0;
  padding-bottom:18px;
}
.deepdoc-section h2::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:88px;
  height:var(--deepdoc-rule);
  border-radius:var(--r-pill);
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}
.deepdoc-section h3{
  margin-top:40px;
}
.deepdoc-section h4{
  color:var(--text);
}
.chapter-index{
  margin-bottom:12px;
  color:var(--accent);
  font-size:12px;
  font-weight:750;
  letter-spacing:.08em;
}
.deepdoc-section p,
.deepdoc-section li{
  line-height:1.82;
}
.deepdoc-section p{
  max-width:100%;
}
.deepdoc-table{
  margin:30px 0;
}
.deepdoc-section .steps{
  display:grid;
  gap:22px;
  margin-top:28px;
  margin-bottom:32px;
}
.deepdoc-section .steps > li::before{
  width:var(--deepdoc-marker);
  height:var(--deepdoc-marker);
}
.deepdoc-section .steps h4{
  margin-bottom:5px;
}
.deepdoc-section .steps p{
  margin-bottom:0;
}
.deepdoc-section pre{
  margin-top:24px;
  margin-bottom:28px;
}
.deepdoc-section .callout{
  margin-top:32px;
  margin-bottom:32px;
}
.deepdoc-section .promo-block{
  max-width:100%;
}
@media (max-width:768px){
  .deepdoc-hero{
    padding-top:48px;
    padding-bottom:44px;
  }
  .deepdoc-article{
    padding-top:36px;
  }
  .deepdoc-section{
    padding-top:24px;
    padding-bottom:38px;
  }
  .deepdoc-section h3{
    margin-top:32px;
  }
  .deepdoc-meta{
    flex-direction:column;
    gap:8px;
  }
}
@media (max-width:640px){
  .deepdoc-hero{
    padding-top:38px;
    padding-bottom:36px;
  }
  .deepdoc-article{
    padding-top:28px;
  }
  .deepdoc-section{
    padding-top:20px;
    padding-bottom:34px;
  }
  .deepdoc-section p,
  .deepdoc-section li{
    line-height:1.76;
  }
  .deepdoc-section h2::after{
    width:64px;
  }
  .deepdoc-table{
    margin-top:24px;
    margin-bottom:24px;
  }
}