:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #11120f;
  color: #f5f2ea;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: #11120f;
}

body {
  min-height: 100vh;
}

.viewer-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 14px max(20px, env(safe-area-inset-right)) 14px max(20px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(245, 242, 234, 0.2);
  background: rgba(17, 18, 15, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.viewer-brand {
  display: block;
  width: 188px;
}

.viewer-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.viewer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.viewer-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(245, 242, 234, 0.48);
  color: #f5f2ea;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.viewer-link-primary {
  border-color: #f5f2ea;
  background: #f5f2ea;
  color: #11120f;
}

.viewer-main {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 54px 24px 80px;
}

.viewer-intro {
  margin-bottom: 44px;
}

.viewer-intro p {
  margin: 0 0 12px;
  color: #b9915a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.viewer-intro h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.report-pages {
  display: grid;
  gap: 42px;
}

.report-page {
  width: 100%;
  margin: 0;
}

.report-page img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #fff;
}

.report-cover img {
  width: min(760px, 100%);
  margin: 0 auto;
}

.report-page figcaption {
  margin-top: 10px;
  color: rgba(245, 242, 234, 0.58);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .viewer-header {
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .viewer-brand {
    width: 126px;
  }

  .viewer-actions {
    gap: 6px;
  }

  .viewer-link {
    min-height: 42px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .viewer-main {
    padding: 32px 8px 54px;
  }

  .viewer-intro {
    padding: 0 8px;
    margin-bottom: 24px;
  }

  .viewer-intro h1 {
    font-size: 42px;
  }

  .report-pages {
    gap: 24px;
  }

  .report-page figcaption {
    padding: 0 4px;
  }
}
