:root {
  color-scheme: light;
  --background: #f6f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d687a;
  --line: #dfe5ee;
  --accent: #2563eb;
  --accent-strong: #1744b8;
  --green: #12805c;
  --shadow: 0 18px 60px rgba(22, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.app-icon,
.feature-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 800;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--green);
}

.brand strong,
.app-panel strong {
  display: block;
  font-size: 18px;
}

.brand small,
.app-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.top-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 24px;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.app-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--accent);
  font-size: 28px;
}

.section,
.contact-section,
.document {
  margin-top: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-grid p,
.contact-section p,
.document p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #26364f;
  font-size: 15px;
}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-link {
  color: var(--accent);
  font-weight: 700;
}

.document {
  max-width: 860px;
}

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

.document h2 {
  margin-top: 30px;
  margin-bottom: 8px;
  font-size: 20px;
}

.updated {
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--accent);
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.site-footer .beian-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  h1 {
    font-size: 36px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .section,
  .contact-section,
  .document {
    padding: 24px 18px;
  }

  h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 16px;
  }

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