/* ==========================================================================
   AI Extinction Risk - Companion Website
   
   DESIGN NOTE: This stylesheet is deliberately minimal. Visual design
   (colors, fonts, decorative elements) will be aligned with the book's
   cover and interior design once those are available from MQUP.
   
   For now: readable, responsive, structurally sound.
   ========================================================================== */

/* Reset and base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
  margin-top: 1.5em;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.2rem; }

a {
  color: #1a5276;
  text-decoration: underline;
}

a:hover {
  color: #0d2d44;
}

blockquote {
  border-left: 3px solid #ccc;
  margin-left: 0;
  padding-left: 1rem;
  color: #555;
}

/* Navigation */
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: 2rem;
}

header nav .site-title {
  font-weight: bold;
  text-decoration: none;
  color: #222;
  font-size: 1rem;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

header nav ul li a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #555;
}

header nav ul li a:hover {
  color: #222;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  color: #777;
}

/* Blog post summaries */
.post-summary {
  margin-bottom: 2rem;
}

.post-summary time {
  font-size: 0.85rem;
  color: #777;
}

.post-summary .categories a {
  font-size: 0.8rem;
  color: #777;
  margin-left: 0.5rem;
}

/* Status note (for pre-publication) */
.status-note {
  font-style: italic;
  color: #555;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  
  header nav {
    flex-direction: column;
    gap: 0.5rem;
  }
}
