/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
}

/* ---------- Base ---------- */
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0e0f14;
  color: #e6e6eb;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---------- Ambient Background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(800px 400px at 10% 10%, rgba(91,95,255,0.06), transparent 40%),
    radial-gradient(600px 300px at 90% 20%, rgba(255,255,255,0.04), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Layout ---------- */
main {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 90px auto;
  padding: 0 22px;
  animation: fadeIn 1.2s ease-out;
}

footer {
  margin-top: 4.5rem;
  padding-top: 1.2rem;
  font-size: 0.7rem;
  color: #5f6175;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ---------- Navigation ---------- */
nav {
  margin-bottom: 3.5rem;
}

nav a {
  margin-right: 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #9ea0ff;
  opacity: 0.6;
}

nav a:hover {
  opacity: 1;
}

nav a.active {
  opacity: 1;
}

/* ---------- Typography ---------- */
h1 {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.signal {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ea0ff;
  opacity: 0.85;
  margin-bottom: 2.2rem;
}

.lead {
  font-size: 1.35rem;
  color: #cfd1ff;
  opacity: 0.85;
}

p {
  font-size: 1.05rem;
  color: #d6d6dc;
  margin-top: 1.5rem;
}

.quiet {
  margin-top: 3.8rem;
  font-size: 0.85rem;
  color: #8a8a94;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Cursor ---------- */
.cursor {
  margin-left: 2px;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* ---------- Motion ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Selection ---------- */
::selection {
  background: #5b5fff;
  color: #ffffff;
}
