:root {
  --bg: #f3f7fb;
  --bg-deep: #e8f0f8;
  --surface: #ffffff;
  --ink: #152033;
  --muted: #5b6b7f;
  --line: rgba(21, 52, 84, 0.12);
  --brand: #1a6bb5;
  --brand-deep: #0f4f8a;
  --brand-soft: #d7ebfa;
  --accent: #0d9b8a;
  --max: 1080px;
  --header-h: 60px;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(15, 55, 95, 0.08);
  --font: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(26, 107, 181, 0.14), transparent 60%),
    radial-gradient(700px 360px at 96% 8%, rgba(13, 155, 138, 0.1), transparent 55%),
    linear-gradient(180deg, #f7fbff 0%, var(--bg) 38%, var(--bg-deep) 100%);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
h1, h2, h3 {
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(1.55rem, 2.4vw, 2.2rem); margin: 0 0 0.85rem; }
h2 { font-size: clamp(1.22rem, 1.8vw, 1.55rem); margin: 2.1rem 0 0.8rem; }
h3 { font-size: 1.08rem; margin: 1.4rem 0 0.55rem; }
p { margin: 0 0 1rem; color: var(--muted); }
ul, ol { color: var(--muted); padding-left: 1.25rem; }
li { margin: 0.4rem 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(26, 107, 181, 0.2);
}
.nav-desktop {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-desktop a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--brand-deep);
  background: var(--brand-soft);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-panel {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px 16px;
}
.nav-panel a {
  display: block;
  padding: 12px 10px;
  color: var(--ink);
  font-weight: 600;
  border-radius: 10px;
}
.nav-panel a:hover { background: var(--brand-soft); }
.nav-panel.is-open { display: block; }

.ads-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 110;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15, 55, 95, 0.05);
}
.ads-wrap .ads-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4px 12px 8px;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 16px 64px;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(26, 107, 181, 0.95), rgba(13, 155, 138, 0.88)),
    url("/a.jpg") center/cover;
  color: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8, 36, 68, 0.72), rgba(10, 70, 90, 0.45)),
    radial-gradient(500px 240px at 80% 20%, rgba(255, 255, 255, 0.18), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 { color: #fff; }
.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  max-width: 640px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.btn-primary:hover { color: var(--brand); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.2); }

.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(15, 55, 95, 0.04);
}
.lead { font-size: 1.05rem; color: #3f5166; }
.shot {
  margin: 1.2rem 0 0.4rem;
  background: #0b1726;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}
.shot img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.shot figcaption {
  padding: 12px 14px 14px;
  font-size: 0.9rem;
  color: #9eb0c4;
  background: #101c2c;
}
.grid-2,
.grid-3 {
  display: grid;
  gap: 14px;
  margin-top: 1rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-list {
  display: grid;
  gap: 12px;
  margin: 1rem 0;
}
.feature-item {
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff, #eef5fb);
  border: 1px solid var(--line);
}
.feature-item h3 { margin-top: 0; color: var(--brand-deep); }
.feature-item p { margin-bottom: 0; }
.note {
  margin: 1rem 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(13, 155, 138, 0.08);
  border-radius: 0 12px 12px 0;
  color: #355466;
}
.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.mini-links a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 650;
  font-size: 0.92rem;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 28px 16px 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.footer-nav a { color: var(--muted); font-weight: 600; }
.footer-nav a:hover { color: var(--brand); }
.footer-copy { color: #7a8a9d; font-size: 0.9rem; }

.page-narrow { max-width: 860px; }
.error-box {
  text-align: center;
  padding: 48px 20px;
}
.error-box .code {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 10px;
}
.error-box p { max-width: 480px; margin-left: auto; margin-right: auto; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .shot img { max-width: 100%; }
}
@media (min-width: 861px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, #ads img { transition: none; }
}
