:root {
  color-scheme: dark;
  --bg: #0c0d14;
  --surface: #151722;
  --surface-soft: #1c1e2b;
  --text: #f1eff8;
  --muted: #aaa7b8;
  --line: #303241;
  --accent: #aaa4ff;
  --accent-strong: #8179f2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(127, 120, 202, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 120, 202, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 64px 64px;
  font: 16px/1.85 "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: var(--accent); }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(960px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 700; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-header nav a:hover { color: var(--text); }
main { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 96px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
h1 { margin: 0; font-size: clamp(36px, 6vw, 58px); line-height: 1.2; letter-spacing: -.04em; }
.lead { margin: 24px 0 48px; color: #c5c2cf; font-size: 19px; line-height: 1.8; }
h2 { margin: 52px 0 16px; font-size: 28px; line-height: 1.4; }
h3 { margin: 32px 0 10px; font-size: 19px; }
p, li { color: #c2bfcc; }
ul, ol { padding-left: 24px; }
li { margin: 8px 0; }
.path {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.path span { padding: 6px 11px; border-radius: 8px; color: #ddd9e8; background: var(--surface-soft); }
.path i { align-self: center; color: #747182; font-style: normal; }
.note { margin: 28px 0; padding: 22px 24px; border-left: 3px solid var(--accent-strong); background: var(--surface); }
.cta { margin-top: 56px; padding: 30px; border: 1px solid #3a3c4d; border-radius: 18px; background: linear-gradient(135deg, #191a27, #201d36); }
.cta strong { display: block; margin-bottom: 8px; font-size: 20px; }
.cta a { display: inline-block; margin-top: 14px; padding: 10px 18px; border-radius: 10px; color: white; background: var(--accent-strong); text-decoration: none; }
.related { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.related strong { display: block; margin-bottom: 12px; }
.related a { display: block; margin: 8px 0; }
footer { padding: 30px 20px 48px; border-top: 1px solid var(--line); color: #777485; text-align: center; font-size: 13px; }
@media (max-width: 620px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px 0; }
  .site-header nav { gap: 14px; flex-wrap: wrap; }
  main { padding-top: 48px; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
