:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #57606a;
  --accent: #b8002e;
  --border: #e5e1d8;
  --code-bg: #f4f1ea;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  background: var(--surface);
}

@media (min-width: 720px) {
  body { padding: 24px 0; }
  .container {
    margin: 24px auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 56px 64px 80px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  }
}

header.site {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 32px;
}

header.site .brand {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

header.site .brand a:hover { color: var(--accent); }

h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 8px 0 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  font-weight: 600;
}

p, ul, ol { margin: 12px 0; }

ul, ol { padding-left: 22px; }

li { margin: 4px 0; }

strong { font-weight: 600; }

.effective-date {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.contact {
  background: var(--code-bg);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 12px;
}

.contact p { margin: 4px 0; }

a { color: var(--accent); }

footer.site {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

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

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

.home-grid a {
  display: block;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s, transform 0.15s;
}

.home-grid a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.home-grid .title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.home-grid .desc {
  font-size: 14px;
  color: var(--muted);
}
