/* =============================================
   LEGAL PAGES - PROFESSIONAL BLACK & WHITE
   Privacy Policy & Terms of Service
   ============================================= */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===================================
   HEADER
   =================================== */
header {
  background: #000000;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 3px solid #1a1a1a;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.last-updated {
  color: #999999;
  font-size: 0.9rem;
  font-weight: 400;
}

/* ===================================
   NAVIGATION
   =================================== */
.back-btn {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 30px;
  transition: all 0.2s ease;
  border: 2px solid #000000;
  font-size: 0.95rem;
}

.back-btn:hover {
  background: #1a1a1a;
  transform: translateX(-3px);
}

/* ===================================
   CONTENT
   =================================== */
.content {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 20px 0;
  color: #000000;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  letter-spacing: -0.3px;
}

h2:first-child {
  margin-top: 0;
}

p {
  margin-bottom: 16px;
  color: #333333;
  font-size: 1rem;
}

ul {
  margin: 15px 0 20px 0;
  padding-left: 25px;
  color: #333333;
}

li {
  margin-bottom: 10px;
  padding-left: 5px;
}

strong {
  color: #000000;
  font-weight: 600;
}

a {
  color: #000000;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover {
  color: #4a4a4a;
  text-decoration: underline;
}

/* ===================================
   HIGHLIGHT BOXES
   =================================== */
.highlight-box {
  background: #f8f8f8;
  border-left: 4px solid #000000;
  padding: 20px;
  margin: 25px 0;
  border-radius: 0 6px 6px 0;
}

.highlight-box p {
  margin-bottom: 0;
  color: #1a1a1a;
  font-weight: 500;
}

.warning-box {
  background: #f5f5f5;
  border-left: 4px solid #666666;
  padding: 20px;
  margin: 25px 0;
  border-radius: 0 6px 6px 0;
}

.warning-box p {
  margin-bottom: 0;
  color: #1a1a1a;
}

.warning-box strong {
  color: #000000;
  font-weight: 700;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  text-align: center;
  padding: 30px 20px;
  color: #666666;
  font-size: 0.9rem;
  border-top: 1px solid #e0e0e0;
}

footer a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #000000;
  padding-bottom: 1px;
}

footer a:hover {
  color: #4a4a4a;
  border-bottom-color: #4a4a4a;
}

/* ===================================
   TABLE OF CONTENTS (Optional Enhancement)
   =================================== */
.toc {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 25px;
  margin-bottom: 35px;
}

.toc h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000000;
}

.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 8px;
  padding-left: 0;
}

.toc a {
  color: #333333;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.toc a:hover {
  color: #000000;
  text-decoration: none;
  padding-left: 8px;
}

/* ===================================
   SECTION DIVIDERS
   =================================== */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e0e0, transparent);
  margin: 40px 0;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  header {
    padding: 30px 15px;
  }

  h1 {
    font-size: 2rem;
  }

  .content {
    padding: 25px 20px;
    border-radius: 6px;
  }

  h2 {
    font-size: 1.3rem;
    margin: 30px 0 15px 0;
  }

  .highlight-box,
  .warning-box {
    padding: 15px;
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .content {
    padding: 20px 15px;
  }

  .back-btn {
    display: block;
    text-align: center;
  }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  body {
    background: white;
    color: black;
  }

  header {
    background: white;
    color: black;
    border-bottom: 2px solid black;
  }

  .back-btn {
    display: none;
  }

  .content {
    border: none;
    box-shadow: none;
    padding: 0;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  footer {
    border-top: 1px solid black;
  }
}
