:root {
  --primary: #1e90ff;
  --primary-dark: #0b6fd6;
  --primary-light: #00bfff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 12px 36px rgba(15, 23, 42, .08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(15, 23, 42, .06);
}
.nav-inner {
  width: min(92%, var(--max));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.menu-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #eff8ff;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  box-shadow: 0 6px 0 var(--ink), 0 12px 0 var(--ink);
}
.menu-toggle[aria-expanded="true"] { font-size: 28px; }
.menu-toggle[aria-expanded="true"]::before { display: none; }

.hero {
  background:
    radial-gradient(880px 420px at 88% 0%, rgba(30, 144, 255, .16), transparent 62%),
    #fff;
  padding: 72px 0 64px;
}
.hero-inner, .wrap {
  width: min(92%, var(--max));
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: .08em;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.hero h1 {
  margin: 0 0 20px;
  color: #1e90ff;
  font-size: clamp(46px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.lede { margin: 0 0 28px; max-width: 620px; color: var(--muted); font-size: 18px; }
.hero .lede {
  max-width: 540px;
  margin-bottom: 32px;
  color: #5c6b7b;
  font-size: 17px;
  line-height: 1.85;
}
.nowrap { white-space: nowrap; }
.hero .btn { min-height: 52px; padding: 0 26px; font-size: 16px; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 8px 24px rgba(30, 144, 255, .28);
}
.btn-outline { color: var(--primary-dark); border-color: #9ad7ff; background: #fff; }
.btn-dark { color: #fff; background: #1d1d1f; }
.hero-panel {
  justify-self: end;
  width: min(100%, 380px);
  padding: 32px 28px 24px;
  border-radius: 28px;
  background: linear-gradient(165deg, #1e90ff, #0b6fd6);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(30, 144, 255, .28);
}
.hero-panel img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .22);
}
.hero-domain {
  margin: 14px 0 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
}
.hero-caption {
  margin: 4px 0 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
}
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.hero-panel li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  font-weight: 700;
}
.hero-panel li a:hover { background: rgba(255, 255, 255, .24); }
.hero-panel em { font-style: normal; font-weight: 700; color: rgba(255, 255, 255, .82); }

.section { padding: 28px 0 64px; }
.section h2, .page-head h1 { letter-spacing: -.02em; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head p, .page-head p { color: var(--muted); }
.section-head a, .page-head a { color: var(--primary-dark); font-weight: 700; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card, .panel, .price, .doc {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 26px 22px; border-top: 4px solid var(--primary); }
a.pick { display: flex; flex-direction: column; color: inherit; }
a.pick p { flex: 1; }
a.pick span { display: inline-block; margin-top: 16px; color: var(--primary-dark); font-weight: 800; }
a.pick:hover h3 { color: var(--primary); }
.card h3, .panel h2, .panel h3 { margin: 0 0 8px; }
.card p, .panel p, .doc p, .doc li { color: #475569; }
.page-head { padding: 42px 0 10px; }
.page-head h1 { font-size: clamp(32px, 4vw, 46px); }

.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 48px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 22px 22px;
  background: #fff;
  border-radius: var(--radius);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow);
}
.dl-card .ver {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff8ff;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}
.dl-card h2 { margin: 0 0 10px; font-size: 22px; }
.dl-card p { margin: 0; color: var(--muted); flex: 1; }
.dl-actions { display: grid; gap: 10px; margin-top: 22px; }
.dl-actions .btn { width: 100%; }
.panel { padding: 28px; }
.domain {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #eff8ff;
  color: var(--primary-dark);
  font-weight: 800;
  letter-spacing: .02em;
}
table { width: 100%; border-collapse: collapse; overflow: hidden; }
th, td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line); }
th { background: #0288d1; color: #fff; }
.note { color: var(--muted); font-size: 14px; }
.doc { padding: 8px 28px 28px; }
.doc h2 { margin-top: 28px; font-size: 22px; }
.doc ul { padding-left: 20px; }

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: 28px 0;
}
.footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer a { color: #7dd3ff; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  padding: 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.post h3 { margin: 0; font-size: 18px; line-height: 1.45; }
.post p { margin: 0; color: var(--muted); flex: 1; }
.post span { color: var(--primary-dark); font-weight: 700; }
.posts.covers .post { padding: 0 0 18px; gap: 10px; min-height: 0; overflow: hidden; }
.posts.covers .post img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f3f7fb;
  padding: 10px;
}
.posts.covers .post h3,
.posts.covers .post p,
.posts.covers .post span { padding: 0 18px; }
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 4px;
}
.pager a,
.pager span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
}
.pager .current { background: var(--primary); color: #fff; }
.pager a:hover { color: var(--primary-dark); }
.price { overflow: auto; }
.article { padding: 8px 8px 48px; max-width: 820px; }
.article h2 { margin: 32px 0 10px; font-size: 22px; }
.article h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.45; }
.article p, .article li { color: #334155; line-height: 1.8; }
.article img { display: block; max-width: 100%; height: auto; margin: 22px auto; border-radius: 12px; }
.article ul { padding-left: 20px; margin: 8px 0 0; }
.article li + li { margin-top: 8px; }
.article .note { margin-top: 0; }

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  body { overflow-x: hidden; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    z-index: 30;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 6% 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(15, 23, 42, .08);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; }
  .hero { padding: 36px 0 28px; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 16px; }
  .hero .btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
  .hero-domain { font-size: 22px; }
  .hero-panel { justify-self: stretch; width: 100%; padding: 24px 16px 16px; }
  .hero-inner, .cards, .posts, .downloads { grid-template-columns: 1fr; }
  .page-head { padding: 28px 0 6px; }
  .page-head h1 { font-size: 32px; }
  .section { padding: 8px 0 36px; }
  .doc { padding: 4px 16px 20px; }
  th, td { padding: 10px 8px; font-size: 14px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
}
