:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #1c1b1a;
  --text-muted: #5d5b58;
  --accent: #5d4037;
  --accent-soft: #8d6e63;
  --highlight: #ffca28;
  --border: #e8e4dc;
  --max-width: 760px;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.brand a { color: inherit; }

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.hero {
  text-align: center;
  padding: 32px 0 8px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0;
}

.hero .lead-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { background: var(--bg); text-decoration: none; }

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn.primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

article.legal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

article.legal h1 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

article.legal .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

article.legal h2 {
  font-size: 19px;
  margin: 36px 0 12px;
  letter-spacing: -0.005em;
}

article.legal h3 {
  font-size: 16px;
  margin: 28px 0 10px;
  color: var(--text-muted);
}

article.legal p, article.legal li {
  font-size: 15px;
}

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

article.legal table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0 20px;
  font-size: 14px;
}

article.legal th, article.legal td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

article.legal th {
  background: #f5f3ee;
  font-weight: 600;
}

article.legal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

article.legal blockquote {
  border-left: 3px solid var(--highlight);
  padding: 10px 16px;
  background: #fffaee;
  border-radius: 4px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.lang-switch {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.lang-switch a {
  font-weight: 500;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface);
}

footer.site-footer .links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  article.legal { padding: 24px 20px; }
  article.legal h1 { font-size: 24px; }
  .site-header .inner { flex-direction: column; gap: 8px; }
}
