* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #ff6a3d;
  --primary-dark: #e85a2a;
  --ink: #1a1a1a;
  --muted: #666;
  --line: rgba(0, 0, 0, 0.08);
  --bg: #fafafa;
  --card: #fff;
  --max: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff845d, var(--primary));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}

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

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

.hero {
  background: linear-gradient(160deg, #fff5f0 0%, #ffe8dc 45%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 20px 48px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 106, 61, 0.1);
  color: var(--primary-dark);
  font-size: 13px;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.section {
  margin-bottom: 28px;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.section p,
.section li {
  color: #444;
  font-size: 15px;
}

.section ul {
  padding-left: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list strong {
  display: inline-block;
  width: 72px;
  color: var(--ink);
}

.doc-page main {
  padding-top: 24px;
}

.doc-page h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.doc-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

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

.doc-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.doc-section p {
  margin-bottom: 10px;
  color: #444;
  font-size: 14px;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 20px 32px;
  text-align: center;
  font-size: 12px;
  color: #888;
  line-height: 1.9;
}

.site-footer a {
  color: #666;
  text-decoration: none;
}

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

.beian-row {
  margin-top: 6px;
}

.police-beian {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.police-beian img,
.police-beian .beian-badge {
  width: 15px;
  height: 15px;
  vertical-align: middle;
  flex-shrink: 0;
}

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

  .hero-inner {
    padding-top: 40px;
  }
}
