:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #141a2e;
  --muted: #5a6280;
  --line: #e2e5ef;
  --accent: #1f3f8f;
  --accent-soft: #e6ecfa;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1020;
    --surface: #161a2e;
    --text: #eef0f8;
    --muted: #a3a9c2;
    --line: #262b45;
    --accent: #8fb0ff;
    --accent-soft: #1c2547;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }
.hero { text-align: center; padding: 48px 0 40px; }
.hero img { width: 128px; height: 128px; }
.hero h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.15; margin: 20px 0 12px; letter-spacing: -0.02em; }
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto; }
.platforms { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.platforms span { background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 48px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
section h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -0.01em; }
section { margin-bottom: 48px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 15px; }
footer a { color: var(--muted); margin-right: 16px; }
.doc h1 { font-size: 34px; margin: 24px 0 4px; }
.doc h2 { font-size: 21px; margin: 32px 0 6px; }
.doc .updated { color: var(--muted); margin-top: 0; }
.doc .summary { background: var(--accent-soft); border-radius: 12px; padding: 14px 18px; }
@media (max-width: 520px) { nav a { margin-left: 12px; } }
