/* Noctave waiting page — tokens from docs/DESIGN.md, self-hosted fonts (docs/ASSETS.md). */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0A0A12;
  --bg-elevated: #12121E;
  --stroke: rgba(255, 255, 255, 0.08);
  --text-primary: #F2F0FA;
  --text-secondary: #A6A3BD;
  --right-hand: #5CE1FF;
  --left-hand: #B28DFF;
  --accent: #FFC46B;
  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 24px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(92, 225, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 70% 60% at 95% 100%, rgba(178, 141, 255, 0.12), transparent 70%),
    var(--bg);
  color: var(--text-primary);
  font-family: var(--font-ui);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Falling notes in the background */
.keyfall {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.note {
  position: absolute;
  top: 0;
  left: var(--x);
  width: 14px;
  height: var(--h);
  border-radius: 6px;
  opacity: 0.55;
  transform: translateY(-110%);
  animation: fall var(--d) linear var(--delay) infinite;
}

.note.rh {
  background: linear-gradient(to bottom, rgba(92, 225, 255, 0.5), #B8F1FF);
  box-shadow: 0 0 14px rgba(92, 225, 255, 0.35);
}

.note.lh {
  background: linear-gradient(to bottom, rgba(178, 141, 255, 0.5), #DCCBFF);
  box-shadow: 0 0 14px rgba(178, 141, 255, 0.35);
}

@keyframes fall {
  from { transform: translateY(-110%); }
  to   { transform: translateY(calc(100vh + 10%)); }
}

.impact-line {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 72px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 196, 107, 0.5), transparent);
  box-shadow: 0 0 12px rgba(255, 196, 107, 0.4);
  z-index: 0;
}

/* Content */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px var(--gutter);
}

.title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(40px, 10vw, 96px);
  letter-spacing: 0.06em;
  text-shadow: 0 0 32px rgba(92, 225, 255, 0.18);
}

.hands-line {
  width: 160px;
  height: 2px;
  margin: 16px 0 24px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--left-hand), var(--right-hand));
  box-shadow: 0 0 12px rgba(92, 225, 255, 0.35);
}

.tagline {
  max-width: 560px;
  margin: 0 0 40px;
  font-size: 20px;
  color: var(--text-secondary);
}

.pill {
  margin: 0;
  padding: 12px 20px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--accent);
  font-size: 14px;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 16px var(--gutter) 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
}

.footer p {
  margin: 0;
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  .tagline {
    font-size: 16px;
  }

  .note {
    width: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .note {
    animation: none;
    transform: translateY(30vh);
    opacity: 0.25;
  }
}
