:root {
  --navy: #102a43;
  --orange: #f47a13;
  --muted: #687584;
  --line: #e4e8ec;
  --bg: #f4f6fa;
  font-family: Inter, ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }

.reader-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(22px, calc((100vw - 1180px) / 2));
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}

.reader-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 21px;
  font-weight: 850;
}

.reader-brand img { width: 39px; height: 39px; border-radius: 11px; }
.reader-nav nav { display: flex; align-items: center; gap: 22px; }
.reader-nav nav a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 750; }
.reader-nav nav .login { padding: 10px 16px; border-radius: 11px; background: var(--navy); color: white; }

main { padding: 40px max(18px, calc((100vw - 1180px) / 2)) 64px; }
.reader-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 25px; }
.reader-intro > div { max-width: 760px; }
.eyebrow { margin: 0 0 9px; color: var(--orange); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(32px, 5vw, 50px); line-height: 1.05; letter-spacing: -.035em; }
.reader-intro p:last-child { max-width: 720px; margin: 17px 0 0; color: var(--muted); line-height: 1.65; }
.download { flex: 0 0 auto; padding: 13px 18px; border-radius: 12px; background: var(--orange); color: white; text-decoration: none; font-weight: 800; }

.document-shell {
  height: min(1100px, calc(100vh - 185px));
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 20px 60px rgba(16,42,67,.12);
}
.document-shell iframe { display: block; width: 100%; height: 100%; border: 0; background: white; }

@media (max-width: 700px) {
  .reader-nav nav > a:first-child { display: none; }
  main { padding-top: 28px; }
  .reader-intro { display: block; }
  .reader-intro .download { display: inline-flex; margin-top: 20px; }
  .document-shell { min-height: 620px; height: calc(100vh - 270px); border-radius: 14px; }
}
