/* Critical above-the-fold styles for faster LCP */
/* This file is loaded externally for Brave browser compatibility */

body {
  margin: 0;
  font-family: var(--font-roboto), Roboto, sans-serif;
}

/* svh = small viewport height (stable when URL bar shows/hides on mobile); vh fallback for older browsers */
/* Mobile: no min-height — video drives height via aspect-ratio, content stacks below */
.hero-section {
  position: relative;
  background: #111827;
  /* No overflow:hidden on mobile — video container owns its own clipping */
}

/* sm+: cinematic overlay layout — video fills the tall container */
@media (min-width: 640px) {
  .hero-section {
    min-height: 65vh;
    min-height: 65svh;
    background: #f3f4f6;
  }
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 70vh;
    min-height: 70svh;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 75vh;
    min-height: 75svh;
  }
}

@media (min-width: 1280px) {
  .hero-section {
    min-height: 80vh;
    min-height: 80svh;
  }
}

/* Prevent Safari from treating video as inline (adds extra bottom gap) */
.hero-video {
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.hero-content {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
}

.hero-text {
  color: #374151;
  text-align: center !important;
  font-weight: 800;
  width: 100% !important;
}

.hero-heading {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-heading {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-heading {
    font-size: 4.5rem;
  }
}

@media (min-width: 1280px) {
  .hero-heading {
    font-size: 5rem;
  }
}
