:root {
  color-scheme: light;
  --ink: #18202a;
  --muted: #5d6672;
  --line: #dce1e7;
  --paper: #f7f4ed;
  --wash: #f4f6f8;
  --accent: #315f7d;
  --ok: #28724b;
  --todo: #8a6208;
  --flag: #65549a;
}

* {
  box-sizing: border-box;
}
html {
  background: #e9edf1;
  color: var(--ink);
  font:
    15px/1.5 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
body {
  margin: 0 auto;
  max-width: 1040px;
  background: var(--paper);
  box-shadow: 0 12px 48px #1c243022;
}
.pack-brand-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 12px;
}
.pack-brand-name {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.pack-tagline {
  margin: 0 0 42px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}
.sample-ribbon {
  position: fixed;
  z-index: 3;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border: 1px solid #c7a34b;
  border-radius: 4px;
  background: #fff6d9;
  color: #654b0b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cover {
  min-height: 760px;
  padding: 84px 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #f8fafc 0 65%, #e9eff6);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  max-width: 720px;
  margin: 18px 0;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}
.cover-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.cover-meta span,
.stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cover-meta strong {
  display: block;
  margin-top: 4px;
}
main {
  padding: 54px 72px;
}
section {
  margin-bottom: 48px;
}
h2 {
  margin: 0 0 18px;
  font-size: 25px;
  letter-spacing: -0.02em;
}
h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}
.intro {
  max-width: 760px;
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}
.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
}
.ok {
  color: var(--ok);
}
.todo {
  color: var(--todo);
}
.flag {
  color: var(--flag);
}
.bar {
  display: flex;
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 4px;
  background: #eceff2;
}
.bar span:nth-child(1) {
  background: var(--ok);
}
.bar span:nth-child(2),
.bar span:nth-child(3),
.bar span:nth-child(4) {
  background: #d1a744;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  padding: 9px 8px;
  border-bottom: 2px solid var(--ink);
  text-align: left;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td:first-child {
  font-weight: 650;
}
.status {
  white-space: nowrap;
  font-weight: 700;
}
.list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.list strong {
  display: block;
}
.list p {
  margin: 4px 0 0;
  color: var(--muted);
}
.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--todo);
  background: #fff9e8;
}
.disclaimer {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--wash);
  color: var(--muted);
  font-size: 13px;
}
footer {
  padding: 22px 72px 40px;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 760px) {
  body {
    box-shadow: none;
  }
  .sample-ribbon {
    position: absolute;
  }
  .cover {
    min-height: 620px;
    padding: 72px 24px 36px;
  }
  h1 {
    font-size: 38px;
  }
  .cover-meta,
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  main,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .table-wrap {
    overflow-x: auto;
  }
  table {
    min-width: 760px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm 12mm 16mm;
  }
  html,
  body {
    background: #fff;
    box-shadow: none;
    font-size: 10pt;
  }
  body {
    max-width: none;
  }
  .sample-ribbon {
    position: absolute;
    top: 0;
    right: 0;
  }
  .cover {
    min-height: 255mm;
    margin: -14mm -12mm 0;
    padding: 28mm 20mm 18mm;
    break-after: page;
  }
  main {
    padding: 0;
  }
  section {
    break-inside: avoid;
    margin-bottom: 10mm;
  }
  .manifest {
    break-inside: auto;
  }
  tr {
    break-inside: avoid;
  }
  h2 {
    break-after: avoid;
  }
  footer {
    padding: 8mm 0 0;
  }
}
