:root {
  --ink: #172033;
  --muted: #5d687d;
  --brand: #245ce8;
  --brand-dark: #143da8;
  --surface: #ffffff;
  --soft: #f3f6fc;
  --line: #dbe2ee;
  --max: 960px;
  --shadow: 0 18px 55px rgba(27, 48, 91, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eef3fb;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(36, 92, 232, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 12, 29, 0.96);
  box-shadow: 0 8px 28px rgba(4, 10, 24, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: #cdd8eb;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(94, 231, 255, 0.12);
  color: #ffffff;
}

.page-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 42px auto 56px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(135deg, #07152f, #153a86 62%, #23659b);
  box-shadow: var(--shadow);
  color: #ffffff;
}

.page-hero::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(94, 231, 255, 0.18);
  content: "";
  filter: blur(4px);
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #8feaff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(34px, 6vw, 50px);
  line-height: 1.25;
}

.page-hero .summary {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 18px 0 0;
  color: #d7e5f8;
  font-size: 18px;
  line-height: 1.8;
}

.meta-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  color: #c6d8f1;
  font-size: 16px;
}

.content-card {
  margin-top: 24px;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.notice {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-left: 5px solid var(--brand);
  border-radius: 0 14px 14px 0;
  background: #edf3ff;
  color: #263958;
}

.toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 34px;
  padding: 22px;
  border-radius: 18px;
  background: var(--soft);
}

.toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.toc a:hover {
  background: #ffffff;
}

.policy-section + .policy-section {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.policy-section h2,
.support-section h2 {
  margin: 0 0 14px;
  color: #172b50;
  font-size: 27px;
  line-height: 1.45;
}

.policy-section p {
  margin: 10px 0;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--soft);
}

.contact-list strong {
  display: inline-block;
  min-width: 100px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.support-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-card.full {
  grid-column: 1 / -1;
}

.support-card .label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.support-card h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.45;
}

.support-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 18px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--brand-dark);
}

.support-section {
  margin-top: 24px;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-section ul,
.support-section ol {
  margin: 14px 0 0;
  padding-left: 28px;
}

.support-section li + li {
  margin-top: 9px;
}

.safety-tip {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff7e8;
  color: #624819;
}

.site-footer {
  padding: 28px 20px 34px;
  border-top: 1px solid #d9e1ee;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.site-footer p {
  margin: 6px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 12px;
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .header-inner {
    width: min(100% - 24px, var(--max));
    min-height: 68px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    min-height: 46px;
    padding: 0 11px;
    font-size: 15px;
  }

  .page-shell {
    width: min(100% - 20px, var(--max));
    margin-top: 18px;
  }

  .page-hero {
    padding: 30px 24px;
    border-radius: 21px;
  }

  .page-hero .summary {
    font-size: 17px;
  }

  .content-card,
  .support-section {
    padding: 26px 22px;
    border-radius: 19px;
  }

  .toc,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card.full {
    grid-column: auto;
  }

  .policy-section h2,
  .support-section h2 {
    font-size: 23px;
  }

  .contact-list strong {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
