html {
  scroll-behavior: smooth;
}

body {
  background-color: #131313;
  color: #e5e2e1;
  font-family: "Inter", sans-serif;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.icon-fill {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.glass-nav {
  background: rgba(19, 19, 19, 0.8);
  backdrop-filter: blur(24px);
}

.glass-panel {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.hero-gradient-red {
  background: linear-gradient(135deg, #e31e24 0%, #8a1b19 100%);
}

.hero-gradient-soft {
  background: linear-gradient(180deg, rgba(227, 30, 36, 0.05) 0%, rgba(19, 19, 19, 0) 100%);
}

.academy-hero-glow {
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.15) 0%, rgba(138, 27, 25, 0.05) 50%, transparent 100%);
}

.service-card {
  background: linear-gradient(145deg, #201f1f, #131313);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  border-color: rgba(227, 30, 36, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(227, 30, 36, 0.2);
}

.animated-bar {
  animation: pulse-bar var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

.toc-link {
  color: #71717a;
  font-weight: 500;
  border-left: 2px solid transparent;
  padding-left: 1rem;
  transition: all 0.2s ease;
}

.toc-link:hover {
  border-left-color: #3f3f46;
  color: #d4d4d8;
}

.toc-link.active {
  color: #ffb4ab;
  font-weight: 700;
  border-left-color: #e31e24;
}

.site-nav-link {
  color: #9ca3af;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav-link:hover {
  color: #ffffff;
}

.site-nav-link.is-active {
  color: #e31e24;
}

.site-nav-link-desktop.is-active {
  border-bottom: 2px solid #e31e24;
  padding-bottom: 0.25rem;
}

.mobile-menu {
  position: fixed;
  top: 64px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: none;
  min-height: calc(100vh - 64px);
  width: 100vw;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  overflow-y: auto;
  background: rgba(19, 19, 19, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem 2.5rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.peer:checked ~ .mobile-menu {
  display: flex;
}

.mobile-menu .site-nav-link {
  width: 100%;
  max-width: 22rem;
  text-align: center;
  line-height: 1.15;
  padding: 0.25rem 0;
}

.page-link-active {
  color: #e31e24;
  border-bottom: 2px solid #e31e24;
  padding-bottom: 0.25rem;
}
