:root {
  color-scheme: light;
  --pool-900: #0c3a74;
  --pool-800: #114f97;
  --pool-700: #1663b9;
  --pool-600: #1b6fcc;
  --pool-500: #1f7ae0;
  --pool-300: #7db5f6;
  --pool-100: #d6e9ff;
  --pool-50: #e6f2ff;
  --coral-700: #d94e25;
  --coral-500: #ff6a3d;
  --coral-100: #ffe2d7;
  --aqua-900: #075b50;
  --aqua-700: #029c88;
  --aqua-500: #00bfa6;
  --aqua-300: #75e2d6;
  --aqua-100: #d7fff6;
  --ink: #0b1220;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --canvas: #f7faff;
  --surface: #ffffff;
  --surface-soft: #f3f8fe;
  --surface-code: #0d1b2e;
  --surface-code-top: #13243b;
  --border: rgba(12, 58, 116, 0.12);
  --border-strong: rgba(12, 58, 116, 0.2);
  --shadow-soft: 0 12px 30px rgba(12, 58, 116, 0.08);
  --font-display:
    'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --sidebar-width: 294px;
  --toc-width: 246px;
  --wave-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='150' viewBox='0 0 300 150'%3E%3Cpath d='M0 100 Q37.5 70 75 100T150 100T225 100T300 100' fill='none' stroke='%237DB5F6' stroke-width='3' opacity='.5'/%3E%3Cpath d='M0 80 Q37.5 50 75 80T150 80T225 80T300 80' fill='none' stroke='%2375E2D6' stroke-width='2.5' opacity='.4'/%3E%3Cpath d='M0 60 Q37.5 35 75 60T150 60T225 60T300 60' fill='none' stroke='%231F7AE0' stroke-width='2' opacity='.35'/%3E%3Cpath d='M0 120 Q37.5 95 75 120T150 120T225 120T300 120' fill='none' stroke='%23D6E9FF' stroke-width='4' opacity='.6'/%3E%3C/svg%3E");
}

[data-theme='dark'] {
  color-scheme: dark;
  --ink: #edf6ff;
  --slate-700: #d7e3ef;
  --slate-600: #b7c8d8;
  --slate-500: #9aafc2;
  --slate-400: #8098ad;
  --slate-300: #647c91;
  --slate-200: #253b50;
  --slate-100: #172a3c;
  --slate-50: #102234;
  --canvas: #071522;
  --surface: #0b1c2b;
  --surface-soft: #102537;
  --surface-code: #06111d;
  --surface-code-top: #0b1b2c;
  --border: rgba(125, 181, 246, 0.13);
  --border-strong: rgba(125, 181, 246, 0.24);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

[data-theme='dark'] body {
  background: var(--canvas);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

code,
pre,
kbd {
  font-family: var(--font-mono);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--pool-700);
  border-radius: 999px;
  transform: translateY(-170%);
}

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

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

.mobile-header {
  display: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.93);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.sidebar::before {
  content: '';
  height: 4px;
  flex: 0 0 auto;
  background: linear-gradient(
    90deg,
    var(--pool-500) 0 58%,
    var(--aqua-500) 58% 80%,
    var(--coral-500) 80%
  );
}

[data-theme='dark'] .sidebar {
  background: rgba(7, 21, 34, 0.94);
}

.sidebar-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 17px 11px 22px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 121px;
  height: 40px;
  object-fit: contain;
}

[data-theme='dark'] .brand img {
  filter: brightness(0) invert(1);
}

