/* Policy-specific styles for /es/policy and /en/policy.
   Shared tokens (colors, typography, nav, footer) live in /css/shared.css. */

/* Offset the fixed .nav so content starts below it */
body { padding-top: 56px; }

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* --- Card container: one card per section of the policy. The card stays on a
   white surface (var(--surface)) so legal copy is high-contrast and easy for
   reviewers to read; the surrounding page is dark (var(--bg-dark) from
   shared.css). The shadow is intentionally heavier than the legacy --shadow
   to lift the card cleanly from the dark backdrop. */
.container {
  max-width: 800px;
  margin: 40px auto;
  background-color: var(--surface);
  padding: 40px;
  box-shadow: var(--shadow-on-dark-lg);
  border-radius: var(--radius);
}

.container h1 {
  text-align: center;
  color: var(--text-primary);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

h2 {
  border-bottom: 2px solid var(--divider);
  color: var(--text-primary);
  padding-bottom: 10px;
  margin-top: 40px;
  font-size: 1.5rem;
  font-weight: 600;
}

h3 {
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
}

p,
li {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

ul {
  list-style-type: disc;
  margin-left: 20px;
  color: var(--text-secondary);
}

li strong {
  color: var(--text-primary);
}

/* Version label near the top of the document (e.g. "v1.0") */
.policy-version {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* Utility (used inside the policy prose) */
.text-center { text-align: center; }
.text-sm {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .container {
    padding: 24px;
    margin: 16px;
    border-radius: var(--radius-sm);
  }
  .container h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
}
