:root {
  --bg: #11122a;
  --bg-soft: #1b1d3d;
  --card: #21244a;
  --border: #2e3160;
  --text: #e8e9f5;
  --text-soft: #b4b6d4;
  --muted: #8a8db4;
  --accent: #5c7cfa;
  --accent-soft: rgba(92, 124, 250, 0.14);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    "Microsoft YaHei", sans-serif;
  background: radial-gradient(120% 80% at 50% 0%, #1a1c40 0%, var(--bg) 60%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0 28px;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(145deg, #2a2d63, #14152f);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.logo::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2bd9a0;
  box-shadow: 0 0 10px #2bd9a0;
  top: 12px;
  left: 12px;
}

.logo::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff8a3d;
  box-shadow: 0 0 10px #ff8a3d;
  bottom: 12px;
  right: 12px;
}

.site h1 {
  font-size: 20px;
  margin: 0;
  letter-spacing: 0.5px;
}

.site .tag {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

main {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}

h2.title {
  font-size: 26px;
  margin: 0 0 6px;
}

.updated {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}

h3 {
  font-size: 17px;
  margin: 30px 0 10px;
  color: var(--text);
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

p,
li {
  color: var(--text-soft);
  font-size: 15.5px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

.callout {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 22px 0;
  font-size: 14.5px;
  color: var(--text);
}

.contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  flex: 1 1 200px;
  display: block;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.15s, background 0.15s;
}

.btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

footer.site {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 30px;
}

footer.site a {
  color: var(--muted);
}

.backlink {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}
