:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #1d4ed8;
  --accent: #d4a017;
}
body.dark {
  color-scheme: dark;
  --bg: #020617;
  --surface: #0f172a;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --primary: #60a5fa;
  --accent: #fbbf24;
}
body {
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}
body, html {
  scroll-behavior: smooth;
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.66) 0%, rgba(2, 6, 23, 0.28) 100%);
}
.card-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}
.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.faq-item.active .faq-answer {
  max-height: 180px;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.lightbox {
  display: none;
}
.lightbox.open {
  display: flex;
}
.back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus {
  left: 0;
}
