:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #292a28;
  background: #f7f7f5;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #757972;
  outline-offset: 5px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-header {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 26px 32px;
  border-bottom: 1px solid #deded9;
}
.site-brand {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.4px;
}
.site-brand span {
  margin-left: -8px;
}
.site-header nav {
  display: flex;
  gap: 25px;
  flex: 1;
  justify-content: center;
  font-size: 14px;
  color: #686b65;
}
[aria-current='page'] {
  color: #242622;
  font-weight: 700;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid #cccfc7;
  padding: 11px 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 650;
  background: #fff;
  white-space: nowrap;
}
.button.primary {
  background: #2e302c;
  border-color: #2e302c;
  color: white;
  padding: 13px 22px;
}
.button:hover {
  text-decoration: none;
  filter: brightness(0.94);
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 0 32px;
}
.hero {
  padding: 76px 0 42px;
  max-width: 860px;
}
.home-hero {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 86px 0 64px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #777d71;
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(36px, 4.3vw, 58px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -2.4px;
  margin: 0 0 25px;
  max-width: 760px;
}
.lead {
  font-size: 18px;
  line-height: 1.75;
  color: #686c63;
  max-width: 720px;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}
.text-link {
  font-size: 14px;
  font-weight: 650;
}
.demo {
  border: 1px solid #dddfd7;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 45px #272c2210;
  transform: rotate(-1deg);
}
.demo-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: #767b71;
}
.demo-dot {
  height: 7px;
  width: 7px;
  background: #939c89;
  border-radius: 50%;
}
.demo h2 {
  font-size: 16px;
  margin: 14px 0 20px;
  letter-spacing: -0.3px;
}
.demo-message {
  display: flex;
  gap: 12px;
  border-top: 1px solid #edeee9;
  padding: 16px 0;
}
.demo-message:last-child {
  padding-bottom: 0;
}
.demo-message strong {
  font-size: 12px;
}
.demo-message p {
  font-size: 13px;
  line-height: 1.65;
  color: #6e7469;
  margin: 3px 0 0;
}
.companion {
  flex: none;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background-image: url('/avatars/companions-v3.png');
  background-size: 1000% 500%;
}
.companion-0 {
  background-position: 11.111% 0;
}
.companion-1 {
  background-position: 33.333% 25%;
}
.companion-2 {
  background-position: 66.666% 50%;
}
.endpoint {
  background: #eeefea;
  border: 1px solid #dfe2d8;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  max-width: 850px;
}
.endpoint span {
  display: block;
  font-size: 11px;
  color: #707569;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}
.endpoint code {
  font-size: 17px;
  color: #383d32;
  overflow-wrap: anywhere;
}
.endpoint button,
.code-block button {
  border: 1px solid #ccd1c3;
  border-radius: 6px;
  padding: 5px 12px;
  background: #fafbf7;
  font-size: 12px;
  color: #4e5547;
}
.document-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  margin: 62px 0 90px;
}
.contents {
  align-self: start;
  position: sticky;
  top: 30px;
}
.contents p {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #858b7e;
  margin: 0 0 16px;
}
.contents nav {
  display: grid;
  gap: 13px;
  font-size: 13px;
  line-height: 1.55;
  border-left: 1px solid #d9dcd2;
  padding-left: 16px;
  color: #70766a;
}
.content-section {
  scroll-margin-top: 28px;
  margin-bottom: 48px;
  border-bottom: 1px solid #e3e5de;
  padding-bottom: 30px;
}
.content-section h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  line-height: 1.3;
  font-weight: 650;
  margin: 0 0 20px;
}
.content-section p,
.content-section li {
  color: #666d60;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.content-section ul {
  padding-left: 22px;
}
.content-section li {
  padding-left: 4px;
  margin-bottom: 10px;
}
.code-block {
  position: relative;
  border: 1px solid #dce1d5;
  border-radius: 10px;
  background: #edeee9;
  margin: 24px 0;
}
.code-block button {
  position: absolute;
  right: 12px;
  top: 12px;
}
pre {
  margin: 0;
  padding: 50px 20px 22px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.8;
  color: #37402f;
  tab-size: 2;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.next-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.next-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d8ded0;
  border-radius: 9px;
  padding: 20px;
  font-size: 14px;
  font-weight: 650;
}
.site-footer {
  max-width: 1200px;
  padding: 32px;
  margin: auto;
  border-top: 1px solid #dce0d5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.site-footer p {
  font-size: 12px;
  color: #7d8475;
}
.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 13px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 8px;
  background: white;
}
.skip-link:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .site-header {
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
  }
  .site-header nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 23px;
  }
  .site-header > .button {
    margin-left: auto;
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }
  .demo {
    max-width: 540px;
    transform: none;
  }
  .hero {
    padding-top: 44px;
  }
  .document-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 35px;
  }
  .contents {
    position: static;
  }
  .contents nav {
    grid-template-columns: 1fr 1fr;
    font-size: 12px;
  }
  main {
    padding: 0 20px;
  }
  h1 {
    letter-spacing: -1.5px;
  }
  .site-footer {
    padding: 25px 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .content-section {
    margin-bottom: 34px;
  }
  .endpoint {
    padding: 16px;
  }
  .endpoint code {
    font-size: 14px;
  }
  .next-links a {
    padding: 15px;
  }
}
@media (max-width: 430px) {
  .hero-actions {
    gap: 17px;
    flex-wrap: wrap;
  }
  .site-header nav {
    gap: 18px;
    font-size: 12px;
  }
  .button.small {
    font-size: 12px;
    padding: 8px 12px;
  }
  .contents nav,
  .next-links {
    grid-template-columns: 1fr;
  }
  .endpoint {
    align-items: flex-start;
  }
  .endpoint button {
    padding: 5px 8px;
  }
  .demo {
    padding: 18px;
  }
}
