.docs-v2-hero {
  max-width: 920px;
}

.docs-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.docs-v2 {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.docs-v2-app {
  max-width: none;
  padding: 0;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
}

.docs-v2-nav {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
}

.docs-v2-app .docs-v2-nav {
  top: 84px;
}

.docs-v2-nav strong {
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #111827;
}

.docs-v2-nav a {
  padding: 8px 10px;
  border-radius: 10px;
  color: #667085;
  text-decoration: none;
  font-size: 14px;
}

.docs-v2-nav a:hover {
  background: #f5f7fa;
  color: #111827;
}

.docs-v2-content {
  min-width: 0;
}

.docs-section {
  scroll-margin-top: 110px;
  padding: 0 0 58px;
  margin: 0 0 58px;
  border-bottom: 1px solid #e8eaed;
}

.docs-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.docs-section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #667085;
}

.docs-section h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.docs-v2-app .docs-section h2 {
  font-size: 30px;
}

.docs-section h3 {
  margin: 32px 0 12px;
  font-size: 20px;
  letter-spacing: -.02em;
}

.docs-section p,
.docs-section li,
.docs-section span {
  line-height: 1.65;
}

.docs-section p {
  max-width: 820px;
  color: #475467;
}

.docs-section code:not(pre code) {
  padding: 2px 6px;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  background: #f8fafc;
  font-size: .92em;
}

.docs-code {
  margin: 18px 0 24px;
  overflow: hidden;
  border: 1px solid #1f2937;
  border-radius: 16px;
  background: #0d1117;
}

.docs-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px 0 16px;
  border-bottom: 1px solid #252b35;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
}

.docs-code pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  background: transparent;
}

.docs-code code {
  color: #f2f4f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre;
}

.docs-copy {
  appearance: none;
  border: 1px solid #344054;
  border-radius: 8px;
  background: #161b22;
  color: #d0d5dd;
  padding: 6px 10px;
  font: inherit;
  cursor: pointer;
}

.docs-copy:hover {
  border-color: #667085;
  color: #fff;
}

.docs-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #f8fafc;
}

.docs-callout strong {
  display: block;
  margin-bottom: 4px;
  color: #101828;
}

.docs-callout p {
  margin: 0;
}

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

.docs-grid-two article {
  padding: 20px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
}

.docs-grid-two h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.docs-grid-two p {
  margin: 8px 0 0;
  font-size: 14px;
}

.docs-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
  padding: 14px 16px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
}

.docs-endpoint code {
  flex: 1;
  min-width: 220px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #101828;
}

.docs-endpoint strong {
  color: #475467;
  font-size: 13px;
}

.method-badge.get {
  background: #ecfdf3;
  color: #067647;
}

.docs-endpoint-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.docs-endpoint-list > div {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(180px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
}

.docs-endpoint-list span:last-child {
  color: #667085;
  font-size: 13px;
}

.docs-examples {
  display: grid;
  gap: 10px;
}

.docs-example {
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.docs-example summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 650;
  color: #101828;
}

.docs-example .docs-code {
  margin: 0;
  border: 0;
  border-top: 1px solid #252b35;
  border-radius: 0;
}

.docs-error-table {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.docs-error-table > div {
  display: grid;
  grid-template-columns: 54px 210px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #fff;
}

.docs-error-table code {
  text-align: center;
  font-weight: 700;
}

.docs-error-table strong {
  font-size: 13px;
  color: #101828;
}

.docs-error-table span {
  color: #667085;
  font-size: 13px;
}

.docs-credit-value {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
}

.docs-checklist {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.docs-checklist > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
}

.docs-checklist strong {
  color: #101828;
}

.docs-checklist span {
  color: #667085;
}

@media (max-width: 900px) {
  .docs-v2,
  .docs-v2-app {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .docs-v2-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-v2-nav strong {
    grid-column: 1 / -1;
  }

  .docs-error-table > div,
  .docs-checklist > div,
  .docs-endpoint-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 620px) {
  .docs-v2 {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .docs-v2-nav {
    grid-template-columns: 1fr;
  }

  .docs-v2-nav strong {
    grid-column: auto;
  }

  .docs-section {
    padding-bottom: 42px;
    margin-bottom: 42px;
  }

  .docs-code pre {
    padding: 16px;
  }
}
