/* Privacy Policy Specific Styles */

:root {
  --bg-color: #ffffff;
  --text-primary: #1e293b; /* Slate 800 */
  --text-secondary: #475569; /* Slate 600 */
  --heading-color: #2c3e50; /* Dark Slate as requested */
  --accent-color: #3498db; /* Blue accent */
  --border-color: #e2e8f0; /* Soft gray */
  --contact-bg: #f0f9ff; /* Light blue for contact box */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Header */
.page-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
  display: block;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.intro-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 65ch;
}

/* Sections */
section {
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent-color); /* Visual anchor */
  line-height: 1.3;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 1.5rem 0 1rem;
}

p,
li {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Lists */
.bullet-list,
.definition-list {
  list-style: none;
  padding-left: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.bullet-list li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.definition-list li {
  margin-bottom: 1rem;
  border-left: 2px solid var(--border-color);
  padding-left: 1rem;
}

.subsection {
  margin-left: 0.5rem;
}

.note {
  font-size: 0.95rem;
  background-color: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--text-secondary);
  margin-top: 1rem;
}

/* Contact Box */
.contact-section {
  margin-top: 4rem;
}

.contact-box {
  background-color: var(--contact-bg);
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: ""; /* Decorative accent */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
}

.contact-box p {
  color: #0369a1; /* Darker blue for text */
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
}

.contact-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.contact-item .value {
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-item a.value {
  color: var(--accent-color);
  text-decoration: none;
}

.contact-item a.value:hover {
  text-decoration: underline;
}

/* Utilities */
.mt-4 {
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 4rem 2rem;
  }

  .contact-details {
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
  }

  .contact-item {
    flex-direction: column;
  }
}

/* Sticky Header from styles.css */
.sticky-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.logo-placeholder svg {
  color: var(--accent-color);
}

.sticky-header nav {
  display: flex;
  gap: 1.5rem;
}

.sticky-header nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.sticky-header nav a:hover,
.sticky-header nav a.active {
  color: var(--accent-color);
}

/* Page Layout */
.page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  position: relative;
}

/* Sidebar Table of Contents */
.sidebar-toc {
  display: none; /* Hidden on mobile by default */
}

@media (min-width: 1024px) {
  .sidebar-toc {
    display: block;
    position: sticky;
    top: 6rem; /* Adjust based on header height */
    height: fit-content;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }
}

.sidebar-toc h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.sidebar-toc ul {
  list-style: none;
  border-left: 1px solid var(--border-color);
  padding-left: 0;
}

.sidebar-toc li a {
  display: block;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all 0.2s;
}

.sidebar-toc li a:hover {
  color: var(--text-primary);
}

.sidebar-toc li a.active {
  color: var(--accent-color);
  border-left-color: var(--accent-color);
  font-weight: 500;
}


/* Main Content Adjustments */
.main-content {
  max-width: 800px;
}

@media (max-width: 1023px) {
  .page-layout {
    display: block;
  }
  .main-content {
    margin: 0 auto;
  }
}

/* Section scroll margin for sticky header */
section {
    scroll-margin-top: 6rem;
}
@media (max-width: 640px) {
  .sticky-header nav {
    gap: 0.75rem;
  }
}
