:root {
  --brand: #1e6fff;
  --brand-2: #7b3ff2;
  --ink: #0f1b34;
  --muted: #5b6b8a;
  --line: #e6ebf6;
  --bg: #f5f7fd;
  --card: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
.wrap { max-width: 860px; margin: 0 auto; padding: 40px 22px 88px; }

.top {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit; width: fit-content;
  margin-bottom: 8px;
}
.top img {
  width: 44px; height: 44px; border-radius: 12px; object-fit: contain;
  background: #fff; box-shadow: 0 8px 22px rgba(15, 27, 52, 0.1);
}
.top .brand { font-size: 14px; font-weight: 700; color: var(--muted); }

h1 {
  font-size: clamp(1.7rem, 4.4vw, 2.35rem);
  line-height: 1.22; letter-spacing: -0.03em; margin: 18px 0 12px;
}
.lead {
  font-size: 17px; color: var(--ink); margin: 0 0 18px;
  max-width: 42rem;
}
.meta {
  font-size: 13px; color: var(--muted); margin-bottom: 28px;
}
h2 { font-size: 1.25rem; margin: 36px 0 12px; }
h3 { font-size: 1.05rem; margin: 22px 0 8px; }
p { margin: 0 0 12px; color: var(--ink); }
ul, ol { margin: 0 0 16px; padding-left: 1.25rem; }
li { margin: 6px 0; }

table {
  width: 100%; border-collapse: collapse; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  font-size: 14.5px; margin: 12px 0 20px;
}
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eef3ff; font-size: 13px; color: var(--muted); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.note {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-size: 14px; color: var(--muted); margin: 16px 0 24px;
}
.cta {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700;
  text-decoration: none;
}
.btn-primary {
  color: #163a6b;
  background: linear-gradient(135deg, #ffe566, #ffc107);
}
.btn-ghost {
  color: var(--brand); background: #fff; border: 1px solid var(--line);
}
.foot { margin-top: 48px; color: var(--muted); font-size: 13px; text-align: center; }
.nav-mini { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13.5px; margin: 8px 0 20px; }
.nav-mini a { text-decoration: none; font-weight: 600; }
details {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin: 8px 0;
}
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 640px) {
  .wrap { padding: 28px 16px 64px; }
  table { font-size: 13px; }
  th, td { padding: 10px 8px; }
}
