:root {
  --accent: #10e105;
  --accent-rgb: 16, 225, 5;
  --surface: #000000;
  --text: #e6f1ee;
  --muted: rgba(230, 241, 238, 0.7);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  --dither-color: rgba(255, 255, 255, 0.3);
  --dither-size: 4px;
  --dither-opacity: 0.18;
  --spot-size: 240px;
  --spot-strength: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: "IBM Plex Sans Condensed", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--surface);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--surface);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dither-color) 20%, transparent 22%), var(--noise);
  background-size: var(--dither-size) var(--dither-size), 120px 120px;
  mix-blend-mode: screen;
  opacity: var(--dither-opacity);
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}


a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 64px);
  position: relative;
  z-index: 2;
}

.brand img {
  width: 128px;
  height: 32px;
}

.social-nav {
  display: flex;
  gap: 16px;
}

.social-nav a {
  width: 28px;
  height: 28px;
  color: var(--text);
  opacity: 0.8;
  transition: opacity 150ms ease;
}

.social-nav a:hover,
.social-nav a:focus-visible {
  opacity: 1;
  background-color: rgba(47, 57, 52, 0.07);
  outline-offset: 4px;
  border-radius: 6px;
}

.social-nav img {
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(0) invert(1);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 80px);
  padding: clamp(32px, 10vw, 80px);
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, 0vw, 86px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  filter: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 600ms ease-out;
  isolation: isolate;
  z-index: -10;
  pointer-events: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: radial-gradient(circle at 10% 0%, rgba(11, 15, 14, 0.1) 0%, rgba(11, 15, 14, 0.7) 60%, rgba(11, 15, 14, 0.95) 100%); */
  z-index: 1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: radial-gradient(
      circle var(--spot-size) at var(--spot-x, 50%) var(--spot-y, 40%),
      rgba(var(--accent-rgb), var(--spot-strength, 0)) 0%,
      rgba(var(--accent-rgb), calc(var(--spot-strength, 0) * 0.9)) 45%,
      rgba(var(--accent-rgb), 0) 100%
    ),
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.45), rgba(0, 0, 0, 0.35)); */
  mix-blend-mode: darken;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  transition: opacity 200ms ease;
}

.spotlight-trails {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: darken;
  filter: saturate(180%);
}

.spotlight-dot {
  position: absolute;
  width: calc(var(--spot-size) * 0.9);
  height: calc(var(--spot-size) * 0.9);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.8) 0%, rgba(var(--accent-rgb), 0) 80%);
  transform: translate(-50%, -50%);
  opacity: 0.85;
  animation: spotlightTrail 1.8s ease-out forwards;
}

@keyframes spotlightTrail {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  text-align: center;
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

h1 {
 font-family: "EB Garamond", "Times New Roman", serif;
  font-size: clamp(40px, 8vw, 80px);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 500;
}

.lede {
 font-size: 1.625rem;
  font-weight: 200;
  margin: 24px auto 32px;
  color: #ffffff;
  max-width: 520px;
}

.waitlist {
  width: min(420px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

input {
  display: flex;
  flex-direction: column;
}

input[type="email"] {
  height: 52px;
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(230, 241, 238, 0.35);
  border-bottom: none;
  background-color: rgba(11, 15, 14, 0.85);
  color: var(--text);
  padding: 0 16px;
  font-size: 1rem;
  font-family: inherit;
}

input::placeholder {
  color: rgba(230, 241, 238, 0.6);
}

button {
  height: 56px;
  border-radius: 0 0 4px 4px;
  border: 1px solid var(--accent);
  border-top: none;
  background-color: var(--accent);
  color: var(--surface);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(16, 225, 5, 0.25);
}

button:focus-visible {
  outline: 2px solid var(--surface);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(16, 225, 5, 0.4);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 600px) {
  .site-header {
    padding: 20px;
  }

  .social-nav {
    gap: 12px;
  }

  .launchlist-widget form {
    flex-direction: column;
  }

  .launchlist-widget button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-media {
    transition: none;
    transform: translate3d(0, 0, 0) !important;
  }

  body::before {
    opacity: 0;
  }
}
