.hero {
  min-height: 100vh;
  position: relative;
  background: var(--bg-primary);
  overflow-x: clip;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  display: none;
}

.hero::after {
  content: "";
  display: none;
}

.hero-content {
  position: relative;
  z-index: var(--z-raised);
  padding: 180px 0 var(--space-10) var(--space-7);
  max-width: 600px;
  flex: 0 0 45%;
}

.hero-content .eyebrow {
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: var(--space-5);
  font-weight: 600;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.eyebrow-row .eyebrow {
  margin-bottom: 0;
}

.hero-flags {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-flag {
  font-size: 18px;
  line-height: 1;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.hero-flag:hover {
  opacity: 1;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  letter-spacing: -2px;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 550px;
  margin-bottom: var(--space-7);
  line-height: 1.7;
}

.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 55%;
  height: 90vh;
  padding: 0;
  z-index: var(--z-raised);
}

.hero-graphic svg {
  width: 100%;
  height: 100%;
}

.trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 28px var(--space-7);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.trust-bar span {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.trust-logos {
  overflow: hidden;
}

.trust-logos__track {
  display: flex;
  align-items: center;
}

.trust-logos__track .trust-logo:nth-child(n+9) {
  display: none;
}

.trust-logo {
  height: 22px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.55;
  margin-right: var(--space-7);
}

.trust-logo--aws {
  max-width: 72px;
}

.trust-logo--gcp {
  max-width: 108px;
}

.trust-logo--azure {
  max-width: 92px;
}

.trust-logo--vanta {
  max-width: 88px;
}

.trust-logo--crowdstrike {
  max-width: 128px;
}

.trust-logo--agency {
  max-width: 140px;
}

.trust-logo--jumpcloud {
  max-width: 140px;
  height: 32px;
}

.trust-logo--ycombinator {
  max-width: 160px;
  height: 32px;
}

@media (max-width: 1000px) {
  .hero {
    flex-direction: column;
  }

  .hero-content {
    flex: none;
    padding: 160px var(--space-6) 60px;
    max-width: 700px;
  }

  .hero-graphic {
    flex: none;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-right: 0;
    padding: 0 var(--space-6) 100px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-graphic .micro-elements,
  .hero-graphic .bg-texture,
  .hero-graphic .layer-control-test {
    display: none;
  }

  .trust-logos {
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  }

  .trust-logos__track {
    animation: scroll-logos 30s linear infinite;
  }

  .trust-logos__track .trust-logo {
    margin-right: var(--space-5);
  }

  .trust-logos__track .trust-logo:nth-child(n+9) {
    display: block;
  }

  .trust-logos:hover .trust-logos__track {
    animation-play-state: paused;
  }

  .trust-logo {
    height: 20px;
  }

  .trust-logo--jumpcloud,
  .trust-logo--ycombinator {
    height: 20px;
  }
}

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

@media (max-width: 600px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    position: relative;
    z-index: calc(var(--z-raised) + 1);
    padding: 140px var(--space-5) var(--space-7);
  }

  .hero-graphic:not(.hero-graphic--watch-v2) {
    display: none;
  }

  .trust-bar {
    padding: 20px var(--space-5);
    gap: 20px;
    align-items: flex-start;
  }

  .trust-logo {
    height: 16px;
    opacity: 0.75;
  }

  .trust-logo--jumpcloud,
  .trust-logo--ycombinator {
    height: 16px;
  }
}

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

  .trust-logos__track .trust-logo:nth-child(n+9) {
    display: none;
  }

  .trust-logos {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .trust-logos::-webkit-scrollbar {
    display: none;
  }
}
