.home-platform-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px auto;
}

.home-platform-buttons .btn {
  margin: 0;
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.home-platform-buttons .fa,
.home-mobile-buttons .fa {
  margin-right: 4px;
  flex-shrink: 0;
}

.home-platforms > .container {
  max-width: 1040px;
}

.home-platform-row {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 32px 0;
}

.home-platform-row:first-of-type {
  margin-top: 24px;
}

.home-platform-row + .home-platform-row {
  border-top: 1px solid #eee;
}

.home-platform-device {
  min-width: 0;
}

.home-platforms .info-horizontal {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.home-platforms .info-horizontal .icon {
  float: none;
  margin: 0;
  text-align: center;
}

.home-platforms .info-horizontal .icon .fa {
  font-size: 30px;
  line-height: 28px;
}

.home-platforms .info-horizontal .description {
  display: block;
}

.home-platforms .info-title {
  margin: 0 0 12px;
  line-height: 28px;
}

.home-platforms p.description {
  color: #59616b;
  font-size: 15px;
  line-height: 1.6;
}

.home-laptop {
  max-width: 360px;
  margin: 0 auto;
  padding: 0 10px 12px;
  position: relative;
}

.home-laptop-screen {
  overflow: hidden;
  border: 6px solid #3b3d40;
  border-radius: 10px 10px 4px 4px;
  background: #fff;
}

.home-laptop img {
  display: block;
  width: 100%;
  height: auto;
}

.home-laptop::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  border: 1px solid #b8babe;
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(#eceef0, #b8babe);
}

/* Show the complete phone from the current App Store asset, without its headline. */
.home-phone {
  position: relative;
  width: min(100%, 144px);
  aspect-ratio: 1046 / 2218;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16.3% / 7.8%;
}

.home-phone img {
  position: absolute;
  width: 126.195%;
  max-width: none;
  height: auto;
  left: -13.0975%;
  top: -28.3138%;
}

.home-mobile-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-platforms .btn {
  white-space: normal;
  min-height: 44px;
}

@media (max-width: 700px) {
  .home-app-nav {
    display: flex;
    justify-content: center;
  }

  .home-app-nav > li {
    float: none;
  }

  .home-app-nav > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 64px;
    padding: 10px 6px;
    font-size: 12px;
  }

  .home-app-nav img {
    width: 40px;
    height: 40px;
  }
}

.home-extension-preview {
  display: block;
  width: min(100%, 252px);
  height: auto;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 8%);
}

.home-platform-buttons a:focus-visible,
.home-platforms a:focus-visible {
  outline: 2px solid #286090;
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .home-platform-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    gap: 12px 8px;
  }

  .home-platform-buttons .btn {
    padding: 15px 8px;
    font-size: 12px;
  }

  .home-platform-buttons .fa {
    margin-right: 0;
  }

  .home-platform-buttons .btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: calc(50% - 4px);
  }

  .home-platform-row {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .home-platform-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0;
  }

  .home-platforms .info-horizontal {
    max-width: 480px;
    margin: 0 auto;
  }

  .home-phone {
    width: min(100%, 132px);
  }

  .home-extension-preview {
    width: min(100%, 240px);
  }
}
