:root {
  --site-header-height: 64px;
  --site-sidebar-width: 288px;
  --site-border: color-mix(in srgb, currentColor 14%, transparent);
  --site-surface: #ffffff;
  --site-muted: #6b7280;
  --site-accent: #7c3aed;
}

html.dark {
  color-scheme: dark;
  --site-surface: #1d1d1d;
  --site-muted: #a1a1aa;
  --site-accent: #8b9eff;
}

html:not(.dark) {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
}

body.static-help {
  min-width: 320px;
  margin: 0;
}

.site-skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(calc(-100% - 16px));
  border-radius: 8px;
  background: var(--site-surface);
  color: inherit;
  padding: 10px 14px;
  box-shadow: 0 4px 18px rgb(0 0 0 / 22%);
}

.site-skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: none;
  height: var(--site-header-height);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--site-border);
  background: color-mix(in srgb, var(--site-surface) 94%, transparent);
  padding: 0 24px;
  backdrop-filter: blur(16px);
}

.site-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.site-menu-button svg {
  width: 20px;
  height: 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-brand-logo {
  width: 24px;
  height: 24px;
}

.site-brand-wordmark {
  width: 64px;
  height: auto;
}

.site-brand:hover {
  opacity: 0.82;
}

.site-brand--desktop {
  margin: 4px 10px 24px;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--site-sidebar-width) minmax(0, 1fr);
}

.site-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  border-right: 1px solid var(--site-border);
  background: var(--site-surface);
  padding: 18px 12px 28px;
  scrollbar-gutter: stable;
}

.site-navigation {
  display: grid;
  gap: 4px;
}

.site-navigation-node {
  min-width: 0;
}

.site-navigation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px;
}

.site-navigation-children {
  display: grid;
  gap: 2px;
  margin-left: 14px;
  border-left: 1px solid var(--site-border);
  padding-left: 6px;
}

.site-navigation-children[hidden] {
  display: none;
}

.site-navigation a {
  display: block;
  min-height: 34px;
  border-radius: 8px;
  padding: 8px 10px;
  color: color-mix(in srgb, currentColor 82%, transparent);
  font-size: 13px;
  line-height: 18px;
  text-decoration: none;
}

.site-navigation-toggle {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--site-muted);
  cursor: pointer;
}

.site-navigation-toggle:hover,
.site-navigation-toggle:focus-visible {
  background: color-mix(in srgb, currentColor 6%, transparent);
  color: inherit;
}

.site-navigation-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.site-navigation-toggle[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.site-navigation a:hover {
  background: color-mix(in srgb, currentColor 6%, transparent);
  color: inherit;
}

.site-navigation a[aria-current="page"] {
  background: color-mix(in srgb, var(--site-accent) 11%, transparent);
  color: var(--site-accent);
  font-weight: 650;
}

.site-content {
  min-width: 0;
  padding: 32px clamp(20px, 5vw, 72px) 72px;
}

.site-content > main {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.site-content img,
.site-content video {
  max-width: 100%;
  height: auto;
}

.official-about-cover {
  width: 100%;
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: 14px;
}

.official-about-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-policy {
  max-width: 880px;
  color: inherit;
  font-size: 16px;
  line-height: 1.7;
}

.legal-policy__content {
  min-width: 0;
}

.legal-policy__header {
  margin-bottom: 32px;
}

.legal-policy__breadcrumb {
  margin-bottom: 18px;
  color: var(--site-muted);
  font-size: 13px;
}

.legal-policy__breadcrumb ol,
.legal-policy__breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-policy__breadcrumb svg {
  width: 14px;
  height: 14px;
}

.legal-policy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.legal-policy h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.25;
}

.legal-policy h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.legal-policy p,
.legal-policy ul {
  max-width: 76ch;
  margin: 0 0 16px;
}

.legal-policy ul {
  padding-left: 24px;
}

.legal-policy li + li {
  margin-top: 5px;
}

.legal-policy a {
  color: var(--site-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-policy__review-date {
  margin-top: 18px !important;
  color: var(--site-muted);
}

.site-content iframe,
.site-content form {
  display: none !important;
}

.static-embed {
  border: 1px solid var(--site-border);
  border-radius: 12px;
  padding: 14px 16px;
}

.site-overlay {
  display: none;
}

body.site-navigation-open {
  overflow: hidden;
}

html.dark .site-brand-wordmark {
  filter: invert(1);
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: calc(var(--site-header-height) + 24px);
  }

  .site-header {
    display: flex;
    padding: 0 14px;
  }

  .site-menu-button {
    display: inline-flex;
  }

  .site-shell {
    display: block;
    min-height: calc(100vh - var(--site-header-height));
  }

  .site-brand--desktop {
    display: none;
  }

  .site-sidebar {
    position: fixed;
    z-index: 70;
    top: var(--site-header-height);
    bottom: 0;
    left: 0;
    width: min(var(--site-sidebar-width), calc(100vw - 48px));
    height: auto;
    transform: translateX(-105%);
    box-shadow: 20px 0 50px rgb(0 0 0 / 18%);
    transition: transform 180ms ease;
  }

  .site-navigation-open .site-sidebar {
    transform: translateX(0);
  }

  .site-overlay {
    position: fixed;
    z-index: 60;
    inset: var(--site-header-height) 0 0;
    display: block;
    border: 0;
    background: rgb(0 0 0 / 38%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .site-navigation-open .site-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .site-content {
    padding: 24px 18px 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
