.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
}

.logo-brand::before {
  display: none;
}

.logo-brand img {
  display: block;
  width: 142px;
  height: auto;
  filter: brightness(0) invert(1);
}

footer .logo-brand img {
  width: 126px;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 51%;
  width: min(788px, 58.5vw);
  aspect-ratio: 1448 / 1086;
  transform: translate(-50%, -50%);
  background-image: image-set(
    url("/assets/brand/horse1.webp") type("image/webp"),
    url("/assets/brand/horse1.png") type("image/png")
  );
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.24;
  filter: saturate(0.8) contrast(0.88);
  pointer-events: none;
}

.hero-copy > p {
  max-width: 610px;
  margin: 28px 0;
  color: #d2d5e8;
  font-size: 18px;
  line-height: 1.65;
}

.hero-layout h1 {
  font-size: clamp(50px, 4.3vw, 62px);
  line-height: 0.92;
}

.hero-motion {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 5;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.hero-copy,
.hero-motion {
  align-self: center;
}

.market-coverage {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.market-coverage > span:not(.coverage-label) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 11px;
}

.market-coverage b {
  font-weight: 700;
}

.coverage-label {
  width: 100%;
  color: #aeb3d2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.plans {
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-left: 0;
  align-items: stretch;
}

.plans article {
  min-height: 520px;
}

.plans .featured-plan {
  z-index: 1;
  transform: translateY(-14px);
  border: 2px solid var(--brand-red);
  border-top-width: 5px;
  box-shadow: 0 24px 55px rgba(17, 22, 51, 0.16);
}

.plans .old-price {
  margin: 20px 0 -21px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: line-through;
}

.plans .price {
  display: block;
  line-height: 0.95;
}

.plans .price small {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.billing-note {
  min-height: 38px;
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.motion-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--paper-muted);
}

.motion-player {
  width: 100%;
  height: 100%;
  background: transparent;
}

.feature-section {
  margin-top: 72px;
}

.feature-section > div {
  padding: 24px 24px 38px;
}

.feature-motion {
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 30px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 1050px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-motion {
    width: min(680px, 100%);
    margin-left: auto;
  }

  .plans {
    grid-template-columns: 1fr 1fr;
  }

  .plans article:first-child {
    grid-column: 1 / -1;
    min-height: 390px;
  }
}

@media (max-width: 700px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero::after {
    top: 42%;
    left: 62%;
    width: 116vw;
    opacity: 0.17;
  }

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

  .market-coverage > span:not(.coverage-label) {
    font-size: 10px;
  }

  .hero-motion {
    width: 100%;
    aspect-ratio: 6 / 5;
    margin: 0;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .plans article:first-child {
    grid-column: auto;
  }

  .plans .featured-plan {
    transform: none;
  }

  .feature-section {
    margin-top: 48px;
  }

  .feature-section > div {
    padding: 22px 22px 34px;
  }

  .feature-motion {
    margin-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-video {
    animation: none;
  }
}