.brand-product {
  padding-left: 10px;
  color: var(--pool-700);
  background: transparent;
  border-left: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

[data-theme='dark'] .brand-product {
  color: var(--pool-300);
  background: transparent;
}

.icon-button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: var(--slate-500);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-button:hover,
.icon-button:focus-visible {
  color: var(--pool-600);
  background: var(--pool-50);
  border-color: var(--pool-100);
  outline: none;
}

[data-theme='dark'] .icon-button:hover,
[data-theme='dark'] .icon-button:focus-visible {
  background: rgba(31, 122, 224, 0.14);
  border-color: rgba(125, 181, 246, 0.18);
}

.theme-toggle {
  margin-left: auto;
}

.api-edition {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0 22px 15px;
  padding: 11px 0;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

[data-theme='dark'] .api-edition {
  background: transparent;
}

.api-edition-mark {
  position: relative;
  width: 10px;
  height: 10px;
  background: var(--aqua-500);
  border-radius: 50%;
}

.api-edition-mark::after {
  content: none;
}

.api-edition strong,
.api-edition small {
  display: block;
}

.api-edition strong {
  font-family: var(--font-display);
  font-size: 12px;
}

.api-edition small {
  margin-top: 1px;
  color: var(--slate-500);
  font-size: 10px;
}

.stable-badge {
  padding: 2px 0;
  color: var(--aqua-900);
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-control {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 18px 19px;
  padding: 0 9px 0 12px;
  color: var(--slate-500);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
}

.search-control:focus-within {
  border-color: var(--pool-500);
  outline: 3px solid rgba(31, 122, 224, 0.1);
}

.search-control svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.search-control input {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.search-control input::placeholder {
  color: var(--slate-500);
}

.search-control kbd {
  padding: 2px 6px;
  color: var(--slate-500);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 9px;
}

.sidebar-nav {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar-nav::-webkit-scrollbar {
  display: none;
}

.nav-group + .nav-group {
  margin-top: 24px;
}

.nav-label {
  margin: 0 11px 7px;
  color: var(--slate-400);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-link,
.endpoint-nav-link,
.endpoint-nav-heading {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  color: var(--slate-600);
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.35;
}

.nav-link {
  position: relative;
}

.nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.nav-link:hover,
.endpoint-nav-link:hover,
.nav-link.active,
.endpoint-nav-link.active {
  color: var(--pool-700);
  background: var(--pool-50);
}

[data-theme='dark'] .nav-link:hover,
[data-theme='dark'] .endpoint-nav-link:hover,
[data-theme='dark'] .nav-link.active,
[data-theme='dark'] .endpoint-nav-link.active {
  color: var(--pool-300);
  background: rgba(31, 122, 224, 0.13);
}

.nav-link.active {
  font-weight: 650;
}

.nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  width: 3px;
  height: 17px;
  background: var(--pool-500);
  border-radius: 0 4px 4px 0;
}

.endpoint-nav-heading {
  justify-content: flex-start;
  margin-top: 1px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 650;
  text-align: left;
}

.endpoint-nav-heading::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--aqua-500);
  border-radius: 50%;
}

.endpoint-nav-label {
  min-width: 0;
  flex: 1;
}

.endpoint-nav-count {
  min-width: 23px;
  padding: 1px 4px;
  color: var(--slate-500);
  background: transparent;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
}

.nav-chevron,
.endpoint-chevron {
  display: grid;
  place-items: center;
  color: var(--slate-400);
  transition: transform 150ms ease;
}

.nav-chevron {
  width: 15px;
  height: 15px;
}

.nav-chevron svg,
.endpoint-chevron svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.endpoint-nav-heading[aria-expanded='true'] .nav-chevron {
  transform: rotate(180deg);
}

.endpoint-nav-items {
  margin: 1px 0 7px 14px;
  padding-left: 8px;
  border-left: 1px solid var(--border);
}

.endpoint-nav-link {
  gap: 7px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 11px;
}

.mini-method {
  width: 31px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mini-method.get {
  color: var(--aqua-700);
}
.mini-method.post {
  color: var(--pool-600);
}
.mini-method.patch {
  color: #b45309;
}
.mini-method.put {
  color: #7c3aed;
}
.mini-method.delete {
  color: #c2413a;
}

.nav-loading {
  padding: 8px 11px;
  color: var(--slate-500);
  font-size: 12px;
}

.sidebar-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 22px 18px;
  border-top: 1px solid var(--border);
}

.sidebar-footer::after {
  content: none;
}

.sidebar-footer a {
  position: relative;
  z-index: 1;
  width: fit-content;
  color: var(--slate-600);
  text-decoration: none;
  font-size: 11px;
}

.sidebar-footer a:first-of-type {
  color: var(--pool-600);
  font-weight: 700;
}

.sidebar-footer a:hover {
  color: var(--pool-500);
}

.sidebar-scrim {
  display: none;
}

.content {
  grid-column: 2;
  min-width: 0;
  padding: 0 clamp(28px, 4.3vw, 72px) 110px;
}

.content article {
  width: min(100%, 880px);
  margin: 0 auto;
}

.docs-section {
  scroll-margin-top: 32px;
}

.hero {
  padding: 44px 0 30px;
}

.hero-surface {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 58px);
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--pool-900),
    var(--pool-700) 58%,
    var(--pool-500)
  );
  border: 1px solid rgba(125, 181, 246, 0.3);
  border-radius: 24px;
  box-shadow: none;
  isolation: isolate;
}

