/* Deep South Dev root landing. One video, one logo, one link. */

:root {
  --navy: #0b2244;
  --navy-lift: #16406f;
  --deep: #071731;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--navy);
  /* Paints before the video decodes, and stands in when motion is reduced. */
  background: var(--deep) url("/video/poster.jpg") center / cover no-repeat;
}

.hero {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(7, 23, 49, 0.4) 0%,
    rgba(7, 23, 49, 0.22) 45%,
    rgba(7, 23, 49, 0.55) 100%
  );
}

.stack {
  width: 100%;
  max-width: 21rem;
  text-align: center;
}

/* The only panel on the page: a small frosted plate the logo sits on, sized to
   the mark rather than to the content below it. */
.brand {
  display: inline-block;
  margin: 0 0 1.75rem;
  padding: 0.5rem 0.8rem;
  border-radius: 16px;
  /* Near-white on purpose. The wordmark's green is only 2.4:1 against pure
     white, so any real transparency here costs legibility it cannot spare. */
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 34px -16px rgba(4, 14, 30, 0.55);
  font-size: 0;
  line-height: 0;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .brand {
    background: rgba(255, 255, 255, 0.95);
  }
}

.logo {
  display: block;
  width: 126px;
  height: auto;
  margin: 0 auto;
}

.demo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(4, 14, 30, 0.7);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.demo:hover,
.demo:focus-visible {
  background: var(--navy-lift);
  transform: translateY(-1px);
}

/* White, not navy: the ring now sits on footage, not on a light card. */
.demo:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.arrow {
  transition: transform 0.2s ease;
}

.demo:hover .arrow {
  transform: translateX(3px);
}

.caption {
  margin: 1rem 0 0;
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  /* Carries its own contrast: the backdrop is moving footage. */
  text-shadow: 0 1px 8px rgba(4, 14, 30, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    display: none;
  }

  .demo,
  .arrow {
    transition: none;
  }

  .demo:hover {
    transform: none;
  }

  .demo:hover .arrow {
    transform: none;
  }
}
