:root {
  --bg: #FFF8EE;
  --surface: #FFFFFF;
  --ink: #2A2160;
  --muted: #5E5785;
  --line: #EADFCF;
  --sun: #FFC93C;
  --coral: #FF6B4A;
  --radius: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--ink); text-decoration-color: var(--coral); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

header.site { padding: 28px 0 8px; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.2px; }
.brand svg { width: 34px; height: 34px; flex: none; }
nav.site a { font-weight: 600; text-decoration: none; margin-left: 18px; color: var(--muted); }
nav.site a:hover { color: var(--coral); }

.hero { padding: 56px 0 32px; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.8px; }
.hero p { font-size: 20px; color: var(--muted); margin: 0; max-width: 34em; }

h2 { font-size: 26px; margin: 48px 0 16px; letter-spacing: -0.3px; }
h3 { font-size: 19px; margin: 28px 0 6px; }

.card {
  display: flex; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; margin-bottom: 16px;
}
a.card:hover { border-color: var(--coral); color: var(--ink); }
.card img { width: 84px; height: 84px; border-radius: 19px; flex: none; }
.card .soon { width: 84px; height: 84px; border-radius: 19px; flex: none; background: #F3E9DA; display: grid; place-items: center; font-size: 34px; }
.card h3 { margin: 0 0 4px; }
.card p { margin: 0; color: var(--muted); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 2px; }

.game-head { display: flex; gap: 22px; align-items: center; padding: 48px 0 8px; }
.game-head img { width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 8px 24px rgba(42,33,96,.18); }
.game-head h1 { margin: 0; font-size: clamp(30px, 5vw, 42px); line-height: 1.1; letter-spacing: -0.6px; }
.game-head p { margin: 6px 0 0; color: var(--muted); font-size: 18px; }

.button {
  display: inline-block; background: var(--ink); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; text-decoration: none; margin-top: 20px;
}
.button:hover { background: var(--coral); color: #fff; }
.button.muted { background: #E9E1D3; color: var(--muted); pointer-events: none; }

ul.features { padding-left: 20px; }
ul.features li { margin: 6px 0; }

.doc h1 { font-size: clamp(30px, 5vw, 40px); margin: 40px 0 4px; letter-spacing: -0.5px; }
.doc .meta { color: var(--muted); margin: 0 0 24px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc li { margin: 6px 0; }

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

@media (max-width: 520px) {
  body { font-size: 16px; }
  header.site .wrap { flex-wrap: wrap; }
  nav.site a { margin: 0 16px 0 0; }
  .card { align-items: flex-start; padding: 16px; gap: 14px; }
  .card img, .card .soon { width: 64px; height: 64px; border-radius: 15px; font-size: 26px; }
  .game-head img { width: 88px; height: 88px; border-radius: 20px; }
}
