/* Public pages: docs, privacy, terms and support. Tokens from DESIGN.md. No web fonts. */
:root {
  --canvas: #f5f6f8;
  --surface: #ffffff;
  --text: #172238;
  --muted: #626c7d;
  --line: #e4e7ed;
  --blue: #3459e6;
  --tint: #eef1ff;
  --radius: 8px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font:
    16px/1.6 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: var(--radius);
}
.skip:focus {
  top: 12px;
}
.site-header,
.site-footer {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  margin-top: 48px;
  color: var(--muted);
  font-size: 14px;
}
.bar {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand svg {
  width: 26px;
  height: 28px;
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 14px;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 0;
}
.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
  margin-top: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  scroll-margin-top: 16px;
}
h3 {
  font-size: 17px;
  margin: 28px 0 8px;
  scroll-margin-top: 16px;
}
p,
ul,
ol {
  max-width: 720px;
}
li + li {
  margin-top: 4px;
}
section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 24px 24px;
  margin-top: 24px;
}
section > h2:first-child {
  margin-top: 20px;
}
code {
  font:
    14px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  background: var(--tint);
  border-radius: 4px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}
pre {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  overflow-x: auto;
  max-width: 100%;
}
pre code {
  background: none;
  padding: 0;
  overflow-wrap: normal;
  white-space: pre;
}
.table {
  overflow-x: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
td code {
  white-space: nowrap;
}
.kind {
  display: inline-block;
  font-size: 13px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--text);
}
.kind.destructive {
  background: #fdecec;
  color: #8a1c1c;
}
.button {
  display: inline-block;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  background: #2a4bd0;
  text-decoration: none;
}
.button.secondary {
  background: var(--surface);
  color: var(--blue);
  border: 1px solid var(--line);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
  max-width: none;
}
.toc li + li {
  margin-top: 0;
}
.toc a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
  font-size: 14px;
}
.note {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.muted {
  color: var(--muted);
}
@media (max-width: 600px) {
  main {
    padding: 28px 16px 0;
  }
  .bar {
    padding: 14px 16px;
  }
  section {
    padding: 4px 16px 18px;
  }
  h1 {
    font-size: 28px;
  }
  td code {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
