:root {
  color-scheme: light;
  --app-bg: #f2f2f7;
  --card-bg: rgba(255, 255, 255, 0.86);
  --text-primary: #1c1c1e;
  --text-secondary: #6e6e73;
  --text-tertiary: #8e8e93;
  --separator: rgba(0, 0, 0, 0.06);
  --accent: #0a84ff;
  --coral: #ff6b5a;
  --amber: #f0b400;
  --green: #30c267;
  --shadow: rgba(20, 22, 31, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--app-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 16% 4%, rgba(10, 132, 255, 0.10), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(255, 107, 90, 0.10), transparent 24rem),
    var(--app-bg);
  line-height: 1.72;
  letter-spacing: 0;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 4px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text-primary);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(10, 132, 255, 0.16);
}

.brand-name {
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.nav a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(60, 60, 67, 0.08);
}

.hero {
  padding: 26px 24px 24px;
  border: 1px solid var(--separator);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: 0 1px 0 var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1.18;
  font-weight: 750;
  letter-spacing: 0;
}

.summary {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(60, 60, 67, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.pill.accent {
  color: var(--accent);
  background: rgba(10, 132, 255, 0.10);
}

.pill.green {
  color: #1f8f4d;
  background: rgba(48, 194, 103, 0.12);
}

.pill.coral {
  color: #b93a2d;
  background: rgba(255, 107, 90, 0.12);
}

.content {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.section {
  padding: 22px 24px;
  border: 1px solid var(--separator);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 var(--shadow);
}

.section h2 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: 0;
}

.section h3 {
  margin: 20px 0 8px;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.36;
  font-weight: 650;
  letter-spacing: 0;
}

.section h3:first-child {
  margin-top: 0;
}

.section p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.section p:last-child {
  margin-bottom: 0;
}

.section ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: var(--text-secondary);
  font-size: 15px;
}

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

.note-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.note-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-secondary);
  font-size: 15px;
}

.dot {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.dot.coral {
  background: var(--coral);
}

.dot.amber {
  background: var(--amber);
}

.dot.green {
  background: var(--green);
}

.footer {
  padding: 24px 4px 0;
  color: var(--text-tertiary);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-secondary);
}

.beian-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 6px;
}

.beian-link {
  color: var(--text-secondary);
  font-size: 12px;
}

.beian-link-public-security {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.beian-icon {
  width: auto;
  height: 1em;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .page {
    padding: 20px 14px 40px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 18px;
  }

  .nav {
    width: 100%;
  }

  .hero,
  .section {
    padding: 20px 18px;
  }

  h1 {
    font-size: 26px;
  }
}
