body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #374151;
  background-color: #f9fafb;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

  /* Header Layout */
  .site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }


  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }


  .nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
  }


  .nav-link:hover {
    color: #111827;
    background-color: #f3f4f6;
  }

  .nav-link.active {
    color: #2563eb;
    background-color: #eff6ff;
    font-weight: 600;
  }


  .nav-link:focus-visible, .logo:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }

/* Headings Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }  /* ~36px */
h2 { font-size: 1.75rem; }  /* ~28px */
h3 { font-size: 1.35rem; }  /* ~22px */


p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}


.text-muted {
  color: #6b7280;
  font-size: 0.875rem;
}


a:not(.nav-link):not(.logo) {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:not(.nav-link):not(.logo):hover {
  color: #1d4ed8;
}


.content-container {
  max-width: 70ch;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.site-footer {
  max-width: 70ch;
  margin: 4rem auto 2rem;
  padding: 0 1.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
}