:root {
  --bg: #1a171f;
  --bg-elevated: #29242f;
  --text: #f5f0fa;
  --text-muted: #b3a8c2;
  --accent: #8b63ef;
  --accent-soft: rgba(139, 99, 239, 0.22);
  --line: rgba(245, 240, 250, 0.1);
  --radius: 18px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(139, 99, 239, 0.28), transparent 55%),
    radial-gradient(700px 480px at -10% 90%, rgba(88, 60, 170, 0.2), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #a889f5;
}

.wrap {
  width: min(920px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0.5rem;
  animation: rise 0.7s ease both;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.1rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  animation: rise 0.8s 0.08s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 1rem;
  background: linear-gradient(120deg, #fff 20%, #c4a8ff 70%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #9b76f3;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: rgba(245, 240, 250, 0.28);
  color: var(--text);
}

.section {
  padding: 1.5rem 0 3rem;
  animation: rise 0.8s 0.16s ease both;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(139, 99, 239, 0.12), rgba(41, 36, 47, 0.65));
  border: 1px solid var(--line);
  color: var(--text-muted);
}

.feature-list strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

/* Privacy page */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.04em;
  margin: 2.5rem 0 0.75rem;
  animation: rise 0.7s ease both;
}

.lead {
  color: var(--text-muted);
  margin: 0 0 2rem;
  animation: rise 0.7s 0.05s ease both;
}

.prose {
  max-width: 40rem;
  animation: rise 0.75s 0.1s ease both;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.02em;
}

.prose p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.contact-form {
  max-width: 28rem;
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: rise 0.75s 0.1s ease both;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(41, 36, 47, 0.72);
  color: var(--text);
  font: inherit;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(179, 168, 194, 0.7);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(139, 99, 239, 0.7);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form .btn {
  justify-self: start;
  cursor: pointer;
  border: none;
}

.contact-form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-note {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-note.is-success {
  color: #7dcea0;
}

.form-note.is-error {
  color: #e88a8f;
}

.donate-block {
  margin-bottom: 3rem;
}

.donate-actions {
  margin: 1.5rem 0 0.5rem;
}

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

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