:root {
  --bg: oklch(98% 0.012 102);
  --surface: oklch(100% 0.003 100);
  --surface-warm: oklch(96% 0.03 92);
  --fg: oklch(22% 0.032 165);
  --muted: oklch(50% 0.025 155);
  --border: oklch(88% 0.025 112);
  --accent-strong: oklch(48% 0.14 152);
  --font-display: "Iowan Old Style", "Charter", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.content-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s, transform 0.2s;
  margin-bottom: 40px;
}
.back-link svg {
  transition: transform 0.2s;
}
.back-link:hover {
  color: var(--accent-strong);
}
.back-link:hover svg {
  transform: translateX(-4px);
}

header h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.document-meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.divider {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-section p {
  color: var(--fg);
  margin-top: 0;
  margin-bottom: 18px;
  text-align: justify;
}

.legal-section strong {
  color: var(--fg);
}

.legal-section ul,
.legal-section ol {
  margin-top: 0;
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-section li {
  margin-bottom: 10px;
  color: var(--fg);
}

footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .content-container {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .legal-section p {
    text-align: left;
    font-size: 15px;
  }
  .legal-section h2 {
    font-size: 20px;
  }
}

.legal-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  background: var(--surface);
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  background: var(--surface-warm);
  font-weight: 700;
  color: var(--fg);
  border-bottom: 2px solid var(--border);
  font-family: var(--font-body);
}

.legal-table td {
  color: var(--fg);
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .legal-table {
    min-width: 640px;
  }
}