/* ========================================
   Legal Pages Styles
   Simple, clean styling for legal documents
   ======================================== */

:root {
  --color-bg: #0a0a0a;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-link: #ff2e63;
  --color-link-hover: #ff6b8a;
  --color-gold: #ffd700;
  --font-family: "Outfit", sans-serif;
  --max-width: 800px;
}

.text-gold {
  color: var(--color-gold);
}

/* Skip Link - Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #000;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main Content */
.legal-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-text);
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--color-text);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-text);
}

p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.last-updated {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* Links */
a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-link-hover);
}

/* Lists */
ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--color-text-muted);
}

li {
  margin-bottom: 8px;
}

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

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  color: var(--color-text);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
}

td {
  color: var(--color-text-muted);
}

/* Horizontal Rule */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 48px 0;
}

/* Strong/Bold */
strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Emphasis */
em {
  font-style: italic;
}

/* Back Link */
.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.back-link::before {
  content: "\2190";
  margin-right: 8px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 24px;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 16px;
  opacity: 0.9;
}

.footer-made-with {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--color-text);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-links a:focus {
  opacity: 1;
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.social-icon {
  width: 24px;
  height: 24px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.footer-legal a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: var(--color-text);
}

.footer-legal a:focus {
  color: var(--color-text);
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  table {
    font-size: 0.8rem;
  }

  th, td {
    padding: 8px 12px;
  }
}
