:root {
  --green: #00c880;
  --green-700: #009963;
  --green-800: #08734f;
  --green-950: #073b2b;
  --ink: #111827;
  --muted: #667085;
  --line: #dfe7f0;
  --line-soft: #e8edf3;
  --wash: #f6f9fc;
  --soft-green: #e9fff5;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(20, 32, 51, 0.10);
}

.docs-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 64px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 86% 14%, rgba(0, 200, 128, 0.13), transparent 30%),
    linear-gradient(180deg, #f7fffb 0%, #fff 74%);
}

.docs-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 74px;
  align-items: end;
}

.docs-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: 0;
}

.docs-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 720;
}

.docs-search-card {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 8%, rgba(0, 200, 128, 0.12), transparent 34%),
    #fff;
  box-shadow: var(--shadow);
}

.docs-search-label {
  display: block;
  margin-bottom: 12px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 950;
}

.docs-search {
  position: relative;
}

.docs-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  fill: none;
  stroke: #7a8798;
  stroke-width: 2;
}

.docs-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px 0 48px;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  outline: 0;
}

.docs-search input:focus {
  border-color: rgba(0, 200, 128, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 200, 128, 0.10);
}

.docs-search-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.docs-search-hint span {
  padding: 7px 10px;
  border: 1px solid #dce5ef;
  border-radius: 999px;
  color: #526174;
  background: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.docs-overview {
  padding: 0 0 74px;
}

.docs-overview-heading {
  margin-bottom: 22px;
}

.docs-overview-heading h2 {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 950;
}

.docs-overview-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 720;
}

.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.docs-start-card,
.docs-api-card,
.docs-faq-card {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(18, 35, 55, 0.06);
}

.docs-start-card {
  min-height: 174px;
  padding: 24px;
}

.docs-start-card span,
.docs-api-card span,
.docs-faq-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid #c7f6df;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0fff8, #fff);
  color: var(--green-800);
}

.docs-start-card svg,
.docs-api-card svg,
.docs-faq-card svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.docs-start-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 950;
}

.docs-start-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
  font-weight: 700;
}

.docs-shell {
  padding: 42px 0 86px;
}

.docs-layout {
  display: block;
}

.docs-layout > *,
.docs-content,
.docs-sidebar,
.docs-section,
.docs-section-head,
.docs-api-card,
.docs-faq-card {
  min-width: 0;
}

.docs-sidebar {
  position: sticky;
  top: 104px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(18, 35, 55, 0.06);
}

.docs-sidebar strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.docs-sidebar nav {
  display: grid;
  gap: 4px;
}

.docs-sidebar a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #536276;
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 850;
  text-decoration: none;
}

.docs-sidebar a:hover {
  color: var(--green-800);
  background: var(--soft-green);
}

.docs-content {
  display: grid;
  gap: 26px;
}

.docs-complete-section {
  order: 1;
}

.docs-guide-section {
  order: 2;
}

#contact {
  order: 3;
}

.docs-section {
  scroll-margin-top: 104px;
  padding: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 5%, rgba(0, 200, 128, 0.08), transparent 24%),
    #fff;
  box-shadow: 0 18px 44px rgba(18, 35, 55, 0.07);
}

.docs-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.docs-section h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.18;
  font-weight: 950;
}

.docs-section-head p,
.docs-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
  font-weight: 700;
}

.docs-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-800);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.docs-api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.docs-api-card {
  min-height: 186px;
  padding: 22px;
}

.docs-api-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.docs-api-card h3,
.docs-faq-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 950;
}

.docs-method {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #073b2b;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.docs-endpoint {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f8fb;
  color: #1e3445;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.42;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.docs-api-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
  font-weight: 700;
}

.docs-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.docs-fields code {
  padding: 5px 7px;
  border-radius: 8px;
  background: #eefbf5;
  color: var(--green-800);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 800;
}

.docs-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
}

.docs-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}

.docs-table th,
.docs-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.docs-table th {
  color: #344054;
  background: #f7fafc;
  font-size: 12px;
  font-weight: 950;
}

.docs-table td {
  color: #576579;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.docs-table tr:last-child td {
  border-bottom: 0;
}

.docs-complete-section {
  padding-bottom: 38px;
}

