:root {
  --acid: #b7ff00;
  --acid-hot: #dfff52;
  --acid-soft: rgba(183, 255, 0, 0.22);
  --oil: #030501;
  --oil-2: #081006;
  --smoke: rgba(9, 15, 8, 0.76);
  --gold-smoke: #b79b5a;
  --paper: #f7ffe8;
  --muted: #c9d6b7;
  --danger: #ff4c24;
  --line: rgba(183, 255, 0, 0.46);
  --shadow-acid: 0 0 24px rgba(183, 255, 0, 0.55);
  --shadow-deep: 0 28px 80px rgba(0, 0, 0, 0.55);
  --font-display: "Outfit", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-height: 360px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  min-height: 100%;
  background: var(--oil);
}

body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--oil);
  font-family: var(--font-body);
}

a {
  color: inherit;
}

.prelander-shell {
  position: relative;
  height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.site-header {
  position: absolute;
  z-index: 7;
  top: clamp(68px, 1vh, 210px);
  left: clamp(8px, 1.2vw, 18px);
  width: auto;
  height: var(--header-height);
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(183, 255, 0, 0.7));
  pointer-events: none;
}

.backdrop,
.film-grain,
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.backdrop {
  z-index: -4;
  background:
    linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.10) 44%,
        rgba(0, 0, 0, 0.05) 100%
    ),
    radial-gradient(
        circle at 30% 42%,
        rgba(183, 255, 0, 0.08),
        transparent 28rem
    ),
    url("../images/background.png") center / cover no-repeat;
  transform: scale(1.02);
  transform-origin: 54% 50%;
}

.backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 5, 1, 0.12), rgba(3, 5, 1, 0.72)),
    radial-gradient(circle at 52% 48%, transparent 0 12rem, rgba(0, 0, 0, 0.52) 39rem);
}

.film-grain {
  z-index: -3;
  opacity: 0.22;
  background-image:
    repeating-radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(115deg, rgba(183, 255, 0, 0.05) 0 1px, transparent 1px 16px);
  mix-blend-mode: screen;
}

.scanline {
  z-index: 3;
  opacity: 0.32;
  background: linear-gradient(180deg, transparent 0 48%, rgba(183, 255, 0, 0.35) 50%, transparent 54%);
  transform: translateY(-100%);
}

.hero {
  position: relative;
  display: grid;
  height: 100vh;
  padding: clamp(18px, 4vw, 58px) clamp(22px, 5vw, 58px) clamp(14px, 2.4vw, 28px);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  align-content: center;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  width: min(42vw, 520px);
  aspect-ratio: 1;
  right: -12vw;
  top: 7vh;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(183, 255, 0, 0.04), var(--shadow-acid);
  opacity: 0.55;
}

.hero::after {
  width: 44vw;
  height: 12px;
  right: 4vw;
  bottom: 20vh;
  background: repeating-linear-gradient(90deg, var(--acid) 0 22px, transparent 22px 34px);
  transform: rotate(-21deg);
  opacity: 0.82;
  filter: drop-shadow(0 0 16px rgba(183, 255, 0, 0.7));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  align-self: end;
  padding-bottom: clamp(8px, 1.4vh, 18px);
  margin-left: clamp(32px, 3.8vw, 58px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid rgba(183, 255, 0, 0.5);
  color: var(--acid-hot);
  background: rgba(4, 8, 2, 0.65);
  box-shadow: 0 0 0 1px rgba(183, 255, 0, 0.1), 0 0 28px rgba(183, 255, 0, 0.22);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

h1 {
  max-width: 8.8em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.3vw, 5.15rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 10px 46px rgba(0, 0, 0, 0.9), 0 0 22px rgba(183, 255, 0, 0.16);
}

.subcopy {
  max-width: 34rem;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 700;
  line-height: 1.48;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.proof-row span {
  padding: 8px 10px;
  border: 1px solid rgba(183, 255, 0, 0.28);
  color: var(--paper);
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cta-zone {
  position: relative;
  z-index: 5;
  width: min(480px, 100%);
  justify-self: center;
  align-self: start;
  text-align: center;
}

.target-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(78vw, 420px);
  aspect-ratio: 1;
  border: 2px solid rgba(183, 255, 0, 0.38);
  border-radius: 50%;
  transform: translate(-50%, -48%);
  opacity: 0.52;
  pointer-events: none;
}

.target-ring::before,
.target-ring::after {
  position: absolute;
  inset: 16%;
  content: "";
  border: 1px dashed rgba(183, 255, 0, 0.42);
  border-radius: inherit;
}

.target-ring::after {
  inset: 38%;
  border-style: solid;
  box-shadow: 0 0 34px rgba(183, 255, 0, 0.36);
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(580px, 100%);
  aspect-ratio: 900 / 260;
  min-height: 86px;
  padding: clamp(20px, 4.4vw, 36px) clamp(52px, 7vw, 82px) clamp(22px, 4.4vw, 38px);
  overflow: hidden;
  border: 0;
  color: #061000;
  background: transparent;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 1.28rem);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateZ(0);
  filter: drop-shadow(0 20px 42px rgba(183, 255, 0, 0.36)) drop-shadow(0 24px 48px rgba(0, 0, 0, 0.52));
}

.cta-button::before {
  position: absolute;
  z-index: 1;
  inset: 18% auto 22% -30%;
  width: 26%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: skewX(-18deg);
  animation: ctaShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.cta-button::after {
  display: none;
}

.cta-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform: translateZ(0);
}

.cta-button span,
.cta-button svg {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32), 0 8px 18px rgba(93, 130, 0, 0.35);
  transition: transform 180ms ease;
  margin-top: 20px;
}

.cta-button span {
  line-height: 1.08;
}

.cta-button svg {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.cta-button:hover {
  filter: drop-shadow(0 20px 48px rgba(183, 255, 0, 0.5)) drop-shadow(0 26px 54px rgba(0, 0, 0, 0.56)) brightness(1.06);
}

.cta-button:hover span,
.cta-button:hover svg {
  transform: translateY(-2px);
}

.cta-button:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 4px;
}

.ripple {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
}

.trust-copy {
  display: inline-block;
  margin: 13px 0 0;
  padding: 8px 12px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.54);
  border: 1px solid rgba(183, 255, 0, 0.22);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
  font-size: 0.85rem;
  font-weight: 800;
}

