@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage-grotesque-variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 800;
}

.documentation {
  margin: 0;
  color: #261947;
  background: #fffefa;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.documentation * { box-sizing: border-box; }
.documentation [hidden] { display: none; }
.documentation a { color: inherit; text-underline-offset: 4px; }
.documentation a:hover { color: #7750bc; }
.documentation :focus-visible { outline: 3px solid #9773da; outline-offset: 4px; }
.documentation button { font: inherit; cursor: pointer; }
.docs-skip { position: absolute; left: 1rem; top: -6rem; background: white; padding: 1rem; z-index: 10; }
.docs-skip:focus { top: 1rem; }

.docs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  border-bottom: 1px solid #e9e4ed;
}
.docs-header a { text-decoration: none; font-size: 0.875rem; }
.docs-header .docs-brand { display: flex; align-items: center; gap: 0.65rem; font-size: 1.125rem; font-weight: 700; }
.docs-brand span { color: #776a8c; font-size: 0.75rem; font-weight: 500; border-left: 1px solid #d8d0e4; padding-left: 0.75rem; margin-left: 0.25rem; }
.docs-layout { display: grid; grid-template-columns: 210px minmax(0, 700px) 200px; gap: 3rem; max-width: 1330px; margin: 0 auto; padding: 2.5rem 2rem 5rem; }
.docs-navigation, .docs-toc { font-size: 0.8125rem; align-self: start; position: sticky; top: 2rem; }
.docs-navigation p, .docs-toc p { font-weight: 650; margin: 0 0 0.65rem; }
.docs-navigation p:not(:first-child) { margin-top: 2rem; }
.docs-navigation a, .docs-toc a { display: block; padding: 0.45rem 0.65rem; margin: 0 -0.65rem 0.15rem; color: #776a8c; text-decoration: none; border-radius: 6px; }
.docs-navigation a[aria-current="page"] { color: #261947; background: #eee8f5; font-weight: 600; }
.docs-toc a { padding: 0.35rem 0; margin: 0; font-size: 0.75rem; }
.docs-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; min-height: 2rem; margin-bottom: 1.75rem; font-size: 0.75rem; color: #776a8c; }
.docs-actions button, .docs-code-copy { border: 1px solid #ddd5e6; border-radius: 5px; padding: 0.15rem 0.6rem; background: transparent; }
.docs-copy-status { font-size: 0.75rem; }
.docs-article .eyebrow { font-size: 0.75rem; color: #776a8c; margin: 0 0 0.5rem; font-weight: 550; }
.docs-article h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 650; line-height: 1.08; letter-spacing: -0.045em; margin: 0 0 1.15rem; }
.docs-article .lead { font-size: 1.125rem; line-height: 1.6; color: #776a8c; margin-bottom: 2.75rem; }
.docs-article h2 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.025em; margin: 2.75rem 0 0.85rem; scroll-margin-top: 2rem; }
.docs-article p { margin: 0.85rem 0; }
.docs-article ul, .docs-article ol { padding-left: 1.4rem; }
.docs-article li { padding-left: 0.2rem; margin: 0.65rem 0; }
.docs-article code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8em; background: #eee8f580; border-radius: 4px; padding: 0.12rem 0.3rem; overflow-wrap: anywhere; }
.docs-article pre, .docs-code-block { background: #f2eef7; border: 1px solid #e6dfef; border-radius: 10px; margin: 1.25rem 0; }
.docs-article pre { overflow-x: auto; padding: 1.4rem; line-height: 1.65; }
.docs-article pre code { display: block; font-size: 0.75rem; background: none; padding: 0; overflow-wrap: normal; }
.docs-code-block pre { background: transparent; border: 0; margin: 0; padding-top: 0; }
.docs-code-copy { display: block; margin: 1.4rem 1.4rem 0.75rem auto; font-size: 0.7rem !important; }
.docs-footer { border-top: 1px solid #e9e4ed; padding: 1.5rem 2.5rem; color: #776a8c; font-size: 0.75rem; }

@media (max-width: 1150px) {
  .docs-layout { grid-template-columns: 180px minmax(0, 700px); gap: 2.5rem; }
  .docs-toc { display: none; }
}

@media (max-width: 700px) {
  .docs-header { padding: 1rem 1.25rem; }
  .docs-layout { display: block; padding: 1.5rem 1.25rem 3rem; }
  .docs-navigation { position: static; display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; border-bottom: 1px solid #e9e4ed; padding-bottom: 1rem; margin-bottom: 1.25rem; }
  .docs-navigation p { display: none; }
  .docs-navigation a { margin: 0; padding: 0.35rem 0.5rem; }
  .docs-actions { margin-bottom: 1.25rem; }
  .docs-article pre { margin-inline: -0.25rem; padding: 1rem; }
  .docs-code-block { margin-inline: -0.25rem; }
  .docs-code-block pre { margin: 0; padding-top: 0; }
  .docs-code-copy { margin: 1rem 1rem 0.75rem auto; }
  .docs-footer { padding: 1.25rem; }
}
