.deepdoc-hero{
  position:relative;
  overflow-x:clip;
  border-bottom:1px solid var(--color-border);
}
.deepdoc-hero__grid{
  display:grid;
  min-height:620px;
  grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr);
  align-items:stretch;
}
.deepdoc-hero__copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding-top:72px;
  padding-right:clamp(28px,5vw,76px);
  padding-bottom:72px;
}
.deepdoc-hero h1{
  max-width:760px;
  margin-top:18px;
}
.deepdoc-hero__lead{
  max-width:690px;
  margin-top:24px;
  color:var(--color-text-muted);
  font-size:clamp(17px,2vw,21px);
  line-height:1.75;
}
.deepdoc-hero__links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.deepdoc-hero__note{
  max-width:680px;
  margin-top:28px;
  color:var(--color-text-muted);
  font-size:13px;
}
.deepdoc-hero__note a{
  color:var(--color-accent);
  font-weight:750;
  text-decoration:underline;
  text-underline-offset:3px;
}
.deepdoc-route{
  position:relative;
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  margin-right:calc(var(--gutter) * -1);
  padding:52px clamp(26px,4vw,56px);
  overflow:hidden;
  background:var(--color-ink);
  color:var(--color-lane);
  box-shadow:var(--shadow-deep);
}
.deepdoc-route::before{
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,var(--color-white) 1px,transparent 1.4px);
  background-size:14px 14px;
  opacity:.06;
  content:"";
  pointer-events:none;
}
.deepdoc-route__label{
  position:relative;
  z-index:1;
  color:var(--color-lane-muted);
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.12em;
}
.deepdoc-route svg{
  position:relative;
  z-index:1;
  width:100%;
  height:auto;
  margin-block:28px 12px;
}
.deepdoc-route__lane,
.deepdoc-route__return,
.deepdoc-route__link,
.deepdoc-route__arrow{
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.deepdoc-route__lane{
  stroke:var(--color-lane);
  stroke-width:3;
}
.deepdoc-route__return{
  stroke:var(--color-accent);
  stroke-width:3;
}
.deepdoc-route__link{
  stroke:var(--color-lane-muted);
  stroke-width:1;
  stroke-dasharray:5 8;
}
.deepdoc-route__node-depth{
  fill:var(--color-ink-shadow);
}
.deepdoc-route__node{
  fill:var(--color-ink-deep);
  stroke:var(--color-lane);
  stroke-width:2;
}
.deepdoc-route__hub{
  fill:var(--color-lane);
}
.deepdoc-route__arrow{
  stroke:var(--color-ink);
  stroke-width:2;
}
.deepdoc-route__arrow--back{
  stroke:var(--color-accent-dark);
}
.deepdoc-route__legend{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:10px 24px;
  color:var(--color-lane);
  font-family:var(--font-mono);
  font-size:11px;
}
.deepdoc-route__legend span{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.deepdoc-route__legend span::before{
  width:16px;
  height:2px;
  flex-shrink:0;
  background:var(--color-lane);
  content:"";
}
.deepdoc-route__legend span:nth-child(2)::before{
  background:var(--color-accent);
}
.deepdoc-route__legend span:nth-child(3)::before{
  height:1px;
  border-top:1px dashed var(--color-lane-muted);
  background:transparent;
}
.deepdoc-article{
  position:relative;
  padding-top:54px;
  padding-bottom:var(--section-space);
}
.deepdoc-article .toc-tabs{
  top:12px;
}
.deepdoc-section{
  width:100%;
  max-width:960px;
  margin-inline:auto;
  padding-top:90px;
  padding-bottom:24px;
}
.deepdoc-section:first-of-type{
  padding-top:42px;
}
.deepdoc-section + .deepdoc-section{
  border-top:1px solid var(--color-border);
}
.deepdoc-section h2{
  max-width:850px;
  margin-top:12px;
}
.deepdoc-section h3{
  margin-top:42px;
}
.deepdoc-section p,
.deepdoc-section li{
  font-size:16px;
  line-height:1.92;
}
.deepdoc-section p{
  max-width:860px;
}
.deepdoc-section a:not(.btn){
  color:var(--color-accent);
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.deepdoc-section .callout{
  max-width:860px;
  margin-top:34px;
  margin-bottom:34px;
}
.deepdoc-section .callout p{
  margin-bottom:0;
  font-size:15px;
}
.deepdoc-section pre{
  max-width:860px;
  margin:26px 0;
}
.deepdoc-table{
  max-width:960px;
  margin-top:34px;
  margin-bottom:34px;
}
.deepdoc-table td{
  color:var(--color-text-muted);
  font-size:14px;
  line-height:1.65;
}
.deepdoc-end-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:42px;
  padding-top:30px;
  border-top:1px solid var(--color-border);
}
@media (max-width:1040px){
  .deepdoc-hero__grid{
    grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);
  }
  .deepdoc-route{
    padding-inline:26px;
  }
}
@media (max-width:900px){
  .deepdoc-hero__grid{
    grid-template-columns:1fr;
  }
  .deepdoc-hero__copy{
    padding-top:64px;
    padding-right:0;
    padding-bottom:56px;
  }
  .deepdoc-route{
    min-height:300px;
    margin-right:calc(var(--gutter) * -1);
    margin-left:calc(var(--gutter) * -1);
    padding:34px var(--gutter);
  }
  .deepdoc-route svg{
    max-width:620px;
    margin-inline:auto;
  }
  .deepdoc-route__label,
  .deepdoc-route__legend{
    width:100%;
    max-width:620px;
    margin-inline:auto;
  }
}
@media (max-width:768px){
  .deepdoc-hero__copy{
    padding-top:48px;
    padding-bottom:46px;
  }
  .deepdoc-hero__lead{
    font-size:17px;
  }
  .deepdoc-route{
    min-height:260px;
  }
  .deepdoc-route svg{
    margin-block:12px 4px;
  }
  .deepdoc-route__label{
    display:none;
  }
  .deepdoc-route__legend{
    justify-content:center;
  }
  .deepdoc-article{
    padding-top:28px;
  }
  .deepdoc-section,
  .deepdoc-section:first-of-type{
    padding-top:64px;
  }
  .deepdoc-section h3{
    margin-top:34px;
  }
  .deepdoc-section p,
  .deepdoc-section li{
    font-size:15px;
    line-height:1.85;
  }
}
@media (max-width:640px){
  .deepdoc-hero__links .btn,
  .deepdoc-end-actions .btn{
    width:100%;
  }
  .deepdoc-route{
    min-height:230px;
    padding-top:24px;
    padding-bottom:24px;
  }
  .deepdoc-route__legend{
    gap:8px 14px;
    font-size:10px;
  }
}