/* Optional custom CSS overrides */

html {
  scroll-behavior: smooth;
  font-size: 19px;
}

/* Large editorial headline */
.hero-headline {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

/* Thin section separators */
.section-rule {
  border-top: 1px solid #f1f5f9;
}

/* Stat number size */
.stat-number {
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

@media (max-width: 1023px) {
  html {
    font-size: 17px;
  }
}

[x-cloak] {
  display: none !important;
}

/* What We Offer – horizontal expand cards */
.offer-card {
  transition: flex 500ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
              background-color 300ms ease;
}

.section-pill {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  background-color: #eff6ff;
  color: #2563eb;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-pill {
    font-size: 1rem;
  }
}

.section-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease;
  animation: section-next-float 1.8s ease-in-out infinite;
}

.section-next svg {
  width: 1.4rem;
  height: 1.4rem;
}

.section-next:hover {
  transform: translateY(2px);
  border-color: #2563eb;
  color: #2563eb;
}

@keyframes section-next-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* Brand blue override for all Tailwind text-blue-* usages */
[class*="text-blue-"] {
  color: #0F07A0 !important;
}

/* Keep hover text-blue-* states aligned with the same brand blue */
[class*="hover:text-blue-"]:hover {
  color: #0F07A0 !important;
}
