:root {
  --radius: 0.625rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
  --serif: "Fraunces", "EB Garamond", "Cormorant Garamond", Georgia, serif;

  --display: "Canela", "Ogg", "GT Super Display", "EB Garamond", Georgia, serif;
  --sans: "Söhne", "Suisse Int'l", "Neue Haas Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --pad: clamp(24px, 4vw, 64px);
  --gutter: clamp(16px, 2vw, 32px);
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.205 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.205 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.922 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.556 0 0);
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.556 0 0);

  --serif: "Fraunces", "EB Garamond", "Cormorant Garamond", Georgia, serif;
  /* Prefer something that isn't Fraunces actually — swap to a richer display */
  --display: "Canela", "Ogg", "GT Super Display", "EB Garamond", Georgia, serif;
  --sans: "Söhne", "Suisse Int'l", "Neue Haas Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

body {
  background-color: var(--background);
  color: var(--foreground);
}

.document-container {
  background-color: #ffffff;
  color: #1f2937;
  min-height: 100vh;
  font-family: var(--serif);
  overflow-wrap: anywhere;
}

.header-section {
  background-color: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 3rem 1rem 2rem 1rem;
}

.content-section {
  background-color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  padding: 7rem 2rem;
  line-height: 1.6;
}

.document-title {
  color: #111827;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.document-meta {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.content-area h1 {
  color: #111827;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.content-area h2 {
  color: #374151;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem 0;
}

.content-area h3 {
  color: #4b5563;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

.content-area p {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.content-area strong {
  color: #111827;
  font-weight: 600;
}

.content-area ul,
.content-area ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-area li {
  color: #374151;
  margin-bottom: 0.5rem;
}

.footer-section {
  background-color: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.print-friendly {
  page-break-inside: avoid;
}

@media print {
  .document-container {
    background: white;
  }

  .header-section,
  .footer-section {
    background: white;
  }
}

@media (max-width: 768px) {
  .content-section {
    padding: 2rem 1rem;
  }

  .document-title {
    font-size: 2rem;
  }
}

/* Custom Swiper Styles */
.testimonials-swiper {
  padding-bottom: 40px;
}

.testimonial-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0 4px;
}

@media (min-width: 640px) {
  .testimonial-bullet {
    width: 12px;
    height: 12px;
  }
}

.testimonial-bullet:hover {
  background-color: #9ca3af;
}

.testimonial-bullet-active {
  background-color: #f59e0b;
  transform: scale(1.1);
}

.bg-radial-\[at_0\%_0\%\] {
  background-image: radial-gradient(at 0% 0%, var(--tw-gradient-stops));
}