:root {
  --bg: #f3f5f2;
  --paper: #ffffff;
  --text: #152016;
  --muted: #5a6a60;
  --border: rgba(20, 30, 22, 0.12);
  --accent: #2f6b4f;
  --accent2: #4f8a6c;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(12, 20, 14, 0.14);
  --max: 860px;
  --pad: 22px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(79, 138, 108, 0.10), transparent 60%),
    radial-gradient(900px 520px at 85% 0%, rgba(47, 107, 79, 0.10), transparent 60%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 6px 16px rgba(47, 107, 79, 0.22);
  flex-shrink: 0;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.2px;
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Main content */
.main {
  padding: 48px 0 72px;
}

.page-title {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.5px;
}

.page-sub {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1rem;
}

/* Document list */
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 4px 14px rgba(10, 16, 12, 0.06);
  color: var(--text);
  font-weight: 650;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  text-decoration: none;
}

.doc-list li a:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 107, 79, 0.22);
  box-shadow: 0 12px 28px rgba(10, 16, 12, 0.10);
}

.doc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(47, 107, 79, 0.08);
  color: var(--accent);
  flex-shrink: 0;
}

.doc-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doc-name {
  flex: 1;
}

.doc-arrow {
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 140ms ease, transform 140ms ease;
}

.doc-list li a:hover .doc-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* Footer */
.footer {
  padding: 22px 0 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.55);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; gap: 6px; text-align: center; }
}