/* ===== Agent Savanna — Legal Pages ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --color-bg: #0c0c0f;
  --color-surface: #16161a;
  --color-surface-hover: #1e1e24;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-text: #e2e2e6;
  --color-text-muted: #8b8b96;
  --color-accent: #f27a1a;
  --color-accent-soft: rgba(242, 122, 26, 0.12);
  --color-heading: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 720px;
  --radius: 12px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: -0.01em;
}

/* ---- Main Content ---- */
main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
  width: 100%;
}

/* ---- Page Title ---- */
.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.page-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

/* ---- Placeholder Banner ---- */
.placeholder-banner {
  background: var(--color-accent-soft);
  border: 1px solid rgba(242, 122, 26, 0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 36px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--color-accent);
  line-height: 1.5;
}

.placeholder-banner svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Content Sections ---- */
.content-section {
  margin-bottom: 36px;
}

.content-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.content-section h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-top: 24px;
  margin-bottom: 8px;
}

.inline-link {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.inline-link:hover {
  opacity: 0.8;
}

.content-section p {
  margin-bottom: 12px;
  color: var(--color-text);
}

.content-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.content-section li {
  margin-bottom: 6px;
  color: var(--color-text);
}

.content-section li::marker {
  color: var(--color-text-muted);
}

/* ---- Navigation Links ---- */
.page-nav {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.page-nav h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: var(--color-surface-hover);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--color-heading);
}

.nav-link svg {
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover svg {
  color: var(--color-accent);
}

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

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-inner a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: var(--color-accent);
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .page-title {
    font-size: 1.625rem;
  }

  main {
    padding: 32px 16px 60px;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-link {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
