:root {
  /* Minimal color palette */
  --background: #ffffff;
  --foreground: #1a1a1a;
  --accent: #8b4513; /* reddish-brown */
  --subtle-bg: #fafafa;
  --muted-text: #666666;
  --border: #e5e5e5;
  
  /* Typography */
  --font-sans: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', monospace;
  --font-size: 16px;
  --line-height: 1.7;
  
  /* Layout - narrow width */
  --content-width: 650px;
}

/* Clean background */
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: var(--font-size);
  line-height: var(--line-height);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background-image: none;
}

/* Simple navigation */
.nav-container {
  position: static;
  width: 100%;
  background-color: transparent;
  border-bottom: none;
  margin-bottom: 2rem;
  padding: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0;
}

.nav-logo {
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border: none;
  padding: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--foreground);
  font-weight: 400;
  border-bottom: 1px solid transparent;
  padding: 0;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--foreground);
  border-bottom: 1px solid var(--foreground);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--foreground);
  font-weight: 600;
  text-align: left;
  margin: 2rem 0 1rem;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.2rem;
}

/* Section headings */
.section-heading {
  text-align: left;
  margin: 2.5rem 0 1rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  line-height: 1.2;
}

/* Simple card styling */
.card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 1.5rem 0;
  box-shadow: none;
  border: none;
  transition: none;
}

.card:hover {
  transform: none;
  box-shadow: none;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--foreground);
  margin: 0;
}

.card-subtitle {
  color: var(--muted-text);
  font-size: 0.9rem;
  font-weight: 400;
}

.card-content {
  margin: 0.5rem 0;
}

.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Citation styling */
.citation {
  margin: 0.5rem 0;
  padding: 0;
  border-left: none;
  background: transparent;
  border-radius: 0;
}

/* News/Updates styling */
.update {
  margin: 1.5rem 0;
  padding: 0;
  border-bottom: none;
}

.update-date {
  font-weight: 400;
  color: var(--muted-text);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
}

/* Code styling */
code {
  font-family: var(--font-mono);
  background: transparent;
  color: var(--foreground);
  padding: 0;
  border-radius: 0;
  font-size: 0.9em;
  border: none;
}

pre {
  background: #f5f5f5;
  color: var(--foreground);
  border-radius: 3px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.9rem;
  margin: 1.5rem 0;
  box-shadow: none;
  border: 1px solid var(--border);
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
}

/* Lists styling */
ul, ol {
  padding-left: 1.5rem;
  margin-left: 0;
}

li {
  margin: 0.5rem 0;
}

li::marker {
  color: var(--foreground);
}

/* Button styling - minimal */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-weight: 400;
  transition: all 0.2s ease;
  border: 1px solid var(--accent);
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
  color: white;
  border-bottom: 1px solid var(--accent);
}

.button-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.button-outline:hover {
  background: var(--accent);
  color: white;
}

.button-small {
  padding: 0.2rem 0.4rem;
  font-size: 0.85rem;
}

/* Date styling */
ins {
  text-decoration: none;
  color: var(--muted-text);
  font-weight: 400;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1em;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
}

/* Enhanced separator styling */
hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
  opacity: 0.6;
}

/* Image styling */
img {
  display: block;
  max-width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Responsive design */
@media (max-width: 768px) {
  :root {
    --font-size: 15px;
  }
  
  body {
    padding: 1.5rem 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  .card {
    padding: 0;
  }
  
  .nav-links {
    gap: 1rem;
  }
}
