:root{--accent:#2563eb;--btn:#2563eb}
/* XingSu (星速) Modern Minimalist Stylesheet */
:root {
  --accent: #2563eb;
  --btn: #2563eb;
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; max-width: 100%; overflow-x: clip; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em;
}
.mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1rem;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .55);
}
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .94rem;
  padding: 8px 14px; border-radius: 10px; transition: background .15s, color .15s;
}
.nav a:hover { background: #f1f5f9; color: var(--ink); }
.nav .nav-cta {
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 8px 18px;
}
.nav .nav-cta:hover { background: #1d4ed8; color: #fff; }

/* Hero */
.hero {
  padding: 88px 0 72px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, .09), transparent 60%);
}
.hero-in { text-align: center; max-width: 720px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eff6ff; color: var(--accent); border: 1px solid #bfdbfe;
  border-radius: 999px; padding: 5px 14px; font-size: .85rem; font-weight: 600;
  margin-bottom: 20px;
}
.pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex: none;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.18;
  margin: 0 0 18px;
}
.hero-sub {
  font-size: 1.12rem; color: var(--muted); margin: 0 auto 32px; max-width: 560px;
}
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 26px; border-radius: 12px;
  font-weight: 650; font-size: .96rem; text-decoration: none;
  border: 1px solid transparent; transition: all .15s ease;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .65);
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface); color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: #cbd5e1; background: #f8fafc; }

/* Sections */
.band { padding: 64px 0; }
.band-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 600px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.sec-head p { color: var(--muted); margin: 0; }

/* Feature grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .15s, box-shadow .15s;
}
.feat:hover { border-color: #cbd5e1; box-shadow: 0 10px 28px -18px rgba(15, 23, 42, .25); }
.feat h3 { margin: 0 0 8px; font-size: 1.06rem; font-weight: 700; }
.feat p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 18px; }
.plan {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
}
.plan.pop { background: var(--surface); border-color: var(--accent); box-shadow: 0 14px 32px -20px rgba(37, 99, 235, .4); }
.plan-name { font-weight: 750; font-size: 1.08rem; }
.plan-price { font-size: 2rem; font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.plan-price span { font-size: .92rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--ink-2); font-size: .92rem; }
.plan .btn { margin-top: auto; width: 100%; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: #eff6ff; color: var(--accent); font-weight: 800; font-size: .92rem; margin-bottom: 12px;
}
.steps h3 { margin: 0 0 6px; font-size: 1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }

/* FAQ / Legal / Download */
.acc { display: grid; gap: 12px; }
.acc article { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.acc h3 { margin: 0 0 6px; font-size: 1rem; }
.acc p { margin: 0; color: var(--muted); font-size: .94rem; }

.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: 2rem; font-weight: 800; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0; font-size: 1.04rem; }

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.dl-card h2 { margin: 0; font-size: 1.2rem; }
.muted { color: var(--muted); margin: 0; font-size: .92rem; }
.note { color: var(--muted); font-size: .88rem; margin: 0; }
.meta { display: grid; gap: 4px; margin: 0; font-size: .86rem; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0 0 6px; word-break: break-all; font-family: ui-monospace, monospace; }

.legal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.legal h1 { margin: 0 0 6px; font-size: 1.7rem; }
.legal h2 { margin: 22px 0 8px; font-size: 1.08rem; }
.legal p { margin: 0 0 12px; color: var(--ink-2); }

/* Footer */
.foot { padding: 36px 0; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .88rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* Error */
.err-box { min-height: 70vh; display: grid; place-items: center; padding: 24px; }
.err-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; text-align: center; max-width: 420px; width: 100%; }
.err-card h1 { margin: 0 0 8px; font-size: 1.5rem; }
.err-card p { margin: 0 0 20px; color: var(--muted); }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .grid3, .steps, .dl-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .band { padding: 48px 0; }
  .legal { padding: 22px 18px; }
  .nav a:not(.nav-cta):not(.nav-login) { display: none; }
}

.promo-pill { background: linear-gradient(90deg, #eff6ff, #ecfeff); border-color: #93c5fd; color: #1d4ed8; }
.hero-note { margin: 16px 0 0; font-size: .86rem; color: var(--muted); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-badge { background: linear-gradient(135deg, #2563eb, #06b6d4); color: #fff; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
