/* Variables */
:root {
  --font-family: 'Charter', 'Georgia', 'Times New Roman', serif;
  --font-family-mono: 'Monaco', 'JetBrains Mono', 'SF Mono', 'Courier New', monospace;
  --font-size-base: 16px;
  --line-height: 1.6;
  --color-text: #000000;
  --color-link: #0000ff;
  --color-accent: #666666;
  --color-background: #ffffff;
  --color-border: #e5e5e5;
  --color-card-bg: #ffffff;
  --color-window-bg: #ffffff;
  --color-button: #f5f5f5;
  --color-window-title: #000000;
  --color-highlight: #ffffff;
  --color-shadow: #d0d0d0;
  --max-width: 700px;
}

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-background);
  margin: 0;
  padding: 2rem 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: none;
}

h1 { 
  font-size: 2rem; 
  font-weight: 800;
}

h2 { 
  font-size: 1.2rem; 
  color: var(--color-text);
  border-bottom: 2px solid var(--color-text);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
}

h3 { 
  font-size: 1.2rem; 
  color: var(--color-text);
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  text-align: left;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: none;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  box-shadow: none;
  position: relative;
}

.site-header .site-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-text);
  text-shadow: none;
  letter-spacing: -0.01em;
  font-family: var(--font-family);
  text-transform: none;
}

.site-header .site-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: none;
}

.site-header .site-title a:hover {
  color: var(--color-text);
  text-shadow: none;
  transform: none;
}

/* Posts */
.post-list {
  list-style: none;
  padding: 0;
}

.post-list .post-item {
  background: var(--color-card-bg);
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  box-shadow: none;
  transition: none;
  position: relative;
}

.post-list .post-item::before {
  display: none;
}

.post-list .post-item:hover {
  transform: none;
  box-shadow: none;
}

.post-list .post-item .post-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.post-list .post-item .post-title a {
  color: var(--color-text);
  text-decoration: none;
}

.post-list .post-item .post-title a:hover {
  color: var(--color-link);
}

.post-list .post-item .post-date {
  color: #666666;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-list .post-item .post-excerpt {
  margin: 0;
  color: var(--color-text);
}

.post-header {
  margin-bottom: 2rem;
}

.post-header .post-title {
  margin: 0 0 0.5rem 0;
}

.post-header .post-date {
  color: #666;
  font-size: 0.9rem;
}

/* Code */
code {
  background: #f8f8f8;
  color: var(--color-text);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: var(--font-family-mono);
  border: 1px solid var(--color-border);
  box-shadow: none;
  font-weight: 500;
}

pre {
  background: #f8f8f8;
  color: var(--color-text);
  padding: 1.5rem;
  border-radius: 5px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  box-shadow: none;
  font-family: var(--font-family-mono);
  position: relative;
}

pre::before {
  display: none;
}

pre code {
  background: none;
  padding: 0;
  border: none;
  color: inherit;
  box-shadow: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 0.9rem;
}