* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--surface-page);
  overflow: hidden;
  cursor: none;
}

body {
  font-family: var(--font-body);
}

a, a:hover {
  color: var(--accent);
}

.stage {
  position: fixed;
  inset: 0;
  background: var(--surface-page);
  overflow: hidden;
}

#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  mix-blend-mode: screen;
}

.logo-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#logo {
  transition: transform 200ms var(--ease-out);
  will-change: transform;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wordmark);
  color: var(--accent);
  line-height: 1;
  user-select: none;
  margin: 0;
  font-size: clamp(30px, 9vw, 150px);
}

@media (min-width: 640px) {
  #logo {
    font-size: min(150px, 11vw);
  }
}

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(47, 212, 160, 0.6);
  border-radius: var(--radius-pill);
  pointer-events: none;
  will-change: transform;
  opacity: 0;
}

#cursor-ring.is-active {
  opacity: 1;
}

#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--accent);
  border-radius: var(--radius-pill);
  pointer-events: none;
  will-change: transform;
}
