.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 0;
  overflow: hidden;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 80px;
  line-height: 1.04;
  letter-spacing: -4px;
  text-transform: uppercase;
  width: 100%;
}

.hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.hero-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 61px;
}

.hero-desc {
  flex: 1 1 491px;
  min-width: 0;
  max-width: 491px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.39;
  letter-spacing: -0.8px;
  color: var(--white);
}

.hero-desc p + p {
  margin-top: 22px;
}

.hero-btn {
  flex: 0 0 auto;
}

.hero-images {
  position: relative;
  flex: 0 0 366px;
  width: 366px;
  height: 335px;
}

.hero-img {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-inner {
  overflow: hidden;
  border-radius: 16px;
}

.hero-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img--a {
  left: 122.93px;
  top: 7.77px;
  width: 242.749px;
  height: 206.899px;
}

.hero-img--a .hero-img-inner {
  width: 242.749px;
  height: 206.899px;
  transform: rotate(180deg) scaleY(-1);
}

.hero-img--b {
  left: 0;
  top: 0;
  width: 263.438px;
  height: 334.688px;
}

.hero-img--b .hero-img-inner {
  width: 295.364px;
  height: 196.91px;
  transform: rotate(75.78deg) scaleY(-1);
}

.marquee {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.marquee-band {
  position: absolute;
  left: -50vw;
  width: 200vw;
  height: 61px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.marquee-band--outline {
  top: 100px;
  border: 2px solid var(--white);
  transform: rotate(-6deg);
}

.marquee-band--fill {
  top: 160px;
  transform: rotate(6deg);
  background: linear-gradient(
    175deg,
    var(--blue) 14%,
    var(--green) 41%,
    var(--purple) 80%
  );
}

.marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  will-change: transform;
}

.marquee-band--outline .marquee-track {
  animation: marquee-left 32s linear infinite;
}

.marquee-band--fill .marquee-track {
  animation: marquee-right 32s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22.5px;
  line-height: 0.9;
  letter-spacing: -1.35px;
  white-space: nowrap;
}

.marquee-band--outline .marquee-item {
  color: var(--white);
}

.marquee-band--fill .marquee-item {
  color: var(--black);
}

.marquee-globe {
  flex: none;
  width: 30px;
  height: 30px;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.why-grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.why-cards {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-row {
  display: flex;
  gap: 20px;
}

.why-row--top {
  width: 590px;
  max-width: 100%;
}

.why-row--top .card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 335px;
}

.why-row--bottom {
  width: 100%;
}

.why-row--bottom .card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 281px;
}

.why-image {
  flex: 0 0 324px;
  width: 324px;
}

.why-image img {
  width: 100%;
  height: 602px;
  object-fit: cover;
}

.variety-grid {
  display: flex;
  gap: 70px;
  align-items: center;
}

.variety-left {
  flex: 0 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

.variety-text {
  flex: 0 0 285px;
  width: 285px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.variety-image {
  flex: 0 0 252px;
  width: 252px;
  height: 433px;
}

.variety-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variety-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
}

.variety-desc {
  width: 100%;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.variety-stats {
  width: 100%;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--white);
}

.faq-grid {
  display: flex;
  gap: 20px;
  align-items: center;
}

.faq-image {
  flex: 0 0 324px;
  width: 324px;
}

.faq-image img {
  width: 100%;
  height: 602px;
  object-fit: cover;
}

.faq-cards {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-row {
  display: flex;
  gap: 20px;
}

.faq-row .card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 254px;
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 50px;
    letter-spacing: -2.5px;
  }

  .hero-main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero-images {
    order: 1;
    max-width: 100%;
  }

  .hero-text {
    order: 2;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 20px;
  }

  .hero-desc {
    max-width: none;
    width: 100%;
  }

  .hero-btn {
    align-self: center;
  }

  .why-grid {
    flex-direction: column;
    gap: 20px;
  }

  .why-image {
    order: -1;
    flex: none;
    width: 100%;
  }

  .why-image img {
    height: 300px;
  }

  .why-row {
    display: contents;
  }

  .why-row--top .card,
  .why-row--bottom .card {
    flex: none;
    min-height: 0;
    width: 100%;
  }

  .why-card--multidevice {
    order: 1;
  }

  .why-card--regular {
    order: 2;
  }

  .why-card--extensive {
    order: 3;
  }

  .why-card--instant {
    order: 4;
  }

  .variety-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .variety-left,
  .variety-right {
    display: contents;
  }

  .variety-text {
    flex: none;
    width: 100%;
    order: 1;
  }

  .variety-image {
    flex: none;
    width: 100%;
    height: 300px;
    order: 2;
  }

  .variety-desc {
    order: 3;
  }

  .variety-btn {
    order: 4;
    align-self: flex-start;
  }

  .variety-stats {
    order: 5;
  }

  .faq-grid {
    flex-direction: column;
    gap: 20px;
  }

  .faq-image {
    order: -1;
    flex: none;
    width: 100%;
  }

  .faq-image img {
    height: 300px;
  }

  .faq-row {
    display: contents;
  }

  .faq-row .card {
    flex: none;
    min-height: 0;
    width: 100%;
  }

  .faq-card--mobile {
    order: 1;
  }

  .faq-card--registration {
    order: 2;
  }

  .faq-card--download {
    order: 3;
  }

  .faq-card--howoften {
    order: 4;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .hero-images {
    transform: scale(0.92);
    transform-origin: center;
  }
}
