/* ===== Base ===== */
:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --text: #e8e8ed;
  --text-muted: #8a8a9a;
  --accent: #6c63ff;
  --accent-glow: rgba(108, 99, 255, 0.15);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ===== Home hero ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, var(--accent-glow), transparent);
}

.hero-content {
  animation: fadeUp 0.8s ease both;
}

.logo {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Document pages (privacy, etc.) ===== */
.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.page-header {
  margin-bottom: 2.5rem;
}

.page-header .back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.page-header .back:hover {
  color: var(--accent);
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-header .app-name {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.4rem;
}

.page p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.page-footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}
