@font-face {
  font-family: Fraunces;
  src: url("assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --accent: #c8ed9c;
  --accent-rgb: 200, 237, 156;
  --bg: #071d15;
  --bg-grad:
    radial-gradient(ellipse 90% 720px at 80% 0%, #246b4266, transparent),
    radial-gradient(ellipse 70% 700px at 0% 15%, #12493288, transparent);
  --panel: #0e291ee6;
  --text: #f5f8ed;
  --muted: #b5cbb8;
  --border: rgba(186, 222, 165, 0.16);
  --border-strong: #badea538;
  --code-bg: #091f16;
  --site-font: Fraunces, Georgia, serif;
}
html {
  scroll-padding-top: 24px;
}
body::before,
body::after {
  content: "";
  position: absolute;
  width: min(400px, 35vw);
  height: 650px;
  z-index: -1;
  pointer-events: none;
  background: url("assets/jungle-fern.svg") left top / contain no-repeat;
  opacity: 0.12;
}
body::before {
  top: -160px;
  left: -100px;
  transform: rotate(125deg);
}
body::after {
  top: 80px;
  right: 0;
  width: min(250px, 20vw);
  background-image: url("assets/jungle-leaf.svg");
  transform: scaleX(-1);
  opacity: 0.09;
}
body {
  position: relative;
  isolation: isolate;
}
.wrap {
  max-width: 1280px;
  padding-inline: 40px;
}
header.nav {
  position: absolute;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-inner {
  height: 88px;
  padding: 0;
  gap: 38px;
}
.brand {
  font-size: 27px;
  font-weight: 740;
  letter-spacing: -1px;
  gap: 10px;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-links {
  gap: 32px;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
}
.nav-links a[aria-current="page"] {
  color: var(--accent);
}
.btn {
  color: #173b22;
  background: #d9efbc;
  border-radius: 999px;
  padding: 9px 20px;
}
.docs-hero {
  padding-top: 150px;
  padding-bottom: 50px;
}
.docs-hero h1 {
  font-weight: 760;
  letter-spacing: -0.04em;
  font-size: clamp(36px, 5vw, 62px);
}
.docs-hero p {
  max-width: 760px;
  font-size: 17px;
}
.docs-shell {
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 42px;
}
.toc {
  top: 24px;
  max-height: calc(100vh - 48px);
}
.toc p {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 550;
  font-size: 13px;
}
.toc a {
  padding: 8px 9px;
  border-radius: 7px;
}
.toc a:hover,
.toc a:focus-visible {
  background: #c8ed9c12;
  color: var(--accent);
}
article {
  border-color: var(--border);
  background: var(--panel);
}
article a {
  color: var(--accent);
  text-underline-offset: 3px;
}
h2 {
  font-weight: 650;
}
h3 {
  font-weight: 600;
}
.note {
  border-left-width: 2px;
}
footer .brand {
  font-size: 19px;
}
footer .brand img {
  width: 24px;
  height: 24px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.docs-skip {
  position: absolute;
  top: -70px;
  left: 20px;
  z-index: 50;
  padding: 10px 15px;
  background: #d9efbc;
  color: #173b22;
}
.docs-skip:focus {
  top: 10px;
}
@media (max-width: 820px) {
  .wrap {
    padding-inline: 24px;
  }
  .nav-inner {
    gap: 20px;
  }
  .nav-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
  }
  .docs-shell {
    display: block;
  }
  .toc {
    position: static;
    max-height: none;
  }
  .docs-hero {
    padding-top: 130px;
  }
}
@media (max-width: 540px) {
  .wrap {
    padding-inline: 18px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .nav-inner {
    height: 76px;
    gap: 16px;
  }
  .nav-links a:not([aria-current]) {
    display: none;
  }
  .btn {
    padding: 8px 15px;
  }
  .docs-hero {
    padding-top: 116px;
  }
  .docs-hero p {
    font-size: 15px;
  }
  article {
    padding: 25px 18px;
  }
  pre {
    padding: 13px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.toc a[aria-current="location"] {
  background: rgba(200, 237, 156, 0.1);
  color: var(--accent);
  box-shadow: inset 2px 0 var(--accent);
  font-weight: 600;
}
