body {
  background-color: #f9f8f5;
  color: #0c1726;
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Editorial Typography Refinements */
.font-serif-editorial {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: -0.015em;
}

/* Subtle Architectural Grid Overlay */
.bg-architectural-grid {
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(228, 226, 220, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(228, 226, 220, 0.45) 1px, transparent 1px);
}

.bg-dark-architectural-grid {
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

/* Page transition animation */
.page-section {
  display: none;
  animation: fadeSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-section.active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f9f8f5;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Editorial Verification Callout Highlight Mode */
body.highlight-governance-notes .editorial-verification-note {
  ring: 2px solid #9a6b3e;
  background-color: #fef3c7 !important;
  border-color: #d97706 !important;
  transform: scale(1.01);
  transition: all 0.25s ease;
}
