
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --background-rgb: 255, 255, 255;
  --foreground-rgb: 30, 41, 59;
  --primary-rgb: 67, 56, 202;
  --primary-foreground-rgb: 248, 250, 252;
  --secondary-rgb: 241, 245, 249;
  --secondary-foreground-rgb: 30, 41, 59;
  --muted-rgb: 241, 245, 249;
  --muted-foreground-rgb: 100, 116, 139;
  --border-rgb: 226, 232, 240;
  --radius: 0.5rem;
}

.dark {
  --background-rgb: 30, 41, 59;
  --foreground-rgb: 248, 250, 252;
  --primary-rgb: 99, 102, 241;
  --primary-foreground-rgb: 30, 41, 59;
  --secondary-rgb: 51, 65, 85;
  --secondary-foreground-rgb: 248, 250, 252;
  --muted-rgb: 51, 65, 85;
  --muted-foreground-rgb: 148, 163, 184;
  --border-rgb: 51, 65, 85;
}

body {
  background-color: rgb(var(--background-rgb));
  color: rgb(var(--foreground-rgb));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-feature-settings: "rlig" 1, "calt" 1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.header-main {
  background-color: rgb(var(--primary-rgb));
  color: rgb(var(--primary-foreground-rgb));
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.header-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 768px) {
  .header-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.header-subtitle {
  text-align: center;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.privacy-container {
  max-width: 56rem; /* 896px, equivalent to max-w-4xl */
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem; /* py-8 px-4 */
}

@media (min-width: 640px) { /* sm */
  .privacy-container {
    padding-left: 1.5rem; /* sm:px-6 */
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) { /* lg */
  .privacy-container {
    padding-left: 2rem; /* lg:px-8 */
    padding-right: 2rem;
  }
}

.privacy-toc {
  margin-bottom: 2rem; /* mb-8 */
  padding: 1rem; /* p-4 */
  background-color: rgb(var(--muted-rgb));
  border-radius: var(--radius);
}

.privacy-toc-title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 500; /* font-medium */
  margin-bottom: 0.5rem; /* mb-2 */
  color: rgb(var(--foreground-rgb));
}

.privacy-toc-list {
  list-style-type: decimal;
  padding-left: 1.25rem; /* pl-5 */
}

.privacy-toc-item {
  margin-bottom: 0.25rem; /* mb-1 */
}

.privacy-toc-link {
  color: rgb(var(--primary-rgb));
  text-decoration: none;
}

.privacy-toc-link:hover {
  text-decoration: underline;
}

.privacy-last-updated {
  font-size: 0.875rem; /* text-sm */
  color: rgb(var(--muted-foreground-rgb));
  margin-top: 0.5rem; /* mt-2 */
  margin-bottom: 2rem; /* Added for spacing */
}

.privacy-section {
  margin-bottom: 2rem; /* mb-8 */
}

.privacy-section-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600; /* font-semibold */
  margin-bottom: 1rem; /* mb-4 */
  color: rgb(var(--primary-rgb));
}

.privacy-content {
  max-width: none;
}

.privacy-content p {
  margin-bottom: 1rem; /* mb-4 */
  color: rgb(var(--foreground-rgb));
}

.privacy-content ul {
  list-style-type: disc;
  padding-left: 1.25rem; /* pl-5 */
  margin-bottom: 1rem; /* mb-4 */
}

.privacy-content li {
  margin-bottom: 0.5rem; /* mb-2 */
  color: rgb(var(--foreground-rgb));
}

.privacy-content strong {
  font-weight: 600;
}

.privacy-contact {
  margin-top: 2rem; /* mt-8 */
  padding: 1rem; /* p-4 */
  background-color: rgb(var(--muted-rgb));
  border-radius: var(--radius);
}

.privacy-contact-title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 500; /* font-medium */
  margin-bottom: 0.5rem; /* mb-2 */
  color: rgb(var(--foreground-rgb));
}

.privacy-contact-info {
  font-size: 0.875rem; /* text-sm */
  color: rgb(var(--muted-foreground-rgb));
}

.privacy-contact-info p {
  margin-bottom: 0.25rem;
}

.privacy-footer {
  margin-top: 3rem; /* mt-12 */
  padding-top: 1.5rem; /* pt-6 */
  border-top: 1px solid rgb(var(--border-rgb));
  text-align: center;
  font-size: 0.875rem; /* text-sm */
  color: rgb(var(--muted-foreground-rgb));
}

.privacy-back-to-top {
  position: fixed;
  bottom: 1rem; /* bottom-4 */
  right: 1rem; /* right-4 */
  background-color: rgb(var(--primary-rgb));
  color: white;
  padding: 0.5rem; /* p-2 */
  border-radius: 9999px; /* rounded-full */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-lg */
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.privacy-back-to-top:hover {
  background-color: rgba(var(--primary-rgb), 0.9);
}

.mt-4 {
  margin-top: 1rem;
}