body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

table {
  border-collapse: collapse;
}

.glass-panel {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
}

.video-carousel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 32px;
  background: #071d36;
  box-shadow: 0 30px 90px rgba(7, 29, 54, .16);
}

.video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease, transform .8s ease;
  transform: scale(1.03);
}

.video-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.video-slide video,
.video-slide-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-slide-fallback,
.media-fallback {
  background:
    linear-gradient(135deg, rgba(244,183,64,.88), rgba(0,116,168,.58)),
    radial-gradient(circle at top left, rgba(255,255,255,.7), transparent 35%),
    #071d36;
}

.video-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,29,54,.88), rgba(7,29,54,.32), rgba(7,29,54,.1));
}

.video-slide-copy {
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 5vw, 4rem);
  bottom: clamp(1.5rem, 7vw, 4rem);
  max-width: 620px;
  color: white;
}

.video-slide-copy h2 {
  margin-top: .7rem;
  font-size: clamp(2.4rem, 7vw, 5.7rem);
  line-height: .95;
  font-weight: 900;
}

.video-slide-copy p {
  margin-top: 1rem;
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 700;
  color: #dceefa;
}

.video-dots {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  gap: .5rem;
}

.video-dots button {
  width: .75rem;
  height: .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
}

.video-dots button.is-active {
  width: 2rem;
  background: #f4b740;
}

.app-sidebar {
  box-shadow: 28px 0 70px rgba(7, 29, 54, .22);
}

.app-sidebar.is-open {
  transform: translateX(0);
}

.mobile-drawer-backdrop.is-open {
  display: block;
}

.mobile-menu-button {
  animation: drawerPulse 2.4s ease-in-out infinite;
}

.login-voice-toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 80;
  max-width: 320px;
  border-radius: 24px;
  background: #071d36;
  color: white;
  padding: 1rem 1.15rem;
  box-shadow: 0 24px 80px rgba(7, 29, 54, .28);
  animation: accessToast 4.8s ease forwards;
}

@keyframes drawerPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 16px 30px rgba(7, 29, 54, .2);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(7, 29, 54, .28);
  }
}

@keyframes accessToast {
  0% {
    opacity: 0;
    transform: translateY(-18px) scale(.96);
  }
  12%, 78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(.98);
    pointer-events: none;
  }
}

@media (max-width: 1023px) {
  body.has-mobile-sidebar {
    overflow: hidden;
  }

  .app-sidebar nav {
    padding-bottom: 7rem;
  }
}

@media (max-width: 640px) {
  .video-carousel {
    min-height: 430px;
    border-radius: 24px;
  }

  .video-slide::after {
    background: linear-gradient(0deg, rgba(7,29,54,.92), rgba(7,29,54,.2));
  }

  .video-slide-copy {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 3.25rem;
  }

  .video-slide-copy p {
    font-size: .9rem;
    line-height: 1.6;
  }
}
