body {
  background: #020617;
}

html:not(.dark) body {
  background: #f4f7fb;
}

.section-shell {
  background-color: #050510;
  padding-top: 1.25rem;
}

.section-shell.alt {
  background-color: #020617;
}

.section-copy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.section-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #38bdf8;
  font-weight: 800;
}

.section-title {
  margin-top: 0.3rem;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #f8fafc;
}

.section-desc {
  margin-top: 0.45rem;
  max-width: 720px;
  color: #94a3b8;
  font-size: 0.92rem;
}

.section-frame {
  width: 100%;
  border: none;
  overflow: hidden;
  display: block;
}

#mobile-menu {
  transition: opacity 0.4s ease;
}

#mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

#main-nav {
  backdrop-filter: blur(20px);
}

.nav-link.active {
  color: #0ab5f2;
}

html:not(.dark) #main-nav > div {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.12);
}

html:not(.dark) #theme-toggle,
html:not(.dark) #menu-toggle {
  color: #334155;
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.7);
}

html:not(.dark) .nav-link {
  color: #475569;
}

html:not(.dark) .nav-link:hover,
html:not(.dark) .nav-link.active {
  color: #0369a1;
}

.waves-container {
  overflow: hidden;
}

.wave-svg {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: home2-wave-primary 28s linear infinite;
}

.wave-svg.wave-2 {
  animation: home2-wave-secondary 18s linear infinite;
}

@keyframes home2-wave-primary {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes home2-wave-secondary {
  0% {
    transform: translate3d(-25%, 0, 0);
  }
  100% {
    transform: translate3d(25%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wave-svg,
  .wave-svg.wave-2 {
    animation: none;
  }
}

.home2-footer {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 3rem 1.5rem;
}

.home2-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.home2-footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #38bdf8;
}

.home2-footer-copy {
  margin-top: 0.5rem;
  color: #94a3b8;
}

.home2-footer-links {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.home2-footer-links a {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #cbd5e1;
}

.home2-footer small {
  display: block;
  margin-top: 1rem;
  color: #64748b;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
