/* Legal Pages Styles - Drip */

:root {
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gold: #FFE600;
  --color-gray-200: #E5E5E5;
  --color-gray-400: #A3A3A3;
  --color-gray-600: #525252;
  --color-gray-800: #262626;
  --color-gray-900: #171717;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--color-black);
  color: var(--color-gray-200);
  line-height: 1.7;
  min-height: 100vh;
}

/* Background gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 10%, rgba(255, 230, 0, 0.08) 0%, transparent 50%),
    var(--color-black);
  z-index: -1;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* Header */
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-white);
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.back-link {
  color: var(--color-gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--color-gold);
}

/* Content */
.legal-content {
  white-space: normal;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.page-meta {
  color: var(--color-gray-600);
  font-size: 0.875rem;
  margin-bottom: 40px;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-top: 32px;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-top: 24px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
  color: var(--color-gray-200);
}

strong {
  color: var(--color-white);
  font-weight: 600;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

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

li {
  margin-bottom: 8px;
}

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

th, td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

td {
  color: var(--color-gray-200);
}

/* Callouts */
.callout {
  background: rgba(255, 230, 0, 0.1);
  border: 1px solid rgba(255, 230, 0, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
}

/* Footer */
.legal-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.legal-footer p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.legal-footer a {
  color: var(--color-gray-400);
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 24px 16px 48px;
  }

  .page-title {
    font-size: 1.75rem;
  }

  h1 {
    font-size: 1.25rem;
  }

  table {
    font-size: 0.8125rem;
  }

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