* {
  border: 0;
  margin: 0;
  outline: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: 'Roobert';
  src: url('/res/Roobert-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body {
  background: white;
  color: black;
  font-family: 'Geist', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  font-size: 18px;
  padding: 16px;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: black;
}
img {
  max-width: 100%;
}
ul {
  margin-top: 24px;
  list-style: none;
  padding: 0;
}
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Typography */
p {
  line-height: 1.4;
  letter-spacing: -0.25px;
}
h1 {
  font-family: 'Roobert', sans-serif;
  font-weight: normal;
  line-height: 1;
  letter-spacing: -2px;
  font-size: 48px;
}
h2 {
  font-family: 'Roobert', sans-serif;
  font-weight: normal;
  line-height: 1;
  letter-spacing: -1px;
  font-size: 36px;
}
h3 {
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.5px;
}
h4 {
  font-weight: 400;
  font-size: 16px;
}
h5 {
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 400;
  color: #666;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 12px;
}
h5:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: black;
  border-radius: 2px;
  margin-right: 8px;
  margin-bottom: 1.5px;
}
small {
  font-size: 14px;
  opacity: 0.5;
}

/* Sections */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: fixed;
  z-index: 99;
  top: 32px;
  left: 0;
  /*height: 48px;*/
  padding: 0 32px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  will-change: transform;
}
header.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 80px));
}
header img,
header svg {
  display: block;
  height: 40px;
  width: auto;
}
header a,
header button {
  display: flex;
  align-items: center;
  height: 40px;
}
footer {
  position: relative;
  overflow: hidden;
  background: #ededed;
  text-align: left;
  border-radius: 24px;
  padding: 32px 40px 40px;
}
footer .wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
footer img {
  display: block;
  width: min(520px, 100%);
  height: auto;
  filter: brightness(0);
  opacity: 0.24;
}
section {
  margin-bottom: 48px;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 32px);
  border-radius: 24px;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.intro, .examples {
  max-width: 1176px;
  margin-left: auto;
  margin-right: auto;
}
.services article {
  margin-top: 24px;
}
.services article > p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.services .cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.services .cols li {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #f0f0ed;
  border-radius: 16px;
}
.services .cols img {
  display: block;
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  border-radius: 12px;
}
.services .cols h3 {
  margin-top: 24px;
  line-height: 1;
}
.services .cols p {
  margin-top: 14px;
  color: #444;
  font-size: 16px;
  line-height: 1.45;
}
.integrations {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.integrations h5 {
  margin-bottom: 24px;
}
.integrations img {
  display: block;
  width: auto;
  max-width: 150px;
  height: 56px;
  object-fit: contain;
}
.apps {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 44px;
  animation: logo-marquee 36s linear infinite;
}
.apps li {
  display: grid;
  flex: 0 0 150px;
  place-items: center;
}
@keyframes logo-marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .apps {
    animation: none;
    transform: translateX(0);
  }
}
.examples {
  background: black;
  color: white;
  padding: 32px 16px 16px;
  border-radius: 24px;
}
.examples hgroup {
  max-width: 760px;
  margin: 0 auto 56px;
}
.examples h5 {
  color: white;
}
.examples h5:before {
  background-color: #a3f5f3;
}
.examples h2 {
  color: white;
}
.examples .cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.examples .cols li {
  display: flex;
  flex-direction: column;
  padding: 36px 16px 24px;
  background: #151515;
  border-radius: 16px;
}
.examples .cols img {
  display: block;
  width: auto;
  max-width: 112px;
  height: 64px;
  margin: 0 auto 24px;
  object-fit: contain;
}
.examples .cols p {
  margin-top: 12px;
  opacity: 0.5;
  font-size: 16px;
  line-height: 1.25;
}
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vw;
  background: url('/res/img/bg-contact.webp') no-repeat center center;
  background-size: cover;
  border-radius: 24px;
  color: white;
  margin-bottom: 24px;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.contact h5 {
  color: white;
}
.contact h5:before {
  background: white;
}
.contact div > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  padding: 0 16px;
}
.contact h2 {
  letter-spacing: -2px;
  font-size: 48px;
}

/* Components */
.intro .wrapper {
  display: grid;
  gap: 32px;
}
.intro picture {
  border-radius: 24px;
  overflow: hidden;
  display: block;
}
.intro picture img {
  display: block;
  width: 100%;
}
hgroup {
  text-align: center;
}
.placeholder {
  display: flex;
  gap: 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  width: 100%;
  z-index: 2;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 16px;
  max-width: 800px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #cfcfca;
  border-radius: 12px;
}
.stats li {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 20px 16px 18px;
  background: rgba(255, 255, 255, 0.42);
}
.stats li + li {
  border-left: 1px solid #cfcfca;
}
.stats li h4 {
  font-size: 96px;
  line-height: 1;
  font-weight: 200;
  letter-spacing: -4px;
}
.stats li p {
  margin-top: auto;
  color: #3e3e3a;
  font-size: 20px;
  line-height: 1.25;
}
.stats li small {
  display: block;
  margin-top: 16px;
  line-height: 1;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 0 16px;
  font-weight: 500;
  border-radius: 20px;
  line-height: 42px;
  height: 40px;
  font-size: 14px;
  white-space: nowrap;
  vertical-align: middle;
}
.button svg {
  flex: 0 0 auto;
}
.button.primary {
  background: black;
  color: white;
}
.button.secondary {
  background: transparent;
  border: 1px solid white;
  color: white;
}
.logo img {
  width: 96px;
  height: auto;
}
.wrapper {
  max-width: 1376px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 900px;
  margin: 48px auto 0;
}
.questions li {
  overflow: hidden;
  background: #f0f0ed;
  border-radius: 16px;
}
.toggler {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  color: black;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.25;
  text-align: left;
}
.toggler .icon {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: white;
  font-size: 22px;
  line-height: 1;
}
.toggler + div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.toggler + div > p {
  overflow: hidden;
  padding: 0 24px;
  color: #444;
  font-size: 16px;
  line-height: 1.55;
  transition: padding 0.25s ease;
}
.questions li.open .toggler + div {
  grid-template-rows: 1fr;
}
.questions li.open .toggler + div > p {
  padding-bottom: 24px;
}

/* Breakpoints */
@media (min-width: 1440px) {
  .contact {
    min-height: 25vw;
  }
}
@media (min-width: 768px) {
  h1 {
    font-size: 64px;
  }
  h2 {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .columns {
    display: flex;
    gap: 16px;
  }
  .columns li {
    flex: 1;
  }
  .examples .cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .services .cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .intro .wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .intro hgroup,
  .intro .stats {
    grid-column: 1 / -1;
  }
  .intro picture {
    height: 100%;
  }
  .intro picture img {
    height: 100%;
    object-fit: cover;
  }
  .intro article {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .contact {
    min-height: 50vw;
  }
}
@media (max-width: 560px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }
  .stats li {
    min-height: 240px;
    border: 1px solid #cfcfca;
    border-radius: 12px;
    padding: 18px 16px;
  }
  .stats li + li {
    border-left: 1px solid #cfcfca;
  }
  .stats li h4 {
    font-size: 76px;
    letter-spacing: -3px;
  }
  .stats li p {
    font-size: 18px;
  }
}