.hero-surface::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(117, 226, 214, 0.28),
      transparent 27%
    ),
    radial-gradient(
      circle at 10% 100%,
      rgba(125, 181, 246, 0.18),
      transparent 35%
    );
}

.hero-wave {
  position: absolute;
  z-index: -1;
  right: -28px;
  bottom: -25px;
  width: 460px;
  height: 230px;
  background-image: var(--wave-pattern);
  background-size: 460px 230px;
  opacity: 0.24;
  transform: rotate(-4deg);
}

.eyebrow,
.section-kicker {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow span {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--aqua-300);
  border-radius: 50%;
}

.section-kicker {
  color: var(--pool-600);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

h1 {
  max-width: 690px;
  margin: 17px 0 18px;
  color: var(--white);
  font-size: clamp(40px, 5.3vw, 62px);
  line-height: 1.05;
  font-weight: 700;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 29px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.button-primary {
  color: var(--pool-900);
  background: var(--pool-100);
  border-color: var(--pool-100);
  box-shadow: none;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--pool-300);
  border-color: var(--pool-300);
  box-shadow: none;
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.78);
}

.button:focus-visible {
  outline: 3px solid rgba(125, 181, 246, 0.45);
  outline-offset: 3px;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px 22px;
  margin-top: 30px;
}

.base-url {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 13px;
  background: rgba(5, 25, 48, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 11px;
}

.base-url span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.base-url code {
  overflow: hidden;
  color: var(--aqua-300);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.base-url button,
.code-panel-header button {
  padding: 5px 9px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.base-url button {
  color: rgba(255, 255, 255, 0.7);
}

.base-url button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 600;
}

.live-status > span {
  width: 8px;
  height: 8px;
  background: var(--aqua-300);
  border-radius: 50%;
}

.resource-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 25px;
}

.resource-strip span {
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}

.quickstart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 86px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.quickstart-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 13px;
  min-height: 126px;
  padding: 20px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  transition:
    border-color 150ms ease,
    transform 150ms ease;
}

.quickstart-card::after {
  content: none;
}

.quickstart-card + .quickstart-card {
  border-left: 1px solid var(--border);
}

.quickstart-card:hover {
  background: var(--surface-soft);
  transform: none;
}

.step-number {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--pool-700);
  background: var(--pool-50);
  border-radius: 11px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
}

.quickstart-card:nth-child(2) .step-number {
  color: var(--aqua-900);
  background: var(--aqua-100);
}

.quickstart-card:nth-child(3) .step-number {
  color: var(--pool-700);
  background: var(--pool-100);
}

.quickstart-card strong,
.quickstart-card small {
  display: block;
}

.quickstart-card strong {
  padding-top: 2px;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.4;
}

.quickstart-card small {
  margin-top: 5px;
  color: var(--slate-500);
  font-size: 11px;
  line-height: 1.5;
}

.card-arrow {
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: var(--pool-500);
  font-size: 17px;
}

.prose-section,
.reference-section {
  padding: 76px 0 28px;
  border-top: 1px solid var(--border);
}

.prose-section h2,
.reference-section h2 {
  margin: 10px 0 14px;
  font-size: clamp(29px, 4vw, 40px);
  line-height: 1.16;
}

.prose-section > p,
.section-intro {
  max-width: 700px;
  margin: 0 0 25px;
  color: var(--slate-600);
  font-size: 15px;
}

.prose-section p code,
.feature-card code {
  padding: 2px 6px;
  color: var(--pool-700);
  background: var(--pool-50);
  border-radius: 6px;
  font-size: 0.83em;
}

