:root {
  --bg: #0B0B0D;
  --surface: #151518;
  --line: #26262B;
  --text: #F5F5F7;
  --muted: #A1A1A6;
  --brand: #5A2EE6;
  --red: #FF453A;
  --yellow: #FFD60A;
  --green: #30D158;
  --blue: #0A84FF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--yellow); }
img { display: block; max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.bar a.home { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.bar a.home img { width: 32px; height: 32px; border-radius: 8px; }
.bar nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
.bar nav a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 48px 0 24px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -40px 0 auto; height: 420px; z-index: -1;
  background: radial-gradient(closest-side, rgba(90, 46, 230, 0.35), transparent);
}
.hero .icon { width: 128px; height: 128px; border-radius: 28px; margin: 0 auto 28px; box-shadow: 0 20px 60px rgba(90, 46, 230, 0.45); }
.hero h1 { font-size: clamp(40px, 8vw, 72px); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.hero p.lead { font-size: clamp(18px, 3vw, 22px); color: var(--muted); max-width: 560px; margin: 18px auto 0; }
.dots { display: flex; justify-content: center; gap: 10px; margin: 26px 0 0; }
.dots span { width: 12px; height: 12px; border-radius: 50%; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 0; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 16px;
}
.store small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; line-height: 1.2; }
.store span { line-height: 1.25; text-align: left; }
.store svg { width: 24px; height: 24px; flex: none; }

/* Screenshots */
.shots {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 40px 16px 24px; margin: 0 -16px; scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots img { width: 240px; height: auto; aspect-ratio: 9 / 16; border-radius: 20px; flex: none; scroll-snap-align: center; }
@media (min-width: 1040px) { .shots { justify-content: center; } .shots img { width: 156px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 32px 0 64px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card i { display: block; width: 14px; height: 14px; border-radius: 50%; margin-bottom: 18px; }

/* Text pages */
.doc { max-width: 680px; margin: 0 auto; padding: 32px 0 80px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); font-weight: 900; letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.1; }
.doc .meta { color: var(--muted); margin: 0 0 8px; }
.doc h2 { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin: 44px 0 10px; }
.doc h3 { font-size: 18px; margin: 28px 0 6px; }
.doc p, .doc li { color: #D1D1D6; }
.contact { margin: 28px 0 0; }
.contact a.store { color: var(--text); }

footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; margin-right: 20px; }
footer a:hover { color: var(--text); }
