html, body {
  margin: 0;
  background: var(--obsidian);
}

@font-face {
  font-family: 'Home Plex';
  src: url('/homepage/assets/plex-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Home Plex';
  src: url('/homepage/assets/plex-medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Home Plex';
  src: url('/homepage/assets/plex-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Home Plex';
  src: url('/homepage/assets/plex-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:where(.site-header, .hero-section, .closing-section) {
  font-family: 'Home Plex', 'IBM Plex Sans', system-ui, sans-serif;
  line-height: normal;
}
.home-width {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}
.home-skip {
  position: absolute;
  z-index: 5;
  left: 12px;
  top: 8px;
  padding: 10px 16px;
  background: white;
  color: var(--ink);
  transform: translateY(-150%);
}
.home-skip:focus {
  transform: none;
}
:where(.site-header, .closing-section) a {
  color: inherit;
  text-decoration: none;
}
:where(.hero-section, .closing-section) :is(h1, h2, p, figure) {
  margin: 0;
}
:where(.site-header, .hero-section, .closing-section) :is(button, input, textarea) {
  font: inherit;
}
:where(.site-header, .hero-section, .closing-section) button {
  border: 0;
  cursor: pointer;
}
:where(.site-header, .hero-section, .closing-section) .icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linejoin: round;
  stroke-linecap: round;
}
:where(.site-header, .hero-section, .closing-section) .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 49px;
  padding: 13px 20px;
  border-radius: 7px;
  background: #1fe3c2;
  color: #07241e;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
}
:where(.site-header, .hero-section, .closing-section) .button:hover {
  background: #74f2da;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: inherit;
  background: transparent;
}

.site-header {
  position: relative;
  z-index: 4;
  background: #0b1017;
  border-bottom: 1px solid #242c36;
  color: #e8edf2;
}
.nav-inner {
  height: 87px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  display: block;
  width: 138px;
  height: auto;
}
.desktop-nav,
.nav-actions {
  display: flex;
  align-items: center;
}
.desktop-nav {
  gap: 29px;
}
.nav-actions {
  gap: 25px;
}
.desktop-nav a,
.sign-in,
#mobile-nav a {
  color: #aeb8c4;
  font-size: 13px;
  white-space: nowrap;
}
.desktop-nav a[aria-current],
#mobile-nav a[aria-current],
.desktop-nav a:hover,
.sign-in:hover,
#mobile-nav a:hover {
  color: white;
}
/* Products: the five apps behind one word. A card under the header, each app by its own mark, its name and a line. */
.products {
  position: relative;
}
.products-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #aeb8c4;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.products-toggle .icon {
  width: 14px;
  height: 14px;
  transition: transform .16s ease;
}
.products-toggle:hover,
.products-toggle[aria-expanded="true"] {
  color: white;
}
.products-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.products-toggle:focus-visible {
  outline: 2px solid #57e4cc;
  outline-offset: 4px;
  border-radius: 4px;
}
.products-menu {
  position: absolute;
  z-index: 6;
  top: calc(100% + 18px);
  left: -22px;
  width: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px;
  border-radius: 18px;
  background: #111821;
  border: 1px solid #263340;
  box-shadow: 0 2px 4px #0003, 0 28px 60px -22px #000c;
}
.products-menu[hidden] {
  display: none;
}
.products-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 44px;
  width: 12px;
  height: 12px;
  background: #111821;
  border-left: 1px solid #263340;
  border-top: 1px solid #263340;
  transform: rotate(45deg);
}
.products-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  white-space: normal;
}
.products-menu a:hover,
.products-menu a:focus-visible {
  background: #1a232e;
  outline: none;
}
.product-mark {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #0b1017;
  border: 1px solid #263340;
}
.product-mark svg {
  width: 23px;
  height: auto;
  fill: #16d7bd;
}
.product-words {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.product-words b {
  color: #f1f5f8;
  font-size: 14.5px;
  font-weight: 600;
}
.product-words small {
  color: #93a1b0;
  font-size: 12.5px;
  line-height: 1.35;
}

.mobile-nav-h {
  display: block;
  padding: 14px 0 4px;
  color: #6f7c8a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#mobile-nav .mobile-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #e8edf2;
  font-size: 15px;
}
#mobile-nav .mobile-product .product-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
#mobile-nav .mobile-product .product-mark svg {
  width: 19px;
}
@media (prefers-reduced-motion: reduce) {
  .products-toggle .icon {
    transition: none;
  }
}
.site-header .nav-cta {
  min-height: 39px;
  font-size: 12px;
  padding: 9px 15px;
}
.mobile-menu,
#mobile-nav {
  display: none;
}
.closing-content h2 span {
  color: #1fe3c2;
}

.closing-section {
  background: #0b1017;
  color: #e7edf4;
  overflow: clip;
}
.closing-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 48px;
}
.closing-content h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.closing-content p {
  color: #a2b1b9;
  font-size: 15px;
  line-height: 1.7;
}
.closing-signup > span {
  display: block;
  margin-top: 13px;
  font-size: 13px;
  color: #99aabb;
}
.annual-price {
  display: block;
  margin-top: 2px;
  font-size: 0.875em;
  line-height: 1.45;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  padding: 24px 0;
  border-top: 1px solid #26303c;
  color: #99aabb;
  font-size: 12px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.site-footer nav a[aria-current],
.site-footer nav a:hover {
  color: #e8edf2;
}
@media (max-width: 1150px) {
  .home-width {
    width: calc(100% - 72px);
  }
  .desktop-nav {
    gap: 20px;
  }
}
@media (max-width: 950px) {
  .nav-inner {
    gap: 16px;
  }
  .brand img {
    width: 120px;
  }
  .desktop-nav {
    gap: 15px;
  }
  .nav-actions {
    gap: 15px;
  }
  .site-header .nav-cta {
    padding-inline: 12px;
  }
  .nav-cta .icon {
    display: none;
  }
  .site-footer nav {
    column-gap: 20px;
  }
}
@media (max-width: 900px) {
  .closing-content h2 {
    font-size: 34px;
  }
}
@media (max-width: 820px) {
  .mobile-menu {
    display: inline-grid;
  }
  .desktop-nav,
  .site-header .nav-cta {
    display: none;
  }
  #mobile-nav:not([hidden]) {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    padding: 8px 20px 14px;
    background: #0b1017;
    border-bottom: 1px solid #313c48;
  }
  #mobile-nav a {
    padding: 12px 0;
  }
}
@media (max-width: 700px) {
  .home-width {
    width: calc(100% - 40px);
  }
  .nav-inner {
    height: 73px;
  }
  .brand img {
    width: 124px;
  }
  .closing-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-block: 32px;
  }
  .closing-content p {
    font-size: 14px;
  }
}
