:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #1a1d26;
  --muted: #5c6370;
  --accent: #2d5a8a;
  --accent-hover: #1e4066;
  --border: #e2e6ee;
  --max-width: 42rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-brand {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.site-nav .nav-about {
  font-weight: 500;
}

.content {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--border);
}

.content h1 {
  margin-top: 0;
  font-size: 1.75rem;
  line-height: 1.25;
}

.content h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  color: var(--accent);
}

.content h3 {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.content p,
.content li {
  color: var(--text);
}

.content a {
  color: var(--accent);
}

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

.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.content th,
.content td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.content th {
  background: var(--bg);
}

.content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.content img {
  vertical-align: middle;
  margin-right: 0.35rem;
}

.linkedin-note {
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.linkedin-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  text-decoration: none;
}

.linkedin-inline:hover {
  text-decoration: underline;
}

.linkedin-inline img {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-sep {
  margin: 0 0.5rem;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
}
