:root {
  --ink: #1d2733; --muted: #5b6876; --line: #dfe5ea; --bg: #f5f7f9; --card: #fff;
  --brand: #1f6f8b; --brand-dark: #165469; --ok: #1e7b4f; --err: #b3261e; --vip: #a86a00;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.65 -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
       color: var(--ink); background: var(--bg); }
a { color: var(--brand); }
header.top { background: #fff; border-bottom: 1px solid var(--line); }
header.top .in { max-width: 980px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
header.top .logo { font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }
header.top nav { margin-left: auto; display: flex; gap: 18px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--brand); }
main { max-width: 980px; margin: 0 auto; padding: 28px 20px 60px; }
main.narrow { max-width: 440px; }
h1 { font-size: 26px; margin: 8px 0 14px; }
h2 { font-size: 19px; margin: 30px 0 10px; }
.lead { font-size: 17px; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin: 16px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .grid3 { grid-template-columns: 1fr; } header.top nav { gap: 10px; } }
.plan h3 { margin: 0 0 4px; }
.plan .price { color: var(--muted); margin-bottom: 8px; }
.plan ul { padding-left: 18px; margin: 8px 0 0; }
label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 14px; }
input[type=email], input[type=password], input[type=text] {
  width: 100%; padding: 10px 12px; border: 1px solid #c7d0d8; border-radius: 7px; font-size: 15px; background: #fff; }
input:focus { outline: 2px solid #9cc7d6; border-color: var(--brand); }
.row { display: flex; gap: 8px; }
.row input { flex: 1; }
button, .btn { display: inline-block; padding: 10px 18px; border: 0; border-radius: 7px; background: var(--brand);
  color: #fff; font-size: 15px; cursor: pointer; text-decoration: none; }
button:hover, .btn:hover { background: var(--brand-dark); }
button.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
button.danger { background: var(--err); }
button:disabled { opacity: .55; cursor: default; }
button.wide { width: 100%; margin-top: 18px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin-top: 14px; }
.check input { margin-top: 5px; }
.msg { margin-top: 14px; padding: 10px 12px; border-radius: 7px; display: none; }
.msg.ok { display: block; background: #e7f4ec; color: var(--ok); }
.msg.err { display: block; background: #fbeaea; color: var(--err); }
.small { font-size: 13px; color: var(--muted); }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: 9px 8px; text-align: left; vertical-align: top; }
th { background: #f0f3f6; font-weight: 600; }
.badge { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 13px; background: #e9eef2; color: var(--muted); }
.badge.vip { background: #fff2d6; color: var(--vip); font-weight: 700; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .in { max-width: 980px; margin: 0 auto; padding: 18px 20px; display: flex; gap: 16px; flex-wrap: wrap; }
.doc h2 { font-size: 17px; }
.doc p, .doc li { color: #2c3742; }
