:root {
  --primary: #5b8def;
  --primary-deep: #3d6fd4;
  --accent: #c49a3c;
  --bg: #faf7f2;
  --bg-warm: #f5ede3;
  --surface: #ffffff;
  --text: #2c2825;
  --text-muted: #6b6560;
  --text-soft: #9a938c;
  --border: rgba(44, 40, 37, 0.08);
  --max: 680px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, #eaf1fd 0%, var(--bg) 28%, var(--bg-warm) 100%);
  min-height: 100vh;
}

a {
  color: var(--primary-deep);
}

header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1rem;
  text-align: center;
}

header img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(44, 40, 37, 0.12);
}

header h1 {
  margin: 1rem 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

header p {
  margin: 0;
  color: var(--text-muted);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 24px rgba(44, 40, 37, 0.05);
}

.card h2 {
  margin: 1.75rem 0 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.card h2:first-child {
  margin-top: 0;
}

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

.card ul {
  padding-left: 1.2rem;
}

.meta {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

nav.links a {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-soft);
}
