/* Pixel-perfect PDF layout: each page is a full image, preserving colors + exact design. */
:root{
  --bg: #111827;
  --ink: #f9fafb;
  --muted: rgba(249,250,251,.72);
  --card: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.10);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #0b1020 0%, #070a12 100%);
  color: var(--ink);
}

.wrap{
  width: min(1100px, 92vw);
  margin-inline:auto;
}

.top{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7,10,18,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top .wrap{
  padding: 12px 0;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.title{
  font-weight: 900;
  letter-spacing: .2px;
}
.subtitle{
  color: var(--muted);
  font-size: 13px;
}

.pages{
  padding: 18px 0 34px;
  display:grid;
  gap: 18px;
}

.page{
  width: 100%;
  height: auto;
  display:block;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

/* Optional: remove rounding on very small screens to use more width */
@media (max-width: 520px){
  .page{ border-radius: 10px; }
}

.foot{
  border-top: 1px solid var(--border);
  padding: 14px 0 22px;
  color: var(--muted);
  font-size: 13px;
}
.foot .wrap{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
