:root {
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background-color: #f0f2f5;
  -webkit-font-smoothing: antialiased;
  color: #1e1b4b;
}

#root:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #f8fafc;
}

/* Critical Above-the-Fold Styles */
.hero-section {
  padding: 4rem 1rem 6rem;
  background-color: #fff;
  text-align: center;
}

.hero-h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 900;
  color: #1e1b4b;
  margin-bottom: 1.5rem;
  letter-spacing: -0.05em;
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
}

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

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
