:root {
  color-scheme: dark;
  background: #07162f;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #07162f;
}

a,
button,
select,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid #11b9ed;
  outline-offset: 3px;
}

.grid-bg {
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-glow {
  background: linear-gradient(180deg, #07162f 0%, #091c3b 55%, #07162f 100%);
}

.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.hero-glow::before {
  background: radial-gradient(ellipse at 24% 36%, rgba(0, 184, 239, .24), transparent 39%), radial-gradient(ellipse at 78% 45%, rgba(62, 93, 255, .19), transparent 37%);
  filter: blur(16px);
  animation: aurora-drift 16s ease-in-out infinite alternate;
}

.hero-glow::after {
  background-image: radial-gradient(circle, rgba(125, 214, 255, .75) 1px, transparent 1.5px), radial-gradient(circle, rgba(76, 144, 255, .45) 1px, transparent 1.5px);
  background-size: 110px 110px, 170px 170px;
  background-position: 4px 9px, 54px 42px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  opacity: .22;
  animation: stars-drift 34s linear infinite;
}

@keyframes aurora-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.08); }
}

@keyframes stars-drift {
  to { background-position: 114px 119px, -116px 212px; }
}

.glass {
  background: rgba(7, 22, 47, .8);
  backdrop-filter: blur(14px);
}

.brand-crop {
  display: block;
  width: 220px;
  flex: 0 0 auto;
}

.brand-crop img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-brand {
  width: 200px;
}

.card-hover {
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 185, 237, .4);
  background-color: #10284d;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
}

.footer-links a {
  transition: color .18s ease;
}

.footer-links a:hover {
  color: #11b9ed;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

summary::-webkit-details-marker {
  display: none;
}
