:root {
  --purple: #5f33e1;
  --purple-deep: #4a22c0;
  --purple-soft: #ede4ff;
  --purple-ink: #2c2544;
  --joy: #ffa04e;
  --joy-deep: #b35a12;
  --gold: #ffcb3d;
  --cream: #fffdf5;
  --canvas: #faf7ff;
  --ink: #3a3550;
  --muted: #7a748c;
  --line: #ece7f7;
  --card: #ffffff;
  --done: #3daa4d;
  --shadow: 0 18px 50px rgba(74, 34, 192, 0.12);
  --radius: 28px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Nunito, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 10% -10%, #ffe8d1 0%, transparent 55%),
    radial-gradient(800px 480px at 110% 8%, #d4c4ff 0%, transparent 50%),
    var(--canvas);
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-deep); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 80; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 245, 0.86);
  border-bottom: 1px solid rgba(95, 51, 225, 0.08);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-name {
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}
.brand-name span:first-child { color: var(--joy); }
.brand-name span:last-child { color: var(--purple); }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
}
.nav a[aria-current="page"] { color: var(--purple); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang {
  display: flex;
  border: 2px solid var(--purple-soft);
  border-radius: 999px;
  overflow: hidden;
}
.lang a {
  padding: 6px 10px;
  font-weight: 800;
  color: var(--muted);
  font-size: 0.8rem;
}
.lang a.is-on { background: var(--purple); color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 16px;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(95, 51, 225, 0.25); }
.btn-primary:hover { background: var(--purple-deep); color: #fff; }
.btn-joy { background: var(--joy); color: #3b2108; }
.btn-joy:hover { color: #3b2108; filter: brightness(1.05); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

.hero { padding: 48px 0 24px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple-deep);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.08; margin: 12px 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 900; }
h3 { font-size: 1.25rem; font-weight: 800; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.88rem;
}

.hero-art {
  position: relative;
  min-height: 520px;
}
.hero-blob {
  position: absolute;
  inset: 40px 20px 0;
  background: linear-gradient(180deg, #fff 0%, #f3eeff 100%);
  border-radius: 48px;
  box-shadow: var(--shadow);
}
.mascot {
  position: relative;
  width: min(440px, 88%);
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(36, 37, 44, 0.12));
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.float-card img { width: 28px; height: 28px; object-fit: contain; }
.float-card.a { left: 0; top: 56px; }
.float-card.b { right: 0; bottom: 56px; }
.float-card.c { right: -6px; top: 128px; }
.float-card.d { left: -8px; top: 210px; }
.float-card.e { right: 8px; top: 300px; }
.float-card.f { left: 16px; bottom: 8px; }

.section { padding: 72px 0; }
.section-head { max-width: 40rem; margin-bottom: 36px; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(36, 37, 44, 0.04);
}
.card img { width: 48px; height: 48px; margin-bottom: 14px; object-fit: contain; }
.end-lede { margin: 0 auto 24px; }
.end-actions { justify-content: center; }
.support-grid { margin-top: 32px; }
.card p { color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; overflow: hidden; }
.step em {
  font-style: normal;
  font-weight: 900;
  font-size: 3rem;
  color: var(--purple-soft);
  line-height: 1;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.shots-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.shot { scroll-snap-align: start; width: 250px; }
.shot h3 { color: #4f4866; font-size: 1.05rem; }
.shot figcaption p { color: #8a84a0; font-size: 0.92rem; }

.phone {
  width: 250px;
  height: 500px;
  border-radius: 36px;
  padding: 10px;
  background: #1b142c;
  box-shadow: var(--shadow);
}
.phone-screen {
  height: 100%;
  border-radius: 28px;
  background: #f7f4ff;
  overflow: hidden;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  color: #5c5480;
  font-size: 0.95rem;
}
.star-chip {
  background: #fff3cc;
  color: #8a6a14;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 800;
}
.task, .reward {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  background: #fff;
  border-radius: 14px;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 0.86rem;
  color: #5c5480;
  overflow: hidden;
}
.task img, .reward img,
.float-card img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.task span, .reward span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.task.done { background: #e9f8e6; color: #3d8a48; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat {
  background: #fff5eb;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  color: #7a5a28;
}
.stat b { display: block; font-size: 1.2rem; color: #5c5480; }
.lock-panel {
  margin-top: auto;
  background: var(--purple);
  color: #fff;
  border-radius: 18px;
  padding: 16px;
}
.lock-panel strong { color: #fff; }
.lock-panel p {
  color: #fff;
  margin: 8px 0 0;
  font-weight: 700;
}

.safe-band {
  background: var(--purple-ink);
  color: #fffdf8;
  border-radius: 40px;
  padding: 48px;
}
.safe-band .kicker { background: rgba(255,255,255,0.1); color: #ffcb3d; }
.safe-band p { color: #d2cedf; max-width: 40rem; }
.safe-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.safe-list span {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 800;
}

.plus {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.plus-art {
  background: linear-gradient(160deg, #fff5eb, #ede4ff);
  border-radius: 36px;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
}
.plus-art img { width: min(320px, 78%); }

.faq { display: grid; gap: 10px; }
details {
  background: #fff;
  border-radius: 18px;
  padding: 4px 18px;
}
summary {
  cursor: pointer;
  font-weight: 800;
  padding: 14px 0;
}
details p { color: var(--muted); margin: 0 0 16px; }

.end {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: 40px;
  box-shadow: var(--shadow);
}
.end .mascot { width: 220px; }

.site-footer {
  margin-top: 80px;
  background: #14101f;
  color: #eeeaf6;
  padding: 56px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.site-footer a { color: #d2cedf; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.fine { color: #a6abb3; font-size: 0.85rem; margin-top: 28px; }

.page { padding: 48px 0 80px; }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose p, .prose li { color: #4a4758; font-size: 1.05rem; }
.prose ul { padding-left: 1.2rem; }
.legal-switch { margin: 8px 0 24px; }

.doc-nav { display: grid; gap: 12px; }
.doc-nav a {
  display: block;
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  color: inherit;
  font-weight: 800;
}

.copyblock {
  background: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  white-space: pre-wrap;
  font-family: inherit;
  color: #4a4758;
}

@media (max-width: 900px) {
  .hero-grid, .trust, .steps, .features, .plus, .foot-grid, .safe-list {
    grid-template-columns: 1fr;
  }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    background: #fff;
    padding: 16px;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .menu-btn { display: grid; place-items: center; }
  .hero-art { min-height: 440px; }
  .float-card.e, .float-card.f { display: none; }
  .safe-band { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mascot { filter: none; }
}