.character-stage {
  position: absolute;
  z-index: 4;
  right: clamp(10px, 15vw, 270px);
  bottom: 4px;
  width: clamp(150px, 18vw, 245px);
  /* height: clamp(262px, 31.5vw, 429px); */
  height: clamp(262px, 28.5vw, 294px);
  pointer-events: none;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.74)) drop-shadow(0 0 18px rgba(183, 255, 0, 0.2));
}

.character {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 150ms ease, transform 180ms ease;
}

.character.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gesture-beam {
  position: absolute;
  width: clamp(130px, 18vw, 260px);
  height: 3px;
  left: -92%;
  top: 27%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(183, 255, 0, 0.12), var(--acid), transparent);
  filter: drop-shadow(0 0 12px var(--acid));
  transform: rotate(-7deg);
  transform-origin: right center;
}

.hud-frame {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.hud-frame span {
  display: block;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(183, 255, 0, 0.75);
}

.hud-frame--top {
  top: clamp(18px, 4vw, 50px);
  left: clamp(18px, 4vw, 42px);
  align-items: center;
}

.hud-frame--top span {
  width: 38px;
  height: 6px;
  transform: skewX(-22deg);
}

.hud-frame--bottom {
  right: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 42px);
}

.hud-frame--bottom span {
  width: 9px;
  height: 9px;
}

@media (max-width: 860px) {
  .backdrop {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.78) 100%),
      radial-gradient(circle at 64% 38%, rgba(183, 255, 0, 0.16), transparent 20rem),
      url("../images/background.png") 59% center / cover no-repeat;
  }

  .hero {
    height: 100svh;
    padding: 14px 18px 10px;
    grid-template-rows: auto 1fr auto;
    align-items: start;
  }

  .hero-copy {
    align-self: start;
    padding: 48px 0 0;
    margin-left: 34px;
  }

  h1 {
    max-width: 9.6ch;
    font-size: clamp(2.55rem, 10.8vw, 4.2rem);
    line-height: 0.86;
  }

  .subcopy {
    max-width: 22rem;
    font-size: 0.94rem;
    line-height: 1.34;
  }

  .cta-zone {
    align-self: end;
    margin-bottom: clamp(84px, 15vh, 126px);
    text-align: left;
  }

  .cta-button {
    width: min(100%, calc(100% - 106px));
    min-height: 78px;
    padding: 20px 42px 22px 28px;
    font-size: 0.94rem;
  }

  .character-stage {
    z-index: 6;
    right: -9px;
    bottom: clamp(18px, 5vh, 48px);
    width: clamp(108px, 31vw, 146px);
    height: clamp(189px, 54.25vw, 256px);
  }

  .gesture-beam {
    left: -118%;
    top: 27%;
    width: 230px;
  }

  .hero::before {
    width: 72vw;
    right: -36vw;
    top: 18vh;
  }

  .hero::after {
    width: 76vw;
    right: -18vw;
    bottom: 24vh;
  }
}

@media (max-width: 430px) {
  .site-header {
    top: 103px;
    left: 3px;
  }

  .eyebrow {
    min-height: 30px;
    margin-bottom: 8px;
    padding: 6px 9px;
    font-size: 0.62rem;
  }

  h1 {
    font-size: clamp(2.28rem, 11.2vw, 3.02rem);
  }

  .subcopy {
    margin-top: 8px;
    font-size: 0.86rem;
  }

  .proof-row {
    gap: 6px;
    margin-top: 10px;
  }

  .proof-row span {
    padding: 7px 8px;
    font-size: 0.61rem;
  }

  .cta-button {
    min-height: 66px;
    padding: 16px 32px 18px 18px;
    font-size: 0.72rem;
    gap: 7px;
  }

  .cta-button svg {
    width: 21px;
    height: 21px;
  }

  .trust-copy {
    max-width: calc(100% - 92px);
    font-size: 0.76rem;
    text-align: center;
  }
}

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

  .scanline,
  .gesture-beam {
    display: none;
  }

  .cta-button::before {
    animation: none;
  }

  .character--idle {
    opacity: 0 !important;
  }

  .character--point {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }
}

@keyframes ctaShine {
  0%,
  48% {
    left: -35%;
  }

  76%,
  100% {
    left: 110%;
  }
}
