:root {
  --bg: #0a090f;
  --glow: #3b1d8f;
  --ink: #151510;
  --paper: #fbf8ef;
  --muted: #8a8694;
  --line: #2a2733;
  --field: #16141c;
  --coral: #ff5738;
  --lime: #d9ff58;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--paper);
  background: var(--bg);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(70vw, 28rem);
  height: min(70vw, 28rem);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 55%, transparent) 0%, transparent 68%);
  pointer-events: none;
  animation: glow-breathe 6s ease-in-out infinite;
}

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
}

.logo {
  width: clamp(6.5rem, 22vw, 8.5rem);
  height: auto;
  border-radius: 1.35rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  animation: logo-float 5.5s ease-in-out infinite;
}

.headline {
  margin: 1.6rem 0 0;
  max-width: 18ch;
  color: var(--lime);
  font-size: clamp(1.45rem, 4.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: min(100%, 20rem);
  margin-top: 1.55rem;
}

.beta-form input[type="email"] {
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--field);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.beta-form input[type="email"]::placeholder {
  color: var(--muted);
}

.beta-form input[type="email"]:focus {
  border-color: color-mix(in srgb, var(--coral) 70%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 22%, transparent);
}

.beta-form button {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 0.85rem;
  background: var(--coral);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.beta-form button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.beta-form button:active {
  transform: translateY(0);
}

.privacy-link {
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.privacy-link:hover {
  color: var(--paper);
}

/* Privacy page */
.privacy-shell {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.25rem 1.35rem 4.5rem;
}

.privacy-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.privacy-top img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
}

.privacy-top a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.privacy-top a:hover {
  color: var(--lime);
}

.privacy-shell .kicker {
  margin: 0;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.privacy-shell h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.85rem, 5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--paper);
}

.privacy-shell .updated {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.privacy-shell hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.6rem 0 0.4rem;
}

.privacy-shell section {
  padding: 1.15rem 0 0;
}

.privacy-shell h2 {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.privacy-shell p {
  margin: 0.45rem 0 0;
  color: color-mix(in srgb, var(--paper) 88%, var(--muted));
  font-size: 0.98rem;
  line-height: 1.55;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  .glow {
    animation: none;
  }
}
