@font-face {
  font-family: "Space Mono Local";
  src: url("/assets/space-mono-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono Local";
  src: url("/assets/space-mono-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #000;
  --ink: #151515;
  --white: #fff;
  --paper: #f1f1f1;
  --accent: #88ba0c;
  --max: 980px;
  --mono: "Space Mono Local", "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--white);
  font-family: var(--mono);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  font-family: var(--mono);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.skip-link:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 0;
  box-shadow: 0 0 0 4px var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.hlv-link {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

.brand {
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
}

.brand-mark {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
}

.hlv-link img {
  height: 31px;
  width: auto;
  display: block;
}

.hero {
  min-height: clamp(520px, 51vw, 735px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.37)),
    url("/assets/hero-stars.jpg") center / cover no-repeat;
}

.hero-content {
  width: min(900px, calc(100% - 40px));
  margin-top: 74px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 43px);
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 400;
}

.hero-lede {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.65;
  font-weight: 700;
}

.button {
  display: inline-grid;
  place-items: center;
  min-width: 140px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-light {
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
}

.button-dark {
  color: var(--white);
  background: var(--black);
}

.button:hover {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
}

.benefits {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: clamp(82px, 9vw, 134px) 0 clamp(104px, 9vw, 150px);
}

.benefits::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(82px, 13vw, 168px);
  background: var(--paper);
  clip-path: polygon(0 58%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.benefits-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(330px, 446px);
  justify-content: space-between;
  align-items: start;
  gap: clamp(48px, 7vw, 92px);
  position: relative;
  z-index: 1;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 78px 52px;
  padding-top: 94px;
}

.benefit {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.benefit svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit h3 {
  max-width: 238px;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.sdk-card {
  margin: 0;
  position: relative;
  width: min(100%, 446px);
  justify-self: end;
}

.sdk-card img {
  width: 100%;
  height: auto;
  background: #f1f1f1;
}

.features {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(56px, 7vw, 92px) 0 clamp(72px, 7vw, 102px);
  overflow: hidden;
}

.features-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.features-inner:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.features-map {
  width: 100%;
  height: auto;
}

.sdk-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(70px, 7vw, 106px) 0 clamp(70px, 7vw, 100px);
}

.sdk-inner {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 544px) minmax(270px, 360px);
  gap: clamp(46px, 6vw, 74px);
  align-items: center;
}

.dashboard-shot {
  margin: 0;
}

.dashboard-shot img {
  width: 100%;
  height: auto;
}

.sdk-copy {
  text-align: center;
  justify-self: center;
}

.sdk-copy h2 {
  margin: 0 auto 28px;
  max-width: 360px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.14;
  font-weight: 400;
}

.not-found {
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  padding: clamp(96px, 14vw, 180px) 24px;
}

.not-found a:focus-visible {
  outline-color: var(--ink);
}

.site-footer {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 26px max(24px, calc((100% - var(--max)) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 70px);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links a:hover,
.twitter-link:hover {
  color: var(--accent);
}

.twitter-link {
  grid-column: 3;
  justify-self: end;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.twitter-link svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .benefits-inner,
  .sdk-inner {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    padding-top: 0;
  }

  .sdk-card {
    justify-self: center;
    width: min(500px, 100%);
  }

  .dashboard-shot {
    max-width: 620px;
    justify-self: center;
  }

  .sdk-copy {
    order: 2;
  }
}

@media (max-width: 868px) {
  .features-inner {
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-color: #777 #ddd;
  }

  .features-map {
    width: 820px;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: calc(100% - 24px);
    min-height: 46px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .hlv-link {
    display: none;
  }

  .hero {
    min-height: 560px;
    background-position: 52% center;
  }

  .hero-content {
    width: min(330px, calc(100% - 28px));
    margin-top: 10px;
  }

  .eyebrow {
    font-size: clamp(26px, 8vw, 36px);
  }

  .hero-lede {
    font-size: 13px;
    line-height: 1.6;
  }

  .benefits {
    padding-top: 66px;
  }

  .benefits-inner,
  .features-inner,
  .sdk-inner {
    width: calc(100% - 28px);
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .benefit h3 {
    max-width: 295px;
    font-size: 14px;
  }

  .sdk-copy h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 28px 20px;
  }

  .footer-links {
    grid-column: auto;
    flex-wrap: wrap;
    gap: 22px 30px;
  }

  .twitter-link {
    grid-column: auto;
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Docs (public/docs/)
   Used only by the documentation pages. Every rule is scoped to a .docs-*
   class, so nothing here changes the home page or the 404 page.
   ========================================================================== */

.docs-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  color: var(--ink);
}

/* The global focus ring is white for the black header and footer; on the
   light docs background it needs to be dark. */
.docs-layout a:focus-visible,
.docs-layout summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Contents. Wide screens: a sticky sidebar that is always expanded.
   Narrow screens: a collapsed <details> above the page content. */
.docs-nav {
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 4px 6px 4px 4px;
  font-size: 14px;
  line-height: 1.4;
}

.docs-toc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.docs-toc > summary::-webkit-details-marker {
  display: none;
}

/* Chevron drawn with borders, so screen readers have nothing to announce. */
.docs-toc > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.docs-toc[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.docs-toc > summary:hover {
  background: var(--accent);
}

.docs-toc-list,
.docs-toc-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-toc-list {
  margin-top: 8px;
}

.docs-toc-list ul {
  margin-left: 12px;
  padding-left: 6px;
  border-left: 1px solid rgba(21, 21, 21, 0.18);
}

.docs-toc-list a {
  display: block;
  padding: 6px 10px;
  border-left: 3px solid transparent;
}

.docs-toc-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-toc-list a[aria-current="page"] {
  border-left-color: var(--ink);
  background: var(--white);
  font-weight: 700;
}

/* Browsers that can style the <details> content box show the list without
   the toggle on wide screens. Older browsers keep the working disclosure. */
@media (min-width: 901px) {
  @supports selector(::details-content) {
    .docs-toc > summary {
      display: none;
    }

    .docs-toc::details-content {
      content-visibility: visible;
    }

    .docs-toc-list {
      margin-top: 0;
    }
  }
}

.docs-main {
  min-width: 0;
  scroll-margin-top: 72px;
}

.docs-article {
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.docs-article h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  font-weight: 400;
}

.docs-article h2 {
  margin: 48px 0 16px;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.3;
  font-weight: 700;
}

.docs-article p,
.docs-article ul,
.docs-article ol {
  margin: 0 0 18px;
}

/* Keep lines of text to a comfortable length; figures may use the full column. */
.docs-article h1,
.docs-article h2,
.docs-article p,
.docs-article li {
  max-width: 70ch;
}

.docs-article li:has(> figure) {
  max-width: none;
}

.docs-article .docs-lead {
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  font-size: 18px;
  line-height: 1.6;
}

.docs-article ul,
.docs-article ol {
  padding-left: 1.75em;
}

.docs-article li + li {
  margin-top: 8px;
}

.docs-article li::marker {
  font-weight: 700;
}

.docs-article li > ul,
.docs-article li > ol {
  margin: 8px 0 0;
}

.docs-article li > p {
  margin-bottom: 8px;
}

.docs-article li > p:last-child {
  margin-bottom: 0;
}

/* Items with several paragraphs (FAQ, life cycle steps) need more separation. */
.docs-article li:has(> p) + li {
  margin-top: 24px;
}

.docs-article a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.docs-article a:hover {
  text-decoration-thickness: 3px;
}

.docs-article figure {
  margin: 28px 0 32px;
}

/* A shadow rather than a border, so screenshots are not shrunk by 2px and
   blurred. */
.docs-article figure img {
  height: auto;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.16);
}

.docs-article figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.docs-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(21, 21, 21, 0.16);
}

.docs-pager a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.docs-pager a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

.docs-pager-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.docs-pager-next {
  grid-column: 2;
  text-align: right;
}

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .docs-nav {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .docs-layout {
    width: calc(100% - 32px);
  }

  .docs-article {
    font-size: 15px;
  }

  .docs-article h2 {
    margin-top: 40px;
  }

  .docs-article .docs-lead {
    font-size: 16px;
  }

  .docs-article ul,
  .docs-article ol {
    padding-left: 1.5em;
  }

  .docs-pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-pager-next {
    grid-column: auto;
  }
}
