/* Base Typography for Legal Document */
body {
  color: var(--text-light);
  line-height: 1.8;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  border-bottom: 3px solid var(--accent-cyan);
  padding-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-cyan);
}

h4 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-gray);
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text-gray);
}

ul li::marker {
  color: var(--accent-cyan);
}

ol li::marker {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Legal Emphasis */
strong {
  color: var(--text-light);
  font-weight: 600;
}

em {
  color: var(--accent-purple);
  font-style: normal;
  font-weight: 500;
}

/* Last Updated Notice */
.update-notice {
  background: var(--dark-card);
  border-left: 4px solid var(--accent-cyan);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.update-notice p {
  margin: 0;
  font-size: 0.95rem;
}

/* Section Spacing */
.terms-section {
  margin-bottom: 3rem;
}

/* Table Styling */
.table {
  color: var(--text-light);
  border-color: var(--border-color);
  margin-bottom: 2rem;
}

.table thead {
  background: var(--dark-card);
  border-bottom: 2px solid var(--accent-cyan);
}

.table th {
  color: var(--text-light);
  font-weight: 600;
  padding: 1rem;
}

.table td {
  color: var(--text-gray);
  padding: 0.875rem 1rem;
  border-color: var(--border-color);
}

/* Contact Info Box */
.contact-box {
  background: var(--dark-lighter);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.contact-box p {
  margin-bottom: 0.5rem;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .header-content {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .header-content > .btn-primary {
    order: 2;
    width: auto;
    margin-top: 0;
    margin-left: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .nav {
    order: 3;
    margin-left: auto;
  }
}