:root {
  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rainbow: linear-gradient(90deg, #22d3ee, #34d399, #fbbf24, #fb923c, #fb7185, #a78bfa);
  --brand-1: #6d28d9; /* violet-700 */
  --brand-2: #7c3aed; /* violet-600 */
  --brand-3: #8b5cf6; /* violet-500 */
  --brand-4: #a78bfa; /* violet-400 */
  --text: #0f172a;       /* slate-900 */
  --text-light: #1e293b; /* slate-800 */
  --muted: #475569;      /* slate-600 */
  --muted-light: #64748b;/* slate-500 */
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 8px 24px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 20px 40px rgba(124, 58, 237, 0.15), 0 4px 12px rgba(124, 58, 237, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, #f5f0ff 0%, #ede4ff 45%, #e3d3ff 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a { color: var(--brand-1); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-1);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--brand-1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  padding-top: 56px;
  padding-bottom: 40px;
}
@media (min-width: 860px) {
  .hero { flex-direction: row; text-align: left; padding-top: 88px; padding-bottom: 64px; gap: 56px; }
}
.hero-content { flex: 1; min-width: 0; position: relative; }
.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
}
@media (min-width: 860px) { .eyebrow-row { justify-content: flex-start; } }
.eyebrow-row .eyebrow { margin-bottom: 0; }
.hero-mini-compass {
  position: relative;
  width: 84px;
  height: 84px;
  margin: -28px 0;
  flex-shrink: 0;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.hero-mini-compass .compassStatic,
.hero-mini-compass .compassHandle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-mini-compass .compassStatic {
  filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.22));
}
.hero-mini-compass .compassHandle { animation: spin 42s linear infinite; }
@media (max-width: 859px) { .hero-mini-compass { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-mini-compass, .hero-mini-compass .compassHandle { animation: none; }
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(124, 58, 237, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1.hero-title {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--brand-1);
}
@media (min-width: 860px) { h1.hero-title { font-size: 52px; } }
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 540px;
}
/* Hero visual: phone mockups over a soft compass watermark */
.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 400px;
  min-height: 540px;
  display: grid;
  place-items: center;
}
.phone-float {
  animation: float 7s ease-in-out infinite;
  perspective: 900px;
}
.phone-stack {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.phone {
  background: #0f172a;
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 33px;
}
.phone-front {
  position: relative;
  width: 240px;
  z-index: 2;
  transform: translateZ(36px);
}
.phone-back {
  position: absolute;
  width: 210px;
  right: -44px;
  top: 56px;
  z-index: 1;
  transform: rotate(8deg) translateZ(-24px);
  opacity: 0.9;
}
@media (max-width: 859px) {
  .hero-visual { width: 100%; min-height: 0; margin-top: 8px; }
  .phone-front { width: 210px; }
  .phone-back { display: none; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .phone-float { animation: none; }
}

/* ---------- Buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 860px) { .cta-row { justify-content: flex-start; } }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand-3) 100%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%); }
.btn-ghost {
  background: rgba(124, 58, 237, 0.08);
  color: var(--brand-1);
  border: 1.5px solid rgba(124, 58, 237, 0.22);
}
.btn .icon { width: 18px; height: 18px; }
.hero-note { font-size: 13px; color: var(--muted-light); margin: 14px 0 0; }

/* ---------- Features ---------- */
.section { padding-top: 48px; padding-bottom: 48px; }
.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-1);
  margin: 0 0 8px;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }
