:root {
  --gold: #c9a24b;
  --gold-light: #e3c16f;
  --gold-soft: #f2e3be;
  --primary: #c9a24b;
  --bg: #fbf6ef;
  --bg-2: #f6ecf6;
  --surface: #fffdf9;
  --text-main: #2c2723;
  --text-secondary: #6a625b;
  --text-muted: #9c938b;
  --border: rgba(201, 162, 75, 0.22);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

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

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  min-height: 100vh;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.site-nav a.brand {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav .links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.site-nav .links a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

.legal-content {
  background-color: var(--surface);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(44, 39, 35, 0.05);
  border: 1px solid var(--border);
}

.legal-content h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 12px 20px;
}

.legal-content li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text-main);
  font-weight: 600;
}

.last-updated {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.hero {
  text-align: center;
  padding: 48px 8px 24px;
}

.hero .glyph {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 36px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.hero p {
  color: var(--text-secondary);
  font-size: 16px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-list a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text-main);
}

.card-list a:hover {
  border-color: var(--gold);
}

.card-list h2 {
  font-size: 16px;
  margin-bottom: 4px;
}

.card-list p {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
}

.footer a {
  color: var(--gold);
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px;
  }

  .legal-content {
    padding: 20px 16px;
  }
}
