* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

::selection {
  background: transparent;
  color: inherit;
  text-shadow: none;
}

::-moz-selection {
  background: transparent;
  color: inherit;
  text-shadow: none;
}

.selection-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  overflow: hidden;
}

.selection-overlay__mark {
  position: absolute;
  border-radius: 0.28rem;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(48, 150, 98, 0.28) 0%,
    rgba(101, 211, 142, 0.7) 26%,
    rgba(240, 255, 246, 0.95) 50%,
    rgba(101, 211, 142, 0.7) 74%,
    rgba(48, 150, 98, 0.28) 100%
  );
  background-size: var(--selection-span, 100%) 100%;
  background-position: var(--selection-offset, 0) 0;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(245, 255, 250, 0.24),
    0 0 1.75rem rgba(101, 211, 142, 0.28);
}

.selection-overlay__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: selection-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes selection-shimmer {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}

.selection-overlay__mark.is-on-light {
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.05) 0%,
    rgba(17, 17, 17, 0.14) 30%,
    rgba(101, 211, 142, 0.32) 50%,
    rgba(17, 17, 17, 0.14) 70%,
    rgba(17, 17, 17, 0.05) 100%
  );
  background-size: var(--selection-span, 100%) 100%;
  background-position: var(--selection-offset, 0) 0;
  box-shadow: none;
}

.selection-overlay__mark.is-on-light::after {
  opacity: 0.35;
  animation: none;
  background-position: 50% 0;
}

body.jumpscare-active .selection-overlay {
  opacity: 0;
}

body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.045), transparent clamp(14rem, 42vw, 28rem)),
    #080808;
  color: #f7f7f5;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

body.jumpscare-active {
  cursor: auto;
}

.cursor-glow,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.cursor-ready .cursor-glow,
body.cursor-ready .cursor-dot {
  opacity: 1;
}

body.jumpscare-active .cursor-glow,
body.jumpscare-active .cursor-dot {
  opacity: 0;
}

.cursor-glow {
  width: 28rem;
  height: 28rem;
  margin: -14rem 0 0 -14rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.04) 28%,
    rgba(101, 211, 142, 0.03) 45%,
    transparent 70%
  );
  filter: blur(2px);
  will-change: transform;
  transform: translate3d(var(--glow-x, 0px), var(--glow-y, 0px), 0);
}

.cursor-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin: -0.25rem 0 0 -0.25rem;
  border-radius: 50%;
  background: #f7f7f5;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 0 1rem rgba(255, 255, 255, 0.35),
    0 0 2.5rem rgba(101, 211, 142, 0.2);
  will-change: transform;
  --dot-scale: 1;
  transform: translate3d(var(--cursor-x, 0px), var(--cursor-y, 0px), 0) scale(var(--dot-scale));
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

body.cursor-hover .cursor-dot {
  --dot-scale: 2.2;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 1.5rem rgba(255, 255, 255, 0.5),
    0 0 3rem rgba(101, 211, 142, 0.35);
}

@media (hover: none), (pointer: coarse) {
  body {
    cursor: auto;
  }

  .cursor-glow,
  .cursor-dot {
    display: none;
  }
}

.container {
  text-align: center;
  width: min(100%, 34rem);
  padding: clamp(1rem, 4vw, 2rem);
  animation: reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #777;
  font-size: clamp(0.58rem, 2.8vw, 0.68rem);
  font-weight: 600;
  letter-spacing: clamp(0.12em, 1.8vw, 0.18em);
  text-transform: uppercase;
  margin-bottom: clamp(0.8rem, 3vw, 1.4rem);
  max-width: 100%;
}

.eyebrow::before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #65d38e;
  box-shadow: 0 0 0.8rem rgba(101, 211, 142, 0.65);
}

h1 {
  font-size: clamp(2.75rem, 11vw, 5.25rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.95;
  margin-bottom: clamp(0.8rem, 3vw, 1.4rem);
  overflow-wrap: anywhere;
}

h1 span {
  color: #777;
}

.subtitle {
  color: #828282;
  font-size: clamp(0.84rem, 2.8vw, 0.95rem);
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto clamp(1.4rem, 5vw, 2.4rem);
  max-width: 24rem;
  text-wrap: balance;
  padding-inline: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 5vw, 2.5rem);
  width: min(100%, 13.5rem);
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.95rem 1rem 0.95rem 1.25rem;
  border: 1px solid #2b2b2b;
  border-radius: 0.65rem;
  background: #f3f3f0;
  color: #111;
  font: inherit;
  font-size: clamp(0.78rem, 2.6vw, 0.82rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 0.5rem 2.5rem rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 3rem rgba(0, 0, 0, 0.45);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.arrow {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #deded9;
  font-size: 0.85rem;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jumpscare {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #000;
  overflow: hidden;
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

.jumpscare.hidden {
  display: none;
}

.jumpscare__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.jumpscare video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  animation: shake 0.05s infinite;
}

.jumpscare.flash video {
  animation: shake 0.05s infinite, flash 0.08s infinite;
}

@keyframes shake {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.18); }
  25% { transform: translate3d(-4%, 2.5%, 0) scale(1.22); }
  50% { transform: translate3d(4%, -2.5%, 0) scale(1.18); }
  75% { transform: translate3d(-2.5%, -4%, 0) scale(1.24); }
}

@keyframes flash {
  0%, 100% { filter: invert(0) brightness(2); }
  50% { filter: invert(1) brightness(3) contrast(2); }
}

@media (max-height: 520px) {
  body {
    align-items: flex-start;
  }

  .container {
    padding-block: 0.75rem;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 3.25rem);
    margin-bottom: 0.65rem;
  }

  .subtitle {
    margin-bottom: 1rem;
    line-height: 1.45;
  }
}

@media (max-height: 380px) {
  .container {
    padding-block: 0.5rem;
  }

  .eyebrow {
    margin-bottom: 0.45rem;
  }

  h1 {
    font-size: clamp(1.9rem, 13vw, 2.6rem);
    margin-bottom: 0.45rem;
  }

  .subtitle {
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
  }

  .btn {
    min-height: 2.5rem;
    padding-block: 0.7rem;
  }
}

@media (max-width: 360px) {
  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .selection-overlay__mark::after {
    animation: none;
  }

  .container {
    animation: none;
  }
}
