:root {
  --blue: #2f8ee0;
  --blue-dark: #1f6fb5;
  --ink: #16222e;
  --muted: #62727f;
  --line: #e6ecf1;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 34, 46, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 15px;
}
.nav a:hover { background: var(--bg-soft); color: var(--blue); text-decoration: none; }
.nav a.is-active { color: var(--blue); background: var(--bg-soft); font-weight: 600; }
.lang { display: flex; gap: 6px; margin-left: 8px; }
.lang a { font-size: 14px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.lang a.is-active { border-color: var(--blue); color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--blue);
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--blue-dark); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* hero */
.hero { padding: 74px 0 60px; background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%); text-align: center; }
.hero img.hero-art { width: 220px; margin: 0 auto 26px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.5px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.platform-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 30px; font-size: 15px; }

/* sections */
section { padding: 62px 0; }
section.soft { background: var(--bg-soft); }
h2.section-title { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 10px; text-align: center; }
p.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 38px; }
h3 { font-size: 19px; margin: 0 0 8px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 46px; height: 46px; margin-bottom: 14px; }

.news-card { display: block; color: inherit; }
.news-card:hover { text-decoration: none; transform: translateY(-2px); }
.news-card { transition: transform .18s ease; }
.news-card .thumb { border-radius: 10px; margin-bottom: 14px; background: var(--bg-soft); }
.news-card time { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { margin-bottom: 6px; }
.faq-item p { color: var(--muted); margin: 0; }

.table-like { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-like th, .table-like td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table-like th { background: var(--bg-soft); font-weight: 600; }

pre {
  background: #16222e;
  color: #e8f1f8;
  padding: 18px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}
code { font-family: "SFMono-Regular", Consolas, monospace; }

ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--muted); }
ul.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.cta { text-align: center; }
.cta h2 { margin-top: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; background: var(--bg-soft); color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-grid h4 { color: var(--ink); font-size: 15px; margin: 0 0 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; text-align: center; }

@media (max-width: 860px) {
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .nav { margin-left: 0; order: 3; width: 100%; }
  .btn { margin-left: auto; }
}
