/**
 * Shared Privacy Policy Styles
 * Consistent styling for all privacy policy pages
 */

:root {
  /* Colors */
  --primary: #111;
  --text: #333;
  --text-muted: #666;
  --text-light: #888;
  --bg: #fafafa;
  --bg-card: #fff;
  --border: #eee;
  --link: #1a73e8;
  --link-hover: #1557b0;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --line-height: 1.7;

  /* Spacing */
  --container-padding: 2.5rem 2rem;
  --section-margin: 1.75rem;
}

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

body {
  font-family: var(--font-family);
  line-height: var(--line-height);
  color: var(--text);
  background: var(--bg);
  padding: 2rem 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: var(--container-padding);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  flex: 1;
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
  font-weight: 700;
}

.app-name {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.effective-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: 1.15rem;
  margin-top: var(--section-margin);
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-light);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--link);
  text-decoration: none;
}

.back-link::before {
  content: '←';
}

/* Responsive */
@media (max-width: 640px) {
  body {
    padding: 1rem 0.5rem;
  }

  .container {
    padding: 1.5rem 1rem;
    border-radius: 0;
    box-shadow: none;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.05rem;
  }
}

/* Print styles */
@media print {
  body {
    background: white;
    padding: 0;
  }

  .container {
    box-shadow: none;
    padding: 0;
    max-width: none;
  }

  .back-link {
    display: none;
  }

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

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: var(--text-light);
  }
}
