/* Base styles */
:root {
  --primary-color: #007aff;
  --text-color: #333;
  --bg-color: #f5f5f7;
  --container-bg: #fff;
  --border-color: #eaeaea;
  --header-color: #1a1a1a;
  --subheader-color: #2d2d2d;
  --notice-bg: #f8f9fa;
}

/* Global styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
}

/* Container */
.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: var(--container-bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* Header styles */
header {
  text-align: center;
  margin-bottom: 40px;
}

h1 {
  font-size: 2.5em;
  color: var(--header-color);
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  font-size: 1.1em;
}

/* Important notice box */
.important-notice {
  background-color: var(--notice-bg);
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  margin: 20px 0;
}

.important-notice strong {
  display: block;
  margin-bottom: 8px;
}

/* Section headings */
h2 {
  color: var(--subheader-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-top: 30px;
}

h3 {
  color: #3d3d3d;
  margin-top: 25px;
}

/* Content sections */
.legal-content {
  margin-top: 30px;
}

/* Lists */
ul {
  margin-left: 20px;
  padding-left: 0;
}

li {
  margin: 10px 0;
}

/* Navigation */
.nav-links {
  text-align: center;
  margin: 20px 0;
}

.nav-links a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0 15px;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: #666;
}

footer p {
  margin: 5px 0;
}

/* Responsive design */
@media (max-width: 840px) {
  .container {
    margin: 10px;
    padding: 15px;
  }

  h1 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 0;
    border-radius: 0;
  }

  h1 {
    font-size: 1.8em;
  }
}

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

  .container {
    box-shadow: none;
    margin: 0;
    max-width: 100%;
  }

  .nav-links {
    display: none;
  }
}
