/* PersonaFlow landing — a single hero over a drifting pastel gradient.
   Standalone on purpose: the app's grayscale tokens do not apply here. */

:root {
  --ink: #18181b;
  --ink-soft: #52525b;
  --paper: #fbfbfd;
  --accent: #0a0a0a;
  --on-accent: #ffffff;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.55;
  /* Same Inter tuning as the app, so the two read as one product. */
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Backdrop ---------------------------------------------------------------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  /* Kept on the compositor: these are large surfaces to repaint. */
  will-change: transform;
}

.blob--lavender {
  width: 62vmax;
  height: 62vmax;
  top: -22vmax;
  left: -16vmax;
  background: #cfc6ff;
  opacity: 0.55;
  animation: drift-lavender 30s ease-in-out infinite alternate;
}

.blob--sky {
  width: 54vmax;
  height: 54vmax;
  top: 6vmax;
  right: -18vmax;
  background: #bfe0ff;
  opacity: 0.5;
  animation: drift-sky 38s ease-in-out infinite alternate;
}

.blob--peach {
  width: 48vmax;
  height: 48vmax;
  bottom: -20vmax;
  left: 22vmax;
  background: #ffd9c7;
  opacity: 0.5;
  animation: drift-peach 34s ease-in-out infinite alternate;
}

@keyframes drift-lavender {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(14vmax, 10vmax, 0) scale(1.15);
  }
}

@keyframes drift-sky {
  from {
    transform: translate3d(0, 0, 0) scale(1.1);
  }
  to {
    transform: translate3d(-16vmax, 12vmax, 0) scale(0.95);
  }
}

@keyframes drift-peach {
  from {
    transform: translate3d(0, 0, 0) scale(0.95);
  }
  to {
    transform: translate3d(-12vmax, -14vmax, 0) scale(1.2);
  }
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 100dvh;
  padding: 48px 24px calc(48px + env(safe-area-inset-bottom));
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent);
}

.brand__mark::after {
  content: '';
  position: absolute;
  inset: 6px 6px auto auto;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--on-accent);
}

.hero__title {
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(40px, 9vw, 76px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__text {
  max-width: 46ch;
  font-size: clamp(16px, 2.2vw, 19px);
  text-wrap: balance;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 8px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: transform 140ms ease, opacity 140ms ease;
}

.hero__cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.hero__cta:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* The gradient stays, the motion stops. */
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
  }

  .hero__cta {
    transition: none;
  }
}
