.api-docs {
  --api-red: #c7212d;
  --api-red-dark: #991925;
  --api-ink: #17202a;
  --api-muted: #5f6b78;
  --api-line: #e3e7ec;
  --api-soft: #f6f8fa;
  --api-code: #111923;
  background: #fff;
  color: var(--api-ink);
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
}

.api-docs code {
  font-family: Consolas, "Liberation Mono", Menlo, monospace;
}

.api-hero {
  background:
    radial-gradient(circle at 84% 12%, rgba(231, 66, 77, .22), transparent 32%),
    linear-gradient(135deg, #151c25 0%, #202b38 65%, #2b1720 100%);
  color: #fff;
  padding: 150px 0 72px;
}

.api-hero__eyebrow {
  align-items: center;
  color: #ffadb4;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 9px;
  letter-spacing: .12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.api-status-dot {
  background: #4ddb91;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(77, 219, 145, .14);
  height: 8px;
  width: 8px;
}

.api-hero h1 {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 850px;
}

.api-hero > .container > p {
  color: #d5dce5;
  font-size: 19px;
  margin: 0 0 28px;
  max-width: 760px;
}

.api-base-url {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  display: inline-flex;
  gap: 12px;
  max-width: 100%;
  padding: 9px 10px 9px 15px;
}

.api-base-url span {
  color: #aeb9c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.api-base-url code {
  color: #fff;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.api-hero > .container > .api-public-note {
  color: #aeb9c7;
  font-size: 13px;
  margin: 15px 0 0;
}

.api-layout {
  display: grid;
  gap: 56px;
  grid-template-columns: 225px minmax(0, 1fr);
  padding-bottom: 90px;
  padding-top: 62px;
}

.api-sidebar nav {
  position: sticky;
  top: 105px;
}

.api-sidebar__title {
  color: #939da8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.api-sidebar a {
  border-left: 2px solid var(--api-line);
  color: #596471;
  display: block;
  font-size: 13px;
  padding: 7px 0 7px 14px;
  transition: border-color .18s ease, color .18s ease;
}

.api-sidebar a:hover,
.api-sidebar a:focus {
  border-left-color: var(--api-red);
  box-shadow: none;
  color: var(--api-red);
}

.api-sidebar a span {
  color: #27835c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-right: 4px;
}

.api-content {
  min-width: 0;
}

.api-section {
  margin-bottom: 72px;
  scroll-margin-top: 110px;
}

.api-section__heading {
  border-bottom: 1px solid var(--api-line);
  margin-bottom: 24px;
  padding-bottom: 14px;
}

.api-kicker {
  color: var(--api-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.api-section h2,
.api-endpoint h2 {
  color: var(--api-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 0;
}

.api-section > p,
.api-endpoint__header > p {
  color: var(--api-muted);
  font-size: 16px;
  max-width: 820px;
}

.api-section p code,
.api-fields code,
.api-endpoint__header p code {
  background: #f1f3f5;
  border: 1px solid #e4e7ea;
  border-radius: 4px;
  color: #a61d28;
  font-size: .88em;
  padding: 2px 5px;
}

.api-callout,
.api-fields {
  background: #fff8f1;
  border: 1px solid #f0dac1;
  border-left: 4px solid #e49a42;
  border-radius: 8px;
  color: #514537;
  margin-top: 25px;
  padding: 20px 22px;
}

.api-callout strong,
.api-fields strong {
  color: #31281f;
  display: block;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 6px;
}

.api-callout ul {
  margin: 8px 0 0;
  padding-left: 21px;
}

.api-callout li + li {
  margin-top: 4px;
}

.api-fields {
  background: #f6f8fa;
  border-color: #dfe4e9;
  border-left-color: #8592a0;
  color: #53606d;
  margin: 22px 0 28px;
}

.api-fields p {
  margin: 0;
}

.api-endpoint {
  border-top: 1px solid var(--api-line);
  margin-bottom: 80px;
  padding-top: 38px;
  scroll-margin-top: 105px;
}

.api-endpoint__header > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 12px;
}

.api-endpoint__header > div > code {
  color: #26313c;
  font-size: 15px;
  font-weight: 700;
}

.api-method {
  background: #e5f6ed;
  border: 1px solid #b9e5ce;
  border-radius: 5px;
  color: #147447;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 8px;
}

.api-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
}

.api-grid h3 {
  color: #3b4652;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
}

.api-code {
  background: var(--api-code);
  border: 1px solid #283443;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(17, 25, 35, .08);
  overflow: hidden;
}

.api-code__bar {
  align-items: center;
  background: #1b2632;
  border-bottom: 1px solid #2c3948;
  color: #9daaba;
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  letter-spacing: .05em;
  min-height: 39px;
  padding: 6px 8px 6px 15px;
  text-transform: uppercase;
}

.api-code pre {
  background: transparent;
  border: 0;
  color: #dce5ee;
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
  max-height: 680px;
  overflow: auto;
  padding: 20px;
  white-space: pre;
}

.api-code pre code {
  color: inherit;
}

.api-copy {
  background: transparent;
  border: 1px solid #425163;
  border-radius: 5px;
  color: #cad3dc;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 9px;
  text-transform: uppercase;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.api-copy:hover,
.api-copy:focus,
.api-copy.is-copied {
  background: #2e3c4b;
  border-color: #65788d;
  color: #fff;
  outline: none;
}

.api-copy--compact {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
}

.api-muted {
  color: var(--api-muted);
  font-size: 13px;
  margin-top: 12px;
}

.api-table-wrap {
  border: 1px solid var(--api-line);
  border-radius: 9px;
  margin-top: 26px;
  overflow-x: auto;
}

.api-table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

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

.api-table th {
  background: var(--api-soft);
  color: #495562;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.api-table td {
  color: #5b6672;
  font-size: 14px;
}

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

.api-table td:first-child code {
  color: var(--api-red-dark);
  font-weight: 700;
}

.api-error-example {
  margin-top: 26px;
  max-width: 690px;
}

@media (max-width: 991px) {
  .api-layout {
    display: block;
  }

  .api-sidebar {
    display: none;
  }

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

@media (max-width: 575px) {
  .api-hero {
    padding: 125px 0 54px;
  }

  .api-hero h1 {
    font-size: 36px;
  }

  .api-hero > .container > p {
    font-size: 16px;
  }

  .api-base-url {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .api-layout {
    padding-bottom: 55px;
    padding-top: 42px;
  }

  .api-section,
  .api-endpoint {
    margin-bottom: 58px;
  }

  .api-section h2,
  .api-endpoint h2 {
    font-size: 24px;
  }

  .api-code pre {
    font-size: 11px;
    padding: 16px;
  }
}
