/**
 * The Forensic Brief - Main Stylesheet
 * Static website CSS - Pure CSS3 compatible with all modern browsers
 * No dependencies or build tools required
 */

body {
  background-color: #F8F7F4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='noise' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  color: #1F2933;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-wrapper {
  max-width: 800px;
  width: 100%;
  padding: 4rem 1rem;
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 4rem;
  width: 100%;
}

h1.site-title {
  font-family: "Libre Baskerville", "Merriweather", Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1F2933;
}

.header-divider {
  border: none;
  border-top: 1px solid #1F2933;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 0.75rem auto;
}

.site-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  color: #1F2933;
  margin: 0 0 3rem 0;
  font-weight: 400;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #1F2933;
  font-size: 1.1rem;
  font-family: "Inter", sans-serif;
}

nav a:hover {
  text-decoration: underline;
}

main {
  width: 100%;
}

article h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1F2933;
}

.subtitle {
  color: #4A5568;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #1F2933;
}

h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1F2933;
}

p {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

hr {
  border: none;
  border-top: 1px solid #D1D5DB;
  margin: 4rem 0;
}

a {
  color: #1E3A8A;
  text-decoration: underline;
}

footer {
  margin-top: 6rem;
  padding: 3rem 0;
  border-top: 1px solid #D1D5DB;
  text-align: center;
  font-size: 1rem;
  color: #4A5568;
  width: 100%;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* Disclaimer Modal - Client-side management */
#disclaimer-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(248, 247, 244, 0.99);
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 600px;
  padding: 4rem;
  text-align: center;
  border: 1px solid #D1D5DB;
  background: #F8F7F4;
}

.modal-content p {
  font-family: "Libre Baskerville", serif;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #1F2933;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

button#continue {
  background: #1F2933;
  color: #F8F7F4;
  border: none;
  padding: 1rem 3rem;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
}

button#continue:hover {
  background: #4A5568;
}

/* Responsive Design */
@media (max-width: 600px) {
  h1.site-title {
    font-size: 2rem;
  }
  nav ul {
    gap: 1.5rem;
  }
}
