:root {
  --bg: #0e0816;
  --bg-elevated: #160f24;
  --bg-card: #1a1228;
  --primary: #522c92;
  --primary-light: #6b3fa8;
  --accent: #7a55a8;
  --border: #2e1a4f;
  --text: #f3eef8;
  --text-muted: #a895c4;
  --text-dim: #7a6b94;
  --gradient: linear-gradient(135deg, #3d2169 0%, #522c92 45%, #8e3a9e 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(82, 44, 146, 0.28), transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(142, 58, 158, 0.18), transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(61, 33, 105, 0.35), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(82, 44, 146, 0.35);
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.hero-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.75rem;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-inline: auto;
}

.hero .lead {
  margin: 0 auto 2rem;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.store-badge {
  display: block;
  opacity: 0.92;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 1;
  text-decoration: none;
}

.store-badge img {
  height: 52px;
  width: auto;
}

.screens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.phone {
  width: min(100%, 250px);
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 0.75rem 1rem;
  box-shadow: var(--shadow);
}

.phone-screen {
  aspect-ratio: 475 / 1024;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #050308;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.phone figcaption {
  margin-top: 0.85rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.section {
  padding: 1rem 0 4rem;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--gradient);
  font-size: 0.9rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
}

/* Privacy page */
.page-main {
  padding: 2.5rem 0 4rem;
}

.page-main h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

.updated {
  margin: 0 0 2rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.legal {
  max-width: 42rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.legal ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .screens {
    margin-bottom: 3rem;
  }

  .phone {
    width: min(100%, 280px);
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 2.5rem;
  }

  .store-badge img {
    height: 46px;
  }
}
