:root {
  --max-width: 720px;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #0b5fff;
  --bg: #fafafa;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  line-height: 1.6;
}

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.site-tagline {
  color: var(--muted);
  margin-top: 0.25rem;
}

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}

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

.post-list li {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1.25rem;
}

.post-list a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.post-date, .post-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.tag {
  background: #eef2ff;
  color: var(--accent);
  border-radius: 4px;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  margin-right: 0.3rem;
}

.post-body h2 { margin-top: 2rem; }
.post-body a { color: var(--accent); }

.profile-photo-wrap {
  text-align: center;
  margin: 0 0 2rem;
}

.profile-photo {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin-top: 1.5rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.6rem 0.7rem;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
}

.contact-form button:hover {
  opacity: 0.9;
}

.site-nav {
  margin-top: 0.75rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  margin-right: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}
