:root {
  --canvas: #fafaf9;
  --paper: #ffffff;
  --ink: #18181b;
  --muted: #71717a;
  --line: #e4e4e7;
  --brand: #0f5132;
  --brand-soft: #e8f3ec;
  --lime: #c7f464;
  --lime-ink: #07301d;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }
a:hover { color: #0b3f27; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 17px;
}
.brand:hover { color: var(--ink); }
.mark { width: 36px; height: 36px; display: block; }

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}
.topnav a { color: #52525b; text-decoration: none; }
.topnav a:hover { color: var(--ink); }
.pill {
  background: var(--brand);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}
.pill:hover { background: #0b3f27; color: #fff !important; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 22px 72px;
}

.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 10px;
  border-radius: 999px;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  font-weight: 800;
}

h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 40px 0 12px;
  font-weight: 750;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  font-weight: 700;
}

.meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.answer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  border-radius: 16px;
  padding: 18px 20px 6px;
  margin: 0 0 32px;
  box-shadow: 0 1px 0 rgba(24, 24, 27, 0.03);
}

.answer p { margin-top: 0; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  margin: 8px 0 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
th, td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
th {
  background: #f4f4f5;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #52525b;
  font-weight: 700;
}
tr:last-child td { border-bottom: 0; }
tr.hl td { background: #f7fce8; font-weight: 600; }

.cards {
  display: grid;
  gap: 12px;
  margin: 8px 0 28px;
}
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  border-color: #bbf7d0;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 81, 50, 0.06);
  color: inherit;
}
.card .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 6px;
}
.card h2, .card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.cta-box {
  margin-top: 48px;
  padding: 22px 22px 18px;
  background: var(--brand);
  color: #ecfdf3;
  border-radius: 20px;
}
.cta-box p { margin: 0 0 12px; color: #d1fae5; font-size: 15px; }
.cta-box a.pill {
  display: inline-block;
  background: var(--lime);
  color: var(--lime-ink) !important;
}
.cta-box a.pill:hover { background: #d9f98a; }

.related {
  margin-top: 36px;
  padding-top: 8px;
}
.related h2 { margin-top: 0; }

.bottom {
  border-top: 1px solid var(--line);
  padding: 22px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.bottom a { color: var(--muted); text-decoration: none; }
.bottom a:hover { color: var(--brand); }

ol, ul { padding-left: 22px; }
li { margin: 6px 0; }
p { color: #27272a; }

@media (max-width: 640px) {
  .topnav a:not(.pill) { display: none; }
  .wrap { padding-top: 24px; }
}
