:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #1c1917;
  --muted: #57534e;
  --border: #e7e5e4;
  --accent: #6d28d9;
  --accent-text: #ffffff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0a09;
    --surface: #1c1917;
    --text: #f5f5f4;
    --muted: #a8a29e;
    --border: #292524;
    --accent: #a78bfa;
    --accent-text: #0c0a09;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { border-bottom: 1px solid var(--border); background: var(--surface); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
main { padding: 40px 0 56px; }
h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 1.25rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 6px; }
.lede { font-size: 1.15rem; color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 28px; }
ul, ol { padding-left: 1.3em; }
li { margin: 4px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; margin: 24px 0; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; min-height: 44px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.platforms li { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 4px 12px; font-size: 0.92rem; margin: 0; }
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; padding: 24px 0 40px; }
footer a { color: var(--muted); margin-right: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 8px; display: block; }