[data-theme='dark'] .prose-section p code,
[data-theme='dark'] .feature-card code {
  color: var(--pool-300);
  background: rgba(31, 122, 224, 0.13);
}

.callout {
  display: flex;
  gap: 14px;
  margin: 27px 0;
  padding: 18px 19px;
  background: linear-gradient(
    135deg,
    var(--pool-50),
    rgba(215, 255, 246, 0.55)
  );
  border: 1px solid rgba(31, 122, 224, 0.16);
  border-radius: 16px;
}

[data-theme='dark'] .callout {
  background: linear-gradient(
    135deg,
    rgba(31, 122, 224, 0.12),
    rgba(0, 191, 166, 0.07)
  );
}

.callout-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--pool-700);
  background: var(--white);
  border: 1px solid var(--pool-100);
  border-radius: 11px;
}

[data-theme='dark'] .callout-icon {
  color: var(--pool-300);
  background: var(--surface);
  border-color: var(--border-strong);
}

.callout-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.callout strong {
  font-family: var(--font-display);
  font-size: 12px;
}

.callout p {
  margin: 3px 0 0;
  color: var(--slate-600);
  font-size: 12px;
}

.code-panel {
  overflow: hidden;
  margin: 25px 0;
  color: #e2e8f0;
  background: var(--surface-code);
  border: 1px solid #253451;
  border-radius: 16px;
  box-shadow: none;
}

.code-panel-header {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px 0 15px;
  color: #94a3b8;
  background: var(--surface-code-top);
  border-bottom: 1px solid #253451;
  font-family: var(--font-mono);
  font-size: 10px;
}

.code-panel-header button {
  margin-left: auto;
  color: #9fb7ca;
}

.code-panel-header button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.window-dots {
  display: inline-flex;
  gap: 5px;
  margin-right: 2px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  background: var(--coral-500);
  border-radius: 50%;
}

.window-dots i:nth-child(2) {
  background: #f9c74f;
}
.window-dots i:nth-child(3) {
  background: var(--aqua-500);
}

.code-panel pre {
  margin: 0;
  padding: 21px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.8;
}

.code-command,
.code-key {
  color: var(--aqua-300);
}

.code-string {
  color: #9ed0ff;
}

.response-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 15px 17px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  font-size: 11px;
}

.response-preview > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--aqua-700);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--aqua-500);
  border-radius: 50%;
}

.response-preview code {
  min-width: 0;
  overflow: hidden;
  color: var(--slate-500);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 29px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.feature-card {
  position: relative;
  padding: 21px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.feature-card::after {
  content: none;
}

.feature-card:nth-child(even) {
  border-left: 1px solid var(--border);
}

.feature-card:nth-child(n + 3) {
  border-top: 1px solid var(--border);
}

.feature-icon {
  display: block;
  margin-bottom: 12px;
  color: var(--pool-500);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.feature-card:nth-child(2) .feature-icon {
  color: var(--aqua-700);
}
.feature-card:nth-child(3) .feature-icon {
  color: var(--pool-500);
}

.feature-card strong {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 13px;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 6px 0 0;
  color: var(--slate-600);
  font-size: 12px;
  line-height: 1.6;
}

.reference-section {
  padding-bottom: 55px;
}

.reference-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.reference-heading h2 {
  max-width: 620px;
}

.reference-heading .section-intro {
  margin-bottom: 0;
}

.openapi-link {
  flex: 0 0 auto;
  margin-bottom: 7px;
  padding: 8px 12px;
  color: var(--pool-700);
  background: var(--pool-50);
  border: 1px solid var(--pool-100);
  border-radius: 999px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
}

[data-theme='dark'] .openapi-link {
  color: var(--pool-300);
  background: rgba(31, 122, 224, 0.12);
  border-color: rgba(125, 181, 246, 0.18);
}

.reference-loading,
.reference-error {
  margin: 26px 0;
  padding: 20px;
  color: var(--slate-500);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
}

.reference-error a {
  color: var(--pool-500);
}

.endpoint-group {
  padding-top: 52px;
  scroll-margin-top: 25px;
}

.endpoint-group-header {
  position: relative;
  margin-bottom: 17px;
  padding-left: 18px;
}

.endpoint-group-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 36px;
  background: linear-gradient(var(--pool-500), var(--aqua-500));
  border-radius: 99px;
}

.endpoint-group-header h3 {
  margin: 0;
  font-size: 22px;
}

.endpoint-group-header p {
  margin: 4px 0 0;
  color: var(--slate-500);
  font-size: 12px;
}

.endpoint-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.endpoint-card {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  scroll-margin-top: 25px;
  transition:
    border-color 150ms ease,
    transform 150ms ease;
}

.endpoint-card + .endpoint-card {
  border-top: 1px solid var(--border);
}

.endpoint-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--pool-500);
  opacity: 0;
  transition: opacity 150ms ease;
}

