/* Scoped white download banner and dialog. */
.reader-section { padding: 32px 0 42px; background: #eaf0f3; border-block: 1px solid #dce5e9; scroll-margin-top: 90px; }
.reader-banner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 44%; padding: 0; border: 1px solid #d5e1e2; border-radius: 12px; overflow: hidden; background: #fff; color: #183c3b; text-align: left; cursor: pointer; box-shadow: 0 16px 46px #203c4a0a; transition: border-color .2s, box-shadow .2s; }
.reader-banner:hover { border-color: #278477; box-shadow: 0 18px 46px #203c4a1c; }
.reader-banner:focus-visible, .reader-dialog button:focus-visible, .reader-consent input:focus-visible, .reader-terms:focus-visible { outline: 3px solid #148474; outline-offset: 5px; }
.reader-banner:disabled { cursor: default; }
.reader-copy { display: flex; flex-direction: column; padding: clamp(24px, 3.2vw, 46px); }
.reader-topline, .reader-dialog-header { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.reader-free { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; padding: 6px 14px; color: #fff; background: #0d7668; font-size: 22px; font-weight: 800; line-height: 1.5; letter-spacing: .04em; }
.reader-product { font-size: 18px; font-weight: 650; letter-spacing: .015em; color: #3d5658; }
.reader-heading { margin-top: 21px; font-size: clamp(28px, 2.9vw, 43px); font-weight: 750; line-height: 1.38; letter-spacing: -.035em; }
.reader-heading br { display: none; }
.reader-intro { margin-top: 16px; font-size: 16px; line-height: 1.85; color: #53646c; }
.reader-features { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; font-weight: 600; color: #345956; }
.reader-features > span::before { content: '✓'; color: #178777; margin-right: 7px; }
.reader-bottom { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 27px; }
.reader-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 48px; padding: 10px 22px; color: #fff; background: #153e3b; border-radius: 5px; font-size: 16px; font-weight: 650; }
.reader-cta > span { font-size: 23px; font-weight: 400; }
.reader-codex { padding: 4px 0; border-bottom: 1px solid #80b5aa; color: #285f56; font-size: 14px; font-weight: 650; }
.reader-platform-hint { margin-top: 11px; color: #68777a; font-size: 13px; }
.reader-visuals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-self: center; min-width: 0; padding: 28px 24px 28px 0; }
.reader-visual { display: flex; flex-direction: column; min-width: 0; }
.reader-visual-label { display: flex; align-items: center; height: 3.8em; padding-bottom: 8px; color: #58716c; font-size: 13px; line-height: 1.5; font-weight: 650; }
.reader-image-frame { position: relative; display: block; aspect-ratio: 849 / 1200; overflow: hidden; border: 1px solid #dde7e3; border-radius: 5px; background: #fff; }
.reader-image-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.reader-sample img { object-fit: contain; }
.reader-photo img { object-fit: cover; object-position: center; }
body.reader-dialog-open { overflow: hidden; }
.reader-dialog { position: fixed; inset: 0; margin: auto; width: min(860px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #d6e2df; border-radius: 14px; background: #fff; color: #253c43; box-shadow: 0 30px 100px #0e29394d; }
.reader-dialog:not([open]) { display: none; }
.reader-dialog::backdrop { background: #112b3c99; backdrop-filter: blur(5px); }
.reader-dialog-inner { position: relative; padding: 32px; }
.reader-dialog-header { padding-right: 40px; gap: 13px; }
.reader-dialog .reader-free { font-size: 16px; padding: 3px 10px; }
.reader-dialog h2 { margin: 20px 0 8px; font-size: clamp(23px, 3vw, 29px); line-height: 1.5; letter-spacing: -.02em; color: #183c3b; }
.reader-dialog p { margin: 0; }
#reader-dialog-intro { font-size: 15px; line-height: 1.75; color: #607277; }
.reader-close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #dce5e4; border-radius: 50%; color: #365353; background: #f6f9f8; font: 30px/1 Arial, sans-serif; cursor: pointer; }
.reader-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 23px; }
.reader-platform { display: flex; flex-direction: column; border: 1px solid #dce6e3; border-radius: 8px; padding: 20px; background: #fcfdfd; }
.reader-platform h3 { font-size: 23px; margin: 0 0 8px; color: #203f3e; line-height: 1.4; }
.reader-platform p, .reader-platform li { font-size: 14px; line-height: 1.7; }
.reader-platform p { font-weight: 600; }
.reader-platform ul { padding-left: 18px; margin: 12px 0 18px; color: #586c70; }
.reader-platform-action { margin-top: auto; }
.reader-download { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #146d60; border-radius: 5px; background: #0d7668; color: #fff; font-size: 14px; font-weight: 650; line-height: 1.6; cursor: pointer; }
.reader-download span { margin-left: 5px; }
.reader-download:enabled:hover { background: #095b50; }
.reader-download:disabled { color: #657276; background: #e9eeee; border-color: #d8e0df; cursor: not-allowed; }
.reader-platform small { display: block; margin-top: 7px; color: #6a7a7e; font-size: 12px; line-height: 1.7; text-align: center; }
.reader-dialog .reader-mac-note { color: #667579; font-size: 12px; line-height: 1.8; margin: 12px 0 21px; }
.reader-dialog .reader-terms-title { margin: 22px 0 8px; font-size: 16px; color: #2a4947; }
.reader-terms { height: 160px; max-height: 26dvh; padding: 16px 20px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 1px solid #dbe4e3; border-radius: 5px; background: #f7f9f9; font-size: 14px; line-height: 1.8; color: #526669; }
.reader-terms h4 { margin: 14px 0 4px; font-size: 14px; color: #2b4f49; }
.reader-terms h4:first-child { margin-top: 0; }
.reader-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; cursor: pointer; font-size: 15px; line-height: 1.8; color: #263f3d; }
.reader-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; accent-color: #0d7668; cursor: pointer; }
.reader-consent strong { color: #0c7062; font-size: 12px; padding: 3px 5px; border: 1px solid #acd0c7; border-radius: 3px; margin-right: 4px; }
.reader-dialog .reader-status { padding-left: 32px; margin-top: 7px; font-size: 13px; line-height: 1.7; color: #5c7171; }
@media (max-width: 1000px) {
  .reader-heading br { display: block; }
  .reader-intro br { display: none; }
  .reader-banner { grid-template-columns: minmax(0, 1fr) 44%; }
  .reader-visuals { gap: 8px; padding-right: 18px; }
}
@media (max-width: 760px) {
  .reader-banner { grid-template-columns: minmax(0, 1fr); }
  .reader-visuals { width: min(100%, 500px); justify-self: center; padding: 0 24px 26px; gap: 12px; }
}
@media (max-width: 600px) {
  .reader-section { padding: 20px 0; }
  .reader-banner { grid-template-columns: minmax(0, 1fr); position: relative; }
  .reader-copy { padding: 25px 21px; z-index: 1; }
  .reader-topline { gap: 10px; }
  .reader-free { font-size: 18px; padding: 4px 10px; }
  .reader-product { font-size: 15px; }
  .reader-heading { font-size: 29px; padding-right: 15px; }
  .reader-intro { font-size: 16px; }
  .reader-features { gap: 7px 13px; font-size: 14px; }
  .reader-bottom { gap: 14px; margin-top: 23px; }
  .reader-cta { gap: 24px; padding-inline: 16px; }
  .reader-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 10px; }
  .reader-dialog-inner { padding: 24px 18px; }
  .reader-close { top: 14px; right: 14px; }
  .reader-platforms { grid-template-columns: minmax(0, 1fr); }
  .reader-platform { padding: 16px; }
  .reader-terms { height: 160px; max-height: 26dvh; padding: 12px; }
  .reader-consent { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .reader-banner { transition: none; } }
