*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(45rem 30rem at 15% 8%, rgba(37, 99, 235, 0.18), transparent 65%),
    radial-gradient(38rem 30rem at 85% 22%, rgba(124, 58, 237, 0.16), transparent 68%),
    linear-gradient(180deg, #020617 0%, #020617 40%, #030c1f 100%);
}

html[data-theme="light"] body {
  background: #f8fafc;
  color: #0f172a;
}

html[data-theme="light"] .site-bg {
  background:
    radial-gradient(45rem 30rem at 15% 8%, rgba(37, 99, 235, 0.14), transparent 65%),
    radial-gradient(38rem 30rem at 85% 22%, rgba(139, 92, 246, 0.12), transparent 68%),
    linear-gradient(180deg, #f8fbff 0%, #f2f7ff 45%, #eef3fb 100%);
}

html[data-theme="light"] #siteHeader {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .hero-glow {
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.3) 0%, rgba(37, 99, 235, 0) 70%);
}

html[data-theme="light"] .text-white {
  color: #0f172a !important;
}

html[data-theme="light"] [class*="text-slate-100"],
html[data-theme="light"] [class*="text-slate-200"],
html[data-theme="light"] [class*="text-slate-300"] {
  color: #334155 !important;
}

html[data-theme="light"] [class*="text-slate-400"],
html[data-theme="light"] [class*="text-slate-500"] {
  color: #64748b !important;
}

html[data-theme="light"] [class*="border-white"] {
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] [class*="bg-slate-900"],
html[data-theme="light"] [class*="bg-slate-950"] {
  background-color: rgba(255, 255, 255, 0.82) !important;
}

html[data-theme="light"] [class*="hover:bg-white/10"]:hover,
html[data-theme="light"] [class*="hover:bg-white/5"]:hover {
  background-color: rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] .service-card:hover {
  background-color: rgba(241, 245, 249, 0.95) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: clamp(26rem, 78svh, 42rem);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(108deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.82) 38%, rgba(2, 6, 23, 0.45) 62%, rgba(2, 6, 23, 0.2) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.55) 0%, transparent 38%, rgba(2, 6, 23, 0.65) 100%);
}

html[data-theme="light"] .hero__scrim {
  background:
    linear-gradient(108deg, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.9) 40%, rgba(248, 250, 252, 0.55) 65%, rgba(248, 250, 252, 0.3) 100%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.7) 0%, transparent 40%, rgba(248, 250, 252, 0.75) 100%);
}

@media (min-width: 768px) {
  .hero__media img {
    object-position: 72% center;
  }
}

.hero-glow {
  position: absolute;
  inset: -16% -12% auto auto;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.55) 0%, rgba(59, 130, 246, 0) 70%);
  filter: blur(10px);
  z-index: -1;
}

.service-card {
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.45);
  background-color: rgba(15, 23, 42, 0.85);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card {
    transition: none;
  }

  .service-card:hover {
    transform: none;
  }
}
