:root {
  --purple: #6A2CF5;
  --purple-deep: #3A0FA0;
  --lavender: #F2ECFF;
  --coral: #E0457B;
  --ink: #16131F;
  --paper: #FAF9FC;
  --muted: #8B8399;
  --line: #E4DEF5;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: inherit; }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}

.brand img { height: 34px; width: 34px; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

.site-header nav a:hover,
.site-header nav a.active { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 20px -8px rgba(22, 19, 31, 0.4);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
}

/* ---------- Spine motif (signature element) ---------- */
.spine {
  position: relative;
  padding-left: 20px;
}
.spine::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--purple), var(--coral));
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
  display: inline-block;
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 70px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.06;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--purple), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 460px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.store-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .glow {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(106,44,245,0.28), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 280px;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

/* ---------- Sections ---------- */
section { padding: 70px 0; }

.section-head {
  max-width: 560px;
  margin-bottom: 46px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.feature-card.in-view { opacity: 1; transform: translateY(0); }

.feature-card svg { width: 26px; height: 26px; color: var(--purple); }

.feature-card h3 {
  font-size: 16.5px;
  margin-top: 16px;
}

.feature-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* Steps (real sequence) */
.steps {
  background: var(--ink);
  color: white;
  border-radius: 28px;
  padding: 56px;
}

.steps .section-head h2 { color: white; }
.steps .section-head p { color: rgba(255,255,255,0.6); }

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}

.step {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
}

.step .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  color: var(--coral);
  font-weight: 700;
}

.step h3 { margin-top: 10px; font-size: 17px; }
.step p { margin-top: 8px; color: rgba(255,255,255,0.6); font-size: 14px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--purple), var(--purple-deep));
  border-radius: 28px;
  padding: 56px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: 28px; max-width: 420px; }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,0.75); max-width: 420px; }

.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cta-band .btn-primary { background: white; color: var(--ink); box-shadow: none; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.4); color: white; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-family: "Space Grotesk", sans-serif; }
.footer-brand img { height: 28px; }

.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.footer-col a { display: block; text-decoration: none; color: var(--ink); font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--purple); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.legal .eyebrow { margin-bottom: 8px; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 40px; }
.legal h2 { font-size: 19px; margin-top: 38px; margin-bottom: 10px; }
.legal p { color: #3A3548; margin: 0 0 14px; }
.legal a.inline { color: var(--purple); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { width: 200px; }
  .features { grid-template-columns: 1fr 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .steps, .cta-band { padding: 34px; border-radius: 22px; }
  .site-header nav { display: none; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img { animation: none; }
  .store-badge .dot { animation: none; }
  .feature-card { transition: none; opacity: 1; transform: none; }
}
