@font-face {
  font-family: 'Public Sans';
  src: url(/docs-assets/fonts/public-sans-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url(/docs-assets/fonts/fraunces-latin-italic.woff2) format('woff2');
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fdfcfe;
  --text: #25202d;
  --muted: #6c6376;
  --accent: #6631bd;
  --surface: #f7f5fa;
  --hero: #f1edf7;
  --line: #e3dde9;
  --sidebar-link: #4d4656;
  --sidebar-active: #eee7fc;
  --sidebar-border: #eeeaf2;
  --header-height: 5rem;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #1b1721;
  --text: #f5f1fa;
  --muted: #b0a6bb;
  --accent: #d5bfff;
  --surface: #251e30;
  --hero: #282033;
  --line: #3a3146;
  --sidebar-link: #c6bfce;
  --sidebar-active: #2f224a;
  --sidebar-border: #1b1721;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.8 'Public Sans', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 0.2em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 600; }
h2 { font-size: 1.65rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 0.5rem; left: 1rem; padding: 0.5rem 1rem; background: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.docs-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 2rem; min-height: var(--header-height); padding: 0.75rem 2rem; background: var(--bg); border-bottom: 1px solid var(--line); }
.docs-brand { display: flex; align-items: center; gap: 1.2rem; text-decoration: none; color: var(--muted); flex-shrink: 0; }
.docs-brand img { width: 8.2rem; height: 2.4rem; }
.docs-brand span { padding-left: 1.2rem; border-left: 1px solid var(--line); font-size: 0.8rem; }
.logo-dark, :root[data-theme='dark'] .logo-light { display: none; }
:root[data-theme='dark'] .logo-dark { display: block; }
.docs-search { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 0.4rem; background: var(--bg); overflow: hidden; }
.docs-search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.docs-search input { min-width: 0; flex: 1; padding: 0.8rem 1rem; border: 0; background: transparent; color: var(--text); font-size: 0.85rem; }
.docs-search input::placeholder { color: var(--muted); opacity: 1; }
.docs-search input:focus { outline: none; }
.docs-search button { padding: 0.6rem 0.9rem; border: 0; background: transparent; color: var(--accent); font-size: 0.8rem; }
.docs-search button:hover { background: var(--surface); }
.docs-header .docs-search { width: min(100%, 28rem); margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-actions a { font-size: 0.75rem; text-decoration: none; color: var(--text); }
#theme-toggle { border: 0; background: none; color: var(--text); font-size: 1.5rem; padding: 0 0.4rem; }
.docs-layout { display: grid; grid-template-columns: 16.5rem minmax(0, 47rem) minmax(11rem, 16rem); gap: clamp(1.5rem, 3vw, 3rem); max-width: 100rem; margin-inline: auto; padding: 0 2rem; }
.docs-layout main { min-width: 0; }
.docs-sidebar { position: sticky; top: var(--header-height); align-self: start; width: 17rem; height: calc(100dvh - var(--header-height)); margin-left: -2rem; padding: 1.75rem 1rem 1px; border-right: 1px solid var(--sidebar-border); overflow-y: auto; scrollbar-gutter: stable; }
.docs-menu { font-size: 0.8rem; line-height: 1.4; }
.docs-menu > summary { display: none; }
.docs-menu nav > details { margin-top: 1.25rem; }
.docs-menu summary { cursor: pointer; font-weight: 650; }
.sidebar-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem; font-size: 1rem; font-weight: 400; line-height: 1.4; color: var(--sidebar-link); list-style: none; user-select: none; }
.sidebar-group-label > span { color: var(--text); font-size: 0.8rem; font-weight: 650; }
.sidebar-group > summary::marker { content: ''; }
.sidebar-group > summary::-webkit-details-marker { display: none; }
.sidebar-caret { flex-shrink: 0; transition: transform 200ms ease-in-out; }
.sidebar-group[open] > summary .sidebar-caret { transform: rotate(90deg); }
.docs-menu ul { list-style: none; margin: 0; padding: 0; }
.docs-menu li { margin-left: 0.5rem; padding-left: 0.5rem; overflow-wrap: anywhere; }
.docs-menu li a, .sidebar-home { display: block; color: var(--sidebar-link); padding: 0.55rem 0.5rem; text-decoration: none; border-radius: 0.25rem; line-height: 1.4; }
.sidebar-home { color: var(--text); font-weight: 650; }
.docs-menu a:hover { color: var(--text); }
.docs-menu a[aria-current], .docs-menu a[aria-current]:hover { color: var(--accent); background: var(--sidebar-active); font-weight: 600; }
.docs-article { padding-block: 2.7rem 4rem; }
.docs-article > h1 { margin: 0.8rem 0 1rem; }
.back-link { color: var(--muted); font-size: 0.75rem; text-decoration: none; }
.article-description { color: var(--muted); font-size: 1.05rem; }
.updated { color: var(--muted); font-size: 0.75rem; margin-block: 1.5rem 2rem; }
.docs-prose { overflow-wrap: anywhere; }
.docs-prose h2, .docs-prose h3, .docs-prose h4 { margin-top: 2.6rem; scroll-margin-top: calc(var(--header-height) + 1rem); }
.docs-prose h2 { padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.docs-prose li + li { margin-top: 0.4rem; }
.docs-prose blockquote { margin: 1.8rem 0; padding: 0.4rem 1.5rem; border-left: 2px solid var(--accent); background: var(--surface); }
.docs-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: 1.5rem; font-size: 0.85rem; }
.docs-prose th, .docs-prose td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; min-width: 8rem; }
.docs-prose th { background: var(--surface); }
.docs-prose code { background: var(--surface); border-radius: 0.2rem; padding: 0.15rem 0.3rem; font-size: 0.85em; }
.docs-prose pre { background: var(--surface); padding: 1rem; border: 1px solid var(--line); border-radius: 0.4rem; overflow-x: auto; }
.docs-prose pre code { padding: 0; }
.docs-prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
.guide-screenshot { margin: 1.75rem 0 2rem; }
.guide-screenshot img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 0.5rem; }
.guide-screenshot figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.75rem; line-height: 1.65; }
.guide-screenshot figcaption a { display: inline-block; margin-left: 0.5rem; }
.article-support { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.docs-toc { padding-top: 3rem; }
.docs-toc nav { position: sticky; top: calc(var(--header-height) + 2rem); max-height: calc(100vh - var(--header-height) - 3rem); overflow-y: auto; }
.docs-toc h2 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 1.2rem; }
.docs-toc a { display: block; font-size: 0.73rem; color: var(--muted); text-decoration: none; line-height: 1.6; margin-bottom: 0.7rem; }
.docs-toc a:hover { color: var(--accent); }
.docs-toc .toc-level-3, .docs-toc .toc-level-4 { padding-left: 0.75rem; }
.docs-home-layout { display: block; max-width: 76rem; }
.docs-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: 3.5rem; position: relative; isolation: isolate; }
.docs-hero::before { content: ''; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--hero); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; color: var(--muted); }
.docs-hero h1 { font-size: clamp(2.5rem, 4.5vw, 3.6rem); line-height: 1.1; margin: 1rem 0 1.2rem; letter-spacing: -0.045em; }
.docs-hero h1 em { color: var(--accent); font-family: 'Fraunces', Georgia, serif; }
.hero-intro { max-width: 31rem; color: var(--muted); font-size: 0.95rem; }
.docs-hero .docs-search { margin-block: 1.5rem 0.75rem; min-height: 3.5rem; }
.checklist-link { font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.common-tasks ol { list-style: none; padding: 0; margin-top: 1.2rem; }
.common-tasks li { border-bottom: 1px solid var(--line); }
.common-tasks a { display: grid; grid-template-columns: 1.5rem 1fr auto; gap: 1rem; align-items: center; padding-block: 0.85rem; color: var(--text); text-decoration: none; font-size: 0.85rem; }
.common-tasks a:hover { color: var(--accent); }
.task-number, .topic-number { color: var(--accent); font-size: 0.7rem; }
.home-topics { padding-top: 3rem; }
.home-topics h2, .home-platform h2 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); margin: 0.7rem 0 2rem; }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; }
.topic { display: grid; grid-template-columns: 1.5rem 1fr; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1.6rem 2rem; }
.topic-number { padding-top: 0.2rem; color: var(--muted); }
.topic h3 { font-size: 1.2rem; margin: 0; }
.topic h3 a { display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; color: var(--text); }
.topic h3 a:hover { color: var(--accent); }
.topic ul { display: flex; flex-wrap: wrap; gap: 0.6rem 1.3rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.topic li { font-size: 0.75rem; }
.topic li a { text-decoration: none; }
.topic li a:hover { text-decoration: underline; }
.home-platform { margin-top: 2rem; }
.home-platform > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.home-platform a { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-block: 1px solid var(--line); font-size: 0.85rem; text-decoration: none; color: var(--text); }
.home-platform a:hover { color: var(--accent); }
.home-support { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem; margin-block: 4rem; border-radius: 0.5rem; background: var(--surface); }
.home-support h2 { font-size: 1.4rem; margin: 0; }
.home-support p { font-size: 0.85rem; color: var(--muted); margin-bottom: 0; }
.home-support > a { font-size: 0.8rem; white-space: nowrap; font-weight: 600; text-decoration: none; }
.docs-footer { max-width: 96rem; margin-inline: auto; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; }
.docs-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.docs-footer a { color: inherit; text-decoration: none; }
.search-results { list-style: none; padding: 0; }
.search-results li { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 1.2rem; margin: 0 0 0.6rem; }
.search-results p { margin: 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 75rem) {
  .docs-layout { grid-template-columns: 15rem minmax(0, 1fr); }
  .docs-toc { display: none; }
  .docs-brand span { display: none; }
}
@media (max-width: 59.99rem) {
  :root { --header-height: 8.75rem; }
  .docs-header { gap: 1rem; padding-inline: 1.25rem; flex-wrap: wrap; }
  .docs-header .docs-search { order: 3; width: 100%; margin: 0; }
  .header-actions { margin-left: auto; }
  .docs-article { padding-top: 2rem; }
  .docs-hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 2.5rem; }
  .common-tasks ol { margin-bottom: 0; }
  .topic-grid { column-gap: 2rem; }
}
@media (max-width: 49.99rem) {
  .docs-layout { display: block; padding-inline: 1.25rem; }
  .docs-sidebar { position: static; width: auto; height: auto; margin-left: 0; padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .docs-menu > summary { display: list-item; }
  .docs-menu nav { padding-block: 1rem; }
}
@media (max-width: 39.99rem) {
  .topic-grid, .home-platform > div { grid-template-columns: 1fr; }
  .home-platform > div { gap: 0; }
  .home-platform a + a { border-top: 0; }
  .home-support { flex-direction: column; align-items: start; gap: 1rem; padding: 1.5rem; }
  .docs-footer { padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .sidebar-caret { transition: none; } }
@media print {
  .docs-header, .docs-sidebar, .docs-toc, .docs-footer, .article-support { display: none; }
  .docs-layout { display: block; padding: 0; }
  .docs-hero::before { display: none; }
  body { color: #25202d; background: #fdfcfe; }
}
