:root {
  --ink: #172938;
  --muted: #596a76;
  --line: #dce3e6;
  --paper: #fff;
  --wash: #f4f7f8;
  --blue: #08657a;
  --tint: #e6f3f5;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #31a4b7;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 18px;
  top: -60px;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fffffff5;
  backdrop-filter: blur(12px);
  z-index: 3;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand strong {
  font-size: 25px;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 26px;
  font-weight: 750;
  line-height: 1;
}
.brand-label {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.header-right {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.preview-badge {
  border: 1px solid #c6dfe5;
  color: var(--blue);
  background: var(--tint);
  border-radius: 30px;
  padding: 6px 11px;
  font-size: 11px;
  letter-spacing: 0.03em;
}
.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 820px) 190px;
  max-width: 1420px;
  margin: auto;
}
.sidebar {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow: auto;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  background: var(--wash);
}
.search-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 9px;
}
.sidebar input {
  width: 100%;
  border: 1px solid #c9d5db;
  background: white;
  border-radius: 7px;
  padding: 11px 9px;
  font: inherit;
  font-size: 12px;
  color: var(--ink);
}
#search-results:not(:empty) {
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 6px;
  background: #fff;
  margin-top: 8px;
}
#search-results a {
  display: block;
  font-size: 12px;
  padding: 6px 0;
}
#search-results p {
  font-size: 12px;
  margin: 0;
}
.navigation summary {
  display: none;
}
.nav-group {
  margin-top: 28px;
}
.nav-group p {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.nav-group a {
  display: block;
  font-size: 12px;
  padding: 7px 10px;
  margin: 2px -10px;
  border-radius: 5px;
  color: #3b4d59;
}
.nav-group a[aria-current] {
  background: var(--tint);
  color: var(--blue);
  font-weight: 700;
}
.sidebar-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
main {
  min-width: 0;
  padding: 45px 52px 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 750;
  color: var(--blue);
  margin: 0 0 18px;
}
h1 {
  font-size: 36px;
  line-height: 1.16;
  letter-spacing: -1.4px;
  margin: 0 0 28px;
  font-weight: 750;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 42px 0 16px;
  padding-top: 6px;
}
h3 {
  font-size: 18px;
  margin: 28px 0 12px;
}
h1,
h2,
h3,
h4 {
  scroll-margin-top: 100px;
}
.anchor {
  opacity: 0;
  font-weight: 400;
  margin-left: 8px;
  font-size: 0.7em;
}
h1:hover .anchor,
h2:hover .anchor,
h3:hover .anchor,
.anchor:focus {
  opacity: 1;
}
article {
  font-size: 14px;
  line-height: 1.8;
}
article p {
  margin: 0 0 18px;
}
article li {
  padding-left: 3px;
  margin: 7px 0;
}
article ul,
article ol {
  padding-left: 23px;
  margin: 12px 0 22px;
}
article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
article strong {
  font-weight: 650;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: #eef2f4;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
pre {
  position: relative;
  overflow-x: auto;
  line-height: 1.65;
  border: 1px solid #243c4a;
  background: #142c3a;
  color: #e7f2f6;
  padding: 22px 24px;
  border-radius: 9px;
  margin: 20px 0 28px;
  font-size: 12px;
}
pre code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  overflow-wrap: normal;
}
.copy {
  position: absolute;
  right: 9px;
  top: 9px;
  background: #274352;
  color: #e5eff2;
  border: 1px solid #45606e;
  border-radius: 4px;
  padding: 4px 7px;
  cursor: pointer;
  font-size: 10px;
}
table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  font-size: 12px;
  width: 100%;
  margin: 22px 0 28px;
}
th {
  text-align: left;
  background: var(--wash);
  font-weight: 650;
}
th,
td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}
blockquote {
  margin: 22px 0;
  padding: 12px 20px;
  border-left: 3px solid var(--blue);
  background: var(--wash);
}
blockquote p:last-child {
  margin: 0;
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
}
.toc {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow: auto;
  padding: 46px 16px 30px 12px;
  font-size: 11px;
}
.toc p {
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 14px;
}
.toc a {
  display: block;
  color: var(--muted);
  padding: 6px 0;
  line-height: 1.5;
}
.toc .depth-3 {
  padding-left: 10px;
  font-size: 10px;
}
.overview h1 {
  font-size: 49px;
  letter-spacing: -2px;
  max-width: 570px;
}
.overview article > p:first-of-type {
  font-size: 17px;
  line-height: 1.75;
  color: #4b606e;
}
.overview article > p:nth-of-type(2) {
  font-size: 11px;
  color: var(--blue);
  background: var(--tint);
  border-radius: 5px;
  padding: 8px 12px;
  display: inline-block;
}
.overview article > p:nth-of-type(3) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: transparent;
}
.overview article > p:nth-of-type(3) a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.overview article > p:nth-of-type(3) a:first-child {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.overview article > p:nth-of-type(3) a:hover {
  filter: brightness(0.94);
}
@media (min-width: 1600px) {
  main {
    padding-right: 70px;
    padding-left: 70px;
  }
  .layout {
    grid-template-columns: 270px minmax(0, 900px) 200px;
  }
}
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
  main {
    padding: 38px;
  }
  .sidebar {
    padding: 24px 20px;
  }
}
@media (max-width: 700px) {
  header {
    height: 64px;
    padding: 0 18px;
  }
  .brand strong {
    font-size: 22px;
  }
  .brand-label {
    font-size: 12px;
    padding-left: 8px;
  }
  .header-right {
    gap: 12px;
  }
  .preview-badge {
    display: none;
  }
  .layout {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
  }
  .search-label,
  .sidebar-foot {
    display: none;
  }
  .sidebar input {
    font-size: 13px;
  }
  .navigation {
    margin-top: 12px;
  }
  .navigation summary {
    display: list-item;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
  }
  .navigation nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .nav-group {
    margin-top: 15px;
  }
  .nav-group a {
    font-size: 12px;
  }
  main {
    padding: 28px 21px;
  }
  .overview h1 {
    font-size: 38px;
    letter-spacing: -1.4px;
  }
  h1 {
    font-size: 30px;
  }
  .overview article > p:first-of-type {
    font-size: 15px;
  }
  article {
    font-size: 13px;
  }
  pre {
    font-size: 11px;
    padding: 18px 14px;
  }
  footer {
    flex-direction: column;
  }
  h1,
  h2,
  h3,
  h4 {
    scroll-margin-top: 80px;
  }
}
