:root {
  --bg-page: #F4F7FB;
  --bg-header: #FFFFFF;
  --bg-hero-start: #0B1F4D;
  --bg-hero-end: #123A7A;
  --bg-alt: #EAF0F8;
  --bg-card: #FFFFFF;
  --bg-footer: #0E1726;
  --bg-footer-soft: #152033;
  --text-main: #1B2430;
  --text-muted: #5C6B7A;
  --text-on-dark: #F8FAFC;
  --text-on-dark-muted: #C5D0DE;
  --accent: #1D4ED8;
  --accent-hover: #1E40AF;
  --accent-soft: #DBEAFE;
  --accent-2: #F5B94A;
  --line: #E6EDF5;
  --line-strong: #D5DEE8;
  --danger: #B42318;
  --ok: #0F766E;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --header-h: 64px;
  --max: 1200px;
  --space: 16px;
  --font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --focus: 2px solid #1D4ED8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 16px;
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--space);
  padding-right: var(--space);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--bg-header);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--bg-hero-start), var(--accent)),
    repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.12) 5px, rgba(255, 255, 255, 0.12) 6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px 7px 8px 11px;
  border-right: 3px solid #F8FAFC;
  border-bottom: 3px solid #F8FAFC;
  transform: rotate(45deg);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  color: var(--text-main);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 4px;
  position: relative;
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 2px;
  background: var(--accent-2);
  border-radius: 2px;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.nav-drawer.is-open {
  pointer-events: auto;
}

.nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 38, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-drawer.is-open .nav-backdrop {
  opacity: 1;
}

.nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 360px);
  height: 100%;
  background: #fff;
  box-shadow: -12px 0 32px rgba(15, 23, 42, 0.12);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.nav-drawer.is-open .nav-panel {
  transform: translateX(0);
}

.nav-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.nav-panel-title {
  font-weight: 600;
  font-size: 16px;
}

.nav-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.nav-panel .site-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-panel .site-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
  min-height: 44px;
}

.nav-panel .site-nav a[aria-current="page"] {
  background: var(--accent-soft);
}

.nav-panel .site-nav a[aria-current="page"]::after {
  display: none;
}

main {
  flex: 1 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--text-on-dark);
  background: linear-gradient(135deg, var(--bg-hero-start) 0%, var(--bg-hero-end) 62%, #1D4ED8 100%);
  padding: 48px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -90px;
  border-radius: 40% 60% 70% 30%;
  background: radial-gradient(circle at 30% 30%, rgba(245, 185, 74, 0.28), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 8%;
  bottom: -70px;
  transform: rotate(28deg);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.08), transparent),
    repeating-linear-gradient(-32deg, transparent, transparent 12px, rgba(248, 250, 252, 0.08) 12px, rgba(248, 250, 252, 0.08) 13px);
  clip-path: polygon(20% 0, 100% 18%, 82% 100%, 0 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.hero-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-on-dark);
}

.hero-lead {
  margin: 0 0 24px;
  max-width: 38em;
  color: var(--text-on-dark-muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(248, 250, 252, 0.55);
}

.btn-ghost:hover {
  background: rgba(248, 250, 252, 0.1);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.section {
  padding: 48px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2,
.page-hero h1,
.article-head h1,
.page-body h1 {
  margin: 0 0 8px;
}

.section-head h2 {
  font-size: 22px;
  line-height: 1.3;
}

.section-desc,
.muted,
.meta {
  color: var(--text-muted);
}

.section-desc {
  margin: 0;
  max-width: 46em;
}

.entry-grid,
.card-grid,
.guide-grid {
  display: grid;
  gap: 16px;
}

.entry-card,
.article-card,
.guide-card,
.info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  border: 1px solid var(--line);
}

.entry-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  min-height: 148px;
}

.entry-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.entry-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), #3B82F6);
}

.entry-card:nth-child(2)::before {
  background: linear-gradient(90deg, #0F766E, #14B8A6);
}

.entry-kicker {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.entry-card h3,
.article-card h3,
.guide-card h3,
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.entry-card p,
.article-card p,
.guide-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.article-card {
  position: relative;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
}

.article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
}

.article-card a.card-title {
  color: var(--text-main);
  font-weight: 650;
  font-size: 17px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.article-card a.card-title:hover {
  color: var(--accent);
  text-decoration: underline;
}

.article-card .excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  flex: 1;
}

.card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
}

.article-card:hover {
  transform: translateY(-2px);
}

.empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  color: var(--text-muted);
}

.empty-state strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 6px;
}

.guide-card {
  background: #fff;
}

.guide-index {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
  font-size: 16px;
}

.faq-trigger {
  width: 100%;
  min-height: 52px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 48px 14px 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

.faq-trigger::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: translateY(-70%) rotate(45deg);
}

