:root {
  --ink: #211b19;
  --muted: #756b67;
  --paper: #fffaf6;
  --card: #ffffff;
  --accent: #e83d25;
  --line: #eaded8;
  --soft: #fff0eb;
  --shadow: 0 20px 55px rgba(85, 41, 25, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff5f0 0, var(--paper) 260px);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.82;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(234, 222, 216, .9);
  background: rgba(255, 250, 246, .9);
  backdrop-filter: blur(14px);
}
.header-inner,
.page,
.site-footer-inner {
  width: min(calc(100% - 32px), 900px);
  margin-inline: auto;
}
.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.03em;
}
.back {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
}
.back:hover { color: var(--accent); }

.page { padding: 58px 0 90px; }
.hero { margin-bottom: 30px; }
.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
}
h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -.045em;
}
.dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .9rem;
}
.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--soft);
}
.legal-card {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.legal-card h2 {
  margin: 2.3em 0 .65em;
  padding-top: .2em;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.45;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin: .75em 0; }
.legal-card .contact { color: var(--muted); }
.legal-card a { color: var(--accent); text-underline-offset: 3px; }

.legal-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.legal-nav a {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  text-decoration: none;
  font-weight: 850;
  transition: border-color .2s ease, transform .2s ease;
}
.legal-nav a:hover { transform: translateY(-2px); border-color: var(--accent); }
.legal-nav small { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.site-footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .88rem;
}

@media (max-width: 640px) {
  .page { padding-top: 38px; }
  .legal-card { border-radius: 18px; }
  .legal-nav { grid-template-columns: 1fr; }
  .site-footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
}

@media print {
  .site-header, .site-footer, .legal-nav { display: none; }
  body { background: #fff; }
  .page { width: 100%; padding: 0; }
  .legal-card { padding: 0; border: 0; box-shadow: none; }
}

