:root {
  --ink: #17201b;
  --muted: #607068;
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --line: #d8d0c2;
  --green: #176c57;
  --blue: #2f5f9f;
  --rose: #a43f55;
  --gold: #aa7a19;
  --shadow: 0 18px 60px rgba(31, 38, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(23, 108, 87, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(47, 95, 159, 0.08), transparent 30%),
    var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(247, 244, 237, 0.9);
  border-bottom: 1px solid rgba(216, 208, 194, 0.8);
  backdrop-filter: blur(14px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark,
.eyebrow,
.card-meta,
.tag-row {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  padding: 7px 9px;
  color: #fff;
  background: var(--ink);
}

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

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 48px;
  align-items: center;
  padding: 76px 0 44px;
}

.eyebrow {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 42px);
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.status-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.status-panel div {
  padding: 18px;
  border: 1px solid var(--line);
}

.metric {
  display: block;
  color: var(--blue);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 34px;
}

.filter {
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter.is-active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.report-section,
.about {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.report-card {
  display: grid;
  gap: 16px;
  min-height: 360px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(31, 38, 32, 0.08);
}

.report-card[hidden] {
  display: none;
}

.card-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.card-meta span,
.tag-row span {
  padding: 5px 8px;
  background: #f0eadf;
}

.report-card p,
.about p {
  color: var(--muted);
}

.open-link {
  align-self: end;
  justify-self: start;
  padding: 11px 14px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 48px;
}

code {
  padding: 2px 5px;
  background: #ebe3d5;
}

@media (max-width: 760px) {
  .topbar,
  .hero,
  .about {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
