* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: #f1f4f3;
  color: #202421;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  isolation: isolate;
}
main {
  width: min(1120px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 88px 64px 42px;
}
.hero {
  width: 100%;
}
.wordmark {
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 1976 / 751;
  margin: 0 0 96px;
}
.mask {
  display: block;
  position: absolute;
  inset: 0;
  background: #244c4b;
  mask: url("/assets/habit.png") center / contain no-repeat;
  -webkit-mask: url("/assets/habit.png") center / contain no-repeat;
}
.mask video,
.mask .film-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  filter: saturate(1.16) contrast(1.09) brightness(0.91);
}
.mask video.active,
.mask .film-still.active {
  opacity: 1;
}
.mask::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("/assets/habit-inner-shadow.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
h1 {
  max-width: 960px;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 0;
  text-wrap: balance;
}
.platform {
  margin-top: 76px;
  margin-bottom: 90px;
  max-width: 760px;
}
.platform p {
  margin: 0;
  max-width: 620px;
  font-size: clamp(26px, 2.8vw, 33px);
  line-height: 1.4;
  letter-spacing: -0.65px;
  text-wrap: pretty;
}
a {
  color: inherit;
}
.platform a,
.platform a:hover {
  text-decoration: none;
}
a:focus-visible,
.contact-link:focus-visible {
  outline: 2px solid #45685e;
  outline-offset: 5px;
}
footer {
  margin-top: auto;
  border-top: 1px solid #29392b26;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-size: 16px;
}
footer a {
  text-decoration: none;
}
footer small {
  font: inherit;
  color: #000;
}
@media (max-width: 600px) {
  main {
    padding: 52px 28px 30px;
  }
  .wordmark {
    margin-bottom: 64px;
  }
  h1 {
    font-size: clamp(28px, 7.5vw, 35px);
    letter-spacing: -1px;
  }
  .platform {
    margin-top: 48px;
    margin-bottom: 70px;
  }
  .platform p {
    font-size: clamp(22px, 5.8vw, 26px);
    letter-spacing: -0.5px;
  }
  footer {
    font-size: 15px;
    padding-top: 22px;
    gap: 15px;
  }
}

.external-arrow {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.08em;
}

.contact-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: #000;
  font: inherit;
  cursor: pointer;
}

.link-label {
  padding-bottom: 0.12em;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
a:hover .link-label,
a:focus-visible .link-label {
  background-size: 100% 1px;
}
@media (prefers-reduced-motion: reduce) {
  .link-label {
    transition: none;
  }
}
