/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
  /* Account for fixed header */
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  /* Explicit background-color */
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Account for fixed header */
}

body.light-mode {
  background-color: #ffffff;
  /* Fallback */
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-primary);
  word-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

/* Typography Utilities */
.text-lg {
  font-size: 16px;
}

.text-base {
  font-size: 15px;
}

.text-sm {
  font-size: 14px;
}

.text-xs {
  font-size: 13px;
}

/* Variables moved to theme.css */

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

strong {
  font-weight: 600;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.about-page-body .hero-core {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.about-page-body .pca-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}