/* The white paper viewer at /whitepaper: the PDF's pages drawn one under another. */

.viewer {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px var(--gutter) 72px;
}

.viewer-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.viewer h1 {
  max-width: none;
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.viewer-sub {
  color: var(--muted);
  font-size: 15.5px;
}

.viewer-sub a,
.pdf-note a,
.pdf-status a {
  color: var(--gold);
  font-weight: 600;
}

.pdf-pages {
  display: grid;
  gap: 14px;
}

.pdf-page {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

/* A blank first page while the paper loads, the size the real one will take. */
.pdf-status {
  display: grid;
  place-items: center;
  aspect-ratio: 8.5 / 11;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.pdf-status a {
  letter-spacing: 0;
  text-transform: none;
}

.pdf-note {
  padding: 18px 0;
  color: var(--muted);
  text-align: center;
}
