:root {
  color-scheme: light;
  --bg: #f8faf9;
  --surface: #ffffff;
  --surface-2: #eef4f2;
  --ink: #17201d;
  --muted: #59635f;
  --line: #d7e0dc;
  --accent: #0f766e;
  --accent-2: #9a3412;
  --shadow: 0 12px 32px rgba(25, 35, 31, 0.08);
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-2); }

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(248, 250, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"], nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 780px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 15px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.section, .page-title {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.page-title h1, .section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.section-heading p, .page-title p, .muted {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.metrics-grid, .figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.metric-card, .figure-card {
  margin: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metric-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
}

.metric-card .metric-value {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.figure-card {
  padding: 10px;
}

.figure-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.figure-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th, td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  background: var(--surface-2);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

tbody tr:last-child td { border-bottom: 0; }

.more-link {
  margin-top: 18px;
  font-weight: 750;
}

.report-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.report-list span {
  color: var(--muted);
  font-size: 13px;
}

.report-page {
  max-width: 980px;
}

.back-link {
  margin: 28px 0 0;
  color: var(--muted);
}

.report {
  padding: 32px 0 56px;
}

.report h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.report h2 {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.report pre {
  overflow-x: auto;
  padding: 16px;
  background: #101815;
  color: #eef4f2;
  border-radius: var(--radius);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 64vh;
    grid-template-columns: 1fr;
    padding: 48px 0;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .section-heading, .split, .site-footer {
    display: block;
  }

  .table-wrap {
    margin-top: 18px;
  }
}
