:root {
  --ink: #23282d;
  --muted: #6b727a;
  --bg: #f6f5f1;
  --card: #ffffff;
  --accent: #4a6fa5;
  --line: #e4e2db;
  --radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--ink);
}

.site-header nav a {
  margin-left: 1.1rem;
  text-decoration: none;
  color: var(--muted);
  font-size: .98rem;
}
.site-header nav a:hover { color: var(--accent); }

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 1.2rem 0 .6rem;
}

.hero { padding: 1.5rem 0 .5rem; }

.lead {
  font-size: 1.12rem;
  color: #3c424a;
  max-width: 56ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.card h2 { margin: 0 0 .4rem; font-size: 1.1rem; }
.card p { margin: 0; color: #3c424a; font-size: .97rem; }

.latest { margin-top: 2.5rem; }

.note-list { list-style: none; padding: 0; margin: .5rem 0 0; }
.note-list li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.note-list a { color: var(--accent); text-decoration: none; font-weight: 600; }
.note-list a:hover { text-decoration: underline; }
.note-list span { color: var(--muted); font-size: .92rem; }

.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.1rem 0;
}
.note h2 { margin: 0 0 .15rem; font-size: 1.2rem; }
.note .date { margin: 0 0 .6rem; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.note p:last-child { margin-bottom: 0; }

ul { padding-left: 1.2rem; }
li { margin: .25rem 0; }

.site-footer {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  color: #3c424a;
  font-size: .92rem;
}
.muted { color: var(--muted); }

@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  .site-header { justify-content: center; text-align: center; }
}
