:root {
  color-scheme: dark;
  color: #f7f7f7;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #090909;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: url('bg.jpg') center / cover fixed no-repeat;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(17,17,17,0.7) 0%, rgba(12,12,12,0.7) 35%, rgba(16,16,16,0.7) 100%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.05), transparent 12%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.04), transparent 15%);
  background-size: 100% 100%, 100% 100%, 12% 12%, 18% 18%;
  opacity: 0.55;
  filter: contrast(1.1) brightness(0.9);
  animation: staticNoise 0.18s steps(2, end) infinite;
}

@keyframes staticNoise {
  0% { transform: translate(0, 0); opacity: 0.58; }
  25% { transform: translate(-1.15%, 0.75%); opacity: 0.62; }
  50% { transform: translate(1.25%, -0.8%); opacity: 0.54; }
  75% { transform: translate(-0.7%, 1.05%); opacity: 0.6; }
  100% { transform: translate(0, 0); opacity: 0.58; }
}

.page-shell {
  width: min(1040px, calc(100vw - 2rem));
  padding: 2rem 0 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.headline {
  max-width: 720px;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.headline h1 {
  margin: 0;
  font-size: clamp(2.75rem, 4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.headline p {
  margin: 0;
  color: #d8d8d8;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 40rem;
}

.logo-frame {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2.25rem;
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.logo-frame::before {
  content: '';
  position: absolute;
  max-width: 90%;
  margin: auto;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(90deg,
    #ffff00 0% 12.5%,
    #00a3db 12.5% 25%,
    #00cc66 25% 37.5%,
    #ed00b3 37.5% 50%,
    #ff0017 50% 62.5%,
    #0017ff 62.5% 75%,
    #111111 75% 87.5%,
    #f5f5f5 87.5% 100%
  );
  background-size: 150% 100%;
  background-repeat: repeat-x;
  animation: smpteScroll 8s linear infinite;
  opacity: 0.5;
  mask-image: url('logo-mask.svg');
  mask-mode: alpha;
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-image: url('logo-mask.svg');
  -webkit-mask-mode: alpha;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}

.logo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.logo-frame img {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  z-index: 2;
}

@keyframes smpteScroll {
  0% { background-position: 0 0; }
  100% { background-position: 300% 0; }
}

.hero-copy {
  display: grid;
  gap: 0.75rem;
  align-items: center;
}

.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.85rem;
  color: #8f8f8f;
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: #090909;
  background: #f4f4f4;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.22);
}

@media (max-width: 560px) {
  .page-shell { padding-top: 1.5rem; }
  .headline h1 { font-size: 2.7rem; }
}
