:root {
  --bg: #f4f2ed;
  --surface: #ffffff;
  --text: #1e271f;
  --muted: #58635b;
  --accent: #1f5a43;
  --accent-soft: #dfe9e1;
  --border: #d6dbd3;
  --shadow: 0 18px 36px rgba(25, 40, 31, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #f4f3ef;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 8px 12px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 4px;
  z-index: 10;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #ffffff 0%, #f6f8f4 100%);
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 20px 16px;
}

.brand {
  margin: 0 0 6px;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: 0.4px;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.nav {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
}

.main {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  width: 100%;
  flex: 1;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.55s ease both;
}

.figure {
  margin: 16px 0;
}

.figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(25, 40, 31, 0.08);
}

h2 {
  margin-top: 0;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 22px;
  position: relative;
}

h3 {
  margin-bottom: 8px;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 17px;
}

p {
  margin-top: 0;
}

.list {
  padding-left: 18px;
  margin: 0 0 8px;
}

.list li {
  margin-bottom: 6px;
}

.notice {
  background: #f0f4ef;
  border-left: 4px solid var(--accent);
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  border-top: 1px solid var(--border);
  background: #f8f8f5;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 20px 26px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer a:hover,
.footer a:focus {
  border-bottom-color: var(--accent);
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:nth-of-type(2) {
  animation-delay: 0.05s;
}

.card:nth-of-type(3) {
  animation-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
  }

  .nav a {
    transition: none;
  }
}

@media (max-width: 720px) {
  .brand {
    font-size: 24px;
  }

  .nav {
    flex-direction: column;
    gap: 6px;
  }

  .card {
    padding: 18px;
  }
}
