:root {
  color-scheme: light;
  font-family: "Helvetica Neue", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

body {
  background: #b8e0ff;
  color: #1a2030;
  overflow-x: hidden;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  touch-action: pan-y;
}

main {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

section.s2 { color: #2a3540; }
section.s3 { color: #2a3a3a; }
section.s4 { color: #4a2a40; }
section.s5 { color: #4a2a1a; }

h1 {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 24px rgba(255, 255, 255, 0.7);
}

h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 16px rgba(255, 255, 255, 0.7);
}

p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0;
  max-width: 36ch;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.6);
}

.hint {
  margin-top: 2.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

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