:root {
  color-scheme: only light;
  --ink: #201a32;
  --muted: #666079;
  --purple: #7731b1;
  --line: #e9e5f0;
  --surface: #faf9fd;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #9347cd;
  outline-offset: 4px;
}
button {
  border: 0;
}
p {
  margin: 0 0 1.2rem;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  font-weight: 650;
  margin: 16px 0 22px;
}
h2 {
  font-size: 1.7rem;
  font-weight: 620;
}
h3 {
  font-size: 1.12rem;
  font-weight: 620;
}
em {
  font-style: normal;
  color: var(--purple);
}
.skip-link {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 20;
  padding: 12px 20px;
  background: #fff;
  border: 2px solid var(--purple);
  border-radius: 10px;
}
.skip-link:focus {
  top: 12px;
}
.topbar {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand-logo {
  display: block;
  width: 144px;
  height: 26px;
  object-fit: contain;
}
.brand-divider {
  height: 22px;
  width: 1px;
  background: var(--line);
  margin: 0 3px;
}
.brand-docs {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  min-width: 260px;
  text-align: left;
}
.search-trigger > span {
  font-size: 22px;
  line-height: 1;
}
kbd {
  font:
    11px ui-monospace,
    monospace;
  padding: 1px 5px;
  border: 1px solid #ded8e9;
  border-radius: 4px;
  margin-left: auto;
  color: #777080;
}
.website-link,
.dashboard-link {
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}
.dashboard-link {
  background: #241236;
  color: #fff;
  padding: 10px 17px;
  border-radius: 9px;
}
.website-link span,
.dashboard-link span {
  margin-left: 7px;
}
.menu-toggle {
  display: none;
  background: #f1ecf8;
  padding: 7px 11px;
  border-radius: 7px;
}
.page-shell {
  display: flex;
  max-width: 1680px;
  margin: auto;
  align-items: flex-start;
}
.sidebar {
  width: 254px;
  flex: none;
  position: sticky;
  top: 82px;
  height: calc(100dvh - 82px);
  overflow: auto;
  padding: 30px 19px 35px 27px;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
}
.sidebar a {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  border-radius: 6px;
  padding: 7px 10px;
}
.nav-home {
  font-weight: 550;
}
.nav-home.selected {
  color: var(--purple);
  background: #f2ebf9;
}
.nav-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: #827b92;
  margin: 28px 10px 12px;
}
.sidebar details {
  margin: 4px 0;
}
.sidebar summary {
  font-size: 12.5px;
  font-weight: 550;
  padding: 9px 9px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.sidebar summary::-webkit-details-marker {
  display: none;
}
.sidebar summary::after {
  content: "›";
  font-size: 16px;
  line-height: 1.3;
  color: #978ca6;
}
.sidebar details[open] summary::after {
  transform: rotate(90deg);
}
.sidebar details > a {
  margin-left: 9px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  border-radius: 0;
}
.sidebar a:hover {
  background: #f7f4fb;
  color: var(--purple);
}
.sidebar [aria-current="page"] {
  color: var(--purple);
  background: #f2ebf9;
  font-weight: 550;
}
.sidebar .sidebar-support {
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 30px;
  padding: 15px;
  font-size: 12px;
  color: var(--muted);
}
.sidebar-support span {
  display: block;
  color: var(--purple);
  margin-top: 4px;
}
.page-content {
  flex: 1;
  min-width: 0;
  padding: 28px 48px 0;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 11px;
  color: #716781;
  margin-bottom: 28px;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 39px 42px 32px;
  border: 1px solid #eee6f5;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 85% 70%, #ece0f7, transparent 50%),
    linear-gradient(120deg, #faf8fd, #fbf9ff);
  margin-bottom: 50px;
}
.hero > *:not(.hero-decoration) {
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--purple);
}
.eyebrow > span {
  display: inline-block;
  background: #9a4fc0;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}
.eyebrow.muted {
  color: #82788f;
}
.hero h1 {
  margin: 21px 0;
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.hero p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 570px;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 27px 0 31px;
}
.primary-button {
  background: var(--purple);
  color: #fff;
  display: inline-flex;
  gap: 27px;
  align-items: center;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 600;
}
.primary-button:hover {
  background: #592185;
}
.text-link {
  color: var(--purple);
  font-weight: 600;
  font-size: 12px;
}
.text-link:hover {
  text-decoration: underline;
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  color: #777082;
  font-size: 10px;
}
.hero-note span + span::before {
  content: "·";
  margin-right: 19px;
  color: #aaa1b4;
}
.hero-decoration {
  position: absolute;
  right: -25px;
  top: 65px;
  transform: rotate(-22deg);
  opacity: 0.45;
  width: 215px;
  height: 230px;
}
.hero-decoration span {
  display: block;
  border: 1px solid #d3b9e8;
  border-radius: 24px;
  width: 100%;
  height: 95px;
  margin-bottom: -42px;
  background: linear-gradient(120deg, #fff8, #dbb9ed22);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 22px;
}
.section-heading h2 {
  margin: 9px 0 0;
  font-size: 1.5rem;
}
.section-heading > a {
  white-space: nowrap;
}
.section-count {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.guide-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.guide-card:hover,
.category-card:hover {
  border-color: #ba96d6;
  background: #fcfaff;
}
.card-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  font-weight: 650;
}
.guide-card h3 {
  font-size: 15px;
  line-height: 1.45;
  margin: 10px 0;
}
.guide-card h3 > span {
  color: #9987aa;
  font-size: 16px;
  margin-left: 4px;
}
.guide-card p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.start-section {
  margin-bottom: 47px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.category-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.category-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9d91aa;
}
.category-number {
  display: grid;
  place-items: center;
  border: 1px solid #e6d8f1;
  border-radius: 9px;
  width: 33px;
  height: 33px;
  background: #f7f1fb;
  font-size: 11px;
  color: var(--purple);
  font-weight: 600;
}
.category-card h3 {
  margin: 19px 0 10px;
  font-size: 15px;
}
.category-card p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}
.article-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--purple);
  margin-top: 13px;
}
.support-banner {
  background: #f6f2fa;
  border: 1px solid #e9dff2;
  border-radius: 14px;
  margin: 42px 0;
  padding: 30px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
}
.support-banner h2 {
  font-size: 23px;
  margin: 9px 0;
}
.support-banner p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.support-banner > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  flex-shrink: 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #746c82;
}
footer > div {
  display: flex;
  gap: 18px;
}
footer a:hover {
  text-decoration: underline;
}
.category-header {
  max-width: 790px;
  padding: 25px 0 30px;
}
.lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
}
.category-articles {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.note {
  font-size: 12px;
  color: #61516f;
  background: #f8f4fc;
  border-left: 3px solid #ae7cd0;
  padding: 18px 22px;
  margin: 34px 0;
  border-radius: 0 8px 8px 0;
}
.note p {
  margin: 6px 0 0;
}
.article-header {
  border-bottom: 1px solid var(--line);
  padding: 20px 0 28px;
}
.article-header h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  max-width: 850px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 25px;
}
.status-tag {
  color: #77400c;
  background: #fff1d6;
  padding: 3px 10px;
  border-radius: 5px;
}
.article-body {
  max-width: 790px;
  font-size: 15px;
  line-height: 1.9;
  color: #4e475a;
}
.article-body section {
  scroll-margin-top: 110px;
  margin: 35px 0;
}
.article-body h2 {
  color: var(--ink);
  font-size: 23px;
  margin: 0 0 17px;
}
.article-body li {
  padding-left: 7px;
  margin-bottom: 9px;
}
.article-body ul {
  padding-left: 21px;
}
.article-help {
  margin: 40px 0;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.article-help h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.article-help p {
  font-size: 12px;
  max-width: 450px;
  color: var(--muted);
  margin: 0;
}
.article-help a {
  white-space: nowrap;
}
.related {
  margin-bottom: 40px;
}
.related h2 {
  font-size: 21px;
}
.toc {
  position: sticky;
  top: 115px;
  width: 205px;
  flex: none;
  font-size: 11px;
  padding: 10px 26px 20px 0;
}
.toc p {
  font-weight: 650;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #82778f;
}
.toc a {
  display: block;
  color: var(--muted);
  padding: 7px 0 7px 13px;
  border-left: 1px solid var(--line);
  line-height: 1.6;
}
.toc a:hover {
  color: var(--purple);
  border-color: var(--purple);
}
.toc .back-top {
  margin-top: 22px;
  border: 0;
  padding-left: 0;
  color: var(--purple);
}
#main:focus {
  outline: 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f2f8;
  padding: 20px;
  border-radius: 8px;
  font-size: 12px;
}
dialog {
  width: min(640px, calc(100% - 32px));
  max-height: 80dvh;
  border: 1px solid #e8dfee;
  border-radius: 16px;
  padding: 23px;
  margin: 12vh auto auto;
  box-shadow: 0 20px 90px #28113d30;
  color: var(--ink);
  background: #fff;
}
dialog::backdrop {
  background: #1f152b66;
}
.search-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
}
.search-top button {
  padding: 4px 9px;
  background: #f3eff7;
  border-radius: 5px;
  font-size: 11px;
}
#docs-search {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d9c8e7;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
}
#search-status {
  font-size: 12px;
  color: var(--muted);
  margin: 17px 0 8px;
}
#search-results {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 46dvh;
  overflow: auto;
}
#search-results a {
  display: grid;
  gap: 3px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  border-radius: 7px;
}
#search-results a:hover,
#search-results a:focus {
  background: #f7f2fc;
}
#search-results small {
  color: var(--purple);
  font-size: 10px;
}
#search-results strong {
  font-size: 14px;
}
#search-results span {
  font-size: 12px;
  color: var(--muted);
}
.search-help {
  font-size: 10px;
  color: #7c7289;
  margin-top: 17px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
@media (min-width: 1450px) {
  .page-content {
    padding-left: 60px;
    padding-right: 60px;
  }
  .hero {
    padding: 48px;
  }
  .category-grid {
    gap: 20px;
  }
}
@media (max-width: 1200px) {
  .toc {
    display: none;
  }
  .sidebar {
    width: 225px;
    padding-left: 17px;
  }
  .page-content {
    padding: 25px 30px 0;
  }
  .website-link {
    display: none;
  }
  .topbar {
    padding: 0 24px;
  }
  .header-actions {
    gap: 15px;
  }
  .hero {
    padding: 30px;
  }
  .hero-decoration {
    opacity: 0.25;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .featured-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured-grid .guide-card:last-child {
    grid-column: 1/-1;
  }
  .search-trigger {
    min-width: 0;
  }
  .search-trigger kbd {
    display: none;
  }
  .dashboard-link {
    display: none;
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .hero-actions {
    gap: 17px;
  }
  .desktop-break {
    display: none;
  }
}
@media (max-width: 700px) {
  .topbar {
    height: 68px;
    padding: 0 17px;
    gap: 12px;
  }
  .brand {
    gap: 7px;
  }
  .brand-logo {
    width: 126px;
    height: 23px;
  }
  .brand-divider {
    margin: 0 3px;
  }
  .brand-docs {
    font-size: 12px;
  }
  .header-actions {
    gap: 7px;
  }
  .search-trigger {
    font-size: 0;
    padding: 6px 10px;
    gap: 0;
  }
  .search-trigger > span {
    font-size: 24px;
  }
  .enhanced .menu-toggle {
    display: block;
  }
  .page-shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    max-height: 65dvh;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 15px 20px;
    overflow: auto;
  }
  .enhanced .sidebar {
    display: none;
  }
  .enhanced .navigation-open .sidebar {
    display: block;
  }
  .page-content {
    padding: 22px 20px 0;
  }
  .breadcrumbs {
    margin-bottom: 20px;
    font-size: 10px;
  }
  .hero {
    padding: 30px 23px;
    border-radius: 13px;
    margin-bottom: 33px;
  }
  .hero h1 {
    font-size: 2.9rem;
  }
  .hero p {
    font-size: 13px;
  }
  .hero-decoration {
    display: none;
  }
  .hero-actions {
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  .hero-note {
    gap: 10px;
  }
  .hero-note span + span::before {
    margin-right: 10px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .featured-grid,
  .category-grid,
  .category-articles {
    grid-template-columns: 1fr;
  }
  .featured-grid .guide-card:last-child {
    grid-column: auto;
  }
  .category-card {
    padding: 21px;
  }
  .category-card h3 {
    margin-top: 13px;
  }
  .category-card p {
    margin-bottom: 4px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .support-banner {
    padding: 24px;
    display: block;
  }
  .support-banner > div:last-child {
    align-items: flex-start;
    margin-top: 24px;
  }
  .article-header {
    padding-top: 12px;
  }
  .article-header h1 {
    font-size: 2.25rem;
  }
  .lead {
    font-size: 15px;
  }
  .article-body {
    font-size: 14px;
  }
  .article-body h2 {
    font-size: 22px;
  }
  .article-help {
    align-items: flex-start;
    flex-direction: column;
  }
  footer {
    flex-direction: column;
    gap: 10px;
  }
  .category-header {
    padding-top: 15px;
  }
  dialog {
    margin-top: 5vh;
    max-height: 90dvh;
    padding: 18px;
  }
  #search-results {
    max-height: 55dvh;
  }
}
@media (max-width: 380px) {
  .brand-divider,
  .brand-docs {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
