:root {
  color-scheme: dark;
  --bg: #0c0d12;
  --text: #f2f4f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: radial-gradient(
    circle at top,
    #1b2030 0%,
    var(--bg) 50%,
    #0a0b10 100%
  );
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 84px 24px 220px;
  display: grid;
  gap: 64px;
}

.hero {
  text-align: center;
  display: grid;
  gap: 18px;
  animation: fadeUp 700ms ease-out 0.1s both;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  font-weight: 700;
  margin: 0;
}

.title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(167, 175, 194, 0.78);
}

section {
  display: grid;
  gap: 16px;
}

.spine {
  font-size: 1.2rem;
  font-weight: 600;
  color: #eef2fb;
  line-height: 1.6;
  margin: 0 0 4px 0;
}

.summary {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(207, 214, 230, 0.8);
  margin: 0 0 12px 0;
}

.summary:last-child {
  margin-bottom: 0;
}

.summary-muted {
  color: rgba(207, 214, 230, 0.68);
}

#summary {
  animation: fadeUp 700ms ease-out 0.2s both;
}

.links {
  font-size: 1rem;
  color: rgba(207, 214, 230, 0.92);
  animation: fadeUp 700ms ease-out 0.4s both;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.links a {
  color: rgba(207, 214, 230, 0.92);
  text-decoration: none;
  font-weight: 400;
  transition: opacity 150ms ease;
}

.links a:hover,
.links a:focus-visible {
  text-decoration: underline;
  opacity: 0.75;
}

.links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
  border-radius: 2px;
}

.links span {
  color: rgba(207, 214, 230, 0.4);
  user-select: none;
}

@media (max-width: 640px) {
  .page {
    padding: 72px 20px 72px;
    gap: 36px;
  }

  .links {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
