@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;
  --muted: #b6b6b6;
  --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);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  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 {
  gap: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
}

.hlv-symbol {
  width: 31px;
  height: 31px;
}

.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 h1 {
  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 h2 {
  margin: 0 0 clamp(52px, 5vw, 84px);
  color: var(--ink);
  font-size: clamp(36px, 4.25vw, 58px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.features-map {
  width: min(1184px, 132vw);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  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;
}

.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((100vw - 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: 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 h1 {
    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;
  }

  .features h2 {
    font-size: clamp(31px, 10vw, 42px);
    margin-bottom: 34px;
  }

  .features-map {
    width: 820px;
  }

  .features-inner {
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-color: #777 #ddd;
  }

  .features-map {
    margin-left: 0;
    transform: none;
  }

  .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;
  }
}
