:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-elevated: rgba(20, 24, 33, 0.78);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #a2acbd;
  --accent: #d6def0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.3);
  z-index: -2;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("hero.png") center / cover no-repeat;
  filter: blur(2px) brightness(0.3);
  z-index: -2;
  display: none;
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 30% 0%, rgba(110, 132, 173, 0.22), transparent 38%),
    radial-gradient(circle at 80% 90%, rgba(100, 120, 160, 0.1), transparent 40%);
  z-index: -1;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card {
  width: min(760px, 100%);
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: enter 0.6s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-card {
    animation: none;
  }
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.lead {
  margin: 28px 0 0;
  max-width: 18ch;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  line-height: 1.28;
  color: var(--accent);
}

.supporting-copy {
  margin-top: 26px;
  max-width: 58ch;
}

.supporting-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.links {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.links a {
  color: var(--text);
  text-decoration: none;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.links a:hover,
.links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.links a[target="_blank"]::after {
  content: " \2197";
  font-size: 0.85em;
}

.site-footer {
  margin-top: 48px;
  padding-bottom: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 640px) {
  .bg-video {
    display: none;
  }

  .page-shell::before {
    display: block;
  }

  .page-shell {
    padding: 18px;
  }

  .hero-card {
    border-radius: 22px;
  }

  .lead {
    max-width: 100%;
  }

  .links {
    flex-direction: column;
  }

  .links a {
    width: 100%;
    text-align: center;
  }
}
