.container-shell {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

html,
body,
body * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

@media (min-width: 768px) {
  .container-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-pad {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.btn-primary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #10B981;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  transition: background-color 180ms ease;
}

.btn-primary:hover {
  background: #059669;
}

.btn-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  transition: all 180ms ease;
}

.btn-secondary:hover {
  background: #fff;
  color: #0F172A;
}

.card-panel {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748B;
}

.hero-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  will-change: transform;
}

.hero-glow {
  background: radial-gradient(circle at 70% 20%, rgba(16, 185, 129, 0.36), rgba(15, 23, 42, 0.3) 30%, transparent 62%);
  will-change: transform, opacity;
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.72) 58%, rgba(15, 23, 42, 0.78) 100%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.18) 45%, rgba(15, 23, 42, 0.48) 100%);
}

.hero-copy {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media {
    animation: hero-pan 30s ease-in-out infinite alternate;
    will-change: transform;
    transform-origin: center center;
  }

  .hero-glow {
    animation: hero-glow-breathe 12s ease-in-out infinite;
  }

  .hero-grid {
    animation: hero-grid-drift 26s linear infinite;
  }

  .hero-cta {
    animation: hero-cta-float 6s ease-in-out infinite;
  }

  .reveal-1 { animation: rise 0.6s ease-out both; }
  .reveal-2 { animation: rise 0.95s ease-out both; }
  .reveal-3 { animation: rise 1.25s ease-out both; }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes hero-pan {
    0% {
      transform: scale(1.015) translate3d(-0.5%, -0.35%, 0);
    }
    100% {
      transform: scale(1.04) translate3d(0.5%, 0.35%, 0);
    }
  }

  @keyframes hero-glow-breathe {
    0%, 100% {
      opacity: 0.82;
      transform: scale(1);
    }
    50% {
      opacity: 0.94;
      transform: scale(1.02);
    }
  }

  @keyframes hero-grid-drift {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-10px, -10px, 0);
    }
  }

  @keyframes hero-cta-float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-1px);
    }
  }
}

.site-footer {
  background: #0F172A;
  color: #CBD5E1;
}

.site-footer .footer-title {
  color: #FFFFFF;
}

.site-footer .footer-link {
  color: #CBD5E1;
  transition: color 180ms ease;
}

.site-footer .footer-link:hover {
  color: #FFFFFF;
}

.site-footer .footer-muted {
  color: #94A3B8;
}

.material-card {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: transform 420ms ease, opacity 420ms ease, box-shadow 220ms ease;
}

.material-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.material-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.2);
}

.material-card img {
  transition: transform 500ms ease;
}

.material-card:hover img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .material-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .material-card img {
    transition: none;
  }

  .material-card:hover {
    transform: none;
  }
}

.proof-scroller {
  overflow: hidden;
}

.proof-track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.proof-card {
  width: 100%;
}

@media (max-width: 767px) {
  .proof-track {
    flex-direction: column;
  }

  .proof-track .proof-card[aria-hidden="true"] {
    display: none;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .proof-track {
    width: max-content;
    animation: proof-scroll 75s linear infinite;
  }

  .proof-card {
    width: 24rem;
    flex: 0 0 24rem;
  }

  @keyframes proof-scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-50% - 0.75rem));
    }
  }
}
