/* Loop Legal Pages Stylesheet */

:root {
  --primary-color: #007AFF;
  --text-color: #1C1C1E;
  --secondary-text: #8E8E93;
  --background: #FFFFFF;
  --section-background: #F2F2F7;
  --border-color: #E5E5EA;
  --max-width: 800px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  padding: 20px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: var(--background);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Header Styles */
.header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--primary-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  font-weight: bold;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-color);
}

.last-updated {
  color: var(--secondary-text);
  font-size: 14px;
}

/* Content Styles */
h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-color);
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-color);
}

p {
  margin-bottom: 20px;
  line-height: 1.8;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

li {
  margin-bottom: 10px;
  line-height: 1.8;
}

strong {
  font-weight: 600;
  color: var(--text-color);
}

/* Link Styles */
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--secondary-text);
  font-size: 14px;
}

.footer a {
  color: var(--primary-color);
  font-weight: 500;
}

/* Index Page Styles */
.legal-links {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.legal-card {
  background-color: var(--section-background);
  padding: 30px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.2s, box-shadow 0.2s;
}

.legal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.legal-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.legal-card p {
  margin-bottom: 0;
  color: var(--secondary-text);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .container {
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
  }
  
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 20px;
  }
  
  h3 {
    font-size: 16px;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .container {
    box-shadow: none;
    padding: 0;
  }
  
  .logo {
    display: none;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}