.feature {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .icon-badge {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  color: var(--brand-2);
}
.feature .icon-badge svg { width: 26px; height: 26px; }
.feature h3 { margin: 16px 0 6px; font-size: 18px; color: var(--text); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Screenshots gallery ---------- */
.shots-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.25) transparent;
}
.shot {
  flex: 0 0 250px;
  scroll-snap-align: start;
  margin: 0;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.shot figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  background: var(--white);
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.shot figcaption strong {
  display: block;
  color: var(--text);
  font-size: 14.5px;
  margin-bottom: 2px;
}
.shots-hint {
  text-align: center;
  font-size: 13px;
  color: var(--muted-light);
  margin: 0;
}

/* ---------- Disclaimer band ---------- */
.band {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid rgba(124, 58, 237, 0.12);
  margin-top: 32px;
  padding: 32px 0 48px;
  color: var(--muted-light);
  font-size: 14px;
}
.footer-inner { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
@media (min-width: 720px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand-1); }
.attribution { font-size: 12px; color: var(--muted-light); }

/* ---------- Legal pages ---------- */
.legal {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px 28px;
  margin: 40px auto;
  max-width: 820px;
}
@media (min-width: 720px) { .legal { padding: 56px 56px; } }
.legal h1 { color: var(--brand-1); font-size: 32px; letter-spacing: -0.02em; margin: 0 0 4px; }
.legal .effective { color: var(--muted-light); font-size: 14px; margin: 0 0 28px; }
.legal h2 { color: var(--text); font-size: 20px; margin: 32px 0 8px; }
.legal p { color: var(--text-light); margin: 0 0 14px; }
.legal a { color: var(--brand-2); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; text-decoration: none; }

/* ---------- Hero shell: aurora blobs ---------- */
.hero-shell { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: drift 24s ease-in-out infinite alternate;
}
.blob-a {
  width: 480px; height: 480px;
  left: -140px; top: -120px;
  background: radial-gradient(circle at 30% 30%, #c4b5fd, transparent 70%);
}
.blob-b {
  width: 420px; height: 420px;
  right: -120px; top: 40px;
  background: radial-gradient(circle at 60% 40%, #99f6e4, transparent 70%);
  animation-duration: 30s;
  animation-delay: -8s;
}
.blob-c {
  width: 380px; height: 380px;
  left: 32%; bottom: -180px;
  background: radial-gradient(circle at 50% 50%, #fbcfe8, transparent 70%);
  animation-duration: 27s;
  animation-delay: -16s;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

/* ---------- Rainbow accent rules ---------- */
.rainbow-rule {
  height: 5px;
  border-radius: 999px;
  background: var(--rainbow);
}
.hero-rule { width: 140px; margin: 0 auto 18px; }
@media (min-width: 860px) { .hero-rule { margin: 0 0 18px; } }
.section-rule { width: 76px; margin: 0 auto 14px; }

/* ---------- Waitlist form ---------- */
.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
}
@media (min-width: 860px) { .hero-content .waitlist { justify-content: flex-start; margin: 0; } }
.waitlist input {
  flex: 1 1 220px;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(124, 58, 237, 0.25);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.waitlist input::placeholder { color: var(--muted-light); }
.waitlist input:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}
.waitlist button { border: 0; cursor: pointer; }
.waitlist button:disabled { opacity: 0.7; cursor: default; transform: none; }
.waitlist-msg {
  font-size: 14.5px;
  font-weight: 600;
  color: #047857;
  margin: 12px 0 0;
}
.waitlist-msg.is-error { color: #b91c1c; font-weight: 500; }
.waitlist-msg a { color: inherit; }
.waitlist-center { justify-content: center; }
.hero-note { font-size: 13px; color: var(--muted-light); margin: 14px 0 0; }
.hero-note a { color: var(--muted-light); }
.hero-scroll { margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 44px 24px 40px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-1);
  margin: 0 0 10px;
}
.cta-band p { color: var(--muted); margin: 0 0 22px; }

/* ---------- Scroll reveals ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Screenshot strip: fades, arrows, hover ---------- */
.shots-wrap { position: relative; }
.shots-wrap::before,
.shots-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 28px;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}
.shots-wrap::before { left: -4px; background: linear-gradient(90deg, rgba(233, 220, 255, 0.85), rgba(233, 220, 255, 0)); }
.shots-wrap::after { right: -4px; background: linear-gradient(270deg, rgba(233, 220, 255, 0.85), rgba(233, 220, 255, 0)); }
.shots-strip { scrollbar-width: none; }
.shots-strip::-webkit-scrollbar { display: none; }
.shot img { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.shot:hover img { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.strip-nav {
  display: none;
  position: absolute;
  top: 38%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-1);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, background 0.15s ease;
}
.strip-nav:hover { background: var(--white); transform: scale(1.06); }
.strip-prev { left: -10px; }
.strip-next { right: -10px; }
@media (min-width: 860px) { .strip-nav { display: block; } }

/* ---------- Small-screen header ---------- */
.brand { white-space: nowrap; }
@media (max-width: 480px) {
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
}

/* ---------- Anthem toggle ---------- */
.anthem-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--brand-1);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.anthem-toggle:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.anthem-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 15px;
}
.anthem-bars i {
  width: 3.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  height: 8px;
  transform-origin: bottom;
}
.anthem-bars i:nth-child(2) { height: 14px; }
.anthem-bars i:nth-child(3) { height: 10px; }
.anthem-toggle.is-playing .anthem-bars i { animation: eq 0.8s ease-in-out infinite alternate; }
.anthem-toggle.is-playing .anthem-bars i:nth-child(2) { animation-delay: 0.25s; }
.anthem-toggle.is-playing .anthem-bars i:nth-child(3) { animation-delay: 0.5s; }
@keyframes eq {
  from { transform: scaleY(0.4); }
  to { transform: scaleY(1.35); }
}
@media (prefers-reduced-motion: reduce) {
  .anthem-toggle.is-playing .anthem-bars i { animation: none; }
}

/* ---------- Anthem callout bubble ---------- */
.anthem-callout {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 40;
  padding: 11px 16px;
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: var(--white);
  color: var(--brand-1);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
}
.anthem-callout::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 30px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-right: 1px solid rgba(124, 58, 237, 0.2);
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  transform: rotate(45deg);
}
.anthem-callout.is-visible {
  animation:
    callout-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.35) forwards,
    callout-bob 2.6s ease-in-out 0.7s infinite;
}
@keyframes callout-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes callout-bob {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .anthem-callout.is-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
