/* Whitepaper layout; identity tokens come from technical-documentation.css. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.paper-page {
  margin: 0;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}
.paper-page ::selection { background: #dce5dd; }
.paper-page a { color: #416451; text-underline-offset: 3px; }
.paper-page a:hover { text-decoration-thickness: 2px; }
.paper-page a:focus-visible {
  outline: 2px solid #416451;
  outline-offset: 5px;
}
.paper-page .skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--oyzu-document-paper);
  border: 1px solid currentColor;
}
.paper-page .skip:focus { top: 16px; }
.paper-masthead, .paper-footer {
  width: min(100% - 48px, 1040px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.paper-page .paper-masthead {
  min-height: 96px;
  margin-block-end: 0;
  border-bottom: 1px solid #d4d9d2;
}
.paper-masthead .oyzu-document-wordmark { text-decoration: none; }
.paper-masthead .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
}
.paper-body {
  max-width: 800px;
  margin-inline: auto;
  padding: 64px 24px 80px;
}
.paper-body h1 { margin: 0 0 24px; }
.paper-body h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 44px 0 18px;
}
.paper-body p { margin: 0 0 18px; }
.paper-body .paper-deck {
  color: var(--oyzu-document-muted);
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.paper-body .lead { font-size: 21px; line-height: 1.55; }
.paper-body .paper-pullquote {
  margin: 28px 0 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--oyzu-document-accent);
  background: #e8ece5;
  font-size: 25px;
  font-weight: 550;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.paper-body .paper-turning-point {
  margin: 32px 0 22px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.paper-body .source { font-size: 13px; overflow-wrap: anywhere; }
.paper-footer {
  padding-block: 28px 32px;
  border-top: 1px solid #d4d9d2;
  color: var(--oyzu-document-muted);
  font-size: 13px;
}
@media (max-width: 700px) {
  .paper-page .paper-masthead { min-height: 80px; }
  .paper-body { padding-top: 40px; padding-bottom: 56px; }
  .paper-body h2 { font-size: 23px; }
  .paper-body .paper-deck { font-size: 18px; }
  .paper-body .lead { font-size: 19px; }
  .paper-body .paper-pullquote { padding: 18px; font-size: 22px; }
  .paper-body .paper-turning-point { font-size: 21px; }
  .paper-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .paper-page { background: white; }
  .paper-masthead, .paper-footer { width: 100%; }
  .paper-body { max-width: none; padding: 24px 0; }
  .paper-page .skip, .paper-masthead .nav-link, .paper-footer > a { display: none; }
  .paper-body h1 { font-size: 30px; }
  .paper-body h2 { break-after: avoid; }
  .paper-body .paper-pullquote { break-inside: avoid; }
}
