:root {
  --bg: #fbf7ef;
  --card: #ffffff;
  --ink: #2f2a3a;
  --muted: #6d6678;
  --accent: #e0607e;
  --leaf: #4f9a6b;
  --line: #ece4d6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1b24;
    --card: #282530;
    --ink: #f3eee6;
    --muted: #b3abbd;
    --accent: #f08aa2;
    --leaf: #7cc596;
    --line: #3a3644;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 32px 16px 56px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
header.top a.brand { color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .2px; }
nav a { margin-left: 16px; font-size: 15px; }
.hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 6px 22px rgba(0,0,0,.15); }
.hero h1 { margin: 0 0 4px; font-size: 34px; line-height: 1.15; }
.hero p { margin: 0; color: var(--muted); }
.badge { display: inline-block; margin-top: 14px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.badge.soon { opacity: .75; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.shots img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin: 18px 0; }
.card h2 { margin-top: 0; font-size: 21px; }
ul { padding-left: 22px; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.game { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); }
.game img { width: 64px; height: 64px; border-radius: 16px; }
.game small { display: block; color: var(--muted); }
.doc h1 { font-size: 30px; margin-bottom: 4px; }
.doc h2 { font-size: 20px; margin-top: 28px; }
.doc .meta { color: var(--muted); margin-top: 0; }
.lang { font-size: 15px; color: var(--muted); }
code { font-size: 15px; }
footer { margin-top: 40px; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  .hero h1 { font-size: 28px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shots img:nth-child(3) { display: none; }
}
