:root {
  --green: #2f6b3a;
  --green-dark: #1f4a27;
  --green-light: #e8f1e6;
  --sand: #f7f4ec;
  --ink: #1d231e;
  --muted: #5b655c;
  --line: #d9dfd6;
  --accent: #c8862a;
  --max: 760px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}

a { color: var(--green); }
a:hover { color: var(--green-dark); }

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

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header img { height: 52px; width: auto; }
.brand { text-decoration: none; color: var(--ink); line-height: 1.2; }
.brand strong { display: block; font-size: 1.15rem; color: var(--green-dark); }
.brand span { font-size: 0.9rem; color: var(--muted); }

/* Hero */
.hero {
  background: var(--green);
  color: #fff;
  padding: 48px 0 44px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  opacity: 0.85;
  margin: 0 0 8px;
}
.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 20px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}
.facts div {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 14px;
}
.facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.8; }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* Notice */
.notice {
  background: #fff7e8;
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  border-radius: 6px;
  margin: 28px 0;
}

/* Content */
main { padding: 8px 0 48px; }
h2 { color: var(--green-dark); font-size: 1.4rem; margin: 36px 0 12px; }
h3 { font-size: 1.05rem; margin: 26px 0 6px; }

.doc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.doc-links a:hover { border-color: var(--green); background: var(--green-light); }
.doc-links a::after { content: "→"; color: var(--green); }
.doc-links a[target="_blank"]::after { content: "↗"; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin: 16px 0;
}

ol.agenda { padding-left: 1.4em; }
ol.agenda li { padding: 4px 0; }

.stk { margin: 6px 0; }
.stk b { color: var(--green-dark); }

table { width: 100%; border-collapse: collapse; }
td { padding: 8px 0; border-bottom: 1px solid var(--line); }
td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.sum td { font-weight: 700; border-bottom: 2px solid var(--ink); }

.back { display: inline-block; margin-top: 24px; }

/* Placeholder for content not yet supplied */
.mangler {
  background: #ffe3e3;
  color: #8a1c1c;
  border-radius: 4px;
  padding: 0 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 20px 0;
}

@media print {
  .site-header, .site-footer, .back { display: none; }
  body { background: #fff; }
}

.card > :first-child { margin-top: 0; }

/* Logo in the hero */
.hero-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.hero-grid h1 { margin-bottom: 0; }
.hero-logo {
  flex: none;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.25);
}
.facts a { color: #fff; }
@media (max-width: 560px) {
  .hero-grid { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-logo { width: 128px; height: 128px; }
}
