/* Base styles */
:root {
  --bg: #f0f8ff;
  --fg: #1e3a8a;
  --muted: #475569;
  --accent: #2563eb;
  --card: #ffffff;
  --border: #cbd5e1;
  --hover: #e0f2fe;
  --light-blue: #dbeafe;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
}

/* Layout */
.container {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.site-nav a {
  color: var(--fg);
  text-decoration: none;
  margin-left: 16px;
  padding: 6px 10px;
  border-radius: 6px;
}

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

.site-main {
  padding: 32px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
}

.about-section {
  margin-top: 8px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin: 24px 0 12px 0;
  line-height: 1.2;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  border-color: var(--accent);
}

h1, h2 {
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 600;
}

h1 { 
  font-size: 32px; 
  color: var(--fg);
}

h2 { 
  font-size: 24px; 
  color: var(--fg);
}

p, li { color: var(--muted); }

li a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

li a:hover {
  color: var(--fg);
  text-decoration: underline;
}

li p {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 1.4;
  font-style: italic;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 32px;
  text-align: center;
  background: var(--light-blue);
  color: var(--muted);
}

/* Social links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--accent);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}

.social-link:hover {
  background: var(--hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

