:root {
  --bg: #f4f1e8;
  --ink: #17211f;
  --muted: #62665f;
  --line: #d8d1c2;
  --panel: #fffdf6;
  --panel-strong: #1b2d2a;
  --accent: #246b57;
  --accent-2: #b64f32;
  --accent-3: #d6a63c;
  --good: #e7f2df;
  --warn: #fff0d6;
  --radius: 8px;
  --shadow: 0 22px 58px rgba(32, 27, 18, 0.14);
  font-family: "Aptos", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(36, 107, 87, 0.14), transparent 42%),
    linear-gradient(315deg, rgba(214, 166, 60, 0.18), transparent 36%),
    var(--bg);
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 33, 31, 0.1);
  background: rgba(244, 241, 232, 0.9);
  backdrop-filter: blur(14px);
}

.brand, .nav { display: flex; align-items: center; gap: 18px; }
.brand { text-decoration: none; font-weight: 850; }

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--panel-strong);
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.nav a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: white;
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.button-secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button-dark { background: var(--panel-strong); border-color: var(--panel-strong); }

main { padding: 0 clamp(20px, 5vw, 72px) 60px; max-width: 1180px; margin: 0 auto; }

.hero { padding: clamp(36px, 7vw, 80px) 0 28px; max-width: 760px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 { margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; }
.lead { margin: 0 0 22px; font-size: 18px; line-height: 1.55; color: var(--muted); }

.section { padding: 34px 0; border-top: 1px solid rgba(23, 33, 31, 0.08); }
.section-heading { margin-bottom: 22px; max-width: 680px; }
.section h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 32px); line-height: 1.15; }
.section p, .prose p { line-height: 1.65; }
.prose { max-width: 720px; }
.prose h2 { margin: 30px 0 10px; font-size: clamp(20px, 2.6vw, 28px); }
.prose h3 { margin: 22px 0 8px; }
.prose ul { line-height: 1.65; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(32, 27, 18, 0.06);
}
.card:hover { border-color: var(--accent); }
.card .tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: var(--good);
  color: var(--accent);
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.disclosure {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent-3);
  background: var(--warn);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

details {
  margin-bottom: 10px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
details summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
th { background: var(--panel-strong); color: white; }

.footer {
  padding: 28px clamp(20px, 5vw, 72px) 40px;
  border-top: 1px solid rgba(23, 33, 31, 0.1);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.footer-links a { color: var(--muted); font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav { display: none; }
}
