:root {
  --ink: #0a0a0a;
  --blood: #e4161b;
  --gold: #f2c94c;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero-bg {
  background-image: url('/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
  filter: saturate(1.05);
}

.hero-vignette {
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.85) 100%);
}

.success-bg {
  background-image:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.95)),
    url('/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.success-vignette {
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .chevron-bounce {
    animation: none !important;
  }
}

.chevron-bounce {
  animation: chevron-bounce 2s ease-in-out infinite;
}

@keyframes chevron-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

.cta-button {
  letter-spacing: 0.18em;
}

.cta-button:hover {
  transform: scale(1.02);
}

.cta-button:active {
  transform: scale(0.99);
}

.cta-button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 3px;
}

input[type="email"] {
  border-radius: 0;
}

input[type="email"]:invalid:not(:placeholder-shown) {
  border-color: var(--blood);
}

::selection {
  background: var(--blood);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  h1 {
    line-height: 1;
  }
}
