:root {
  --ink: #16211a;
  --paper: #fbfbf9;
  --accent: #145c4a;
  --accent-soft: #e4efe9;
  --line: #dfe3df;
  --muted: #5b6660;
  --max-width: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: var(--accent); text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.site-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-nav a {
  margin-left: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--accent); }

.site-main { flex: 1; padding: 3rem 0; }

h1 {
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
  max-width: 34ch;
}
h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 2.5rem 0 1rem;
}
p { margin: 0 0 1rem; }

.card-list { list-style: none; margin: 0; padding: 0; }
.card-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.card-list a { font-weight: 600; text-decoration: none; }
.card-list a:hover { text-decoration: underline; }
.card-list .meta { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}
