:root {
  --bg: #14141C;
  --bg-soft: #1C1C28;
  --bg-elev: #20202E;
  --fg: #ECEAF2;
  --fg-dim: #9C98AE;
  --fg-faint: #6B6781;
  --accent: #A78BFA;
  --accent-soft: #8B6FE0;
  --accent-glow: rgba(167, 139, 250, 0.18);
  --border: #2A2840;
  --radius: 14px;
  --maxw: 960px;
  --maxw-prose: 720px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.01em;
  font-size: 15px;
}
.brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: block;
}
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--fg-dim); font-size: 14px; font-weight: 500; }
.nav nav a:hover { color: var(--fg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 85%;
  background:
    radial-gradient(60% 80% at 50% 0%, var(--accent-glow), transparent 70%),
    radial-gradient(40% 60% at 20% 25%, rgba(167, 139, 250, 0.08), transparent 75%),
    radial-gradient(40% 60% at 82% 30%, rgba(124, 100, 220, 0.10), transparent 75%);
  z-index: 0;
  pointer-events: none;
  animation: glowDrift 11s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: 88px 24px 96px;
  text-align: center;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(36px, 6.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  animation: fadeUp 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both;
}
.accent {
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
}
.lede {
  max-width: 560px; margin: 0 auto 36px;
  color: var(--fg-dim);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  animation: fadeUp 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
.cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
  animation: fadeUp 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both;
}

/* Store badges. Pill-shaped, two-line label. */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 18px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--fg);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color .2s ease,
    background-color .2s ease,
    transform .15s ease,
    box-shadow .2s ease;
}
.store-btn:hover {
  border-color: var(--accent);
  background: var(--bg-elev);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.store-btn:active { transform: translateY(1px); }
.store-icon { width: 26px; height: 26px; flex-shrink: 0; display: block; }
.store-text {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 3px;
  text-align: left;
}
.store-line-small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  line-height: 1;
}
.store-line-large {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--fg);
}
.store-btn-disabled {
  cursor: not-allowed;
  opacity: 0.5;
  background: var(--bg-soft);
  font: inherit;
}
.store-btn-disabled:hover {
  border-color: var(--border);
  background: var(--bg-soft);
  box-shadow: none;
}
.store-btn-disabled:active { transform: none; }

.micro {
  color: var(--fg-faint); font-size: 13px; margin: 0;
  font-weight: 500;
  animation: fadeUp 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
}

/* Section wrappers */
section.steps, section.why, section.platforms {
  max-width: var(--maxw); margin: 0 auto;
  padding: 84px 24px;
}
section.why { padding-top: 96px; padding-bottom: 96px; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.85;
}
h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 36px;
  color: var(--fg);
}

/* Steps */
.steps ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 36px;
  max-width: var(--maxw-prose);
}
.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 24px;
  align-items: baseline;
}
.steps .num {
  font-feature-settings: "tnum";
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.steps h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.steps p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 52ch;
}

@media (max-width: 540px) {
  .steps li {
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
  }
  .steps .num { font-size: 28px; }
}

/* Why */
.why { text-align: center; }
.why-inner {
  max-width: 640px; margin: 0 auto;
}
.why .eyebrow { justify-content: center; }
.why h2 {
  margin-bottom: 20px;
}
.why p {
  margin: 0 auto;
  color: var(--fg-dim);
  font-size: 17px;
  line-height: 1.7;
}

/* Platforms */
.platforms { text-align: center; position: relative; }
.platforms::before {
  content: "";
  display: block;
  width: 80px; height: 2px;
  background: var(--border);
  border-radius: 1px;
  margin: 0 auto 64px;
}
.platforms-inner {
  max-width: 640px; margin: 0 auto;
}
.platforms .eyebrow { justify-content: center; }
.platforms p.line {
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto 12px;
}
.platforms p.line strong {
  color: var(--fg);
  font-weight: 600;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.foot-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 28px 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--fg-faint); font-size: 14px;
  flex-wrap: wrap; gap: 12px;
}
.foot-inner nav { display: flex; gap: 18px; }
.foot-inner a:hover { color: var(--fg); }

/* Privacy page */
.prose {
  max-width: var(--maxw-prose); margin: 0 auto;
  padding: 72px 24px 96px;
  color: var(--fg);
}
.prose h1 {
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 8px;
}
.prose .updated { color: var(--fg-faint); font-size: 14px; margin: 0 0 32px; }
.prose h2 {
  font-weight: 700;
  font-size: 17px;
  margin: 32px 0 10px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.prose p, .prose li {
  color: var(--fg-dim);
  font-size: 15.5px;
  line-height: 1.65;
}
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--accent-soft); }

/* Motion */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glowDrift {
  0%, 100% { opacity: 0.85; transform: translate3d(0, 0, 0) scale(1); }
  50%      { opacity: 1;    transform: translate3d(0, -10px, 0) scale(1.04); }
}

.brand-icon { transition: transform .3s ease; }
.brand:hover .brand-icon { transform: rotate(-6deg) scale(1.06); }

.steps li {
  transition: transform .35s ease;
}
.steps li:hover .num { color: var(--fg); }
.steps .num { transition: color .25s ease; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform .7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lede, .hero .cta, .hero .micro,
  .hero::before,
  .reveal,
  .brand-icon, .steps li, .steps .num {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
