:root {
  --bg: #fffaf3;
  --paper: #ffffff;
  --text: #30251c;
  --muted: #816d5d;
  --border: #eadfd2;
  --accent: #d8402f;
  --accent-soft: #fff0e8;
  --warning: #fff6df;
  --warning-border: #e8bd55;
  --supplement: #eef7ff;
  --supplement-border: #75aee5;
  --correction: #fff2ee;
  --correction-border: #e88270;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 120px, rgba(216, 64, 47, 0.08), transparent 360px),
    linear-gradient(180deg, #fffaf3 0%, #fff6eb 42%, #fffaf3 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.8;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 250, 243, 0.88);
  backdrop-filter: blur(16px);
}
.header-inner {
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand:hover {
  text-decoration: none;
}
.legal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}
.nav-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}
.nav-link--active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(216, 64, 47, 0.18);
}
.nav-link--active:hover {
  background: var(--accent);
  color: #fff;
}
.document {
  max-width: 960px;
  margin: 48px auto 72px;
  padding: 56px 64px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(82, 55, 31, 0.08);
}
h1 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.28;
  letter-spacing: -0.04em;
}
.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 30px;
}
h2 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.45;
}
p {
  margin: 8px 0;
}
ol,
ul {
  padding-left: 25px;
  margin: 8px 0;
}
li {
  margin: 6px 0;
}
.notice {
  margin: 22px 0 28px;
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
}
.draft {
  margin: 22px 0 30px;
  padding: 16px 20px;
  border: 1px solid var(--warning-border);
  border-radius: 10px;
  background: var(--warning);
}
.draft strong {
  color: #8b5700;
}
.highlight {
  font-weight: 700;
  text-decoration: underline;
}
.supplement {
  margin: 14px 0;
  padding: 14px 18px;
  border: 1px solid var(--supplement-border);
  border-radius: 10px;
  background: var(--supplement);
}
.supplement.correction {
  border-color: var(--correction-border);
  background: var(--correction);
}
.supplement p:first-of-type {
  margin-top: 8px;
}
.supplement p:last-child {
  margin-bottom: 0;
}
.supplement-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 12px;
  background: #2469a7;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.correction .supplement-tag {
  background: #bd4735;
}
table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background: #fff8f1;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 250, 243, 0.72);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.footer-logo {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}
.footer-logo:hover {
  text-decoration: none;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
}
.footer-links a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}
@media (max-width: 680px) {
  .header-inner,
  .footer-inner,
  .footer-brand,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-nav {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
  }
  .nav-link {
    white-space: nowrap;
  }
  .document {
    margin: 16px 12px 34px;
    padding: 28px 20px;
    border-radius: 20px;
  }
  h1 {
    font-size: 28px;
  }
  table {
    display: block;
    overflow-x: auto;
  }
}
