:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #263d33;
  background: #f5f3ec;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
header {
  height: 96px;
  border-bottom: 1px solid #d8d9ce;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: #f5f3ec;
  position: sticky;
  top: 0;
  z-index: 2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-weight: 650;
}
.brand img {
  width: 36px;
  height: 45px;
}
.muted {
  color: #798177;
}
header > a:last-child {
  font-size: 13px;
}
.layout {
  max-width: 1520px;
  margin: auto;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 7vw;
  padding: 0 5vw;
}
nav {
  position: sticky;
  top: 128px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 14px;
  padding-top: 10px;
}
nav small,
.eyebrow,
.section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 650;
}
nav small {
  color: #9b6041;
  margin-bottom: 12px;
}
nav a {
  text-decoration: none;
}
nav a:hover {
  color: #b26645;
}
main {
  min-width: 0;
  max-width: 920px;
}
section {
  padding: 65px 0;
  border-bottom: 1px solid #d8d9ce;
  scroll-margin-top: 106px;
}
.hero {
  padding-top: 85px;
}
.eyebrow {
  color: #a55c3d;
}
h1 {
  font-size: clamp(44px, 5.7vw, 82px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.06;
  margin: 28px 0;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #a55c3d;
}
h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1.15;
}
h3 {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.025em;
  margin-top: 30px;
}
p,
li {
  font-size: 15px;
  line-height: 1.85;
}
p.lead {
  font-size: 20px;
  line-height: 1.65;
  max-width: 670px;
}
.flow {
  display: flex;
  gap: 10px;
  margin-top: 35px;
}
.flow span {
  border: 1px solid #c9cec0;
  border-radius: 50px;
  padding: 12px 23px;
  font-size: 13px;
}
.section-label {
  color: #909786;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cards article {
  border-top: 2px solid #c7ccbb;
}
.note {
  background: #e9e9df;
  border-left: 3px solid #a96745;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.8;
  margin: 28px 0;
}
pre {
  background: #233b31;
  color: #f1f0dc;
  border-radius: 8px;
  padding: 24px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.8 ui-monospace,
    SFMono-Regular,
    monospace;
}
code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.code-head {
  font-size: 12px;
  margin-top: 25px;
}
dt {
  font-size: 12px;
  color: #798177;
  margin-top: 22px;
}
dd {
  margin: 8px 0;
}
.scope-list {
  margin: 30px 0;
}
.scope-list p {
  border-bottom: 1px solid #d8d9ce;
  padding: 10px 0;
}
.scope-list code {
  display: inline-block;
  min-width: 165px;
}
.endpoint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border: 1px solid #c9cec0;
  border-radius: 8px;
  padding: 24px;
}
.endpoint small {
  width: 100%;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #798177;
}
.endpoint code {
  font-size: 17px;
}
button {
  border: 1px solid #c9cec0;
  border-radius: 50px;
  background: transparent;
  color: inherit;
  padding: 10px 18px;
  cursor: pointer;
}
.endpoint button {
  margin-left: auto;
}
details {
  border-top: 1px solid #c9cec0;
  padding: 20px 0;
}
summary {
  cursor: pointer;
  overflow-wrap: anywhere;
  font-size: 14px;
}
summary strong {
  display: inline-block;
  width: 64px;
  color: #a55c3d;
}
details p {
  font-size: 14px;
}
details pre {
  font-size: 11px;
}
footer {
  font-size: 12px;
  color: #798177;
  padding: 45px 0;
  line-height: 2;
}
ol,
ul {
  padding-left: 22px;
}
@media (max-width: 950px) {
  .layout {
    grid-template-columns: 160px 1fr;
    gap: 30px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 50px;
  }
  nav {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  header {
    height: 75px;
    padding: 0 22px;
  }
  .brand {
    gap: 10px;
    font-size: 14px;
  }
  .brand img {
    width: 27px;
    height: 35px;
  }
  .layout {
    display: block;
    padding: 0 22px;
  }
  nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    padding: 25px 0;
    border-bottom: 1px solid #d8d9ce;
  }
  nav small {
    display: none;
  }
  section {
    padding: 40px 0;
    scroll-margin-top: 85px;
  }
  h1 {
    font-size: 53px;
  }
  .hero {
    padding-top: 35px;
  }
  .flow span {
    padding: 10px 17px;
  }
  p.lead {
    font-size: 18px;
  }
  .endpoint code {
    font-size: 14px;
  }
  .endpoint button {
    margin-left: 0;
  }
  pre {
    padding: 17px;
  }
  .scope-list code {
    min-width: 0;
    display: block;
  }
  .brand .muted {
    font-size: 12px;
  }
}
