html {
  color-scheme: dark;
  background-color: #090D16;
}

body {
  background-color: #090D16;
  color: rgba(255, 255, 255, 0.90);
}

h1, h2, h3, h4 {
  font-weight: 600;
  text-transform: none;
}

table a,
table td a {
  color: #e0f2fe;
}

/* Monochrome black glass cards */
.glass-card {
  background-color: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.40);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}

@supports not ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .glass-card {
    background-color: #0F172A;
  }
  header {
    background-color: #0F172A !important;
  }
}

/* Reusable pure-CSS section background patterns */
.bg-grid,
.bg-dots,
.bg-glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.bg-dots::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(60% 50% at 20% 0%, rgba(198, 255, 0, 0.10), transparent),
    radial-gradient(50% 40% at 85% 10%, rgba(59, 130, 246, 0.12), transparent);
}

@keyframes heroGlowDrift {
  0%, 100% {
    opacity: 0.85;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, 12px, 0) scale(1.03);
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero-glow-animate.bg-glow::after {
    animation: heroGlowDrift 24s ease-in-out infinite;
  }
}

/* Dark-surface logo tiles */
.logo-tile {
  width: 140px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
}

.logo-tile img {
  max-height: 36px;
  width: auto;
  max-width: 116px;
  object-fit: contain;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  opacity: 0.6;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-tile:hover img {
  opacity: 1;
  filter: grayscale(1) invert(1) brightness(1.25);
}

/* Visible focus rings */
:focus-visible {
  outline: 2px solid #C6FF00;
  outline-offset: 2px;
}

/* Dark form inputs & selects */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
textarea,
select {
  background-color: #090D16;
  color: rgba(255, 255, 255, 0.90);
  border-color: rgba(255, 255, 255, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.60);
}