.faq-trigger[aria-expanded="true"]::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-panel {
  display: none;
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.faq-panel.is-open {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 0 0;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb [aria-current="page"] {
  color: var(--text-main);
}

.page-hero {
  padding: 12px 0 8px;
}

.page-hero h1,
.article-head h1 {
  font-size: 26px;
  line-height: 1.3;
  color: var(--text-main);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.badge:hover {
  text-decoration: none;
}

.article-layout {
  display: grid;
  gap: 24px;
  padding-bottom: 48px;
}

.article-head {
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-muted);
  font-size: 13px;
  margin: 8px 0 0;
}

.article-summary {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.prose h2 {
  font-size: 22px;
  margin: 1.4em 0 0.5em;
}

.prose h3 {
  font-size: 18px;
  margin: 1.2em 0 0.4em;
}

.prose p {
  margin: 0 0 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.related {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.related h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

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

.related a {
  color: var(--text-main);
  font-weight: 600;
}

.form {
  display: grid;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 6px;
}

.form label {
  font-weight: 600;
  font-size: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text-main);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: var(--focus);
  border-color: var(--accent);
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 13px;
}

.field-error.is-visible {
  display: block;
}

.form-feedback {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 14px;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-error {
  background: #FEE2E2;
  color: var(--danger);
}

.notice {
  background: #EEF4FF;
  border: 1px solid #BFDBFE;
  color: #1E3A8A;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
}

.phone-frame {
  width: 180px;
  height: 320px;
  margin: 12px auto 0;
  border: 10px solid #1B2430;
  border-radius: 28px;
  background: linear-gradient(180deg, #0B1F4D, #123A7A);
  position: relative;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 56px;
  height: 8px;
  margin-left: -28px;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.25);
}

.phone-frame::after {
  content: "资讯阅读";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 48px;
  color: #F8FAFC;
  font-size: 13px;
  text-align: center;
}

.shield {
  width: 72px;
  height: 84px;
  margin: 0 auto 16px;
  background: linear-gradient(180deg, var(--accent), var(--bg-hero-start));
  clip-path: polygon(50% 0, 100% 16%, 88% 72%, 50% 100%, 12% 72%, 0 16%);
  position: relative;
}

.shield::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 26px;
  width: 12px;
  height: 22px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}

.error-stage {
  text-align: center;
  padding: 56px 0 72px;
}

.error-code {
  font-size: 96px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--bg-hero-start), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 8px;
}

.error-stage h1 {
  font-size: 26px;
  margin: 0 0 10px;
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
  margin: 24px auto 0;
}

.site-footer {
  background: var(--bg-footer);
  color: var(--text-on-dark);
  padding: 48px 0 28px;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  gap: 24px;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--accent-2);
  letter-spacing: 0.04em;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--text-on-dark-muted);
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-note {
  position: relative;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 250, 252, 0.08);
  color: var(--text-on-dark-muted);
  font-size: 13px;
}

.stack {
  display: grid;
  gap: 16px;
}

.split {
  display: grid;
  gap: 16px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden {
  display: none !important;
}

@media (min-width: 768px) {
  :root {
    --space: 32px;
    --header-h: 72px;
  }

  .brand {
    font-size: 22px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .hero-visual {
    min-height: 220px;
    position: relative;
  }

  .hero-visual::before,
  .hero-visual::after {
    content: "";
    position: absolute;
    border-radius: 24px;
  }

  .hero-visual::before {
    inset: 20px 10px 40px 40px;
    background: linear-gradient(160deg, rgba(245, 185, 74, 0.22), rgba(248, 250, 252, 0.04));
    transform: rotate(8deg);
  }

  .hero-visual::after {
    width: 140px;
    height: 140px;
    right: 24px;
    bottom: 16px;
    border: 12px solid rgba(248, 250, 252, 0.12);
    border-radius: 50%;
  }

  .hero-actions {
    flex-direction: row;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .entry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero h1,
  .article-head h1 {
    font-size: 32px;
  }

  .prose {
    padding: 28px;
  }

  .form.two-col {
    grid-template-columns: 1fr 1fr;
  }

  .form.two-col .form-actions,
  .form.two-col .form-feedback,
  .form.two-col .notice {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .error-actions {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .nav-toggle,
  .nav-drawer {
    display: none !important;
  }

  .header-inner .site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .article-layout {
    grid-template-columns: minmax(0, 8fr) minmax(240px, 4fr);
    align-items: start;
  }
}

@media (min-width: 1440px) {
  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-grid {
    grid-template-columns: 0.6fr 0.4fr;
  }

  .section {
    padding: 72px 0;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .guide-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .entry-card:hover,
  .article-card:hover {
    transform: none;
  }

  .nav-panel,
  .nav-backdrop {
    transition: none;
  }
}