:root {
  --bg: #0b0f17;
  --panel: #121826;
  --line: rgba(160, 180, 170, 0.18);
  --text: #eef2ee;
  --muted: #9aa6a0;
  --jade: #79c2a6;
  --gold: #d2b66f;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", system-ui, sans-serif;
}
header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
header img { width: 132px; max-height: 34px; object-fit: contain; }
header a { margin-left: auto; color: var(--jade); text-decoration: none; }
main { width: min(760px, 100%); margin: 0 auto; padding: 34px 20px 60px; }
.app-mark {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  display: block;
  margin-bottom: 20px;
}
h1 { font-size: clamp(28px, 8vw, 44px); margin: 0 0 10px; letter-spacing: 0; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 24px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
button, .link-button {
  min-height: 44px;
  border-radius: 6px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
button { border: 0; background: var(--jade); color: var(--bg); }
button:disabled { opacity: 0.55; cursor: wait; }
.link-button { border: 1px solid var(--jade); color: var(--jade); }
#installStatus { min-height: 24px; margin: 14px 0 0; color: var(--gold); }
.version { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.section { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.device { border: 1px solid var(--line); padding: 14px; border-radius: 6px; }
.device strong { display: block; margin-bottom: 6px; }
.device span, .steps { color: var(--muted); font-size: 14px; }
.steps { padding-left: 20px; line-height: 1.8; }
@media (max-width: 640px) {
  .devices { grid-template-columns: 1fr; }
  main { padding-top: 24px; }
}
