/* Critical CSS for LCP element - Hero section (~2.5KB) */
* {
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-display: swap;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}
#root {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
section {
  display: block;
}
/* Hero section - LCP element - MUST render in first frame */
/* Using opacity/transform only for transitions to avoid blocking first paint */
.hero-section {
  background: linear-gradient(to right, #4579e9, #10b981);
  color: #fff;
  padding: 2rem 1rem;
  min-height: 200px;
  contain: layout style paint;
  position: relative;
  z-index: 1;
  /* Prevent blocking transitions - only use opacity/transform */
  will-change: opacity;
  opacity: 1;
}
@media (min-width: 640px) {
  .hero-section {
    padding: 2rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-section {
    padding: 2rem 2rem;
  }
}
@media (max-width: 1023px) {
  .hero-section {
    padding-top: calc(2rem + 69px);
    /* Ensure mobile header space is reserved immediately to prevent CLS */
    margin-top: 0;
  }
}
.hero-container {
  max-width: 80rem;
  margin: 0 auto;
  contain: layout style;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  contain: layout style;
}
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.hero-text {
  flex: 1;
  contain: layout style;
}
.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  color: #fff;
  /* Ensure text renders immediately */
  contain: layout style;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0;
  contain: layout style;
}
.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  contain: layout style;
  min-height: 60px;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  min-width: 100px;
  contain: layout style paint;
}
.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
  display: block;
}
.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin: 0;
  display: block;
}
/* Prevent layout shift - ensure dimensions are stable */
.hero-section,
.hero-container,
.hero-content {
  contain: layout style paint;
}
/* Mobile header space reservation - prevents CLS */
/* Fixed header placeholder to prevent CLS */
@media (max-width: 1023px) {
  body::before {
    content: '';
    display: block;
    height: 69px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    pointer-events: none;
  }
}
