
:root {
  color-scheme: dark;
  --bg: #07080c;
  --card: #12141a;
  --line: #2a2e38;
  --text: #f5f6f8;
  --muted: #a7adba;
  --soft: #d7dbe3;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0;
}
nav { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { color: var(--text); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand strong { font-size: 18px; letter-spacing: 0.08em; }
.hero { padding: 28px 0 12px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin: 0 0 12px; font-weight: 560; }
.hero p { max-width: 680px; color: var(--soft); font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.card, .panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-width: 0;
}
.card h2 { margin: 0 0 8px; font-size: 22px; }
.meta { color: var(--muted); font-size: 14px; min-height: 44px; }
.button, button.button {
  display: inline-block; margin-top: 16px; background: #fff; color: #111; text-decoration: none;
  border-radius: 999px; padding: 10px 16px; font-weight: 650;
}
.ghost { display: inline-block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.hash { margin-top: 14px; color: var(--muted); font-size: 12px; word-break: break-all; font-family: Consolas, monospace; }
.steps { counter-reset: step; display: grid; gap: 12px; }
.steps article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.steps span {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 700;
}
h1 { font-size: clamp(32px, 5vw, 48px); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 28px; font-size: 20px; }
footer { color: var(--muted); font-size: 13px; padding: 28px 0 48px; }
@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr; }
  header { align-items: flex-start; flex-direction: column; }
}
