:root {
  font-family: var(--site-font-body);
  color: var(--site-ink);
  background: var(--site-canvas);
  font-synthesis: none;
  font-size: 15px;
  color-scheme: var(--site-color-scheme);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--site-blue);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid var(--site-blue);
  outline-offset: 5px;
}
h1,
h2,
h3,
.brand {
  font-family: var(--site-font-heading);
}
h1,
h2,
h3 {
  color: var(--site-ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 4.7vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin: 18px 0 24px;
}
h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.9px;
  margin: 0 0 20px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin: 0;
}
p,
li,
dd {
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.75;
}
p {
  margin: 0 0 18px;
}
li + li {
  margin-top: 12px;
}
ul,
ol {
  padding-left: 22px;
}
.wrap {
  max-width: 1160px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}
.public-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--site-line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--site-ink);
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.8px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  object-fit: contain;
}
.public-header nav,
.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.public-header nav a,
.public-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.public-header nav a:hover,
.public-header nav a[aria-current],
.public-footer nav a:hover {
  color: var(--site-ink);
}
.hero {
  padding-top: 88px;
  padding-bottom: 72px;
  max-width: 850px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--site-blue);
  margin: 0 0 14px;
}
.lead {
  font-size: 18px;
  line-height: 1.65;
  max-width: 660px;
}
.note {
  font-size: 13px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.button,
button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--site-radius);
  border: 0;
  background: #1877f2;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.button:hover,
button:hover {
  background: #0e65d9;
  text-decoration: none;
}
.button.secondary {
  background: var(--site-surface);
  color: var(--site-ink);
  border: 1px solid var(--site-line);
}
.button.secondary:hover {
  background: var(--site-well);
}
.docs-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 80px;
  border-top: 1px solid var(--site-line);
}
aside {
  padding-top: 36px;
}
aside nav {
  display: grid;
  gap: 6px;
  position: sticky;
  top: 28px;
}
aside a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--site-muted);
  font-size: 13px;
  text-decoration: none;
}
aside a:hover {
  color: var(--site-blue);
}
.docs {
  min-width: 0;
}
.docs > section {
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--site-line);
  scroll-margin-top: 24px;
}
.docs > section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.endpoint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  border-radius: 16px;
  padding: 22px;
  margin: 24px 0;
}
.endpoint > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.label {
  display: block;
  font-size: 12px;
  color: var(--site-muted);
  margin-bottom: 8px;
}
code {
  font:
    0.88em/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  overflow-wrap: anywhere;
}
.endpoint code {
  font-size: 16px;
}
pre {
  overflow: auto;
  max-width: 100%;
  padding: 22px;
  background: var(--site-well);
  color: var(--site-ink);
  border: 1px solid var(--site-line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
  tab-size: 2;
}
pre code {
  overflow-wrap: normal;
  font-size: inherit;
}
.facts {
  margin: 24px 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--site-line);
}
dt {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
dd {
  margin: 0;
  font-size: 14px;
}
details {
  border-top: 1px solid var(--site-line);
  margin-top: 20px;
}
summary {
  cursor: pointer;
  min-height: 48px;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
}
textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  padding: 16px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  color: var(--site-ink);
  background: var(--site-well);
  font: inherit;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--site-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
th {
  font-size: 12px;
  color: var(--site-muted);
  font-weight: 600;
}
td {
  color: var(--site-muted);
}
td:first-child {
  width: 40%;
  color: var(--site-ink);
}
.tool {
  padding: 28px 0;
  scroll-margin-top: 28px;
}
.tool + .tool {
  border-top: 1px solid var(--site-line);
}
.tool-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.tool-heading h3 {
  min-width: 0;
}
.tool-heading code {
  font-size: 16px;
}
.tag {
  border-radius: 100px;
  padding: 4px 10px;
  background: var(--site-well);
  color: var(--site-muted);
  font-size: 11px;
}
.required {
  display: block;
  font-size: 10px;
  color: var(--site-blue);
}
.callout {
  border-left: 3px solid var(--site-blue);
  background: var(--site-well);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
}
.public-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  border-top: 1px solid var(--site-line);
  padding-top: 28px;
  padding-bottom: 28px;
}
.public-footer .brand {
  font-size: 18px;
}
.public-footer nav {
  margin-left: auto;
}
.public-footer small {
  width: 100%;
  font-size: 11px;
  color: var(--site-muted);
}
.skip:not(:focus),
.copy-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.skip:focus {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--site-surface);
  padding: 12px;
  z-index: 10;
}
.copy-status:not(:empty) {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: calc(100% - 40px);
  padding: 14px 20px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: var(--site-surface);
  box-shadow: 0 8px 28px #0002;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  a,
  button {
    transition:
      background 0.2s,
      color 0.2s;
  }
}
@media (max-width: 900px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .docs-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 720px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .public-header {
    min-height: 76px;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .public-header nav {
    gap: 16px;
  }
  .public-header nav a {
    font-size: 12px;
  }
  .hero {
    padding-top: 44px;
    padding-bottom: 40px;
  }
  h1 {
    font-size: clamp(34px, 9vw, 48px);
    letter-spacing: -1.4px;
  }
  h2 {
    font-size: 26px;
  }
  .lead {
    font-size: 17px;
  }
  .docs-layout {
    display: block;
    padding-bottom: 40px;
  }
  aside {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--site-line);
  }
  aside nav {
    position: static;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .docs > section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  pre {
    padding: 16px;
    font-size: 12px;
  }
  .public-footer nav {
    margin-left: 0;
  }
}
