/* Critical hero CSS - loaded before JS to paint hero text fast */
#critical-hero {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  padding: 16rem 1rem 5rem;
}
#critical-hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 1.5rem;
  font-family: system-ui, -apple-system, sans-serif;
}
#critical-hero h1 span {
  color: #0ec0df;
}
#critical-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  font-family: system-ui, -apple-system, sans-serif;
}
#critical-hero .ch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 2rem;
  font-family: system-ui, -apple-system, sans-serif;
}
#critical-hero .ch-trust {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-family: system-ui, -apple-system, sans-serif;
}
@media (min-width: 768px) {
  #critical-hero {
    padding-top: 20rem;
  }
  #critical-hero h1 {
    font-size: 4.5rem;
  }
}

/* Branded loader styles */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.95);
  }
}
html.dark #branded-loader {
  background-color: #09090b !important;
}
@media (prefers-color-scheme: dark) {
  #branded-loader {
    background-color: #09090b;
  }
}