.endpoint-card:hover {
  background: var(--surface-soft);
}

.endpoint-card:hover::before,
.endpoint-card.open::before,
.endpoint-card:target::before,
.endpoint-card.endpoint-highlight::before {
  opacity: 1;
}

.endpoint-card:target,
.endpoint-card.endpoint-highlight {
  background: var(--surface-soft);
  outline: 0;
}

.endpoint-summary {
  width: 100%;
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 16px 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.method-badge {
  min-width: 58px;
  padding: 6px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.method-badge.get {
  color: var(--aqua-900);
  background: var(--aqua-100);
}
.method-badge.post {
  color: var(--pool-700);
  background: var(--pool-50);
}
.method-badge.patch {
  color: #92400e;
  background: #fef3c7;
}
.method-badge.put {
  color: #6d28d9;
  background: #ede9fe;
}
.method-badge.delete {
  color: #b91c1c;
  background: #fee2e2;
}

[data-theme='dark'] .method-badge.get {
  color: var(--aqua-300);
  background: rgba(0, 191, 166, 0.13);
}
[data-theme='dark'] .method-badge.post {
  color: var(--pool-300);
  background: rgba(31, 122, 224, 0.13);
}
[data-theme='dark'] .method-badge.patch {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
}
[data-theme='dark'] .method-badge.put {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.13);
}
[data-theme='dark'] .method-badge.delete {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
}

.endpoint-title {
  min-width: 0;
}

.endpoint-title strong,
.endpoint-title code {
  display: block;
}

.endpoint-title strong {
  font-family: var(--font-display);
  font-size: 12px;
}

.endpoint-title code {
  margin-top: 3px;
  overflow: hidden;
  color: var(--slate-500);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.endpoint-chevron {
  width: 18px;
  height: 18px;
}

.endpoint-card.open .endpoint-chevron {
  transform: rotate(180deg);
}

.endpoint-detail {
  display: none;
  padding: 0 18px 20px 96px;
  border-top: 1px solid transparent;
}

.endpoint-card.open .endpoint-detail {
  display: block;
  border-top-color: var(--border);
}

.endpoint-detail > p {
  margin: 16px 0;
  color: var(--slate-600);
  font-size: 12px;
}

.detail-heading {
  margin: 21px 0 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

.parameter-list,
.response-list {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.parameter-row,
.response-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.7fr);
  gap: 14px;
  padding: 11px 13px;
  font-size: 11px;
}

.parameter-row + .parameter-row,
.response-row + .response-row {
  border-top: 1px solid var(--border);
}

.parameter-name code {
  color: var(--pool-700);
}

[data-theme='dark'] .parameter-name code {
  color: var(--pool-300);
}

.parameter-name span {
  display: block;
  margin-top: 2px;
  color: var(--coral-700);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.parameter-description,
.response-row span:last-child {
  color: var(--slate-500);
}

.response-row code {
  color: var(--aqua-700);
  font-weight: 700;
}

.endpoint-code {
  margin: 10px 0 0;
  box-shadow: none;
}

.endpoint-code pre {
  padding: 16px;
  font-size: 10px;
}

.empty-search {
  padding: 25px;
  color: var(--slate-500);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  text-align: center;
}

.toc {
  position: fixed;
  inset: 0 0 0 auto;
  width: var(--toc-width);
  padding: 65px 25px 30px 16px;
  overflow: hidden;
}

.toc > p {
  margin: 0 0 11px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc > a,
#toc-endpoints a {
  display: block;
  margin: 1px 0;
  padding: 5px 0 5px 12px;
  color: var(--slate-500);
  border-left: 1px solid var(--border-strong);
  text-decoration: none;
  font-size: 10px;
  line-height: 1.4;
}

.toc > a:hover,
#toc-endpoints a:hover,
.toc > a.active,
#toc-endpoints a.active {
  color: var(--pool-600);
  border-left-color: var(--pool-500);
}

#toc-endpoints {
  margin-top: 5px;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  padding: 11px 15px;
  color: var(--white);
  background: var(--pool-900);
  border: 1px solid rgba(125, 181, 246, 0.2);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
  font-size: 11px;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  :root {
    --toc-width: 0px;
  }

  .docs-layout {
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  }

  .toc {
    display: none;
  }

  .content {
    grid-column: 2;
    padding-right: clamp(28px, 5vw, 72px);
  }
}

@media (max-width: 900px) {
  :root {
    --sidebar-width: 270px;
  }

  .content {
    padding-right: 28px;
    padding-left: 28px;
  }

  .quickstart-grid {
    grid-template-columns: 1fr;
  }

  .quickstart-card {
    min-height: 0;
    grid-template-columns: auto 1fr auto;
  }

  .quickstart-card + .quickstart-card {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .card-arrow {
    position: static;
    align-self: center;
  }
}

@media (max-width: 760px) {
  :root {
    --sidebar-width: min(88vw, 318px);
  }

  body {
    padding-top: 66px;
  }

  .mobile-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 25;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 13px 9px 17px;
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
  }

  [data-theme='dark'] .mobile-header {
    background: rgba(7, 21, 34, 0.94);
  }

  .mobile-header::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(
      90deg,
      var(--pool-500) 0 58%,
      var(--aqua-500) 58% 80%,
      var(--coral-500) 80%
    );
  }

  .mobile-header .brand img {
    width: 105px;
    height: 35px;
  }

  .mobile-header .brand-product {
    display: none;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .mobile-site-link {
    margin-right: 4px;
    color: var(--pool-600);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
  }

  .docs-layout {
    display: block;
  }

  .sidebar {
    z-index: 50;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .menu-open {
    overflow: hidden;
  }

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

  .sidebar-scrim {
    position: fixed;
    z-index: 45;
    inset: 0;
    display: block;
    visibility: hidden;
    padding: 0;
    background: rgba(7, 21, 34, 0.48);
    border: 0;
    opacity: 0;
    transition:
      opacity 180ms ease,
      visibility 180ms ease;
  }

  .menu-open .sidebar-scrim {
    visibility: visible;
    opacity: 1;
  }

  .content {
    padding: 0 18px 80px;
  }

  .content article {
    width: 100%;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-surface {
    padding: 33px 24px;
    border-radius: 23px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-details,
  .base-url {
    width: 100%;
  }

  .base-url {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .resource-strip {
    display: none;
  }

  .quickstart-grid {
    margin-bottom: 68px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(even) {
    border-left: 0;
  }

  .feature-card:nth-child(n + 2) {
    border-top: 1px solid var(--border);
  }

  .reference-heading {
    display: block;
  }

  .openapi-link {
    display: inline-flex;
    margin: 5px 0 0;
  }

  .endpoint-detail {
    padding-left: 18px;
  }
}

@media (max-width: 480px) {
  .content {
    padding-right: 13px;
    padding-left: 13px;
  }

  .hero-surface {
    padding: 29px 20px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .quickstart-card {
    grid-template-columns: auto 1fr;
  }

  .card-arrow {
    display: none;
  }

  .prose-section,
  .reference-section {
    padding-top: 62px;
  }

  .callout {
    padding: 16px;
  }

  .response-preview {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .endpoint-summary {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 14px 12px;
  }

  .method-badge {
    min-width: 52px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .endpoint-title strong {
    font-size: 11px;
  }

  .endpoint-chevron {
    width: 22px;
    height: 22px;
  }

  .parameter-row,
  .response-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .code-panel pre {
    padding: 17px;
    font-size: 10px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
  }
}

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