:root {
  --text-primary: #1a1a1a;
  --text-secondary: #5f5f5f;
  --text-accent: #185fa5;
  --bg-page: #ffffff;
  --bg-card: #f7f6f2;
  --bg-accent: #e6f1fb;
  --border: #e4e2da;
  --radius: 10px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.7;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

p {
  margin: 0 0 8px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 4px 0 0;
}

.meta {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 8px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 14px;
  text-decoration: none;
  color: var(--text-primary);
  background: #fff;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--bg-card);
}

.btn-primary {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background: #333;
}

/* Sections */
.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  background: var(--bg-accent);
  color: var(--text-accent);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Grid / cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
}

/* Timeline */
.timeline-item {
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  font-size: 13px;
  color: var(--text-accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.timeline-item li {
  margin-bottom: 4px;
  font-size: 15px;
}

/* Contact */
.contact-card {
  max-width: 480px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row a {
  color: var(--text-accent);
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 24px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
