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

:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --gold: #c9a84c;
  --gold-dim: #8a7040;
  --text: #e8e0d0;
  --text-muted: #888;
  --radius: 10px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang TC", "Noto Serif TC", Georgia, serif;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.logo {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

/* ── Hero ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  gap: 16px;
}

.hero h1 {
  font-size: 3rem;
  color: var(--gold);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.hero .subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 10px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}

.btn:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* ── Content (legal pages) ── */
.content {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 32px 80px;
}

.content h1 {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 6px;
}

.updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 32px;
}

.content h2 {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 36px;
  margin-bottom: 10px;
}

.content p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.content li {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
}

.content strong {
  color: var(--gold);
  font-weight: 500;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  nav { padding: 14px 20px; }
  .content { padding: 40px 20px 60px; }
  .hero h1 { font-size: 2.2rem; }
}
