/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #1a1a1a;
  color: #e5e5e5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Header */
header {
  border-bottom: 1px solid #2d2d2d;
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a.site-title {
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
}

header nav {
  display: flex;
  gap: 1.5rem;
}

header nav a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

header nav a:hover, header nav a.active {
  color: #ffffff;
}

/* Main Content */
main {
  min-height: 60vh;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
}

a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

p {
  margin-bottom: 1.5rem;
  color: #c2c2c2;
}

/* Footer */
footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2d2d2d;
  font-size: 0.8rem;
  color: #737373;
  display: flex;
  justify-content: space-between;
}

footer a {
  color: #737373;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

/* Utilities */
.muted {
  color: #737373;
}

.intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e5e5e5;
}

/* Accordion Styles */
.accordion {
  margin-top: 2.5rem;
  border-top: 1px solid #2d2d2d;
}

.accordion-track {
  border-bottom: 1px solid #2d2d2d;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: #a3a3a3;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.accordion-header:hover {
  color: #ffffff;
  padding-left: 0.5rem;
}

.accordion-track.expanded .accordion-header {
  color: #ffffff;
}

.track-count {
  font-size: 0.85rem;
  color: #737373;
  font-weight: 400;
  background-color: #262626;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.accordion-track.expanded .accordion-content {
  max-height: 3000px;
  opacity: 1;
  padding-bottom: 2rem;
}

.accordion-track.expanded .accordion-header {
  font-weight: 600;
}

/* Entry List Styles */
.entry-list {
  list-style: none;
  padding-left: 0;
}

.entry-item {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px dashed #2d2d2d;
}

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

.entry-meta {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.entry-date {
  font-size: 0.85rem;
  color: #8e9196;
  font-weight: 500;
}

.entry-location {
  font-size: 0.75rem;
  color: #737373;
}

.entry-details {
  flex: 1;
}

.entry-title {
  font-weight: 500;
  color: #ffffff;
}

.entry-summary {
  font-size: 0.9rem;
  color: #c2c2c2;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.entry-tag {
  font-size: 0.75rem;
  background-color: #262626;
  color: #a3a3a3;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .entry-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  .entry-meta {
    flex-direction: row;
    gap: 1rem;
    flex: none;
  }
}

/* Systems List Styles */
.systems-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.system-card {
  padding: 1.5rem;
  background-color: #222222;
  border: 1px solid #2d2d2d;
  border-radius: 6px;
}

.system-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.system-card h2.system-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.system-summary {
  font-size: 0.95rem;
  color: #c2c2c2;
  margin-bottom: 1rem;
}

.system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.system-tag {
  font-size: 0.75rem;
  background-color: #1a1a1a;
  color: #a3a3a3;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #2d2d2d;
}

.system-links {
  display: flex;
  gap: 1rem;
}

.system-link {
  font-size: 0.85rem;
  color: #a3a3a3;
  text-decoration: none;
}

.system-link:hover {
  color: #ffffff;
  text-decoration: underline;
}


