/* 法务 / 清单页共用样式 */
:root {
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-dark: #0a0a0b;
  --text-primary: #1a1a1a;
  --text-secondary: #525252;
  --text-muted: #a3a3a3;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --border: #e5e5e5;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-mark {
  height: 36px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.logo-mark:not(.wordmark) {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.header {
  padding: 140px 0 48px;
  text-align: center;
}

.header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.header-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.content {
  padding: 0 0 96px;
}

.section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 20px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section h2::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.section h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 10px;
}

.section p,
.section li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

.section ul,
.section ol {
  margin: 12px 0;
  padding-left: 22px;
}

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

.section a:hover {
  text-decoration: underline;
}

.highlight-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
}

.highlight-box p {
  color: #0369a1;
  margin-bottom: 0;
}

.warn-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
}

.warn-box p {
  color: #92400e;
  margin-bottom: 0;
}

.info-list {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
}

.info-list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.info-list-item:last-child {
  border-bottom: none;
}

.info-list-item span:first-child {
  font-weight: 500;
  color: var(--text-primary);
  flex-shrink: 0;
}

.info-list-item span:last-child {
  color: var(--text-secondary);
  text-align: right;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--text-secondary);
}

.legal-table th {
  background: #f8fafc;
  color: var(--text-primary);
  font-weight: 600;
}

.legal-nav-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.legal-nav-card a {
  display: block;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-weight: 500;
}

.legal-nav-card a:hover {
  border-color: var(--accent-light);
  text-decoration: none;
}

footer {
  padding: 36px 0;
  background: var(--bg-dark);
  color: white;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 13px;
  color: #737373;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-legal a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 13px;
}

.footer-legal a:hover {
  color: white;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header {
    padding: 110px 0 32px;
  }

  .section {
    padding: 24px 18px;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }

  .info-list-item {
    flex-direction: column;
  }

  .info-list-item span:last-child {
    text-align: left;
  }
}
