:root {
  --accent: #5b5bd6;
  --accent-soft: #8b8be6;
  --bg: #f7f6fc;
  --card: #ffffff;
  --text: #1c1b22;
  --muted: #6b6a75;
  --border: #e5e3f0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101014;
    --card: #1b1b22;
    --text: #ececf2;
    --muted: #9c9ba8;
    --border: #2c2b36;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 24px 20px 64px; }
header.site {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
header.site img { width: 48px; height: 48px; }
header.site .name { font-size: 1.35rem; font-weight: 800; }
header.site .name a { color: var(--text); text-decoration: none; }
.lang { margin-left: auto; font-size: .9rem; }
.lang a {
  color: var(--muted); text-decoration: none; font-weight: 700; margin-left: 8px;
  padding: 4px 10px; border-radius: 10px;
}
.lang a.active { color: #fff; background: var(--accent); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 28px 20px;
  margin-bottom: 24px;
}
h1 { font-size: 1.45rem; margin: 0 0 4px; }
h2 { font-size: 1.05rem; margin: 22px 0 6px; }
p, li { color: var(--text); margin: 6px 0; }
.updated { color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
a.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 12px 22px; border-radius: 14px; text-decoration: none;
  font-weight: 700; margin: 6px 10px 6px 0;
}
a.btn.secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
footer { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 48px; }
footer a { color: var(--accent); text-decoration: none; margin: 0 6px; }
footer .copy { margin-top: 8px; }

/* ---------- landing ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  padding: 36px 0 22px;
  overflow: visible;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 14px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p.sub { color: var(--muted); font-size: 1.06rem; max-width: 44ch; }
.hero-art { position: relative; text-align: center; }
.hero-art .blob {
  position: absolute; inset: 8% 6%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent 72%);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
  z-index: 0;
}
@keyframes pulse { 50% { transform: scale(1.12); opacity: .75; } }
.hero-art img.mascot {
  position: relative; z-index: 1;
  width: min(300px, 78%);
  animation: floaty 4.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.18));
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-16px) rotate(1.2deg); }
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #3a3a3a; border-radius: 14px;
  padding: 10px 18px 10px 14px; min-width: 172px;
  transition: transform .15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
/* Google Play is not out yet: dimmed, non-interactive. */
.store-badge.is-soon { opacity: .45; pointer-events: none; }
.store-badge svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.store-badge small { display: block; font-size: .62rem; opacity: .8; line-height: 1.1; }
.store-badge b { display: block; font-size: 1.02rem; line-height: 1.2; }
.soon { font-size: .8rem; color: var(--muted); }

/* Feature showcase: phone mockup in the middle, features on both sides.
   Hovering a feature highlights it and swaps the phone screenshot. */
.showcase {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  margin: 34px 0 26px;
}
.show-col { display: flex; flex-direction: column; gap: 12px; }
.show-feature {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  animation: rise .7s ease both;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.show-col .show-feature:nth-child(2) { animation-delay: .08s; }
.show-col .show-feature:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.side-left .show-feature { text-align: right; }
.show-feature .ico {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.3rem; line-height: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  transition: transform .2s ease;
}
.show-feature h3 { margin: 2px 0 4px; font-size: 1.02rem; }
.show-feature p { color: var(--muted); font-size: .9rem; margin: 0; }
.show-feature.is-active,
.show-feature:hover {
  background: var(--card);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 14%, transparent);
}
.show-feature.is-active .ico,
.show-feature:hover .ico { transform: scale(1.08); }

.show-phone .frame {
  width: 258px;
  padding: 10px;
  border-radius: 40px;
  background: #14141b;
  border: 1px solid #33323e;
  box-shadow: 0 26px 52px rgba(0, 0, 0, .3);
  animation: floaty 5.5s ease-in-out infinite;
}
.show-phone img {
  display: block; width: 100%;
  border-radius: 31px;
  transition: opacity .16s ease;
}
@media (max-width: 920px) {
  .showcase { grid-template-columns: 1fr; gap: 12px; }
  .show-phone { display: none; }
  .side-left .show-feature { flex-direction: row-reverse; text-align: left; }
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 48px;
}
/* Breathing room around the How-it-works block. */
.steps-section { margin-top: 40px; }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  animation: rise .7s ease both;
}
.step:nth-child(2) { animation-delay: .08s; }
.step:nth-child(3) { animation-delay: .16s; }
.step img { width: min(160px, 60%); }
.step h3 {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 10px 0 4px; font-size: 1rem;
}
.step .n {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: .8rem; font-weight: 800; line-height: 22px;
}
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

.shots {
  display: flex; gap: 16px; overflow-x: auto; padding: 8px 2px 16px;
  scroll-snap-type: x mandatory;
}
.shots img {
  width: 218px; flex: none;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  scroll-snap-align: center;
}
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero p.sub { margin-inline: auto; }
  .stores { justify-content: center; }
}
