:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #0f172a;
}

* {
  box-sizing: border-box;
}

html,
body,
#scene-container,
#canvas-host,
#canvas-host canvas {
  width: 100%;
  height: 100%;
}

html,
body {
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

#scene-container {
  position: relative;
}

#canvas-host {
  position: absolute;
  inset: 0;
}

#canvas-host canvas {
  display: block;
  touch-action: none;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  pointer-events: none;
}

.wordmark {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(15, 23, 42, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1;
}

.measure-label {
  padding: 4px 7px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #4f46e5;
  box-shadow: 0 3px 10px rgba(30, 41, 59, 0.08);
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
  }

  .wordmark {
    top: 25px;
  }
}

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