.docs-complete-browser {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.docs-complete-menu {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 128px);
  min-width: 0;
  overflow: auto;
  padding: 18px;
  border: 1px solid #dff2ea;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 200, 128, 0.10), transparent 32%),
    linear-gradient(180deg, #fbfffd 0%, #f8fbff 100%);
  box-shadow: 0 16px 34px rgba(18, 35, 55, 0.06);
}

.docs-complete-menu strong {
  display: block;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
}

.docs-complete-index {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.docs-complete-index a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #4b5c70;
  background: transparent;
  font-size: 12px;
  line-height: 1.22;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.docs-index-group {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.docs-index-parent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 6px;
  align-items: stretch;
}

.docs-complete-index .docs-index-parent {
  min-width: 0;
}

.docs-index-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #d9e6ef;
  border-radius: 11px;
  background: #fff;
  color: #607087;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.docs-index-toggle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.2s ease;
}

.docs-index-toggle:hover {
  border-color: rgba(0, 200, 128, 0.45);
  background: #f1fff8;
  color: var(--green-800);
}

.docs-index-group.is-open .docs-index-toggle::before {
  transform: rotate(225deg) translate(-2px, -2px);
}

.docs-index-children {
  display: none;
  gap: 4px;
  padding: 2px 0 6px 12px;
  border-left: 1px solid #dff2ea;
}

.docs-index-group.is-open .docs-index-children {
  display: grid;
}

.docs-index-children a {
  min-height: 32px;
  padding-left: 11px;
  font-size: 11.5px;
}

.docs-complete-index a:hover,
.docs-complete-index a.is-active {
  border-color: rgba(0, 200, 128, 0.45);
  color: var(--green-800);
  background: #f1fff8;
}

.docs-complete-index a.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #073b2b 0%, #009963 100%);
  box-shadow: 0 12px 22px rgba(0, 130, 86, 0.18);
}

.docs-index-parent-row:has(a.is-active) .docs-index-toggle {
  border-color: transparent;
  background: linear-gradient(135deg, #0c513c 0%, #0bae76 100%);
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 130, 86, 0.12);
}

.docs-complete-panel {
  min-width: 0;
}

.docs-full-stack {
  display: block;
}

.docs-full-article {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 200, 128, 0.07), transparent 26%),
    #fff;
  box-shadow: 0 14px 34px rgba(18, 35, 55, 0.05);
  scroll-margin-top: 108px;
}

.docs-complete-browser .docs-full-article {
  display: none;
}

.docs-complete-browser .docs-full-article.is-active {
  display: block;
}

.docs-full-title {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.2;
  font-weight: 950;
}

.docs-full-subtitle {
  margin: 26px 0 12px;
  color: #182233;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 950;
}

h4.docs-full-subtitle,
h5.docs-full-subtitle,
h6.docs-full-subtitle {
  font-size: 16px;
}

.docs-full-p,
.docs-rich-list {
  color: #59687c;
  font-size: 14px;
  line-height: 1.72;
  font-weight: 700;
}

.docs-full-p {
  margin: 0 0 14px;
}

.docs-full-p a,
.docs-rich-list a {
  color: var(--green-800);
  text-decoration: none;
  font-weight: 900;
}

.docs-full-p code,
.docs-rich-list code,
.docs-table code {
  padding: 2px 5px;
  border-radius: 6px;
  background: #eefbf5;
  color: var(--green-800);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  font-weight: 850;
}

.docs-rich-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 20px;
}

.docs-rich-list li::marker {
  color: var(--green-800);
  font-weight: 950;
}

.docs-hint {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #bfefd8;
  border-radius: 16px;
  background: #f4fff9;
  color: #42526a;
  font-size: 14px;
  line-height: 1.68;
  font-weight: 760;
}

.docs-code-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 12px 0 0;
  padding: 0 9px;
  border-radius: 999px 999px 0 0;
  background: #0a2f24;
  color: #dbfff0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.docs-code {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid #173f34;
  border-radius: 0 14px 14px 14px;
  background: #071f19;
  color: #dfffee;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.68;
  font-weight: 650;
  overflow-x: auto;
  white-space: pre;
}

.docs-code code {
  display: inline-block;
  min-width: 100%;
}

.docs-figure {
  max-width: 100%;
  overflow: hidden;
  margin: 20px 0 24px;
  padding: 16px;
  border: 1px solid #dfe8f0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 8%, rgba(0, 200, 128, 0.09), transparent 26%),
    #fbfdff;
}

.docs-figure img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 14px;
}

