:root {
  --bg: #eceae4;
  --paper: #ffffff;
  --ink: #1c1c1c;
  --muted: #5a5a5a;
  --line: #ddd9cf;
  --accent: #0b5f4b;
  --accent-soft: #e6f2ed;
  --banner: #fff8e8;
  --banner-ink: #6b4e16;
  --banner-line: #eadfbf;
  --package: #1e3a5f;
  --package-bg: #eef2f7;
  --package-line: #c8d3e0;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.75rem;
}

.banner {
  background: var(--banner);
  color: var(--banner-ink);
  border: 1px solid var(--banner-line);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.banner strong {
  font-weight: 650;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

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

.report-header {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.15rem 1.2rem;
  margin-bottom: 0.85rem;
}

.report-header .eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.report-header h1 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.25;
}

.live-site {
  display: block;
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid #b7d4c8;
  border-radius: 6px;
  text-decoration: none;
  color: var(--accent);
}

.live-site .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.live-site .url {
  font-size: 0.98rem;
  font-weight: 550;
  word-break: break-all;
}

.meta-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.4rem 0.75rem;
  font-size: 0.9rem;
}

.meta-grid dt {
  color: var(--muted);
  font-weight: 550;
}

.meta-grid dd {
  margin: 0;
}

.package-pill {
  display: inline-block;
  background: var(--package-bg);
  border: 1px solid var(--package-line);
  color: var(--package);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  font-weight: 650;
  font-size: 0.88rem;
}

.section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.95rem 1.1rem 1.1rem;
  margin-bottom: 0.85rem;
}

.section h2 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.section > p:first-of-type {
  margin-top: 0;
}

.section p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.section ol,
.section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.section li {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.section li::marker {
  font-weight: 650;
  color: var(--accent);
}

.snapshot {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.snapshot th,
.snapshot td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.snapshot th {
  width: 32%;
  color: var(--muted);
  font-weight: 550;
  padding-right: 0.75rem;
}

.snapshot tr:last-child th,
.snapshot tr:last-child td {
  border-bottom: none;
}

.scope-list {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.scope-list > div {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.scope-list > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.scope-list .k {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.notes ul {
  margin: 0;
  padding-left: 1.15rem;
}

.notes li {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-meta {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

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

@media (max-width: 560px) {
  .meta-grid {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .meta-grid dt {
    margin-top: 0.35rem;
  }

  .meta-grid dt:first-child {
    margin-top: 0;
  }

  .snapshot,
  .snapshot thead,
  .snapshot tbody,
  .snapshot th,
  .snapshot td,
  .snapshot tr {
    display: block;
    width: 100%;
  }

  .snapshot tr {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
  }

  .snapshot tr:last-child {
    border-bottom: none;
  }

  .snapshot th,
  .snapshot td {
    border: none;
    padding: 0;
  }

  .snapshot th {
    width: auto;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
}
