:root { --preview-height: 36px; }
.preview-bar { position: fixed; inset: 0 0 auto; z-index: 10000; height: var(--preview-height); background: #0a1628; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 24px; font: 11px/1.3 Inter, sans-serif; letter-spacing: .01em; box-sizing: border-box; }
.preview-bar strong { font-weight: 500; }
.preview-bar .preview-detail { color: #acbad1; }
.preview-bar nav { display: flex; gap: 14px; }
.preview-bar a { text-decoration: none; color: #b5c3db; padding: 6px 0; }
.preview-bar a[aria-current] { color: #fff; box-shadow: 0 1px #fff; }
.preview-bar a:hover { color: #fff; }
.entry-preview { padding-top: calc(var(--preview-height) + 24px); }
.entry-preview .btn-enter { text-decoration: none; }
.home-preview { padding-top: calc(70px + var(--preview-height)); }
.home-preview .navbar { top: var(--preview-height); }
.home-preview #download { scroll-margin-top: 130px; }
.home-preview button { font-family: inherit; cursor: pointer; }
.home-preview .btn_nav { position: relative; }
.home-preview .footer_link { text-align: left; }
.newsletter-feedback { margin: 10px 0 0; color: #c7d4fc; font-size: 13px; line-height: 1.5; }
.newsletter-feedback:empty { display: none; }
.preview-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; border: 1px solid #dce4f1; border-radius: 24px; padding: 36px; color: #0a1628; background: #fff; box-shadow: 0 24px 100px #09152e33; font-family: Inter, sans-serif; box-sizing: border-box; }
.preview-dialog::backdrop { background: #06102d99; backdrop-filter: blur(6px); }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; background: #f2f5fa; border-radius: 50%; color: #506078; font-size: 24px; line-height: 1; }
.dialog-symbol { width: 52px; height: 52px; border-radius: 15px; background: #edf2ff; color: #0030cf; font-size: 30px; display: grid; place-items: center; margin-bottom: 25px; }
.dialog-eyebrow { color: #0030cf; font-size: 10px; font-weight: 700; letter-spacing: .14em; margin: 0 0 10px; }
.preview-dialog h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.7px; margin: 0 0 14px; font-weight: 600; }
.preview-dialog #preview-description { font-size: 14px; line-height: 1.7; color: #627088; margin: 0 0 25px; }
.dialog-primary { display: block; width: 100%; border: 0; border-radius: 12px; color: white; background: #0030cf; padding: 14px 20px; font-size: 14px; font-weight: 600; }
body:has(.preview-dialog[open]) { overflow: hidden; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #6996ff; outline-offset: 4px; }
@media (max-width: 991px) {
  .home-preview { padding-top: calc(128px + var(--preview-height)) !important; }
  .home-preview #download { scroll-margin-top: 164px; }
}
@media (max-width: 479px) {
  .home-preview { padding-top: calc(120px + var(--preview-height)) !important; }
  .preview-bar { padding: 0 12px; font-size: 10px; gap: 6px; }
  .preview-bar nav { gap: 10px; flex-shrink: 0; }
  .preview-dialog { padding: 30px 24px; }
}
@media (max-width: 350px) { .preview-detail { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
