:root {
  --bg: #f6f7f5;
  --ink: #13211c;
  --muted: #56605a;
  --line: #d6ddd8;
  --panel: #ffffff;
  --accent: #166e5f;
}

* { box-sizing: border-box; }

html { font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--ink); }
body { margin: 0; }

a { color: var(--accent); }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 4vw, 36px);
  border-bottom: 1px solid var(--line);
}

.site-footer { border-top: 1px solid var(--line); border-bottom: 0; flex-direction: column; align-items: flex-start; gap: 8px; }

.site-footer nav { display: flex; gap: 12px; flex-wrap: wrap; }

.main-nav { display: flex; gap: 12px; flex-wrap: wrap; }

.brand { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 700; }
.brand-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--accent); color: white; font-size: 14px; }

main { width: min(980px, calc(100% - 28px)); margin: 0 auto; padding: 18px 0 28px; }

h1 { margin: 10px 0 0; font-size: clamp(32px, 7vw, 54px); line-height: 1.05; }
h2 { font-size: clamp(20px, 3vw, 30px); margin: 12px 0 10px; }
.lead { margin: 0 0 12px; color: var(--muted); max-width: 70ch; }

.breadcrumbs { color: var(--muted); font-size: 14px; }

.section { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.link-grid a { display: block; padding: 12px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; }

.table-wrap { width: 100%; overflow-x: auto; }
table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
th, td { text-align: left; border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
th { background: #eff3ef; }
tr:nth-child(odd) td { background: #fbfcfb; }

.source-list { margin: 8px 0 0 0; padding-left: 18px; }

.faq { margin-top: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--muted); max-width: 70ch; }

.data-updated {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 680px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .brand { margin-bottom: 6px; }
}
