:root {
  color: #17211b;
  background: #eef3ee;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 20% 0%, rgb(82 117 91 / 0.18), transparent 34rem),
    linear-gradient(135deg, #f7faf6 0%, #e6eee7 48%, #dfe9e4 100%);
}

a {
  color: #244231;
  font-weight: 700;
  text-decoration-color: rgb(36 66 49 / 0.28);
  text-underline-offset: 0.18em;
}

.site-shell {
  margin: 0 auto;
  max-width: 960px;
  padding: 28px;
}

.site-header,
.document-card,
.link-card {
  border: 1px solid rgb(36 66 49 / 0.14);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.78);
  box-shadow: 0 18px 50px rgb(31 51 39 / 0.08);
}

.site-header {
  display: grid;
  gap: 18px;
  margin-bottom: 16px;
  padding: 24px;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.header-nav a,
.link-card {
  border: 1px solid #d7e1d9;
  border-radius: 10px;
  background: #ffffff;
  color: #17211b;
  padding: 10px 12px;
  text-decoration: none;
}

.eyebrow {
  color: #5c6f62;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

h2 {
  border-top: 1px solid #d7e1d9;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 30px 0 12px;
  padding-top: 24px;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.lead {
  color: #425447;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.document-card {
  padding: 28px;
}

.document-card p,
.document-card li {
  line-height: 1.8;
}

.document-card li + li {
  margin-top: 8px;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
}

.document-meta div {
  border-radius: 999px;
  background: #eef3ee;
  color: #425447;
  padding: 8px 12px;
}

.link-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.link-card strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer {
  color: #5c6f62;
  font-size: 0.88rem;
  padding: 20px 4px 0;
}

@media (max-width: 700px) {
  .site-shell {
    padding: 16px;
  }

  .site-header,
  .document-card {
    padding: 20px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}
