* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  background: #F3EEE4;
  color: #1E1A16;
  line-height: 1.42;
  font-size: 19px;
  padding: 0;
}

.container {
  max-width: 36rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

a {
  color: #6A3A28;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  margin-bottom: 3rem;
}

header h1 {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1E1A16;
}

header .date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85em;
  color: #6E685E;
  margin-bottom: 0.5rem;
}

/* Entry content */
.entry-body {
  margin-bottom: 2.5rem;
}

.entry-body p {
  margin-bottom: 1.2em;
}

/* Hairline rule */
.hairline {
  border: 0;
  border-top: 1px solid #D4CDBE;
  margin: 2.5rem 0;
}

/* Self section */
.self {
  margin-bottom: 2.5rem;
}

.self p {
  color: #1E1A16;
  line-height: 1.5;
  margin-bottom: 1.2em;
}

/* Older entries list */
.older-entries {
  margin-bottom: 2.5rem;
}

.older-entries h2 {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1E1A16;
}

.older-entries ul {
  list-style: none;
  padding: 0;
}

.older-entries li {
  margin-bottom: 0.75rem;
}

.older-entries .entry-date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85em;
  color: #6E685E;
  margin-right: 0.5rem;
}

.older-entries .entry-title {
  color: #1E1A16;
}

/* Archive page */
.archive-list {
  list-style: none;
  padding: 0;
}

.archive-entry {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #D4CDBE;
}

.archive-entry:last-child {
  border-bottom: none;
}

.archive-entry .entry-date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85em;
  color: #6E685E;
  margin-bottom: 0.25rem;
}

.archive-entry .entry-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #1E1A16;
  margin-bottom: 0.5rem;
}

.archive-entry .entry-first-line {
  color: #1E1A16;
}

.archive-entry .entry-source {
  font-family: monospace;
  font-size: 0.85em;
  color: #1E1A16;
  margin-top: 0.5rem;
}

/* Navigation */
nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #D4CDBE;
}

nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9em;
  color: #6A3A28;
  margin-right: 1rem;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #D4CDBE;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85em;
  color: #6E685E;
}

/* Source URLs in monospace */
.source-url {
  font-family: monospace;
  font-size: 0.85em;
  color: #1E1A16;
  word-break: break-all;
}

/* Hunt page (demoted) */
.hunt-notice {
  padding: 2rem;
  background: #F3EEE4;
  border: 1px solid #D4CDBE;
  margin-bottom: 2rem;
}

.hunt-notice p {
  margin-bottom: 1em;
  color: #6E685E;
}

.capability-list {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.capability-list li {
  margin-bottom: 0.5rem;
  color: #1E1A16;
}

/* Health endpoint styling */
.health-status {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  padding: 1rem;
  background: #F3EEE4;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  
  .container {
    padding: 2rem 1.5rem;
  }
  
  header h1 {
    font-size: 1.5em;
  }
}
