:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --background: #000;
  --foreground: #fff;
}

@media (prefers-color-scheme: light) {
  :root {
    --background: #fff;
    --foreground: #000;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

h2 {
  color: #2c3e50;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.2rem;
}

a {
  color: #3b82f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.last-updated {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-style: italic;
}

.table-of-contents {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.table-of-contents ol {
  margin: 0;
  padding-left: 1.5rem;
}

.table-of-contents li {
  margin: 0.5rem 0;
}

ul, ol {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Additional styles for terms of service and privacy policy pages */
address { 
  font-style: normal; 
  margin-top: 1em; 
}

.summary-points li { 
  margin-bottom: 0.8em; 
}

.contact-info { 
  margin-top: 2em; 
  padding: 1em; 
  border: 1px solid #ddd; 
  border-radius: 5px; 
  background-color: white;
}

table { 
  width: 100%; 
  border-collapse: collapse; 
  margin-top: 1em; 
  margin-bottom: 1em; 
}

th, td { 
  border: 1px solid #ddd; 
  padding: 8px; 
  text-align: left; 
}

th { 
  background-color: #f2f2f2; 
}

h4 { 
  margin-top: 0.8em; 
  color: #555;
}

@media (max-width: 768px) {
  .container {
    margin: 1rem 1.5rem;
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  /* Better mobile margins for tables */
  table {
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 6px;
  }
  
  /* Improve mobile readability */
  .table-of-contents {
    padding: 1rem;
  }
  
  ul, ol {
    padding-left: 1.5rem;
  }
} 