:root {
  --bg: #0b0c10;
  --panel: #14161c;
  --panel-2: #1b1e26;
  --text: #eceef4;
  --muted: #9aa0ae;
  --accent: #fb7299;
  --line: #262a34;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(251, 114, 153, .14), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  line-height: 1.78;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1000px, 100% - 40px); margin: 0 auto; }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 12, 16, .82);
  backdrop-filter: blur(12px);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; font-size: 15px; }
.brand img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

/* hero */
.hero { max-width: 760px; padding: 64px 0 40px; }
.kicker {
  color: var(--accent); font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600;
}
.hero h1 {
  margin: 14px 0 0; font-size: clamp(30px, 5.4vw, 46px);
  line-height: 1.22; letter-spacing: .01em;
}
.lede { color: #c3c8d4; margin: 16px 0 0; font-size: 16px; max-width: 30em; }
.meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 22px; color: var(--muted); font-size: 13.5px;
}
.meta a { color: #ffd0de; border-bottom: 1px solid rgba(251, 114, 153, .4); }
.stats { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.stats b { display: block; font-size: 23px; line-height: 1.3; }
.stats span { color: var(--muted); font-size: 12.5px; }
/* article */
.article { max-width: 680px; margin: 0 auto; padding: 0 0 96px; }
.rule {
  height: 1px; background: linear-gradient(90deg, var(--accent), transparent);
  margin: 0 0 38px; opacity: .55;
}
.article p { margin: 0 0 1.3em; font-size: 17.5px; color: #dcdff0; }
.article p:first-of-type { font-size: 19px; color: #f2f3f8; }
.article h2 {
  font-size: 21px; margin: 2.2em 0 1em; padding-left: 12px;
  border-left: 3px solid var(--accent); line-height: 1.5;
}
.dims { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; gap: 12px; }
.dims li {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: grid; grid-template-columns: 92px 1fr; gap: 14px;
  align-items: start;
}
.dims b { color: var(--accent); font-size: 15.5px; letter-spacing: .03em; }
.dims span { color: #c9cedd; font-size: 15.5px; line-height: 1.72; }

.btn {
  display: inline-flex; align-items: center; padding: 12px 20px;
  border-radius: 12px; font-size: 14px; background: var(--panel);
  border: 1px solid var(--line); transition: background .16s ease, transform .16s ease;
}
.btn:hover { background: var(--panel-2); transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #17111a; font-weight: 700; }
.btn-primary:hover { background: #ff8aab; }

/* 404 */
.notfound { padding: 120px 0 140px; text-align: center; }
.notfound b { font-size: 72px; line-height: 1; color: var(--accent); letter-spacing: .06em; }
.notfound p { color: var(--muted); margin: 18px 0 28px; }

footer {
  border-top: 1px solid var(--line); padding: 30px 0 52px;
  color: var(--muted); font-size: 13px; line-height: 1.85;
}
footer a { color: #c6cbd8; border-bottom: 1px dotted #4c5160; }

@media (max-width: 860px) {
  .hero { padding: 40px 0 30px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 30px; }
  .stats { gap: 22px; }
  .stats b { font-size: 20px; }
  .article p { font-size: 16.5px; }
  .dims li { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
}
