.maverick-page .site-bg {
  background: var(--loopino-surface);
}

.maverick-page .bg-dots {
  opacity: 0.24;
}

.maverick-hero-section {
  padding: 0;
  overflow: visible;
}

.maverick-hero-demo {
  position: relative;
  min-height: 400vh;
}

.maverick-hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: clamp(7rem, 12vh, 9rem) 0;
  overflow: hidden;
}

.maverick-hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  text-align: center;
}

.maverick-hero-copy {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(100%, 58rem);
}

.maverick-hero-copy h1 {
  font-family: var(--ko-font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--loopino-text-strong);
}

.maverick-hero-copy p {
  width: min(100%, 42rem);
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--loopino-text-default);
}

.maverick-hero-button-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.maverick-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 12.75rem;
  min-height: 52px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.maverick-hero-button-secondary {
  color: var(--loopino-text-strong);
  border-color: rgba(var(--ko-white-rgb), 0.22);
  box-shadow: inset 0 0 0 1px rgba(var(--ko-white-rgb), 0.06);
}

.maverick-hero-button-secondary:hover,
.maverick-hero-button-secondary:focus-visible {
  background: rgba(var(--ko-white-rgb), 0.06);
}

.maverick-hero-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.maverick-hero-button-icon svg {
  width: 100%;
  height: 100%;
}

.maverick-hero-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 1440px);
  min-width: 1200px;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
  opacity: 0.9;
}

.maverick-hero-path {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(var(--ko-secondary-rgb), 0.14));
}

@media (max-width: 1024px) {
  .maverick-hero-demo {
    min-height: 320vh;
  }

  .maverick-hero-sticky {
    padding: clamp(6.5rem, 10vh, 8rem) 0;
  }

  .maverick-hero-visual {
    min-width: 1080px;
  }
}

@media (max-width: 767px) {
  .maverick-hero-demo {
    min-height: 260vh;
  }

  .maverick-hero-sticky {
    min-height: 100svh;
    padding: 6rem 0 5rem;
  }

  .maverick-hero-content {
    width: min(100% - 1.5rem, 36rem);
    gap: 1.2rem;
  }

  .maverick-hero-copy {
    gap: 0.8rem;
  }

  .maverick-hero-copy p {
    font-size: 0.95rem;
  }

  .maverick-hero-button-wrap {
    width: 100%;
    flex-direction: column;
  }

  .maverick-hero-visual {
    /* After the 90deg rotation the path bundle is no longer centered within the
       SVG bounds, so mobile needs a compensating horizontal shift only. */
    min-width: 0;
    width: max(100svh, 940px);
    top: 50%;
    left: calc(50% + 7.5rem);
    transform: translate(-50%, -50%) rotate(90deg) scale(1.5);
    transform-origin: center center;
  }

  .maverick-hero-button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maverick-hero-button {
    transform: none;
  }
}
