:root {
  --bg: #0b1020;
  --card: #141a2e;
  --line: #232b45;
  --ink: #f2f5fb;
  --muted: #9aa4bf;
  --accent: #38bdf8;
  --ok: #34d399;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--ink); }

.hero { text-align: center; padding: 56px 0 32px; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 40px rgba(56, 189, 248, .18); }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 22px 0 12px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto; }
.store {
  display: inline-block; margin-top: 26px; padding: 12px 22px; border-radius: 12px;
  background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none;
}
.store small { display: block; font-weight: 500; font-size: 12px; opacity: .7; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px 0; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.fact b { display: block; font-size: 20px; color: var(--ok); margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 15px; }

.shots {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 0 24px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
}
.shots img {
  flex: 0 0 auto; width: 220px; height: auto; aspect-ratio: 660 / 1434;
  border-radius: 18px; scroll-snap-align: start; background: var(--card);
}

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

.doc { max-width: 720px; padding-top: 40px; }
.doc h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: #d4d9e6; }
.doc ul { padding-left: 22px; }

@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  nav a { margin-left: 12px; font-size: 14px; }
  .shots img { width: 180px; }
}
