@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fdfdfb;
  color: #1a1a1a;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 40px 100px;
}

@media (max-width: 600px) {
  main { padding: 36px 20px 60px; }
}

h1 { font-size: 28px; font-weight: 700; margin: 0 0 16px; }
h2 { font-size: 20px; font-weight: 700; margin: 44px 0 4px; }
h3 { font-size: 17px; font-weight: 600; margin: 28px 0 4px; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 18px; }
li { margin-bottom: 6px; }

a { color: #1a3f8f; }
a:hover { color: #0b2566; }

.links a { display: block; margin-bottom: 8px; color: #1a3f8f; }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e6e6e1;
}
nav a {
  font-size: 13px;
  text-decoration: none;
  color: #333;
  border: 1px solid #e0e0da;
  border-radius: 5px;
  padding: 3px 10px;
  background: #fff;
}
nav a.active, nav a:hover { background: #f1f1ec; }

hr { border: 0; border-top: 1px solid #e6e6e1; margin: 28px 0 16px; }

.icons { display: flex; gap: 14px; }
.icons a { color: #666; display: inline-flex; }
.icons a:hover { color: #111; }
.icons svg { width: 24px; height: 24px; fill: currentColor; }

.meta { color: #777; font-size: 14px; margin: 0 0 6px; }
.project { margin-bottom: 36px; }
.project h3 { margin-top: 0; }
.project h3 a { text-decoration: underline; }
.tags { color: #777; font-size: 14px; }
