/* Have2Run Privacy Policy - Responsive Styles */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  color: #1a1a1a;
  background-color: #ffffff;
  padding: 20px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  background-color: #ffffff;
}

/* Header */
header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.last-updated {
  font-size: 14px;
  color: #666666;
  font-style: italic;
}

.lang-switch {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
}

.lang-switch a {
  color: #0066cc;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #0066cc;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-switch a:hover {
  background-color: #0066cc;
  color: #ffffff;
}

/* Content */
main {
  margin-bottom: 48px;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2a2a2a;
  margin-top: 24px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: #333333;
}

ul, ol {
  margin-bottom: 16px;
  margin-left: 24px;
}

li {
  margin-bottom: 8px;
  color: #333333;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
  color: #1a1a1a;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

th {
  background-color: #f5f5f5;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
}

td {
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
}

tr:last-child td {
  border-bottom: none;
}

/* Footer */
footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  font-size: 14px;
  color: #666666;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 16px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 17px;
  }

  .lang-switch {
    position: static;
    margin-top: 16px;
  }

  table {
    font-size: 14px;
  }

  th, td {
    padding: 8px;
  }
}

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

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

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

  table {
    font-size: 13px;
  }

  th, td {
    padding: 6px;
  }
}

/* Print Styles */
@media print {
  body {
    background-color: white;
    color: black;
    font-size: 12pt;
  }

  .lang-switch {
    display: none;
  }

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

  h1, h2, h3 {
    page-break-after: avoid;
  }

  table, ul, ol {
    page-break-inside: avoid;
  }
}
