/* Whitepaper-specific layout. Inherits typography and palette from ../css/styles.css */

body.paper {
  background: var(--paper);
  color: var(--ink);
}

.paper-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

.paper-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.paper-back {
  color: var(--steel);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color var(--ease);
}

.paper-back:hover {
  color: var(--ink);
}

.paper-doc {
  padding: 56px 0 96px;
}

.paper-hero {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.paper-eyebrow {
  margin-bottom: 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.paper-doc h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.04;
  color: var(--ink);
}

.paper-deck {
  margin: 0 0 28px;
  color: var(--graphite);
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
  line-height: 1.5;
}

.paper-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  color: var(--steel);
  font-size: 0.86rem;
}

.paper-byline strong {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.paper-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.paper-section:last-of-type {
  border-bottom: 0;
}

.paper-section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--ink);
}

.paper-section p {
  margin: 0 0 16px;
  color: var(--graphite);
  font-size: 1.05rem;
  line-height: 1.75;
}

.paper-placeholder {
  padding: 14px 18px;
  border-left: 3px solid var(--copper);
  background: rgba(178, 120, 74, 0.08);
  color: var(--graphite);
  font-style: italic;
}

.paper-laws {
  display: grid;
  gap: 22px;
}

.paper-law {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.paper-law header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
  margin-bottom: 10px;
}

.paper-law-number {
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.paper-law-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.paper-law p {
  margin: 0;
  color: var(--graphite);
  font-size: 1.02rem;
  line-height: 1.7;
}

.paper-footer {
  padding-top: 36px;
  color: var(--steel);
  font-size: 0.86rem;
}

.paper-footer a {
  color: var(--ink);
  font-weight: 700;
}

.paper-footer a:hover {
  color: var(--copper);
}

@media (min-width: 720px) {
  .paper-shell {
    width: min(100% - 56px, 760px);
  }
}
