html, body {
  margin: 0;
  padding: 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.page-wrapper {
  min-height: 0;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 45px;
}

.custom-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px clamp(20px, 3.5vw, 56px);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.custom-header .navbar-brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .custom-header .navbar-brand {
    transform: translateX(-15px);
  }
}

@media (max-width: 767.98px) {
  .custom-header .navbar-brand {
    transform: none;
  }
}

.custom-header .navbar-brand img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

.hero-content {
  width: calc(100% - 80px);
  max-width: 1540px;
  margin: 0 auto;
}

.hero-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hero-copy {
  order: 1;
  flex: 0 0 52%;
  width: 52%;
  max-width: 52%;
  min-width: 0;
  padding: 20px 32px 20px 0;
  transform: translateY(-25px);
}

.hero-images {
  order: 2;
  flex: 0 0 48%;
  width: 48%;
  max-width: 48%;
  min-width: 0;
  padding: 0;
}

.hero-copy h1 {
  font-size: clamp(34px, 3.1vw, 54px);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 750;
  margin: 0 0 22px;
  max-width: 760px;
  overflow-wrap: normal;
}

.hero-copy p {
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.5;
  text-align: left;
  max-width: 520px;
  margin: 0 0 24px;
  text-wrap: pretty;
}

.download-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.download-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

.download-links img {
  height: auto;
  max-width: 100%;
}

.hero-parallax {
  width: 100%;
  max-width: 746px;
  margin-left: auto;
}

.hero-parallax .parallax-layer img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .hero-content {
    width: calc(100% - 48px);
  }

  .hero-copy {
    flex-basis: 55%;
    width: 55%;
    max-width: 55%;
    padding-right: 24px;
  }

  .hero-images {
    flex-basis: 45%;
    width: 45%;
    max-width: 45%;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 3.6vw, 42px);
  }

  .hero-copy p {
    font-size: 17px;
  }
}

@media (max-width: 767.98px) {
  .custom-header {
    padding: 15px 18px;
  }

  .custom-header .navbar-brand img {
    width: 135px;
  }

  .hero-section {
    padding: 76px 0 30px;
  }

  .hero-content {
    width: calc(100% - 36px);
  }

  .hero-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-images, .hero-copy {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
  }

  .hero-images {
    order: 1;
  }

  .hero-copy {
    order: 2;
    text-align: center;
    padding-top: 8px;
    transform: none;
  }

  .hero-parallax {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 7.5vw, 40px);
    line-height: 1.13;
    letter-spacing: -.035em;
    margin-bottom: 16px;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 21px;
    max-width: none;
  }

  .download-links {
    gap: 10px;
    flex-wrap: wrap;
  }

  .download-links a {
    padding: 8px 10px !important;
  }

  .download-links img {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .hero-section {
    padding-top: 68px;
  }

  .custom-header .navbar-brand img {
    width: 120px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .download-links img[width="124"] {
    width: 112px;
  }

  .download-links img[width="139"] {
    width: 126px;
  }
}

/* Footer */
.wiki-footer {
  background: #000;
  color: #fff;
  padding: 38px 0 30px;
}

.wiki-footer-top,
.wiki-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wiki-footer-links,
.wiki-footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo text and navigation links: identical typography and color. */
.wiki-footer .wiki-footer-top .wiki-footer-logo,
.wiki-footer .wiki-footer-top .wiki-footer-links a {
  font-family: var(--bs-body-font-family), sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  line-height: 1.5 !important;
  text-transform: none !important;
  text-decoration: none !important;
  color: #ddd !important;
}

.wiki-footer .wiki-footer-top .wiki-footer-logo:hover,
.wiki-footer .wiki-footer-top .wiki-footer-links a:hover {
  color: #fff !important;
}

.wiki-footer-divider {
  height: 1px;
  background: #202020;
  margin: 28px 0 30px;
}

.wiki-footer-copyright {
  color: #aaa;
  font-size: 14px;
  margin: 0;
}

.wiki-footer-social {
  gap: 20px;
}

.wiki-footer-social a {
  color: #ddd;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.wiki-footer-social a:hover {
  color: #fff;
}

@media (max-width: 767.98px) {
  .wiki-footer {
    padding: 30px 0 25px;
  }

  .wiki-footer-top,
  .wiki-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .wiki-footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .wiki-footer-divider {
    margin: 22px 0;
  }
}

/* Community proof */
.community-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.community-avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.community-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-left: -12px;
}

.community-avatars img:first-child {
  margin-left: 0;
}

.community-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 15px;
}

.community-count {
  color: #6366f1;
  font-weight: 700;
}

.community-label {
  color: #777b91;
}

@media (max-width: 767.98px) {
  .hero-copy,
  .hero-copy h1,
  .hero-copy p {
    text-align: center;
  }

  .download-links {
    justify-content: center;
  }

  .community-proof {
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
  }

  .community-avatars img {
    width: 36px;
    height: 36px;
  }

  .community-text {
    font-size: 14px;
  }
}