.docs-figure figcaption {
  margin-top: 10px;
  color: #7a8798;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.docs-figure figcaption:empty {
  display: none;
}

.docs-step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-step-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid #ddf5ea;
  border-radius: 14px;
  background: #fbfffd;
  color: #536276;
  font-size: 14px;
  line-height: 1.62;
  font-weight: 720;
}

.docs-step-list b {
  color: var(--ink);
}

.docs-step-list i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft-green);
  color: var(--green-800);
  font-style: normal;
  font-weight: 950;
}

.docs-empty {
  display: none;
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  color: #667085;
  background: #f8fafc;
  font-weight: 760;
}

.docs-empty.show {
  display: block;
}

.docs-hidden {
  display: none !important;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(218px, 250px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.faq-layout .docs-sidebar {
  width: 100%;
}

.faq-layout .docs-sidebar a.is-active {
  color: var(--green-800);
  background: var(--soft-green);
}

.faq-layout .docs-content {
  display: block;
}

.faq-layout .docs-section {
  display: none;
}

.faq-layout .docs-section.is-active {
  display: block;
}

.faq-layout .docs-empty.show + .docs-section.is-active {
  display: none;
}

.faq-layout.is-searching .docs-section {
  display: block;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.docs-faq-card {
  padding: 22px;
}

.docs-faq-card h3 {
  margin-bottom: 12px;
}

.docs-faq-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.66;
  font-weight: 700;
}

.docs-faq-card p:last-child {
  margin-bottom: 0;
}

.docs-faq-card .faq-help-link {
  color: var(--green-800);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.docs-faq-card .faq-help-link:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 4px;
}

.docs-faq-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  font-weight: 700;
}

.docs-faq-card li::marker {
  color: var(--green-800);
  font-weight: 950;
}

@media (max-width: 980px) {
  .docs-hero-grid,
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
  }

  .docs-complete-browser {
    grid-template-columns: 1fr;
  }

  .docs-complete-menu {
    position: static;
    max-height: none;
  }

  .docs-complete-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-index-group {
    grid-column: span 2;
  }

  .docs-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .docs-hero {
    padding: 48px 0 38px;
  }

  .docs-hero h1 {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.12;
  }

  .docs-hero p {
    font-size: 15px;
    line-height: 1.66;
    margin-top: 16px;
  }

  .docs-search-card {
    padding: 18px;
    border-radius: 18px;
  }

  .docs-search input {
    min-height: 50px;
  }

  .docs-search-hint {
    gap: 6px;
    margin-top: 10px;
  }

  .docs-shell {
    padding: 30px 0 62px;
  }

  .docs-content {
    gap: 18px;
  }

  .docs-complete-menu,
  .docs-sidebar {
    padding: 14px;
    border-radius: 16px;
  }

  .docs-sidebar a,
  .docs-complete-index a,
  .docs-index-toggle {
    min-height: 44px;
  }

  .docs-index-parent-row {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .docs-index-toggle {
    width: 44px;
  }

  .docs-card-grid,
  .docs-api-grid,
  .faq-grid,
  .docs-section-head {
    grid-template-columns: 1fr;
  }

  .docs-section {
    padding: 18px;
    border-radius: 18px;
  }

  .docs-section-head {
    gap: 12px;
    margin-bottom: 18px;
  }

  .docs-section h2 {
    font-size: 25px;
  }

  .docs-full-article {
    padding: 18px;
    border-radius: 18px;
  }

  .docs-full-title {
    margin-bottom: 14px;
    font-size: 25px;
  }

  .docs-full-subtitle {
    margin: 20px 0 10px;
    font-size: 18px;
  }

  .docs-full-p,
  .docs-rich-list {
    font-size: 14px;
    line-height: 1.66;
  }

  .docs-api-card,
  .docs-faq-card,
  .docs-start-card {
    min-height: 0;
    padding: 18px;
    border-radius: 16px;
  }

  .docs-api-card span,
  .docs-faq-card span,
  .docs-start-card span {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
  }

  .docs-table th,
  .docs-table td {
    padding: 11px 12px;
  }

  .docs-code {
    max-height: 360px;
    padding: 14px;
    font-size: 11px;
    line-height: 1.62;
  }

  .docs-complete-index {
    grid-template-columns: 1fr;
  }

  .docs-index-group {
    grid-column: span 1;
  }

}
