/* UmeCave public landing + legal pages */
:root {
  --night: #0B0B1E;
  --night-2: #12122a;
  --ink: #f4f0ff;
  --muted: rgba(244, 240, 255, 0.62);
  --line: rgba(255, 255, 255, 0.1);
  --purple: #8b5cf6;
  --purple-deep: #5b2d91;
  --pink: #e94e77;
  --peach: #ffb4a2;
  --mint: #3ddc97;
  --max: 1080px;
  --font-display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(139, 92, 246, 0.28), transparent 55%),
    radial-gradient(900px 520px at 100% 8%, rgba(233, 78, 119, 0.18), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(91, 45, 145, 0.22), transparent 55%),
    linear-gradient(180deg, #0b0b1e 0%, #0f0f24 45%, #0b0b1e 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Header ─────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(11, 11, 30, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-lockup img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-lockup span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.28);
}

/* ── Hero ───────────────────────────────────────── */

.hero {
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(91, 45, 145, 0.35), transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 22px 64px;
  text-align: center;
}

.hero-logo {
  width: min(280px, 72vw);
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 20px 50px rgba(91, 45, 145, 0.45));
  animation: float-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  animation: float-in 0.9s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-tag {
  margin: 14px 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--peach);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  animation: float-in 0.9s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-lead {
  max-width: 36ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  animation: float-in 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
  animation: float-in 0.9s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 18px 44px rgba(233, 78, 119, 0.28);
}

.btn-store {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--ink);
  min-width: 168px;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-store small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.65;
  line-height: 1.1;
  text-align: left;
}

.btn-store .store-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.btn-store strong {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ── Sections ───────────────────────────────────── */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px;
}

.section-head {
  max-width: 32rem;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple);
  opacity: 0.9;
}

.feature-row h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

.get-app {
  text-align: center;
  padding: 56px 22px 72px;
  background:
    linear-gradient(180deg, transparent, rgba(91, 45, 145, 0.18), transparent);
}

.get-app h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.get-app > p {
  margin: 12px auto 28px;
  color: var(--muted);
  max-width: 36ch;
}

/* ── Legal pages ────────────────────────────────── */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 22px 80px;
}

.legal-page .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peach);
  font-weight: 600;
  margin-bottom: 10px;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.legal-updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-page h2 {
  margin: 32px 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: rgba(244, 240, 255, 0.78);
}

.legal-page ul {
  padding-left: 1.2rem;
  margin: 0 0 12px;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.support-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.support-item strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.support-item span,
.support-item a {
  color: var(--muted);
  text-decoration: none;
}

.support-item a:hover {
  color: var(--ink);
}

/* ── Footer ─────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 22px 48px;
  margin-top: 24px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 260px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 240, 255, 0.45);
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-copy {
  width: 100%;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: rgba(244, 240, 255, 0.4);
  font-size: 0.82rem;
}

/* ── Motion ─────────────────────────────────────── */

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 640px) {
  .nav-links .hide-sm {
    display: none;
  }

  .btn-store {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .cta-row .btn-primary {
    width: 100%;
  }
}
