:root {
  --bg: #0f1115;
  --surface: #171a20;
  --border: #2a2f38;
  --text: #e6e8eb;
  --muted: #8b919c;
  --accent: #f5c542;
  --link: #8ab4f8;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  overflow-x: hidden;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}
p code, li code, .note code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 4px;
}

.top, main, footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
}
.brand img { image-rendering: pixelated; }
.gh { color: var(--muted); }

.hero {
  margin: 24px 0 32px;
  padding: 16px 0 0;
  text-align: center;
}
.hero img {
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.lead { color: var(--muted); font-size: 17px; margin: 0 0 40px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 12px; }

.install {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
}
.req { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.method { color: var(--muted); font-size: 14px; }
.cmd {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 8px 8px 12px;
  min-width: 0;
}
.cmd code { flex: 1; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.copy {
  flex: none;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.copy:hover { color: var(--text); border-color: var(--muted); }
.buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--accent);
  color: #1a1400;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 14px;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn small { font-weight: 400; opacity: 0.7; font-size: 12px; }
.version { color: var(--muted); font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

.what ul { padding-left: 20px; margin: 0 0 16px; }
.what li { margin: 6px 0; }
.what p { color: var(--muted); }

footer {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  padding: 32px 16px 48px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
footer a { color: var(--muted); }

@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
